Algorithm Search⌘K

Definitionintro

H-tree clock network

Also called H-tree clock distribution.

A recursive H-shaped clock tree that gives equal path lengths to sinks on a regular grid, but is wasteful for sinks placed unevenly.

An H-tree is a clock routing structure: a wire tree that starts at the centre of a square and splits again and again in the shape of the letter H, so that its 4k4^k ends lie at the centres of a regular grid of cells. Every path from the centre to an end has the same length and passes through copies of the same subtrees, so with equal loads at the ends the Elmore delay to every end is the same and the skew is zero. It works well when the sinks, or local buffers that drive them, sit on a regular grid, and it wastes wire when the sinks are placed unevenly. Bakoglu, Walker and Meindl described it as a clock distribution tree in 1986.

Definition

H-tree of order 1. In a square of side DD with centre oo, the H-tree of order 1 is the union of three segments: a horizontal bar of length D/2D / 2 centred at oo, and two vertical bars of length D/2D / 2 centred at its ends. Its four ends are the ends of the vertical bars, which are the centres of the four quadrants of the square. The clock enters at oo.

H-tree of order kk. For k≥2k \ge 2, the H-tree of order kk is the H-tree of order 1 in the square, together with an H-tree of order k−1k - 1 in each of the four quadrants of side D/2D / 2, whose centre is an end of the first H. Its ends are the 4k4^k centres of the cells of side D/2kD / 2^k that tile the square.

As a graph, the H-tree of order kk is a complete binary tree of depth 2k2k rooted at oo: each H splits once along its horizontal bar and once more along each vertical bar. An H-tree clock network routes the clock along this tree from a driver at oo to the sinks at its ends, usually with buffers at some of the branch points. When the sinks do not sit at the ends, each sink is joined to an end by a short local wire.

Lengths. For the H-tree of order kk in a square of side DD,

wire length=∑i=1k4i−1⋅32⋅D2i−1=32D (2k−1),path length to each end=∑i=1kD2i=D (1−2−k).\text{wire length} = \sum_{i = 1}^{k} 4^{i - 1} \cdot \frac{3}{2} \cdot \frac{D}{2^{i - 1}} = \frac{3}{2} D \,(2^k - 1), \qquad \text{path length to each end} = \sum_{i = 1}^{k} \frac{D}{2^i} = D \,(1 - 2^{-k}).

The H of level ii has a horizontal bar and two vertical bars of length D/2iD / 2^i each, and a path uses half of one bar of each kind, D/2i+1D / 2^{i + 1} twice.

Zero skew. The four quadrant subtrees of an H-tree are translates of each other, and the two halves of each bar carry the same downstream subtrees. Under the Elmore delay of the RC tree model, with the same wire width at each level and equal loads at the ends, the delay to an end is a sum over the edges of its path of the edge resistance times the downstream capacitance, and these terms are the same for all ends. So all 4k4^k ends get the same delay. This is exact in the model; on silicon, process variation and unequal loads still cause skew.

Examples and non-examples

Example: 16 sinks on a grid. In a square of side D=8D = 8, the H-tree of order 2 has its ends at the 16 points (x,y)(x, y) with x,y∈{1,3,5,7}x, y \in \{1, 3, 5, 7\}. The first H has bars of length 4, so 12 units of wire; each of the four H's of level 2 has bars of length 2, so 6 units each. The total is 12+24=36=32⋅8⋅(22−1)12 + 24 = 36 = \frac{3}{2} \cdot 8 \cdot (2^2 - 1). Every path from the centre (4,4)(4, 4) has length 2+2+1+1=6=8(1−1/4)2 + 2 + 1 + 1 = 6 = 8 (1 - 1/4), so the skew is zero.

Example: the price of equal paths. For N=4kN = 4^k sinks at the cell centres with spacing s=D/2ks = D / 2^k, a comb, one row of wire with a column of wire through each column of sinks, connects them with (N−1)s(N - 1) s wire, the length of a rectilinear minimum spanning tree of the grid. The H-tree uses 32N(N−1)s\frac{3}{2} \sqrt N (\sqrt N - 1) s, so the ratio is 32N/(N+1)\frac{3}{2} \sqrt N / (\sqrt N + 1), which is 1.21.2 for 16 sinks and tends to 1.51.5. The comb pays for this with skew: driven at one end of its row, its paths range from 0 to 2(N−1)s2 (\sqrt N - 1) s, almost 2D2 D.

Non-example: sinks in one corner. Take the square of side 8 and four sinks at (6,6)(6, 6), (6,7)(6, 7), (7,6)(7, 6) and (7,7)(7, 7), with the clock at (4,4)(4, 4). The H-tree of order 1 has ends at (2,2)(2, 2), (2,6)(2, 6), (6,2)(6, 2) and (6,6)(6, 6). Joining each sink to its own end with local wires of lengths 0, 5, 5 and 10 gives paths of length 4, 9, 9 and 14, a skew of 10, and 32 units of wire. A small H-tree of order 1 in the square of side 2 centred at (6.5,6.5)(6.5, 6.5), with bars of length 1 and 3 units of wire, fed by 5 units of wire from (4,4)(4, 4), gives every sink a path of length 6, zero skew and 8 units of wire. The H-tree follows the shape of the chip, not the positions of the sinks.

Non-example: a grid that is not a power of 4. For a 3×33 \times 3 grid of sinks, or a chip that is not square, no H-tree has its ends at the sinks. Some ends get no sink or two sinks, and the local wires differ in length, so in general the skew is no longer zero. Trees that follow the sinks, such as the method of means and medians, or exact methods such as Tsay's zero-skew algorithm with deferred-merge embedding, handle such sets.

Non-example: an H-shaped tree with unequal loads. An H-tree of order 2 in which one end drives a load of 2 units of capacitance and the other 15 ends drive 1 unit has equal path lengths but not equal Elmore delays, since the downstream capacitance differs between the halves of a bar. Equal length is not equal delay.

  • Clock tree synthesis. The problem of building a clock tree to a given set of sinks with low skew, latency and power. The H-tree is its oldest regular answer.
  • Clock skew. The difference between the arrival times of the clock at two registers; the setup and hold constraints say how much of it a pair of registers can take.
  • Zero-skew tree. A clock tree in which the delays from the root to all sinks are equal under a stated delay model. The H-tree is one on a regular grid; Tsay's algorithm builds one for any sinks and topology.
  • Method of means and medians. A recursive clock router that splits the sinks at their median and joins the centres of mass. On the cell centres of a 2k×2k2^k \times 2^k grid it gives the H-tree.
  • Clock mesh and spine. Other clock networks: a grid of wires shorted together, or a few long trunks with short branches. They trade more wire and power for less sensitivity to variation.
  • H-tree layout. The same recursive H embeds a complete binary tree with nn leaves in a grid of area O(n)O(n), a classical result of VLSI layout theory.
  • Rectilinear Steiner tree. The shortest rectilinear tree that connects the sinks, with no condition on the paths. It is the wire length lower bound that an H-tree gives up for equal paths.

References

  1. H. B. Bakoglu, J. T. Walker and J. D. Meindl, A symmetric clock-distribution tree and optimized high-speed interconnections for reduced clock skew in ULSI and WSI circuits, Proceedings of the IEEE International Conference on Computer Design (ICCD), 118 to 122, 1986, the symmetric H-shaped clock distribution tree
  2. Andrew B. Kahng, Jens Lienig, Igor L. Markov and Jin Hu, VLSI Physical Design, From Graph Partitioning to Timing Closure, Springer, 2011, Chapter 7, Specialized Routing, Section 7.5.1, on H-trees and other clock tree constructions
  3. Charles J. Alpert, Dinesh P. Mehta and Sachin S. Sapatnekar (editors), Handbook of Algorithms for Physical Design Automation, CRC Press, 2008, Chapter 42, Clock Network Design, Basics

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.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/EFPFNF/text.yaml