Skip to content

WIRE-2 Net names that differ only in case, separator or suffix

Severity Status Implementation
error runs in better_erc easy, depends on netlist

Data it needs: graph.

Looks at. The netlist.

What it catches. Two or more nets whose names become equal once case, _/-/. separators, a leading + and polarity suffixes (_N, _n, #, ~) are normalised: RESET_N and RESET_n, 3V3 and +3V3, SPI.MOSI and SPI_MOSI.

Why it matters. EDA tools compare names exactly (KiCad is case-sensitive), so these are separate nets, and in practice the designer almost always meant one. The usual source is a sheet copied from another project with its own naming habits. It is silent: both nets look fine on their own, each with a few pins.

Example. A power sheet that produces +3V3 and a sensor sheet copied from an older board that uses 3V3: the sensor's VDD and its decoupling cap sit on a net with no source, the sensor is dead, and ERC is clean because the 3V3 power symbol counts as a driver.

How to check. Normalise every net name, group, and report groups with more than one original name; rails get the extra rule that a voltage must match (+3V3 and 3V3A are not the same).

Fix. Pick one name and rename the others; for power, use one set of power symbols across the project.

References. KiCad "Labels are similar (lower/upper case difference only)" (similar_labels), "Power pin and label are similar" (similar_label_and_power): KiCad compares case only, not separators, + or suffixes.

Test schematics

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

wire-2_similar_names

The test schematic wire-2_similar_names The test schematic wire-2_similar_names

  error      WIRE-2 #na1    +3V3, 3V3 are separate nets whose names differ only in case, separators or markers: one net meant?
                            net +3V3, net 3V3
                            fix: pick one name and rename the others; for power, one set of power symbols across the project
  error      WIRE-2 #wp4    /RESET_N, /RESET_n are separate nets whose names differ only in case, separators or markers: one net meant?
                            net /RESET_N, net /RESET_n
                            fix: pick one name and rename the others; for power, one set of power symbols across the project

WIRE-2 also fires on the test schematics of other checks: i2c-4_pull_up_to_signal, wire-1_single_pin_nets.