DRAW-35 Capacitor between a rail and ground drawn horizontal¶
| Severity | Status | Implementation |
|---|---|---|
| suggestion | runs in better_erc | mid, depends on NET-5, NET-26 |
Data it needs: drawing geometry, rails, part classes.
Looks at. The schematic drawing (geometry).
A decoupling or bulk capacitor, one pin on a rail and one on ground, reads as the rail's decoupling when it stands on the vertical voltage axis, and as a part in the signal path when it lies horizontal. Found from the direction of its rail and ground pins after the placement transform: pointing left or right is a finding.
Scope. Capacitors only, with up to DRAW-35.max_pins (default 4) shown pins, and only those with a pin on a rail and a pin on ground. Resistors, inductors, ferrites and diodes tied to power are not checked: a pull-up or pull-down runs from its rail to the signal it holds, and a series part sits in the power path, so either direction reads right.
Settings¶
Set them in the project file under [checks."DRAW-35"], or for one run with --set DRAW-35.NAME=VALUE.
| Setting | Default | Meaning |
|---|---|---|
DRAW-35.max_pins |
4 | pins of the largest capacitor that stands on the voltage axis |
Test schematics¶
Each schematic below is in test_schematics/sources. The block under it is what berc check --only DRAW-35 reports on it.
draw-35_small_part_horizontal¶