Route SRJ buses with path attraction#17
Merged
Merged
Conversation
seveibar
marked this pull request as ready for review
July 27, 2026 16:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SimpleRouteJson.busesWhy
The Rust router already contains direction-aware path attraction, but the WASM/SRJ orchestration never supplied bus membership or guide paths. As a result, tscircuit buses were routed as unrelated sequential nets.
BGA prototype
The visual fixture uses a 10×10 BGA at 0.8 mm pitch and routes four 6-bit buses from inner pads to four board-edge headers on four layers.
Five-run comparison after warm-up:
The bus-aware result uses 11.1% fewer bends with the same via count, 0.27% more copper, and about 2% more median runtime.
Dependencies
The krt-wasm tests supply
busesdirectly at the SRJ boundary so this PR can validate the consumer before the upstream releases land.Validation
cargo check --no-default-features --features wasmbun run buildbun run typecheckbun test— 6 passinggit diff --check