Skip to content

LVL-7 Several power rails on a part and no banks defined: warn

Severity Status Implementation
warning runs in better_erc easy, depends on NET-5

Data it needs: graph, part classes, rails.

Looks at. Rails on each part's power pins.

What it catches. A part whose supply pins land on two or more different rails (VDD and VDDIO, VCCA and VCCB, VDDIO2) while the library gives no bank membership for its signal pins.

Why it matters. Every level check in this category needs to know which supply a pin's thresholds follow. Without banks better_erc would have to guess, and the guess is wrong exactly on the parts where it matters: level translators, MCUs with a separate VDDIO2, sensors with a VDDIO.

Example. A TXS0102 symbol with VCCA on +1V8 and VCCB on +3V3 but no A/B side on its pins: LVL-1 and LVL-2 cannot tell which side SDA_A is on.

How to check. Count distinct rails (NET-5) on the power pins of each part; with more than one and no bank data for the part, report it, and report the level checks on its pins as not run (DIAG-2).

Fix. Add bank data to the library part (a pin property, a units-per-bank symbol, or a pin file via IMP-10).

References. AN4899 §5.2.2 (pins supplied from several rails); SN74LVC2T45 (VCCA/VCCB referenced pins).

Test schematics

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

lvl-7_several_rails

The test schematic lvl-7_several_rails The test schematic lvl-7_several_rails

  warning    LVL-7 #xrf     U2 is supplied from 2 rails (+1V8, +3V3) and nothing says which supply its signal pins follow
                            net +1V8, net +3V3, part U2
                            fix: add bank data to the library part (a pin property, a unit per bank, or a pin file via IMP-10)
  warning    LVL-7 #fyv     U1 is supplied from 2 rails (+3V3, +3V3_A) and nothing says which supply its signal pins follow
                            net +3V3, net +3V3_A, part U1
                            fix: add bank data to the library part (a pin property, a unit per bank, or a pin file via IMP-10)

LVL-7 also fires on the test schematics of other checks: conn-4_no_ground, dec-11_decade_apart, hs-4_pair_asymmetry, i2c-18_isolated_segment, i2c-7_segments, lib-14_unplaced_units, mem-1_sd_pull_ups, name-11_negative_rail_names, rail-19_unfiltered_analog_supply, ser-14_can_split_termination, short-2_name_collision.