WIRE-1 Net with a single pin¶
| Severity | Status | Implementation |
|---|---|---|
| warning | runs in better_erc | easy, depends on netlist |
Data it needs: graph.
Looks at. The netlist.
What it catches. A named net that reaches exactly one pin: a label with no partner, or two labels meant to be one net but spelled differently, so each half is a net of its own.
Why it matters. A label is a promise that the signal goes somewhere else. When the other end is missing or misspelled, the schematic still looks connected on both sheets, and nothing on the PCB joins the two pins. The ratsnest shows no airwire, so the layout is "complete" with the net open.
Example. UART2_TX on the MCU sheet and UART_2_TX on the connector sheet: two one-pin nets, and a debug UART that never prints. Auto-named nets of unconnected pins (unconnected-(U1-PA3)) are one-pin nets on purpose and are not reported.
How to check. Count the pins per net; report named nets with one pin, and point at WIRE-2 when another net with a near-identical name exists.
Fix. Rename one label to match, or delete it and mark the pin no-connect (WIRE-8).
References. KiCad "Label connected to only one pin" (isolated_pin_label, 10.0); Altium ERC "Nets with Only One Pin".
Test schematics¶
Each schematic below is in test_schematics/sources. The block under it is what berc check --only WIRE-1 reports on it.
wire-1_single_pin_nets¶
warning WIRE-1 #99f /UART2_TX reaches one pin only (U1.1): a label without a partner, or a misspelled one
net /UART2_TX, pin U1.1
similar net (WIRE-2) = /UART_2_TX (derived the names equal once case, separators and markers are normalised)
fix: rename the label to match its partner, or delete it and mark the pin no-connect (WIRE-8)
warning WIRE-1 #mfn /UART_2_TX reaches one pin only (J1.1): a label without a partner, or a misspelled one
net /UART_2_TX, pin J1.1
similar net (WIRE-2) = /UART2_TX (derived the names equal once case, separators and markers are normalised)
fix: rename the label to match its partner, or delete it and mark the pin no-connect (WIRE-8)
WIRE-1 also fires on the test schematics of other checks: bom-12_mpn_vs_fields, bom-8_led_polarity, clk-5_internal_pull, conn-16_floating_shell, conn-4_no_ground, dbg-16_heartbeat_led, dbg-17_swd_without_reset, dec-10_unsourced_bypass, dec-1_no_decoupling, dec-4_ferrite_beads, dec-8_source_side_caps, draw-28_label_off_wire, draw-35_small_part_horizontal, draw-36_near_miss, draw-36_section_ladder, draw-41_pin_lead, draw-41_test_points, draw-42_touching_colours, draw-7_wire_through_body, drv-17_led_resistor, drv-7_half_bridge_snubber, drv-9_relay_flyback, gnd-3_split_ground_joints, gnd-7_chassis_ground, gnd-7_two_bonds, hs-4_pair_asymmetry, i2c-1_no_pull_ups, i2c-7_segments, io-11_gate_pulls, io-11_pulled_off, io-1_drive_sources, io-8_fet_switched_pull, leak-1_rail_dividers, lib-6_package_vs_footprint, logic-7_mcu_open_drain_receiver, logic-7_open_drain, mem-1_sd_pull_ups, pin-3_unprotected_outputs, pin-4_unfused_inputs, rail-19_unfiltered_analog_supply, rail-5_unsourced_rail, rate-15_inductor_saturation, rate-1_capacitor_voltage, rate-2_resistor_power, ser-14_can_split_termination, short-12_pair_halves_tied, test-1_unconnected_pins, test-4_rail_test_points, test-5_bring_up_test_points, usb-16_vbus_gnd_pins, usb-9_cc_tied.