3.2 KiB
Benchmark fixtures
The checked-in fixtures let you repeat comparisons offline. To find a board for the behavior you want to measure, use the benchmark case guide. To inspect the case groups and the options used for each profile, open the corpus registry.
Automatic nine-net Terminal-Bench routing
Use terminal-bench-point-terminals to test heading inference and ordered tracks through shared openings. The bundle planner reserves room for the outer return and bend tangencies. Use terminal-bench to test automatic routing with fixed headings.
Export the nine routes from the unseeded point-terminal input.
python -m scripts.route_terminal_bench --output /tmp/inire-terminal-bench.json
The unseeded export passed the checker's cost and geometry requirements in the pinned Terminal-Bench task. To check feasibility or compare lane assignments, use the CLI flags --reference-lane-plan and --single-bottom-track to replay the authored lane plans.
Preplaced crossings
crossing-singleisolates port access on one placed cell with four straight external legs.crossing-obstructed-approachesadds blocked approaches and a turning exit.crossing-aligned-gridandcrossing-staggered-gridtest multiple cells and short links between device banks.
Use unseeded runs to evaluate routing policy. For a separate check of geometry and clearance, use the reference paths in the crossing fixtures.
Imported fixtures
The importer converts placed device outlines to keepouts with port openings and snaps optical ports to a 0.1 µm grid. The six converted layouts exercise routing between fixed devices. To inspect their ports and keepouts, open the checked-in fixture data.
| Cases | Source | License |
|---|---|---|
| Splitter tree, ring modulator, and MZM | PIC Routing Benchmark | CC BY 4.0 |
| Toy layout and subsets of the Clements and MRR weight-bank layouts | LiDAR benchmarks | LiDAR license |
The importer checks both pinned archive hashes. It requires PyYAML when regenerating the fixtures.
mkdir -p /tmp/inire-external-routing
curl -fL 'https://huggingface.co/datasets/FLYR/pic-benchmark/resolve/0c1f445792926d97fae01893c89e96b8a9393800/pic-benchmark.zip' \
-o /tmp/inire-external-routing/pic-benchmark.zip
curl -fL 'https://codeload.github.com/ScopeX-ASU/LiDAR/tar.gz/4e7004d32b0b80d959553797fb30f0737513de0c' \
-o /tmp/inire-external-routing/lidar.tar.gz
uv run --with 'pyyaml==6.0.3' python -m scripts.import_external_routing_benchmarks \
--pic-archive /tmp/inire-external-routing/pic-benchmark.zip \
--lidar-archive /tmp/inire-external-routing/lidar.tar.gz