Refine routing geometry checks and streamline documentation

Report coincident terminals and unusable seeds per net, update custom bend handling and verification, and cover the revised behavior with regression tests.

Shorten the user and developer guides around reader tasks and keep the illustrated routing walkthrough and reference links easy to find.
This commit is contained in:
Jan Petykiewicz 2026-11-29 23:12:28 -08:00
commit eac083a37d

View file

@ -1,6 +1,6 @@
# inire
Use Inire to connect ports on a photonic or RF layout with straight segments, 90-degree bends, and S-bends. Supply each connection's port coordinates and travel directions, along with the board bounds, keepouts, and allowed bend radii. Each result reports whether the route reached its target and passed verification. A search that stops early can return a partial path.
Inire routes photonic and RF layouts with straights, 90-degree bends, and S-bends.
## Install
@ -33,18 +33,19 @@ else:
![A short solid waveguide connects the start at (50, 100) and target at (250, 100). Both port arrows point east.](docs/figures/first-route.png)
The example prints `200.0` in the layout's coordinate unit. Both ports use heading 0 because the path leaves the source and enters the target travelling east. Use `result.as_seed()` to [save the placement recipe](docs/user/route-a-layout.md#save-a-placement-recipe).
The example prints `200.0`. Heading `0` is east at both ports.
## Route your own layout
- For your own ports and keepouts, follow the [layout workflow](docs/user/route-a-layout.md#define-the-inputs).
- If a path stops short, work through the [partial route checks](docs/user/tune-and-troubleshoot.md#why-a-net-stopped-short).
- To find examples and look up fields as you work, use the [user guide](DOCS.md).
- [Set up a layout](docs/user/route-a-layout.md#define-the-inputs)
- [Diagnose a partial route](docs/user/tune-and-troubleshoot.md#why-a-net-stopped-short)
- [Save a placement recipe](docs/user/route-a-layout.md#save-a-placement-recipe)
- [User guide](DOCS.md)
## Develop Inire
- To set up the development environment and find the relevant routing code, use the [developer guide](docs/development.md).
- To measure routing coverage, cost, or runtime, run the [routing benchmarks](docs/benchmarks.md).
- [Developer guide](docs/development.md)
- [Routing benchmarks](docs/benchmarks.md)
## License