Conceptcore
Rent's rule
Also called Rent exponent.
The empirical law T = t g^p between the number of terminals T and gates g of a block of a circuit, which predicts wire length and cut sizes.
Rent's rule is the observation that, for the blocks of a well-designed digital circuit, the number of terminals of a block grows as a power of the number of gates in it, . Here is the average number of terminals of one gate and is the Rent exponent, with . The rule is empirical, not a theorem: it holds over a range of block sizes for circuits that were built hierarchically and for blocks found by a good partitioner. E. F. Rent wrote it down in internal IBM memos in 1960, and Landman and Russo published it in 1971, with exponents between 0.57 and 0.75 for the logic they studied. Some authors write or for the same law.
In plain words
Cut a circuit into pieces, and count for each piece how many parts it holds and how many wires leave it. A small piece has few wires going out. A big piece has more, but not in proportion: most wires inside a well-made circuit are short and stay inside the piece. If you plot the numbers on log paper, the points lie close to a straight line. The slope of that line is the Rent exponent.
A slope near 0 means that pieces hardly talk to the rest, like a long chain. A slope of one half is what a flat grid of parts gives. A slope near 1 means that the wires go everywhere, so cutting the circuit never helps. Real logic sits between one half and three quarters. The slope tells a designer how long the wires will be and how many wires each cut will cross.
The idea
The quantities. Take a netlist, a hypergraph of gates and nets. For a block of gates, its terminals are the nets that have a pin in and a pin outside , plus the primary inputs and outputs of the circuit on gates of . Let be their number. Partition the netlist again and again, for example by min-cut bisection, and record for every block. Rent's rule says that
The constants and are fitted to the points, usually by least squares on the logarithms (see linear regression), or by the averages of over the blocks at each level of the partition.
The exponent depends on the partitioner. is a property of the block, not only of the circuit. A poor partition makes larger at every size and so gives a larger fitted . A Rent exponent is therefore a statement about a circuit and a partitioning method together. Good min-cut partitioners give the smallest values.
Region I and Region II. Landman and Russo found that the rule fits for blocks up to a fraction of the whole circuit (Region I). For the few largest blocks, grows more slowly than the line or even falls (Region II), because the whole circuit has only as many terminals as its package has pins, and a block that is half the circuit cannot have more terminals than the circuit and its other half allow.
Why a power law: the geometric view. Suppose the gates sit on a -dimensional grid with wires only between neighbors. A cube of side holds gates, and its terminals are the wires that cross its surface, about . So a -dimensional circuit has : for a chain, for a planar grid and for a 3D grid. An exponent above means that the circuit has more wires leaving a block than a planar grid of the same size would have. In that sense such a circuit does not fit a plane without long wires.
Consequences for wire length. Donath (1979) placed a circuit with Rent exponent on a grid by recursive partitioning and estimated the average length of a wire, in units of the gate pitch, as a function of the number of gates:
- if , the average wire length stays bounded as grows;
- if , it grows as ;
- if , it grows as .
This estimate assumes the rule at all scales and a placement that follows the partition hierarchy. It is a model, and measured wire lengths of real placements depart from it, but it explains why the Rent exponent of a design predicts its wiring demand.
Not a law of nature. Random netlists, where each net picks its pins uniformly at random, have close to 1, because a block of half the gates already cuts a constant fraction of the nets. Highly regular structures such as memories have small . The rule describes the netlists that people design, which are hierarchical and local.
Examples
A planar grid of gates. Put gates on a grid and join each gate to its four neighbors by 2-pin nets. Cut it by alternating vertical and horizontal bisections. An interior block of gates has nets that leave it.
| block | (interior block) | ||
|---|---|---|---|
| 1 | 4 | 4 | |
| 4 | 8 | 8 | |
| 16 | 16 | 16 | |
| 64 | 32 | 32 | |
| 256 | 0 | 64 |
The first four rows fit exactly, so and . Blocks on the edge of the grid have fewer terminals: an quarter has only 16. The last row is Region II in its simplest form: the whole circuit has no nets leaving it, unless it has primary inputs and outputs.
A chain. Gates in a row with a net between each pair of neighbors. Every block of consecutive gates has at most 2 terminals, so and . A block of gates that are not consecutive has more terminals, which shows how the partition changes the exponent.
A 3D grid. A cube of gates with neighbor nets has terminals, so , inside the range that Landman and Russo measured for logic.
Reading a fit. If the blocks of a design have on average at and at , then and .
Where it is used
- Wire length and interconnect prediction. Before placement, estimate the distribution and the average of the wire lengths from and , as in Donath's model, to size the routing resources and to plan the layers.
- Partitioning and packaging. Estimate how many pins a chip, a board or a block of an FPGA needs for a given amount of logic, and so how many parts a system must be split into.
- Evaluating partitioners and placers. A better hypergraph partitioner yields fewer terminals per block and a lower fitted exponent. In min-cut placement the rule estimates the number of nets that cross the cut lines at each level, and the sum of these numbers is the total HPWL.
- Synthetic benchmarks. Generators of artificial netlists choose a target Rent exponent so that the circuits behave like real ones.
- Relation to graph separators. For graphs, the planar separator theorem gives separators of size , the graph analogue of . A family of graphs whose minimum bisections grow like has the same kind of power law, but for Rent's rule this is an empirical fit, not a proved bound.
References
- B. S. Landman and R. L. Russo, On a pin versus block relationship for partitions of logic graphs, IEEE Transactions on Computers C-20(12), 1469 to 1479, 1971, the statement of the rule, the partitioning experiments on logic graphs, the exponents measured for them (0.57 to 0.75), and Region II, where the rule fails for large blocks
- W. E. Donath, Placement and average interconnection lengths of computer logic, IEEE Transactions on Circuits and Systems CAS-26(4), 272 to 277, 1979, the estimate of the average wire length of a placement from the Rent exponent, with its three regimes p < 1/2, p = 1/2 and p > 1/2
- 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 2, Netlist and System Partitioning (the note on Rent's rule in the introduction; 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 C7EEZD Edit this page History Report an error Markdown