Skip to content

NAME-10 Active-low signal without a marker in its name

Severity Status Implementation
suggestion runs in better_erc easy, depends on netlist (NET-7 for pins whose names carry no marker

Data it needs: graph.

Looks at. Active-low pins (overbar or n/# in the pin name, or NET-7), net names.

What it catches. A net that connects to active-low pins (~{RESET}, nCS, OE#) whose own name has no active-low marker: HUB_RESET, FLASH_CS.

Why it matters. The net name is what the firmware engineer reads; HUB_RESET invites "drive high to reset". It is also what LOGIC-8 checks for polarity mismatches: a net with no marker cannot be checked.

Example. B153A names the hub's active-low reset net ~HUB_RESET, so the firmware drives it high to run the hub by name alone; B200A's 595 output enable is EXP.~OE. A net HUB_RESET on the same pin would read the other way.

How to check. Nets on at least one pin with an active-low name, whose net name has no marker in any of the project's styles (NAME-1).

Fix. Add the project's marker to the net name.

References. Wikipedia, Logic level (active-low notations); KiCad Eeschema "Text markup" (~{...} overbar); catalogue LOGIC-8.

Test schematics

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

name-10_active_low_unmarked

The test schematic name-10_active_low_unmarked The test schematic name-10_active_low_unmarked

  suggestion NAME-10 #1kq   /EXP_OE goes to active-low U3.1 (OE) but its name does not say so
                            net /EXP_OE, pin U3.1
                            fix: add the project's active-low marker to the net name (NAME-1)
  suggestion NAME-10 #d9x   /FLASH_CS goes to active-low U2.1 (~{CS}) but its name does not say so
                            net /FLASH_CS, pin U2.1
                            fix: add the project's active-low marker to the net name (NAME-1)
  suggestion NAME-10 #vrz   /HUB_RESET goes to active-low U1.1 (~{RESET}) but its name does not say so
                            net /HUB_RESET, pin U1.1
                            fix: add the project's active-low marker to the net name (NAME-1)

NAME-10 also fires on the test schematics of other checks: clk-14_push_pull_reset, clk-15_shared_reset, clk-5_reset_pull_ups, clk-7_reset_capacitors, dbg-8_open_drain_pull_ups, io-15_no_connect_flag, io-15_open_drain_flags, logic-8_polarity, mem-10_ddr_reset_cke.