blob: 847ed25ad59e35689c2e2f0505607ed72808e4a9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Router
Grid router for 2-layer KiCad boards with negotiated congestion (all nets at once, plane-net
drops optionally included), cleanup passes, a pour-connectivity check and ordered steps, all
configured per board in a `route.toml`. Footprint copper such as net-tie bridges is respected;
`area = "pours"` keeps all copper inside the plane pours (a design block's area). The placer
links the crate to route its candidates.
KiCad I/O (run with KiCad's Python, see `../kicad_env.sh`): `dump_board.py` writes board.json,
`write_board.py` writes routes.json back into a board. `plot_routes.py` draws a route (plain
Python with `../requirements.txt`).
Documentation and lessons: [knowledge/tooling/router.md](../../knowledge/tooling/router.md);
end to end on your board: [knowledge/tooling/pnr.md](../../knowledge/tooling/pnr.md).
cargo build --release
target/release/router route board.json route.toml routes.json [--fixed NAME=FILE]... [--stop LABEL]
target/release/router place board.json placement.json moved.json
|