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:
parent
8b32d68496
commit
eac083a37d
1 changed files with 1034 additions and 594 deletions
|
|
@ -2,23 +2,25 @@
|
|||
|
||||
# Topological routing
|
||||
|
||||
Guide mode suggests where a path can pass through free space and lets detailed search choose the actual turns. Seed mode tries to build a valid starting path through that passage before detailed search starts.
|
||||
`guide` suggests a passage for detailed search. `seed` tries to build a starting path through that passage first.
|
||||
|
||||
## Corridor planning and realization
|
||||
|
||||

|
||||
|
||||
In the offset-gates example, the two openings are at different heights. The top panel highlights the proposed sequence of triangle edges to cross. In the middle panel, the dashed line joins suggested crossing points. In the bottom panel, the solid route uses an S-bend to change height between the openings.
|
||||
Read the panels from top to bottom. Follow the crossed triangle edges, the suggested crossing points, then the S-bend in the verified route.
|
||||
|
||||
1. **Find connected space for centerlines.** Inset the board by half the widest guide's width and expand obstacles by that half-width plus clearance. To connect a port to the mesh, try a short straight along its departure or arrival heading, or use the port position itself. A lead from a flush port can cross the inset boundary when its flat-ended footprint fits inside the board and clears the keepouts. If the shared mesh finds no passage for a narrower net, retry with padding for its width.
|
||||
1. **Find space for centerlines.** Inset the board by half the widest guide's width. Expand obstacles by that amount plus clearance. Try a straight port lead to reach the mesh, or use the port itself. A flush port can reach the inset mesh via a lead whose flat end fits on the board. If a narrow net has no passage, retry with its own width.
|
||||
|
||||
<a id="design-background"></a>
|
||||
|
||||
A portal is an edge shared by adjacent free-space triangles. For an earlier representation of a route by its crossings of triangle edges, see Section III-A and Figure 1 of [Hama and Etoh's curvilinear detailed-routing paper](https://www.cecs.uci.edu/~papers/compendium94-03/papers/1998/aspdac98/pdffiles/06c_3.pdf).
|
||||
|
||||
2. **Choose a passage and a lane.** Rank a sequence of portals by distance and how many other nets want to use the same edges. A lane is a suggested position along an edge where a net can cross into the next triangle. Rank those positions by turn room and the lanes reserved for other nets. A joint retry can change the lane positions for several nets at the same opening. To see how the positions are scored, inspect [`assign_lanes()`](../inire/router/_topology.py#L247).
|
||||
2. **Choose a passage and a lane.** Rank passages by distance and competing nets. Place lanes on shared triangle edges according to turn room and reservations. A joint retry can move lanes for several nets.
|
||||
|
||||
3. **Turn the sketch into a path.** Guide mode uses the corridor to suggest moves and add a soft cost, so search can leave it to make a turn. Seed mode first searches inside a corridor and checks any seed against obstacles and earlier seeds. With alternatives, the first corridor gets at least half the per-net seed budget. Later detailed iterations can move an incumbent or use another guide. Final verification checks the installed geometry.
|
||||
- [Lane scoring](../inire/router/_topology.py#L255)
|
||||
|
||||
3. **Turn the sketch into a path.** Guide mode suggests moves and adds a soft cost. Seed mode searches within a corridor and checks the resulting seed against obstacles and earlier seeds. With alternatives, it allocates at least half the seed budget to the first corridor.
|
||||
|
||||
A passage can be connected in the mesh and leave too little room to bend onto the target port's heading. For the bend-radius and port-alignment rules that constrain the physical route, see Section II-B of [LiDAR 2.0](https://arxiv.org/html/2505.17239v1#S2.SS2).
|
||||
|
||||
|
|
@ -38,10 +40,12 @@ In an explicit guide or seed run, `run.topology.corridor_counts` shows how many
|
|||
|
||||
<a id="reproduce-a-comparison"></a>
|
||||
|
||||
On offset gates, guide and seed can finish at the same cost. To see whether the seed saves search work at a shared node budget, compare expansions and seeded IDs in the [matched-budget example](benchmarks.md#compare-routing-modes).
|
||||
Compare expansions and seeded IDs on offset gates at the same search budget.
|
||||
|
||||
- [Matched-budget command](benchmarks.md#compare-routing-modes)
|
||||
|
||||
### Benchmark fixtures and prior runs
|
||||
|
||||
- <a id="benchmark-corpus"></a>To repeat the comparison on a different geometry, pick a layout from the [benchmark case guide](benchmarks.md#choose-a-case).
|
||||
- <a id="imported-fixtures"></a>For pinned inputs and regeneration commands, see the [benchmark fixtures](benchmark-fixtures.md).
|
||||
- <a id="probe-budget-and-coverage"></a><a id="retry-experiments"></a><a id="experiment-archive"></a>For measured changes to probe limits or retry order and the commands that produced them, see the [prior experiments](benchmark-results.md#near-port-probe-and-retry-experiments).
|
||||
- <a id="benchmark-corpus"></a>[Benchmark cases](benchmarks.md#choose-a-case)
|
||||
- <a id="imported-fixtures"></a>[Fixture sources and regeneration](benchmark-fixtures.md)
|
||||
- <a id="probe-budget-and-coverage"></a><a id="retry-experiments"></a><a id="experiment-archive"></a>[Probe and retry experiments](benchmark-results.md#near-port-probe-and-retry-experiments)
|
||||
|
|
|
|||
Loading…
Reference in a new issue