kicad-zcheck
Checks the fast wires on a KiCad board against how the board is built: the right width per layer, how much routing is on target, and where return paths break.
On FirePod’s board the design rules asked for the right width, but only a quarter of the memory wiring was actually on target. kicad-zcheck reads the board’s layer build, works out the width each layer needs, measures what was really drawn, and shows where a signal’s return path has to jump between layers.
The README walks through two open source memory boards from Antmicro, and the formulas are checked against exact solutions and a field simulation.
Get started
# Run it with the Python that ships with KiCad 8 or newer (it provides pcbnew). On macOS:
PY="/Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3"
"$PY" -m pip install git+https://github.com/firedanceio/kicad-zcheck
"$PY" -m kicad_zcheck routed board.kicad_pcb --nets 'DDR_*' Full instructions are in the README on GitHub.
Read the announcement: kicad-zcheck: checking the wires a fast signal runs on.