Definitionintro
Channel density
The largest number of nets that cross one column of a channel. Every routing with trunks on one layer needs at least this many tracks.
The channel density is the first number that a channel router computes. A channel is a rectangle with pins on its top and bottom edges. Each net, a set of pins that must be joined, spans the columns from its leftmost pin to its rightmost pin. The local density at a column is the number of nets whose span holds that column. The channel density is the largest local density over all columns. In the usual two-layer model, where horizontal wires use one layer, every net that crosses a column needs its own track there, so no routing uses fewer than tracks. The left-edge algorithm meets this bound when no column has pins of two different nets, and the bound is the yardstick against which channel routers report their results.
Definition
Channel. A channel has columns . Each column has a top pin and a bottom pin , each the label of a net or 0 for no pin. A net is a label that appears on at least two pins in at least two different columns. A net with all its pins in one column is routed by a straight vertical wire and is left out of the definitions below.
Interval of a net. For a net , let be the smallest and the largest column that holds a pin of . The interval of is the closed set of columns .
Local density. The local density at column is
the number of nets whose interval holds .
Channel density. The channel density is . In the terms of intervals, is the depth of the family , the maximum overlap of the intervals.
Lower bound. In the reserved two-layer model, trunks (horizontal wire) run on layer H along tracks , and branches (vertical wire) run on layer V along the columns. Two nets may not share a grid point on the same layer. Then every legal routing has , also when nets may change track (doglegs).
Proof. Fix a column and a net with . If , then has a pin left of and a pin at or right of , so its wire contains a horizontal edge from column to column . If , then and the wire contains a horizontal edge from column to column . In both cases uses a grid point on layer H for some track . The nets that cross use different such points, since no point holds two nets, and column has only points on layer H. So for every , and .
Computing it. The local densities of all columns come from one sweep. Add 1 at column and subtract 1 after column for each net, and take prefix sums. This takes time for pins, as in the sweep for maximum overlap.
Examples and non-examples
A channel with four nets. Take columns with
| column | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| top | 1 | 0 | 2 | 1 | 3 | 0 | 4 | 0 |
| bottom | 0 | 2 | 0 | 3 | 0 | 4 | 0 | 3 |
The intervals are , , and . The local densities are
| column | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| nets that cross | 1 | 1, 2 | 1, 2 | 1, 3 | 3 | 3, 4 | 3, 4 | 3 |
| 1 | 2 | 2 | 2 | 1 | 2 | 2 | 1 |
so . Two tracks are enough: nets 1 and 4 on the upper track, nets 2 and 3 on the lower one. Column 4 has net 1 on top and net 3 at the bottom, and net 1 is on the upper track, so the two branches in column 4 do not meet.
Closed intervals count shared end columns. Net 1 ends in column 4 and net 3 starts there, and . The two nets cannot share a track, because both need the point of that track in column 4. With half-open intervals the count at column 4 would be 1, which is not a valid bound in this model.
The bound is not always met. Take , with top pins and bottom pins . Then . Without doglegs, net 1 must be above net 2 because of column 1, and below net 2 because of column 2, so no number of tracks works. Doglegs at pin columns do not help either, since each net has only two pins. With jogs in any column, two tracks are still too few: in column 1 the two branches fill the whole column, so net 1 must reach column 2 on track 1 and net 2 on track 2, and in column 2 the branch of net 2 must then pass track 1 to reach track 2, which leaves no room for the branch of net 1 from the bottom. The greedy channel router routes this channel with three tracks and one column past the right end. The vertical constraint graph records the constraints that cause this gap.
Not the density: the number of nets. A channel with nets always has , and can be much smaller. Nets with have , and all of them fit on one track.
Not the density: the pins in a column. A column holds at most two pins, but many nets can cross it. In the example above, columns 6 and 7 each hold one pin and have .
Related definitions
- Channel routing problem: the problem in which the density is the first lower bound.
- Vertical constraint graph: its longest path gives a second lower bound in the model without doglegs. The number of tracks must be at least the larger of the two bounds.
- Interval coloring depth theorem: intervals can be colored with as many colors as their depth, so the density is reached when there are no vertical constraints. The left-edge algorithm builds such a coloring track by track.
- Zones. The sets of nets that cross one column, kept only when they are maximal, are the zones of the Yoshimura-Kuh algorithm. The largest zone has nets.
- Switchbox cut bound. In a switchbox, the same argument bounds the nets across every vertical and every horizontal cut by the number of tracks across it.
- Unreserved layers. If both layers may hold trunks, two nets can cross a column on the same track on different layers, and the bound becomes .
References
- Andrew B. Kahng, Jens Lienig, Igor L. Markov and Jin Hu, VLSI Physical Design, From Graph Partitioning to Timing Closure, second edition, Springer, 2022, Chapter 6, Detailed Routing, the section on channel routing (horizontal constraints and the channel density as a lower bound; general locator)
- Naveed A. Sherwani, Algorithms for VLSI Physical Design Automation, third edition, Kluwer, 1999, the chapter on detailed routing, the part on channel routing (the density of a channel and the lower bound on tracks; general locator)
- A. Hashimoto and J. Stevens, Wire routing by optimizing channel assignment within large apertures, Proceedings of the 8th Design Automation Workshop, 155 to 169, 1971, the left-edge assignment of intervals to tracks, which meets the largest number of intervals over one column when there are no vertical constraints (general locator)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag JH1V52 Edit this page History Report an error Markdown