S3 · Lesson 19 · Interconnect
Wire resistance and capacitance, distributed RC delay, and repeaters
In a modern chip the wires are often slower than the transistors. A wire's resistance and capacitance both grow with its length, so its RC delay grows as the length squared: twice as long, four times as slow. Shrinking the process makes wires thinner and their resistance per millimeter higher, so global wires got relatively worse every generation. The standard cure is to break a long wire into segments with repeaters (inverters) between them, which turns the quadratic delay into a linear one. This lesson does the estimates a designer makes before floorplanning a chip.
- Delay against wire length for an unrepeated wire (the distributed RC delay, ) and an optimally repeated one, with wire capacitance 0.2 fF/µm, resistance r and repeaters of intrinsic delay .
- Short wires are fastest left alone; past a crossover length, about 1.5 mm here, repeaters win and the gap grows quickly.
- Raise the wire resistance (thinner wires, lower metal layers): both curves rise, but the unrepeated one far faster.
Predict
A 2 mm wire takes 150 ps from end to end. How long does a 4 mm wire of the same kind take, without repeaters?
600 ps, four times as long. Doubling the length doubles both the resistance and the capacitance, so the RC product, and the delay, goes up fourfold. With repeaters every half-millimeter or so, the delay grows only in proportion to length, which is why long on-chip buses are always repeated (and why chip architects keep critical signals local).
Name it
Resistance and capacitance
- Resistance: , quoted as r per micrometer. Copper's ρ is 17 nΩ·m in bulk but much higher in very narrow wires (surface and grain-boundary scattering). Lower metal layers in an advanced process run about 0.5 to several Ω/µm; thick top layers, a few hundredths.
- Capacitance: about 0.2 fF/µm for most layers, nearly independent of the process, since narrower wires sit closer to their neighbors.
The Elmore delay
For an RC tree, the delay to a node is about , each capacitance times the resistance it shares with the path to that node. A uniform distributed wire of total R and C has an Elmore delay of RC/2 and a 50% delay of about
Driven through a gate with output resistance and loaded by , add .
Repeaters
Splitting a wire into k segments with repeaters makes each segment's delay quadratic in L/k, so the total falls as 1/k until the repeaters' own delays dominate. With a minimum inverter of output resistance and input capacitance (Bakoglu's result), the best number and size are
and the delay becomes linear in length, about per unit length.
Coupling
Neighboring wires couple through their sidewall capacitance. A neighbor switching the opposite way doubles the effective coupling capacitance (the Miller effect again), and switching the same way removes it: delay depends on what the neighbors do, and crosstalk noise can flip a quiet wire. Spacing, shielding and staggered repeaters reduce it.
Worked example
A 2 mm wire has r = 0.5 Ω/µm and c = 0.2 fF/µm. Find its R, C and delay, and how many repeaters of = 10 kΩ, = 0.5 fF would be optimal.
Show the solution
- R and C.
- Unrepeated delay.
- Number of repeaters. so about 7.
- Repeater size. Each is this many times a minimum inverter:
- Repeated delay. With ps and fs/µm² over 2000 µm:
Answer R = 1 kΩ, C = 400 fF and a delay of 152 ps; about 7 repeaters, each about 89 times minimum size, bring it to about 112 ps.
Worked example
An Elmore estimate: a driver of 2 kΩ feeds a wire modeled as two segments, each 500 Ω and 100 fF, ending at a 20 fF load. What's the delay to the end?
Show the solution
- Lump the capacitance. Put each segment's capacitance at its far end, so the first node holds 100 fF and the second 120 fF.
- Charge through each resistance. Every capacitance downstream of a resistance charges through it, so the driver and the first segment see 220 fF and the second segment 120 fF:
- Add them.
- A finer model. Modeling the distributed wire more finely lowers the wire's own terms a little; the driver term dominates here.
Answer about 610 ps to the end.
Worked example
A 1 mm wire has 0.1 fF/µm to ground and 0.05 fF/µm to each of its two neighbors. What load does its driver see when the neighbors are quiet, when both switch the opposite way, and when both switch the same way?
Show the solution
- Quiet neighbors.
- Both switch the opposite way. Each coupling capacitance sees twice the voltage change, so it counts double:
- Both switch the same way. The couplings see no change and vanish, leaving 100 fF.
- What it means. The wire's delay varies threefold with its neighbors' activity, which is why timing tools analyze crosstalk windows.
Answer 200 fF with quiet neighbors, 300 fF when they switch the opposite way and 100 fF when they switch the same way.
Check
A wire of 0.5 mm has 0.5 Ω/µm. What's its resistance?
Write units the way you normally would: 1.5 Ω, 1500 mΩ and 0.0015 kΩ are the same answer.
Check
An unrepeated 1 mm wire has 0.2 Ω/µm and 0.2 fF/µm. What's its distributed RC delay?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A wire is made 3 times longer, unrepeated. By what factor does its delay grow?
Check
A wire of 500 Ω and 200 fF is driven by repeaters whose minimum inverter has = 20 kΩ and = 2 fF. How many repeaters are optimal?
Check
A 2 kΩ driver feeds two wire segments, each 50 Ω with 300 fF lumped at its far end, and a 50 fF load at the end. What's the Elmore delay to the end?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A gate with 1 kΩ output resistance drives a lumped 50 fF load. What's its 50% delay?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A wire 2 mm long has r = 0.2 Ω/µm and c = 0.2 fF/µm.
(a)
What is its resistance?
Write units the way you normally would: 1.5 kΩ, 1500 Ω and 0.0015 MΩ are the same answer.
(b)
What is its capacitance?
(c)
What is its 50% delay as a distributed line, ignoring the driver?
Check
A driver of output resistance D drives a uniform wire of total resistance R and capacitance C into a load K.
Step 1
What does the wire's own distributed RC contribute?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What does the driver contribute?
Step 3
What is the total 50% delay?
Explain why
Why do repeaters make a long wire's delay grow linearly instead of quadratically?
An unrepeated wire's delay is set by its total resistance charging its total capacitance, and both grow with length, so the delay grows with the square of the length. Cutting the wire into segments with an inverter at each break means each inverter only charges the next segment, whose resistance and capacitance are each a fraction of the total. Each segment's delay falls with the square of its length, so k segments of length L/k have k times a delay proportional to , a total that falls as 1/k. The repeaters add their own delay, so there's a best spacing, and at that spacing every millimeter of wire costs the same amount of time: linear growth.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.