Skip to content

WIRE-14 Ground-named pin on a net that is not a ground

Severity Status Implementation
error runs in better_erc easy, depends on NET-5

Data it needs: graph, rails.

Looks at. Pin names, the power structure.

What it catches. A pin named GND, VSS, AGND, DGND, PGND or similar whose net is not one of the project's grounds.

Why it matters. Ground pins wired to a signal or a rail are nearly always a symbol whose pin numbers do not match the part, a label typo, or a ground net with a non-ground name (0V_ISO not recognised). When the part has a real negative supply on that pin, the check is a reminder to confirm it, then waive.

Example. A boost converter symbol drawn for the SOT-23-6 variant used on the SOT-563 footprint: the "GND" pin lands on the SW net in the netlist and the part shorts its own switch node at power-up. The legitimate case: an LM358 run from ±12 V, whose pin 4 is named GND in the datasheet and is wired to -12V.

How to check. Ground-like pin names against the grounds of the power structure (NET-5).

Fix. Correct the symbol or the wiring; declare isolated grounds as grounds in the project; waive negative supplies.

References. KiCad "Ground pin not connected to ground net" (ground_pin_not_ground, new in 10.0); catalogue SHORT-5.

Test schematics

Each schematic below is in test_schematics/sources. The block under it is what berc check --only WIRE-14 reports on it.

wire-14_ground_pin_not_ground

The test schematic wire-14_ground_pin_not_ground The test schematic wire-14_ground_pin_not_ground

  error      WIRE-14 #kmq   U1.2 (GND) is on /SW, which is a ground only by its ground pins, joined to no named ground
                            net /SW, part U1, pin U1.2
                            fix: correct the symbol or the wiring; declare an isolated ground as a ground; waive a real negative supply

WIRE-14 also fires on the test schematics of other checks: conn-8_micro_hdmi_pinout, gnd-3_split_ground_joints, lib-19_hidden_pins, short-5_supply_pins_swapped.