Algorithm Search⌘K

Definitioncore

RC tree model

Also called resistor-capacitor tree.

A tree of resistors with capacitors to ground at the nodes, the standard model of an on-chip interconnect net driven from its root.

The RC tree model describes an on-chip interconnect net, or the output of a gate driving it, as an electrical tree: each wire segment is a resistor, each node has a capacitor to ground, and a voltage source drives the root. It is the standard input of interconnect delay models such as the Elmore delay, and of model order reduction methods such as AWE and PRIMA. The tree structure gives it two useful facts: the inverse of its conductance matrix holds the resistances of common root paths, and its step response at every node rises monotonically. The name is also written "RC interconnect tree"; it is not the rake-compress tree, a data structure for dynamic forests that some authors also call an RC-tree.

Definition

RC tree. An RC tree is a rooted tree with nodes 0,1,…,n0, 1, \ldots, n, where node 0 is the source, together with

  • a resistance Rk>0R_k > 0 on the edge from each node k≥1k \ge 1 to its parent p(k)p(k),
  • a capacitance Ck≥0C_k \ge 0 from each node k≥1k \ge 1 to ground,
  • an input voltage u(t)u(t) applied at node 0 against ground.

There is no resistor to ground and no capacitor between two nodes that are not ground. A driver with output resistance RdR_d is modeled by one more edge of resistance RdR_d next to the source. A node with Ck>0C_k > 0 and no children is a sink, such as the input pin of a gate.

Equations. Let v(t)∈Rnv(t) \in \mathbb{R}^n be the node voltages, C=diag(C1,…,Cn)C = \mathrm{diag}(C_1, \ldots, C_n), and GG the n×nn \times n conductance matrix: GkkG_{kk} is the sum of 1/R1/R over the edges at kk, and Gjk=−1/RkG_{jk} = -1/R_k if j=p(k)j = p(k) or −1/Rj-1/R_j if k=p(j)k = p(j), and 0 otherwise. Kirchhoff's current law at each node gives

C v′(t)=−G v(t)+b u(t),C \, v'(t) = -G \, v(t) + b \, u(t),

where bk=1/Rkb_k = 1/R_k if p(k)=0p(k) = 0 and bk=0b_k = 0 otherwise. GG is the weighted Laplacian matrix of the tree with the row and column of the source removed. It is symmetric and positive definite, since the tree is connected, and G1=bG \mathbf{1} = b, so for a constant input u=1u = 1 the final voltage is 1 at every node.

Common path resistance. For nodes ii and kk, let RikR_{ik} be the sum of the resistances on the common part of the paths from the source to ii and from the source to kk. Then

(G−1)ik=Rik.(G^{-1})_{ik} = R_{ik}.

Proof. Column kk of G−1G^{-1} is the vector of node voltages when the source is grounded and a current of 1 is injected at node kk. In a tree, this current flows to ground along the unique path from kk to the source, and through no other edge, because every other edge leads into a subtree with no other path to ground, and no current flows in or out of it. So the voltage at node ii is the voltage drop along the part of the path from kk to the source that the path from ii to the source also uses, which is RikR_{ik}. □\square

Monotone step response. For u=1u = 1 from t=0t = 0 and v(0)=0v(0) = 0, each node voltage vk(t)v_k(t) is non-decreasing and tends to 1. Proof. The matrix A=−C−1GA = -C^{-1} G (assume Ck>0C_k > 0 for all kk) has non-negative entries off the diagonal. For a large enough cc, A+cIA + cI is a non-negative matrix, so eAt=e−cte(A+cI)te^{At} = e^{-ct} e^{(A + cI)t} has only non-negative entries. Then v′(t)=eAtC−1b≥0v'(t) = e^{At} C^{-1} b \ge 0 entry by entry. The eigenvalues of C−1GC^{-1} G are those of the symmetric positive definite matrix C−1/2GC−1/2C^{-1/2} G C^{-1/2}, so they are real and positive, and v(t)→G−1b=1v(t) \to G^{-1} b = \mathbf{1}. □\square

Thus the impulse response hk(t)=vk′(t)h_k(t) = v_k'(t) at each node is a non-negative function with total area 1, a probability density on t≥0t \ge 0. The Elmore delay is its mean. The monotonicity argument uses only that CC is diagonal and GG has non-positive entries off the diagonal, so it also holds for RC meshes with grounded capacitors. The formula for G−1G^{-1} needs the tree.

Examples and non-examples

A ladder of three sections. Nodes 1, 2, 3 in a chain from the source, with Rk=1R_k = 1 and Ck=1C_k = 1. Then Rik=min⁡(i,k)R_{ik} = \min(i, k):

G=(2−10−12−10−11),G−1=(111122123).G = \begin{pmatrix} 2 & -1 & 0 \\ -1 & 2 & -1 \\ 0 & -1 & 1 \end{pmatrix}, \qquad G^{-1} = \begin{pmatrix} 1 & 1 & 1 \\ 1 & 2 & 2 \\ 1 & 2 & 3 \end{pmatrix}.

The Elmore delays ∑kRikCk\sum_k R_{ik} C_k are 3, 5 and 6. The 50 percent delays of the step response, computed with the matrix exponential, are about 1.12, 3.40 and 4.50.

A branching tree. Node 1 hangs from the source with R1=2R_1 = 2, and nodes 2 and 3 hang from node 1 with R2=1R_2 = 1 and R3=3R_3 = 3; the capacitances are C1=1C_1 = 1, C2=2C_2 = 2, C3=1C_3 = 1. The common path resistances are R11=R12=R13=R23=2R_{11} = R_{12} = R_{13} = R_{23} = 2, R22=3R_{22} = 3 and R33=5R_{33} = 5, and these are the entries of G−1G^{-1}. The Elmore delay at node 2 is 2⋅1+3⋅2+2⋅1=102 \cdot 1 + 3 \cdot 2 + 2 \cdot 1 = 10, and at node 3 it is 2⋅1+2⋅2+5⋅1=112 \cdot 1 + 2 \cdot 2 + 5 \cdot 1 = 11.

A distributed line. A uniform wire with total resistance RR and capacitance CC, cut into nn equal sections with the capacitance at the far end of each, is a ladder. Its far-end Elmore delay is RC(n+1)/(2n)RC (n + 1) / (2n), which is RCRC for n=1n = 1, 2RC/32RC/3 for n=3n = 3 and tends to RC/2RC/2. So the lumped model of a long wire by one section doubles its Elmore delay.

Non-example: an RC mesh. A net with a loop, for example two wires from the driver that meet again at a sink, is not a tree. Its GG is still symmetric and positive definite, but its inverse is not given by common path resistances. In the loop of four nodes with all R=1R = 1 (source to 1, 1 to 2, source to 3, 3 to 2), (G−1)22=1(G^{-1})_{22} = 1, while each of the two root paths to node 2 has resistance 2.

Non-example: coupling capacitance. A capacitor between two wires of different nets makes CC non-diagonal and couples the trees. The extracted network of a real chip has such capacitors; delay calculators often replace them by grounded capacitors, scaled by a switching factor.

Non-example: an RLC line. Wide wires and package traces have inductance. Their step response can overshoot and ring, so it is not monotone and the facts above fail. See the Elmore delay page for an example.

  • Elmore delay. The delay Ti=∑kRikCkT_i = \sum_k R_{ik} C_k, the first moment of the impulse response; see Elmore delay.
  • Downstream capacitance. For an edge into node kk, the total capacitance of the subtree of kk. The Elmore delay to ii is also the sum, over the edges on the path to ii, of the resistance times the downstream capacitance.
  • Moments. The coefficients of the Taylor series of the transfer function at s=0s = 0; AWE matches them with a few poles, and PRIMA matches them by a projection.
  • Routing trees. The tree topology of a net is a Steiner tree built by the router. Van Ginneken buffer insertion and Tsay's zero-skew merge work on RC trees with the Elmore delay.
  • Extraction. The resistances and capacitances come from parasitic extraction of the layout.

References

  1. Jorge Rubinstein, Paul Penfield Jr. and Mark A. Horowitz, Signal delay in RC tree networks, IEEE Transactions on Computer-Aided Design 2(3), 202 to 211, 1983, the definition of an RC tree, the common path resistances R_ik, and the bounds on the step response
  2. W. C. Elmore, The transient response of damped linear networks with particular regard to wideband amplifiers, Journal of Applied Physics 19(1), 55 to 63, 1948, the delay defined as the first moment of the impulse response of a network with a monotone step response
  3. Rohini Gupta, Byron Krauter, Bogdan Tutuianu, John Willis and Lawrence T. Pileggi, The Elmore delay as a bound for RC trees with generalized input signals, Proceedings of the 32nd Design Automation Conference, 364 to 369, 1995, the properties of the impulse response of an RC tree (non-negative, unimodal) used for the bound
  4. J. Bhasker and Rakesh Chadha, Static Timing Analysis for Nanometer Designs, A Practical Approach, Springer, 2009, Chapter 4, Interconnect Parasitics (RC trees and the representation of wires by RC sections)

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.

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/8HVCRS/text.yaml