inire/docs/benchmark-fixtures.md
Jan Petykiewicz a05980e8af Retire routing archives and consolidate documentation tooling
Generate the guide, walkthrough, and gallery figures from one command. Keep benchmark fixtures and attribution with the tests and fold the durable findings from completed plans into the guides.
2026-12-02 20:33:19 -08:00

4.3 KiB
Raw Blame History

Benchmark fixtures

Micron-scale routing cases

The expanded group adds 75 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 fixtures include grid_nm for these boards and the imported layouts. 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 11 Alternating comb walls and other tight passages that require repeated turns or 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.

Pytest verifies the 75 reference layouts and checks that unseeded routing reaches the known bound on every board. For a scaling comparison, use the same grid, mode, and budget across repeated runs.

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.

The Terminal-Bench tests verify the unseeded point-terminal bundle and replay both reference lane plans.

Preplaced crossings

  • crossing-single isolates port access on one placed cell with four straight external legs.
  • crossing-obstructed-approaches adds blocked approaches and a turning exit.
  • crossing-aligned-grid and crossing-staggered-grid test 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.

Fabrication regression cases

The layout tests use process dimensions to exercise routing and placement replay.

Case Checks
Optical ports Matching widths allow a direct link. A wider target needs a taper.
Authored lengths Custom bend lengths are retained when the route is replayed.
Layers and process profiles Independent planes retain layer assignment. Ordered profiles reserve earlier routes and apply their own bend limits.
Coplanar waveguide Route the conductor and gap envelope from the same seed. With a 29.5 µm envelope and 3 µm clearance, 28 and 32 µm pitches fail and 36 µm passes.

Phase-sensitive routes

In the Raymond fabrication study, the authored arms of MZI9 measured 286.770 µm and 183.637 µm. A geometrically valid replacement for the longer arm measured 127.208 µm. It passed the EBeam design-rule check and changed the signed arm-length difference from +103.133 µm to −56.429 µm. Replaying a separate Bézier-based waveguide with circular bends changed its reported length from 156.137 µm to 154.948 µm. Compare the reported lengths against the circuit's tolerance before replacing a phase-sensitive route. Raymond fabrication layout · EBeam bend definitions · Reported lengths

Imported fixtures

The converted fixtures have port openings cut into device keepouts and use a 0.1 µm grid. The test suite reads the checked-in layouts.