aboutsummaryrefslogtreecommitdiff
path: root/tools/placer
diff options
context:
space:
mode:
authorLouis <louis@dnge.de>2026-11-11 10:32:51 +0100
committerLouis <louis@dnge.de>2026-11-11 10:32:51 +0100
commita59e8e99243a895197a30d6cd6dd8d744dd606de (patch)
tree8910cc7476ff1317932257dfc8497a0f9ffc29f7 /tools/placer
parent6f2bbe1f94e4321c329f92ec3420f6d32fd7b26d (diff)
downloadhw-toolchain-main.tar.gz
Keep only the current router: drop the Python router, router-rs -> routerHEADmain
The sequential Python/C router (pcbroute.py, pipeline.py, astar.c) is gone. The Rust crate takes its place at tools/router/, next to the KiCad I/O scripts it uses (dump_board.py, write_board.py, plot_routes.py). knowledge/tooling/router.md is now the Rust router's reference; the small Python venv for plots and 3D checks moves to tools/.venv (tools/requirements.txt). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tools/placer')
-rw-r--r--tools/placer/Cargo.toml2
-rw-r--r--tools/placer/src/main.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/placer/Cargo.toml b/tools/placer/Cargo.toml
index 64ddf81..0d8424a 100644
--- a/tools/placer/Cargo.toml
+++ b/tools/placer/Cargo.toml
@@ -8,7 +8,7 @@ description = "Simulated-annealing component placer for KiCad boards (see knowle
anyhow = "1"
rand = { version = "0.8", features = ["small_rng"] }
rayon = "1"
-router = { path = "../router-rs" }
+router = { path = "../router" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "1"
diff --git a/tools/placer/src/main.rs b/tools/placer/src/main.rs
index c94f865..5218bf7 100644
--- a/tools/placer/src/main.rs
+++ b/tools/placer/src/main.rs
@@ -14,7 +14,7 @@
//! OUT_DIR/runs.tsv. A placement file maps ref -> [x, y, rotation in degrees], either at the
//! top level or under "placement".
//!
-//! `--route` routes the best K placements in-process with tools/router-rs (BOARD.json is any
+//! `--route` routes the best K placements in-process with tools/router (BOARD.json is any
//! dump of the board from tools/router/dump_board.py; parts are moved to each placement) and
//! ranks them by the router's result (split nets, failed connections, pour islands, then the
//! route.toml's [rank] score of length, vias, necked and B.Cu length): OUT_DIR/routed.tsv,