LOGIC-3 Suggest buffering high fan-out signals¶
| Severity | Status | Implementation |
|---|---|---|
| suggestion | runs in better_erc | easy, depends on IMP-1 |
Data it needs: graph, fitted parts.
Looks at. Pin types, input count per net.
What it catches. One output driving many inputs: a reset, a clock, a chip select or an enable that reaches a long list of parts.
Why it matters. Each input adds capacitance (3-10 pF) and the trace adds more, so the edge slows: SPI clocks lose margin, a slow edge on a non-Schmitt input causes multiple transitions and extra current (SCBA004E §2), and reflections on a long star route double-clock. A buffer splits the load and gives each branch a clean edge.
Example. A 3.3 V MCU GPIO drives the latch clock of eight shift registers along a 20 cm board: 8 × 5 pF plus trace is around 60 pF, the edge is still fine at 1 MHz but rings at the far end and occasionally double-latches.
How to check. Count input pins per net with one driver (IMP-1); suggest above a threshold (8 inputs, or a clock net with more than two). better_erc (erc_checks/src/logic/logic_3.rs): signal nets of the fitted parts with exactly one output-capable pin (output, tri-state, bidirectional, open collector or emitter) and at least fan_out (8) pins typed input, or clock_fan_out (3) when the net or its driver pin is named like a clock (CLK, SCK, MCLK, ...).
Fix. A buffer (74LVC1G125, or a clock buffer like the CDCLVC11xx for clocks), series termination at the driver, or a daisy-chain route.
References. SCBA004E §2; CDCLVC1102 §8.1, §9.2.1 (series resistor near the driver); Wikipedia, Fan-out.
Settings¶
Set them in the project file under [checks."LOGIC-3"], or for one run with --set LOGIC-3.NAME=VALUE.
| Setting | Default | Meaning |
|---|---|---|
LOGIC-3.fan_out |
8 inputs | inputs on one driver from which a buffer is suggested |
LOGIC-3.clock_fan_out |
3 inputs | inputs on one clock driver from which a buffer is suggested |
Test schematics¶
Each schematic below is in test_schematics/sources. The block under it is what berc check --only LOGIC-3 reports on it.
logic-3_fan_out¶
suggestion LOGIC-3 #g5b clock /LATCH_CLK drives 4 inputs from U1.3
net /LATCH_CLK, part U1
clock_fan_out = 3 (derived LOGIC-3 default)
fix: a buffer (74LVC1G125, a clock buffer for clocks), series termination at the driver, or a daisy-chain route
suggestion LOGIC-3 #3t1 /RESET drives 8 inputs from U1.4
net /RESET, part U1
fan_out = 8 (derived LOGIC-3 default)
fix: a buffer (74LVC1G125, a clock buffer for clocks), series termination at the driver, or a daisy-chain route