aboutsummaryrefslogtreecommitdiff
path: root/tools/router/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'tools/router/README.md')
-rw-r--r--tools/router/README.md20
1 files changed, 13 insertions, 7 deletions
diff --git a/tools/router/README.md b/tools/router/README.md
index a3f594e..847ed25 100644
--- a/tools/router/README.md
+++ b/tools/router/README.md
@@ -1,12 +1,18 @@
# Router
-Scripted 2-layer grid maze router (A* in `astar.c`, strategies in `pipeline.py`), the
-predecessor of the Rust router in `../router-rs`. Documentation, workflow and lessons:
-[knowledge/tooling/router.md](../../knowledge/tooling/router.md).
+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.
-Setup once:
+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`).
- python3 -m venv tools/router/.venv
- tools/router/.venv/bin/pip install -r tools/router/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).
-The C core compiles itself (`cc`) on first import.
+ 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