---
title: Interconnect
heading: Wire resistance and capacitance, distributed RC delay, and repeaters
eyebrow: S3 · Lesson 19 · Interconnect
xp: 50
---

::: hook
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.
:::

::: play
- Delay against wire length for an unrepeated wire (the distributed RC delay, $0.38rcL^2$) and an optimally repeated one, with wire capacitance 0.2 fF/µm, resistance r and repeaters of intrinsic delay $R_0C_0$.
- 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.
:::
:::

```sim plot
view: graph
x: L = 0.1..10 mm log
y: t = 1..20000 log
slider: r = 0.05..2 = 0.5 Ω/µm log
slider: RC = 1..20 = 5 ps log
plot: 0.38*r*0.2e-15*(L*1000)^2*1e12 | samples: 300 | label: unrepeated, ps
plot: 2.5*sqrt(RC*1e-12*r*0.2e-15)*L*1000*1e12 | samples: 300 | color: ch2 | label: optimally repeated, ps
readout: crossover length, mm = 2.5*sqrt(RC*1e-12*r*0.2e-15)/(0.38*r*0.2e-15)/1000
```

::: 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?

- [ ] 150 ps
- [ ] 300 ps
- [x] 600 ps
- [ ] 2400 ps

::: reveal
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).
:::
:::

::: nameit
## Resistance and capacitance

- Resistance: $R = \frac{\rho L}{Wt}$, 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 $\sum R_kC_k$, 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

$$t_{50} \approx 0.38RC = 0.38rcL^2$$

Driven through a gate with output resistance $R_d$ and loaded by $C_L$, add $0.69R_d(C + C_L) + 0.69RC_L$.

## 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 $R_0$ and input capacitance $C_0$ (Bakoglu's result), the best number and size are

$$k = \sqrt{\frac{0.4R_wC_w}{0.7R_0C_0}}, \qquad h = \sqrt{\frac{R_0C_w}{R_wC_0}}$$

and the delay becomes linear in length, about $2.5\sqrt{R_0C_0rc}$ 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.
:::

::: 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 $R_0$ = 10 kΩ, $C_0$ = 0.5 fF would be optimal.

::: solution
1. **R and C.**
   $$\begin{aligned} R &= 0.5 \times 2000\ \Omega \\ &= 1\ \text{k}\Omega \\ C &= 0.2 \times 2000\ \text{fF} \\ &= 400\ \text{fF} \end{aligned}$$
2. **Unrepeated delay.**
   $$\begin{aligned} t_{50} &= 0.38 \times 1\ \text{k}\Omega \times 400\ \text{fF} \\ &= 152\ \text{ps} \end{aligned}$$
3. **Number of repeaters.**
   $$\begin{aligned} k &= \sqrt{\frac{0.4 \times 1000 \times 4 \times 10^{-13}}{0.7 \times 5 \times 10^{-12}}} \\ &= 6.8 \end{aligned}$$
   so about 7.
4. **Repeater size.** Each is this many times a minimum inverter:
   $$\begin{aligned} h &= \sqrt{\frac{10^4 \times 4 \times 10^{-13}}{1000 \times 5 \times 10^{-16}}} \\ &\approx 89 \end{aligned}$$
5. **Repeated delay.** With $R_0C_0 = 5$ ps and $rc = 0.1$ fs/µm² over 2000 µm:
   $$\begin{aligned} t &= 2.5\sqrt{R_0C_0\,rc} \times L \\ &\approx 112\ \text{ps} \end{aligned}$$

**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.
:::
:::

::: 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?

::: solution
1. **Lump the capacitance.** Put each segment's capacitance at its far end, so the first node holds 100 fF and the second 120 fF.
2. **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:
   $$\begin{aligned} t_\text{drv} &= 2\ \text{k}\Omega \times 220\ \text{fF} \\ &= 440\ \text{ps} \\ t_1 &= 500\ \Omega \times 220\ \text{fF} \\ &= 110\ \text{ps} \\ t_2 &= 500\ \Omega \times 120\ \text{fF} \\ &= 60\ \text{ps} \end{aligned}$$
3. **Add them.**
   $$440 + 110 + 60 = 610\ \text{ps}$$
4. **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.
:::
:::

::: 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?

::: solution
1. **Quiet neighbors.**
   $$100 + 2 \times 50 = 200\ \text{fF}$$
2. **Both switch the opposite way.** Each coupling capacitance sees twice the voltage change, so it counts double:
   $$100 + 2 \times 100 = 300\ \text{fF}$$
3. **Both switch the same way.** The couplings see no change and vanish, leaving 100 fF.
4. **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
given: r = 0.1 | 0.5 | 2; L = 0.5 | 2 | 5
answer: r*L*1000
unit: Ω
tolerance: 0.5%

## A wire of {L} mm has {r} Ω/µm. What's its resistance?

::: right
Right. rL = {answer} Ω.
:::

::: misses
- [r*L] Convert millimeters to micrometers.
- [any] Not yet. Resistance per length times length.
:::
:::

::: check
given: r = 0.2 | 1; L = 1 | 3 | 6
answer: 0.38*r*0.2e-15*(L*1000)^2*1e12
unit: ps
tolerance: 1%

## An unrepeated {L} mm wire has {r} Ω/µm and 0.2 fF/µm. What's its distributed RC delay?

::: right
Right. $0.38rcL^2$ = {answer} ps.
:::

::: misses
- [r*0.2e-15*(L*1000)^2*1e12] A distributed line reaches 50% at 0.38RC.
- [any] Not yet. Total R times total C, times 0.38.
:::
:::

::: check
given: k = 2 | 3 | 5
answer: k^2
tolerance: 0.5%

## A wire is made {k} times longer, unrepeated. By what factor does its delay grow?

::: right
Right. {answer}: both R and C grow k times.
:::

::: misses
- [k] Delay goes as the square of length.
- [any] Not yet. Both R and C scale with length.
:::
:::

::: check
given: R = 500 | 2000; C = 200 | 800; r = 5 | 20; c = 0.5 | 2
answer: sqrt(0.4*R*C*1e-15/(0.7*r*1e3*c*1e-15))
tolerance: 1%

## A wire of {R} Ω and {C} fF is driven by repeaters whose minimum inverter has $R_0$ = {r} kΩ and $C_0$ = {c} fF. How many repeaters are optimal?

::: right
Right. $\sqrt{\frac{0.4R_wC_w}{0.7R_0C_0}}$ = {answer}.
:::

::: misses
- [any] Not yet. Use Bakoglu's formula.
:::
:::

::: check
given: d = 1 | 2 | 5; a = 50 | 200; b = 100 | 300; L = 10 | 50
answer: ((d*1e3 + a)*b + (d*1e3 + 2*a)*(b + L))/1000
unit: ps
tolerance: 1%

## A {d} kΩ driver feeds two wire segments, each {a} Ω with {b} fF lumped at its far end, and a {L} fF load at the end. What's the Elmore delay to the end?

::: right
Right. $(R_d + R_1)C_1 + (R_d + R_1 + R_2)(C_2 + C_L)$ = {answer} ps.
:::

::: misses
- [d*(2*b + L)] Include the wire segments' own resistance.
- [any] Not yet. Each capacitance times the resistance it shares with the path to the end.
:::
:::

::: check
given: R = 1 | 3; C = 50 | 150
answer: 0.69*R*1e3*C*1e-15*1e12
unit: ps
tolerance: 1%

## A gate with {R} kΩ output resistance drives a lumped {C} fF load. What's its 50% delay?

::: right
Right. 0.69RC = {answer} ps.
:::

::: misses
- [R*1e3*C*1e-15*1e12] The 50% point of an exponential is at 0.69RC.
- [any] Not yet. ln 2 time constants.
:::
:::

::: check
kind: parts
given: L = 1 | 2 | 5; r = 0.2 | 0.5 | 2; c = 0.15 | 0.2

## A wire {L} mm long has r = {r} Ω/µm and c = {c} fF/µm.

::: part
answer: r*L*1000/1000
unit: kΩ
tolerance: 0.5%

### What is its resistance?

::: misses
- [any] r × length.
:::
:::

::: part
answer: c*L*1000
unit: fF
tolerance: 0.5%

### What is its capacitance?

::: misses
- [any] c × length.
:::
:::

::: part
answer: 0.38*r*L*1000*c*L*1000*1e-15*1e12
unit: ps
tolerance: 0.5%

### What is its 50% delay as a distributed line, ignoring the driver?

::: misses
- [0.69*r*L*1000*c*L*1000*1e-15*1e12] A distributed line is 0.38RC, not the lumped 0.69RC.
- [any] $0.38RC$.
:::
:::
:::

::: check
kind: derivation
vars: D = 100..20000, R = 10..10000, C = 1e-15..1e-12, K = 1e-16..1e-13

## A driver of output resistance D drives a uniform wire of total resistance R and capacitance C into a load K.

::: step
answer: 0.38*R*C

### What does the wire's own distributed RC contribute?
:::

::: step
answer: 0.69*D*(C + K)

### What does the driver contribute?
:::

::: step
answer: 0.69*D*(C + K) + 0.38*R*C + 0.69*R*K

### What is the total 50% delay?
:::

::: right
Right. The driver charges everything, the wire's resistance charges its own capacitance and the load.
:::
:::

::: explain
## Why do repeaters make a long wire's delay grow linearly instead of quadratically?

::: model
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 $(L/k)^2$, 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

::: check
given: r = 0.3 | 1.5; L = 0.8 | 4
answer: 0.38*r*0.2e-15*(L*1000)^2*1e12
unit: ps
tolerance: 1%

## Distributed delay: {L} mm at {r} Ω/µm, 0.2 fF/µm?

::: misses
- [any] $0.38rcL^2$.
:::
:::

::: check
given: k = 1.5 | 2 | 2.5 | 3 | 4 | 5
answer: k^2
tolerance: 0.5%

## Delay factor for a wire {k} times longer?

::: misses
- [any] $k^2$.
:::
:::

::: check
given: R = 1 | 4; C = 30 | 120
answer: 0.69*R*1e3*C*1e-15*1e12
unit: ps
tolerance: 1%

## Lumped 50% delay: {R} kΩ into {C} fF?

::: misses
- [any] 0.69RC.
:::
:::
:::
