Skip to content

LIB-15 Symbol without power pins

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

Data it needs: graph, part classes, fitted parts.

Looks at. Pin types per symbol, part class.

What it catches. An active part (IC, oscillator, module) whose symbol has no pin typed power input or power output, and no pin whose name says power or ground.

Why it matters. Without power pins in the netlist, the part has no supply as far as any tool knows. Every power check (rail present, voltage in range RATE-11, decoupling, power states) skips it, and if the symbol simply forgot the pins, the part has no supply on the board either. Old symbol libraries and some vendors' symbols hide power pins and connect them implicitly by name, which works until a project's ground is called GNDD instead of GND.

Example. A logic gate symbol drawn without its VCC and GND pins because "power is implicit": in this library they are not hidden pins but simply absent, so the footprint's VCC and GND pads get no net and the gate is unpowered on the board. DRC is clean, since the pads have no net to connect.

How to check. From the netlist: parts of active classes (U, IC, oscillators, modules; not passives, connectors, test points or mechanical parts) whose pins include no power type and no power-like name. Hidden power pins that the netlist resolves to a net count as power pins. better_erc (erc_checks/src/lib/lib_15.rs) looks at the fitted parts whose class is an IC of any kind (MCU, regulator, logic, op-amp, oscillator, ...) and at all pins of their library symbol, every unit and alternate: a pin typed power_in or power_out, or named like a supply or ground by the power name grammar (VDD, VCC, V+, AVDD, GND, VSS), is a power pin, hidden or not. A class taken from the designator prefix alone makes the finding an estimate.

Fix. Draw the power pins, visible, in the symbol (or in a power unit for multi-unit parts, KLC S3.8); avoid hidden power input pins outside power symbols (KLC S4.6).

References. KLC S4.6 (hidden pins: power input pins must not be invisible unless used in power symbols), S3.8; KiCad 9 Schematic Editor manual, "Hidden Power Pins" (docs.kicad.org/9.0/en/eeschema).

Test schematics

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

lib-15_no_power_pins

The test schematic lib-15_no_power_pins The test schematic lib-15_no_power_pins

  warning    LIB-15 #wft    U1 (74xGxx:GATE_NOPWR, logic): the symbol has no power pins, so no check sees its supply
                            part U1
                            class = logic (derived class from the library symbol)
                            fix: draw the power pins, visible, in the symbol (or in a power unit, KLC S3.8)

LIB-15 also fires on the test schematics of other checks: clk-5_internal_pull, dbg-7_internal_pull, draw-30_symbols_per_pin_group, draw-40_bend_before_symbol, draw-40_lined_up, draw-40_power_sideways, draw-40_sideways_symbol, draw-40_stub_column, draw-40_tie_detour, draw-51_block_names, io-1_inputs, lib-29_placed_ki_fields, lib-30_datasheet_link, name-10_active_low_unmarked, name-1_inverted_signal_styles, name-2_diff_pair_styles, name-4_uart_names, name-9_io_order, short-12_pair_halves_tied.