Skip to content

NAME-3 Power net names without voltage when it's clearly fixed

Severity Status Implementation
suggestion planned mid, depends on NET-5 (sources, missing today), MPN decoding for fixed regulators

Looks at. Rail sources (regulator outputs, USB VBUS, Type-C with 5.1 kΩ Rd; NET-5).

What it catches. A rail with a fixed voltage, known from its source, whose name says nothing about it: VCC, VDD_MCU, PWR, VBUS on a USB 2.0 device or a Type-C sink that only presents Rd (5 V only).

Why it matters. better_erc's power structure reads voltages from names (+3V3); a rail named VCC gets no voltage, so every check that compares levels skips it. Reviewers have to trace the regulator to know what a pin gets. RAIL-3 and RAIL-4 then catch names that state the wrong voltage, which only works if names state one.

Example. An AP2112K-3.3 output named VDD_MCU: the MCU's VDD pins sit on a net with no known voltage, so a 1.8 V-only sensor on the same rail is not flagged.

How to check. For each rail with a source whose output is fixed (a fixed-output regulator by MPN, a feedback divider with known reference, USB VBUS of a non-PD port), check whether the name carries the voltage.

Fix. Put the voltage in the name in the project's style (+3V3, +3V3_MCU, VBUS_5V0).

References. better_erc erc_analysis/src/power.rs (voltage parsed from the name); catalogue RAIL-2, RAIL-3, RAIL-4.