Expand the routing benchmark corpus with 72 boards
This commit is contained in:
parent
b6480ded62
commit
6c6eb37064
2 changed files with 435 additions and 5 deletions
|
|
@ -3,6 +3,23 @@
|
|||
- [Benchmark cases](benchmarks.md#choose-a-case)
|
||||
- [Corpus registry and profiles](../inire/tests/routing_corpus.py)
|
||||
|
||||
## Micron-scale routing cases
|
||||
|
||||
The `expanded` group adds 72 deterministic, unseeded boards with independently constructed reference routes. The authored grid units are 10, 100, 250, 500, and 1000 nm. Bend radii span 10–100 µm and trace widths span 1–20 µm. The comparison script records `grid_nm` for these boards. Convert benchmark-weighted lengths to microns by multiplying by `grid_nm / 1000`.
|
||||
|
||||
| Group | Boards | Coverage |
|
||||
| --- | ---: | --- |
|
||||
| `geometry-corners` | 32 | Exact four-bend spans, tight returns and paired routes, exact-span S-bend slots, mixed widths, and saturated or overloaded apertures. |
|
||||
| `complex-layouts` | 24 | Serial aperture banks with opposing tracks, concave and fixed-route keepouts, and staggered crossing arrays. |
|
||||
| `search-challenges` | 8 | Alternating comb walls that force repeated turns and exercise search-budget exhaustion. |
|
||||
| `scaling` | 8 | Banks and crossing arrays of up to 256 nets, obstacle fields with up to 320 keepouts, and a 240-net board with 240 keepouts and four blocked approaches. |
|
||||
|
||||
The 72 reference layouts run in pytest. The corner and complex groups and seven scaling boards also have unseeded coverage assertions at the regression budget. Use `--case search-challenges` or `--case scaling` with an explicit budget to measure search and coverage on the harder boards. For scaling comparisons, use the same grid, mode, and budget and collect repeated timings with `--repeat`.
|
||||
|
||||
To exercise the low-budget fallbacks on tight geometry, run `--case geometry-corners --profile corpus-regression --mode automatic --nodes 1 --seed-nodes 1 --iterations 1`.
|
||||
|
||||
- [Fixture definitions](../inire/tests/routing_expanded_benchmarks.py)
|
||||
|
||||
## Complex-routing example 1
|
||||
|
||||
Use `complex-routing-example-1` to test fixed eastbound arrival and `complex-routing-example-1-point-terminals` to test heading inference.
|
||||
|
|
|
|||
|
|
@ -17,11 +17,12 @@ Expect `3/4 valid`. All four nets need to cross a vertical cut where the opening
|
|||
|
||||
| If you are changing | Use `--case` |
|
||||
| --- | --- |
|
||||
| Overall coverage | `corpus` runs the regression suite. |
|
||||
| Overall coverage | `corpus` runs all benchmark boards, including the search and scaling workloads. |
|
||||
| Ordered tracks, shared gates, and barrier layouts | `all` includes the fixed-heading complex-routing example 1. Use `corpus` for the full regression suite. |
|
||||
| Seeds, custom bend geometry, and fallback behavior | `broad` includes caller seeds, custom bends, imported layouts, and held-out boards. |
|
||||
| Ports on placed devices | `crossings` exercises external legs to preplaced crossing cells. |
|
||||
| Lock ordering, tight turns, and competing passages | `stress` runs known-feasible folded returns, competing locks, and shared passages. |
|
||||
| Tight geometry, complex layouts, search limits, or scaling | `expanded` runs 72 additional boards. Use `geometry-corners`, `complex-layouts`, `search-challenges`, or `scaling` to focus on one group. |
|
||||
| A retry tuned on the regression corpus | `retry-holdout` tests related but separate return shelves, bypasses, and competing trunks. |
|
||||
|
||||
List cases with `python -m scripts.compare_topological_routing --list`. Start with the smallest case that exhibits the behavior.
|
||||
|
|
@ -38,7 +39,7 @@ List cases with `python -m scripts.compare_topological_routing --list`. Start wi
|
|||
|
||||
Both budget profiles use benchmark weights when selecting an automatic candidate. A stage can use a smaller budget, and a net can be searched more than once. Match the profile, options, and worker count when measuring a change.
|
||||
|
||||
### Run the full regression corpus
|
||||
### Run the full benchmark corpus
|
||||
|
||||
```sh
|
||||
python -m scripts.compare_topological_routing \
|
||||
|
|
|
|||
Loading…
Reference in a new issue