Interconnect: Wire Resistance, Capacitance and Repeaters

Model a long wire as a chain of resistors and capacitors. See its delay grow with the square of its length, and cut it with repeaters.

You Will Be Able To

  • Compute the resistance of a wire from its sheet resistance, length and width.
  • Explain why the delay of an unbroken wire grows with the square of its length.
  • Choose the number and the size of repeaters for a long wire.
  • Describe how coupling capacitance makes a quiet wire glitch.
Lesson
G9.8
Time
30 min
Runs on
ngspice
Check
5 questions

An 8 mm wire, driven by a strong inverter, took 5337.4 ps. The same wire cut into eight pieces by seven inverters took 1828.7 ps. Adding gates made it 2.9 times faster.

Measured sweepDelay Against Wire Length, with and Without RepeatersEach wire is driven and received by inverters of size 8. "Repeaters" means one inverter of size 8 every millimetre.
  • no repeater
  • a repeater every 1 mm
01 ns2 ns3 ns4 ns5 ns6 nsDelay1 mm2 mm3 mm4 mm5 mm6 mm7 mm8 mmWire length5337.4 ps1828.7 ps01 ns2 ns3 ns4 ns5 ns6 nsDelay2 mm4 mm6 mm8 mmWire length5337.4 ps1828.7 ps
Read the plot as a table
Wire lengthno repeatera repeater every 1 mm
1 mm163.4 ps163.4 ps
2 mm450.5 ps399 ps
3 mm964.2 ps637.2 ps
4 mm1.478 ns875.5 ps
5 mm2.443 ns1.114 ns
6 mm3.408 ns1.352 ns
7 mm4.372 ns1.59 ns
8 mm5.337 ns1.829 ns

Measured with ngspice 42 on SKY130, 1.8 V: the mean of both input edges, from the input to the wire end.

A Wire Is a Long Resistor and a Long Capacitor

A wire on a chip is a thin strip of metal. Its resistance is set by the sheet resistance of the layer: R = R_s × length / width. R_s is in ohms per square, the resistance of any square piece of the layer.

SKY130 layerSheet resistance
local interconnect (li1)12.8 Ω per square
metal 1 and metal 20.125 Ω per square
metal 3 and metal 40.047 Ω per square
metal 50.029 Ω per square

From the extraction rules shipped with the SKY130 PDK. Higher metal layers are thicker, so their sheet resistance is lower.

A 1 mm metal-1 wire at its minimum width of 0.14 µm is 1000 / 0.14 = 7143 squares long. Its resistance is 893 Ω. That is close to 1 Ω per µm, the value this lesson uses.

Where the Capacitance of a Wire Comes FromA cross-section of one wire with a neighbour on each side and the layer below.
  • Interconnect
  • Neutral
  • Structure
Where the capacitance of a wire comes fromA cross-section of one wire with a neighbour on each side and the layer below. interconnect Neighbour wire same layer interconnect The wire about 0.2 fF per µmin all interconnect Neighbour wire same layer neutral Layer below substrate or a lowermetal couplingcouplingarea and fringe
  1. interconnect The wireabout 0.2 fF per µm in all
    • coupling → Neighbour wire
    • coupling → Neighbour wire
    • area and fringe → Layer below
  2. neutral Layer belowsubstrate or a lower metal
  3. interconnect Neighbour wiresame layer
  4. interconnect Neighbour wiresame layer
  1. To the layer below

    The bottom face of the wire and its edges form a capacitor with the layer below. Wider wires have more.

  2. To the neighbours

    The side walls face the wires next to it. As wires get taller and closer, this coupling becomes the largest part.

  3. In total

    A common estimate for a narrow wire is about 0.2 fF per µm, all parts together. This lesson uses that round value.

Read the diagram as text
  • Neighbour wire: same layer
  • The wire: about 0.2 fF per µm in all
  • Neighbour wire: same layer
  • Layer below: substrate or a lower metal
  • The wire → Neighbour wire: coupling
  • The wire → Neighbour wire: coupling
  • The wire → Layer below: area and fringe

The lesson's wire: 1 Ω and 0.2 fF per µm, in 100 µm sections of 100 Ω and 20 fF. These are round teaching values, not extracted ones.

Delay Grows with the Square of the Length

Doubling a wire doubles its resistance and doubles its capacitance. The RC product of the wire grows four times.

LengthMeasured delayRatio to the length beforeElmore sum of the wire alone
1 mm163.4 ps110 ps
2 mm450.5 ps2.76420 ps
4 mm1477.8 ps3.281640 ps
8 mm5337.4 ps3.616480 ps

Measured: an inverter of size 8 drives the wire, and another of size 8 receives it. The Elmore sum counts only the wire's own sections.

The ratio climbs towards 4: 2.76, then 3.28, then 3.61. For a short wire the driver's own resistance is a large part of the delay. For a long one the wire's own RC takes over, and that part grows with the length squared.

Repeaters Turn the Square into a Straight Line

Cut the wire into k pieces and put an inverter, a repeater, at the start of each piece after the first. Each piece has 1/k of the length, so its wire delay is 1/k² of the whole. There are k pieces, so the wire part falls to 1/k. Each repeater adds a gate delay.

TransientThe Far End of a 4 Mm Wire, with and Without RepeatersBoth wires start at the same input. The lower curve has three repeaters of size 8.
  • v(in)
  • v(aend), no repeater
  • v(bend), three repeaters
-0.5 V00.5 V1.0 V1.5 V2.0 VVoltage00.5 ns1.0 ns1.5 ns2.0 ns2.5 ns3.0 nsTimehalf of the supplythree repeaters: 880.3 psno repeater: 1426.2 ps-0.5 V00.5 V1.0 V1.5 V2.0 VVoltage01 ns2 ns3 nsTimehalf of the supplythree repeaters: 880.3 psno repeater: 1426.2 ps
  1. Time 225 psv(in) = 900 mV · v(aend), no repeater = 1.8 V · v(bend), three repeaters = 345.9 nV

    The input rises through 0.9 V.

  2. Time 1.105 nsv(in) = 1.8 V · v(aend), no repeater = 1.281 V · v(bend), three repeaters = 900 mV

    With three repeaters the far end crosses 0.9 V after 880.3 ps. Its edge is sharp: the last repeater drives only 1 mm.

  3. Time 1.651 nsv(in) = 1.8 V · v(aend), no repeater = 900 mV · v(bend), three repeaters = 1.769 V

    With no repeater it takes 1426.2 ps, and the edge is slow. The driver must charge all 4 mm through the wire's own resistance.

Read the plot as a table
Timev(in)v(aend), no repeaterv(bend), three repeaters
0 s0 V1.8 V345.9 nV
225 ps900 mV1.8 V345.9 nV
500 ps1.8 V1.773 V5.883 µV
1 ns1.8 V1.371 V373 mV
1.105 ns1.8 V1.281 V900 mV
1.5 ns1.8 V989.7 mV1.719 V
1.651 ns1.8 V900 mV1.769 V
2 ns1.8 V721.7 mV1.797 V
2.5 ns1.8 V514.9 mV1.8 V
3 ns1.8 V368.4 mV1.8 V

Measured with ngspice 42 on SKY130, 1.8 V. The circuits are those of the lab.

4 mm wirePiecesMeasured delay
no repeater1 of 4 mm1477.8 ps
1 repeater, size 82 of 2 mm1069.7 ps
3 repeaters, size 84 of 1 mm875.5 ps
7 repeaters, size 88 of 0.5 mm833.0 ps
3 repeaters, size 14 of 1 mm2678.0 ps
3 repeaters, size 44 of 1 mm1106.6 ps
3 repeaters, size 164 of 1 mm812.9 ps

Measured: mean of both input edges. The driver and the receiver are inverters of size 8 in every row.

The count has an optimum. Going from one to three repeaters saves 194.3 ps. Going from three to seven saves only 42.5 ps, for four more gates.

The size matters as much. Repeaters of size 1 are too weak for 1 mm of wire: 2678.0 ps, worse than no repeater. Size 16 is faster than size 8. But each repeater is twice as large, and it loads the piece before it twice as much.

With a repeater every millimetre, the delay grows almost in a straight line. It is 399.0 ps for 2 mm, 875.5 ps for 4 mm and 1828.7 ps for 8 mm.

Coupling Capacitance and Crosstalk

Part of a wire's capacitance goes to its neighbours, not to ground. When a neighbour switches, it pushes charge through that capacitance into the wire.

TransientA Quiet Wire Beside a Switching OneTwo parallel 1 mm wires with 0.1 fF of coupling per µm. The aggressor rises through an inverter of size 8. The victim is held low by a unit inverter.
  • v(a10), aggressor far end
  • v(v10), victim far end
-0.5 V00.5 V1.0 V1.5 V2.0 VVoltage00.2 ns0.4 ns0.6 ns0.8 ns1.0 ns1.2 ns1.4 nsTimehalf of the supply-0.5 V00.5 V1.0 V1.5 V2.0 VVoltage00.5 ns1.0 ns1.5 nsTimehalf of the supply
  1. Time 277.7 psv(a10), aggressor far end = 65.07 mV · v(v10), victim far end = 50.07 mV

    The aggressor starts to rise, and the victim rises with it.

  2. Time 423.3 psv(a10), aggressor far end = 900 mV · v(v10), victim far end = 315.9 mV

    The aggressor crosses 0.9 V. The victim peaks at 341 mV, then its weak driver slowly pulls it back to 0 V.

Read the plot as a table
Timev(a10), aggressor far endv(v10), victim far end
0 s345.9 nV345.9 nV
200 ps345.9 nV345.9 nV
277.7 ps65.07 mV50.07 mV
400 ps788.1 mV298.2 mV
423.3 ps900 mV315.9 mV
600 ps1.425 V327.8 mV
800 ps1.646 V248.2 mV
1 ns1.727 V166.8 mV
1.2 ns1.761 V106.4 mV
1.4 ns1.777 V66.29 mV

Measured with ngspice 42 on SKY130, 1.8 V. The coupling value is a round teaching number.

The glitch depends on how hard the victim is held. With an inverter of size 8 holding it, the peak falls from 341 mV to 241 mV.

If a glitch reaches the threshold of a receiver, it can flip a latch. Coupling also changes delay: a neighbour that switches the other way at the same time makes the wire slower.

Asked in interviews
  1. Why does the delay of a long wire grow with the square of its length?

    Both its resistance and its capacitance grow with the length. The wire charges its own capacitance through its own resistance, so its RC grows with the length squared.

  2. How do repeaters help?

    They cut the wire into k pieces. Each piece has 1/k² of the RC, so the wire part of the delay falls to 1/k. The repeaters add k gate delays, so there is a best count and a best size.

  3. What is crosstalk?

    Charge coupled from a switching wire into its neighbour through the capacitance between them. It can glitch a quiet wire or change the delay of a switching one.

Try It

a_up and a_down are the two delays of the bare 4 mm wire: 1426.2 and 1529.4 ps. b_up and b_down are the same wire with three repeaters: 880.3 and 870.7 ps.

Change the three m=8 of the repeaters bR1, bR2 and bR3 to m=1 and run. The repeated wire becomes slower than the bare one: the mean is 2678.0 ps.

Try sizes 4 and 16 too, and compare with the table. Each size trades the delay of a wire piece against the load on the piece before it.

SPICEngspice 42 · simulator service
Edit the netlist, then run it
Expected measurements: a_up = 1.426228e-09 targ= 1.651228e-09 trig= 2.250000e-10 a_down = 1.529449e-09 targ= 1.170445e-08 trig= 1.017500e-08 b_up = 8.802941e-10 targ= 1.105294e-09 trig= 2.250000e-10 b_down = 8.706728e-10 targ= 1.104567e-08 trig= 1.017500e-08

Check Yourself

Predict the outputThe same program for a 2 mm wire: twenty sections. Predict the exact line.
module tb;
  int r = 100, c = 20;        // one 100 um section: 100 ohm and 20 fF
  int n = 20;               // sections in the wire
  longint sum = 0;
  initial begin
    // section k is charged through the k resistors in front of it
    for (int k = 1; k <= n; k++) sum += k * r * c;
    $display("%0d", sum / 1000);   // fs to ps
  end
endmodule
ConceptWhat is the unit of sheet resistance?
ConceptA 4 mm wire got three repeaters of size 1. What did the measurement show?
ConceptWhy does a short wire not show the four-times rule when its length doubles?
ConceptA quiet wire runs beside a wire that switches often. Which is a sound fix for the glitches on it?

Common Mistakes

Wrong Make the driver larger to speed up a long wire.

A larger driver only lowers the resistance at the start. The wire's own resistance still charges the wire's own capacitance.

Fix Cut the wire with repeaters. Each piece then has a quarter of the RC for half the length.

Wrong Put a repeater every 100 µm, to be safe.

Every repeater adds its own delay. Seven repeaters on 4 mm gave 833.0 ps against 875.5 ps for three: a small gain for more than twice the repeaters.

Fix Find the spacing where the delay stops falling, and stop there.

Wrong Use minimum-size inverters as repeaters.

A unit inverter cannot drive 1 mm of wire. Three of them on 4 mm gave 2678.0 ps, slower than no repeater at all (1477.8 ps).

Fix Size the repeater for the wire piece it drives: here about 8 unit inverters.

Wrong Treat a quiet wire as safe from noise.

Its neighbour couples charge into it. A quiet 1 mm victim, held low by a unit inverter, rose to 341 mV.

Fix Hold quiet wires with a strong enough driver, space them out, or shield them.

Remember

  • Wire resistance: R = R_s × length / width. SKY130 metal 1 is 0.125 Ω per square.
  • Wire capacitance goes to the layer below and to the neighbours; about 0.2 fF per µm is a common estimate.
  • An unbroken wire's own delay grows with the square of its length.
  • Repeaters make the delay grow in a straight line. Both their count and their size have an optimum.
  • Coupling capacitance makes quiet wires glitch and changes the delay of switching ones.

Practice

Report a problem with this page