Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to...

36
1 Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004

Transcript of Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to...

Page 1: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

1

Introduction toCMOS VLSI

Design

Lecture 6: Wires

David Harris

Harvey Mudd CollegeSpring 2004

Page 2: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

2

6: Wires Slide 2CMOS VLSI Design

OutlineIntroductionWire ResistanceWire CapacitanceWire RC DelayCrosstalkWire EngineeringRepeaters

Page 3: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

3

6: Wires Slide 3CMOS VLSI Design

IntroductionChips are mostly made of wires called interconnect– In stick diagram, wires set size– Transistors are little things under the wires– Many layers of wires

Wires are as important as transistors– Speed– Power– Noise

Alternating layers run orthogonally

Page 4: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

4

6: Wires Slide 4CMOS VLSI Design

Wire GeometryPitch = w + sAspect ratio: AR = t/w– Old processes had AR << 1– Modern processes have AR ≈ 2

• Pack in many skinny wires

l

w s

t

h

Page 5: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

5

6: Wires Slide 5CMOS VLSI Design

Layer StackAMI 0.6 μm process has 3 metal layersModern processes use 6-10+ metal layersExample:Intel 180 nm process

M1: thin, narrow (< 3λ)– High density cells

M2-M4: thicker– For longer wires

M5-M6: thickest– For VDD, GND, clk

Layer T (nm) W (nm) S (nm) AR

6 1720 860 860 2.0

1000

5 1600 800 800 2.0

1000

4 1080 540 540 2.0

7003 700 320 320 2.2

7002 700 320 320 2.2

7001 480 250 250 1.9

800

Substrate

Page 6: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

6

6: Wires Slide 6CMOS VLSI Design

Wire Resistanceρ = resistivity (Ω*m)

l

w

t

R =

Page 7: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

7

6: Wires Slide 7CMOS VLSI Design

Wire Resistanceρ = resistivity (Ω*m)

l

w

t

lRt wρ

=

Page 8: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

8

6: Wires Slide 8CMOS VLSI Design

Wire Resistanceρ = resistivity (Ω*m)

R = sheet resistance (Ω/ )– is a dimensionless unit(!)

Count number of squares– R = R * (# of squares)

l

w

t

1 Rectangular BlockR = R (L/W) Ω

4 Rectangular BlocksR = R (2L/2W) Ω = R (L/W) Ω

t

l

w w

l

l lR Rt w wρ

= =

Page 9: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

9

6: Wires Slide 9CMOS VLSI Design

Choice of MetalsUntil 180 nm generation, most wires were aluminumModern processes often use copper– Cu atoms diffuse into silicon and damage FETs– Must be surrounded by a diffusion barrier

5.3Molybdenum (Mo)5.3Tungsten (W)2.8Aluminum (Al)2.2Gold (Au)1.7Copper (Cu)1.6Silver (Ag)Bulk resistivity (μΩ*cm)Metal

Page 10: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

10

6: Wires Slide 10CMOS VLSI Design

Sheet ResistanceTypical sheet resistances in 180 nm process

0.08Metal10.05Metal20.05Metal30.03Metal4

0.02Metal60.02Metal5

50-400Polysilicon (no silicide)3-10Polysilicon (silicided)50-200Diffusion (no silicide)3-10Diffusion (silicided)Sheet Resistance (Ω/ )Layer

Page 11: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

11

6: Wires Slide 11CMOS VLSI Design

Contacts ResistanceContacts and vias also have 2-20 ΩUse many contacts for lower R– Many small contacts for current crowding around

periphery

Page 12: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

12

6: Wires Slide 12CMOS VLSI Design

Wire CapacitanceWire has capacitance per unit length– To neighbors– To layers above and below

Ctotal = Ctop + Cbot + 2Cadj

layer n+1

layer n

layer n-1

Cadj

Ctop

Cbot

ws

t

h1

h2

Page 13: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

13

6: Wires Slide 13CMOS VLSI Design

Capacitance TrendsParallel plate equation: C = εA/d– Wires are not parallel plates, but obey trends– Increasing area (W, t) increases capacitance– Increasing distance (s, h) decreases capacitance

Dielectric constant– ε = kε0

ε0 = 8.85 x 10-14 F/cmk = 3.9 for SiO2

Processes are starting to use low-k dielectrics– k ≈ 3 (or less) as dielectrics use air pockets

Page 14: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

14

6: Wires Slide 14CMOS VLSI Design

M2 Capacitance DataTypical wires have ~ 0.2 fF/μm– Compare to 2 fF/μm for gate capacitance

0

50

100

150

200

250

300

350

400

0 500 1000 1500 2000

Cto

tal (

aF/μ

m)

w (nm)

Isolated

M1, M3 planes

s = 320s = 480s = 640s= 8

s = 320s = 480s = 640

s= 8

Page 15: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

15

6: Wires Slide 15CMOS VLSI Design

Diffusion & PolysiliconDiffusion capacitance is very high (about 2 fF/μm)– Comparable to gate capacitance– Diffusion also has high resistance– Avoid using diffusion runners for wires!

Polysilicon has lower C but high R– Use for transistor gates– Occasionally for very short wires between gates

Page 16: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

16

6: Wires Slide 16CMOS VLSI Design

Lumped Element ModelsWires are a distributed system– Approximate with lumped element models

3-segment π-model is accurate to 3% in simulationL-model needs 100 segments for same accuracy!Use single segment π-model for Elmore delay

C

R

C/N

R/N

C/N

R/N

C/N

R/N

C/N

R/N

R

C

L-model

R

C/2 C/2

R/2 R/2

C

N segments

π-model T-model

Page 17: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

17

6: Wires Slide 17CMOS VLSI Design

ExampleMetal2 wire in 180 nm process– 5 mm long– 0.32 μm wide

Construct a 3-segment π-model– R =– Cpermicron =

Page 18: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

18

6: Wires Slide 18CMOS VLSI Design

ExampleMetal2 wire in 180 nm process– 5 mm long– 0.32 μm wide

Construct a 3-segment π-model– R = 0.05 Ω/ => R = 781 Ω– Cpermicron = 0.2 fF/μm => C = 1 pF

260 Ω

167 fF 167 fF

260 Ω

167 fF 167 fF

260 Ω

167 fF 167 fF

Page 19: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

19

6: Wires Slide 19CMOS VLSI Design

Wire RC DelayEstimate the delay of a 10x inverter driving a 2x inverter at the end of the 5mm wire from the previous example.– R = 2.5 kΩ*μm for gates– Unit inverter: 0.36 μm nMOS, 0.72 μm pMOS

– tpd =

Page 20: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

20

6: Wires Slide 20CMOS VLSI Design

Wire RC DelayEstimate the delay of a 10x inverter driving a 2x inverter at the end of the 5mm wire from the previous example.– R = 2.5 kΩ*μm for gates– Unit inverter: 0.36 μm nMOS, 0.72 μm pMOS

– tpd = 1.1 ns

781 Ω

500 fF 500 fF

Driver Wire

4 fF

Load

690 Ω

Page 21: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

21

6: Wires Slide 21CMOS VLSI Design

CrosstalkA capacitor does not like to change its voltage instantaneously.A wire has high capacitance to its neighbor.– When the neighbor switches from 1-> 0 or 0->1,

the wire tends to switch too.– Called capacitive coupling or crosstalk.

Crosstalk effects– Noise on nonswitching wires– Increased delay on switching wires

Page 22: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

22

6: Wires Slide 22CMOS VLSI Design

Crosstalk DelayAssume layers above and below on average are quiet– Second terminal of capacitor can be ignored– Model as Cgnd = Ctop + Cbot

Effective Cadj depends on behavior of neighbors– Miller effect A B

CadjCgnd Cgnd

Switching opposite ASwitching with AConstant

MCFCeff(A)ΔVB

Page 23: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

23

6: Wires Slide 23CMOS VLSI Design

Crosstalk DelayAssume layers above and below on average are quiet– Second terminal of capacitor can be ignored– Model as Cgnd = Ctop + Cbot

Effective Cadj depends on behavior of neighbors– Miller effect A B

CadjCgnd Cgnd

2Cgnd + 2 Cadj2VDDSwitching opposite A0Cgnd0Switching with A1Cgnd + CadjVDDConstantMCFCeff(A)ΔVB

Page 24: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

24

6: Wires Slide 24CMOS VLSI Design

Crosstalk NoiseCrosstalk causes noise on nonswitching wiresIf victim is floating:– model as capacitive voltage divider

Cadj

Cgnd-v

Aggressor

Victim

ΔVaggressor

ΔVvictim

adjvictim aggressor

gnd v adj

CV V

C C−

Δ = Δ+

Page 25: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

25

6: Wires Slide 25CMOS VLSI Design

Driven VictimsUsually victim is driven by a gate that fights noise– Noise depends on relative resistances– Victim driver is in linear region, agg. in saturation– If sizes are same, Raggressor = 2-4 x Rvictim

11

adjvictim aggressor

gnd v adj

CV V

C C k−

Δ = Δ+ +

( )( )

aggressor gnd a adjaggressor

victim victim gnd v adj

R C Ck

R C Cττ

+= =

+

Cadj

Cgnd-v

Aggressor

Victim

ΔVaggressor

ΔVvictim

Raggressor

Rvictim

Cgnd-a

Page 26: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

26

6: Wires Slide 26CMOS VLSI Design

Coupling Waveforms

Aggressor

Victim (undriven): 50%

Victim (half size driver): 16%

Victim (equal size driver): 8%Victim (double size driver): 4%

t (ps)0 200 400 600 800 1000 1200 1400 1800 2000

0

0.3

0.6

0.9

1.2

1.5

1.8

Simulated coupling for Cadj = Cvictim

Page 27: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

27

6: Wires Slide 27CMOS VLSI Design

Noise ImplicationsSo what if we have noise?If the noise is less than the noise margin, nothing happensStatic CMOS logic will eventually settle to correct output even if disturbed by large noise spikes– But glitches cause extra delay– Also cause extra power from false transitions

Dynamic logic never recovers from glitchesMemories and other sensitive circuits also can produce the wrong answer

Page 28: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

28

6: Wires Slide 28CMOS VLSI Design

Wire EngineeringGoal: achieve delay, area, power goals with acceptable noiseDegrees of freedom:

Page 29: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

29

6: Wires Slide 29CMOS VLSI Design

Wire EngineeringGoal: achieve delay, area, power goals with acceptable noiseDegrees of freedom:– Width – Spacing

Del

ay (n

s): R

C/2

Wire Spacing(nm)

Cou

plin

g: 2C

adj /

(2C

adj+C

gnd)

00.20.40.6

0.81.01.21.4

1.61.82.0

0 500 1000 1500 20000

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0 500 1000 1500 2000

320480640

Pitch (nm)Pitch (nm)

Page 30: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

30

6: Wires Slide 30CMOS VLSI Design

Wire EngineeringGoal: achieve delay, area, power goals with acceptable noiseDegrees of freedom:– Width – Spacing– Layer

Del

ay (n

s): R

C/2

Wire Spacing(nm)

Cou

plin

g: 2C

adj /

(2C

adj+C

gnd)

00.20.40.6

0.81.01.21.4

1.61.82.0

0 500 1000 1500 20000

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0 500 1000 1500 2000

320480640

Pitch (nm)Pitch (nm)

Page 31: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

31

6: Wires Slide 31CMOS VLSI Design

Wire EngineeringGoal: achieve delay, area, power goals with acceptable noiseDegrees of freedom:– Width – Spacing– Layer– Shielding

Del

ay (n

s): R

C/2

Wire Spacing(nm)

Cou

plin

g: 2C

adj /

(2C

adj+C

gnd)

00.20.40.6

0.81.01.21.4

1.61.82.0

0 500 1000 1500 20000

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0 500 1000 1500 2000

320480640

Pitch (nm)Pitch (nm)

vdd a0a1gnd a2vdd b0 a1 a2 b2vdd a0 a1 gnd a2 a3 vdd gnd a0 b1

Page 32: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

32

6: Wires Slide 32CMOS VLSI Design

RepeatersR and C are proportional to lRC delay is proportional to l2

– Unacceptably great for long wires

Page 33: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

33

6: Wires Slide 33CMOS VLSI Design

RepeatersR and C are proportional to lRC delay is proportional to l2

– Unacceptably great for long wiresBreak long wires into N shorter segments– Drive each one with an inverter or buffer

Wire Length: l

Driver Receiver

l/N

Driver

Segment

Repeater

l/N

Repeater

l/N

ReceiverRepeater

N Segments

Page 34: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

34

6: Wires Slide 34CMOS VLSI Design

Repeater DesignHow many repeaters should we use?How large should each one be?Equivalent Circuit– Wire length l/N

• Wire Capaitance Cw*l/N, Resistance Rw*l/N– Inverter width W (nMOS = W, pMOS = 2W)

• Gate Capacitance C’*W, Resistance R/W

Page 35: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

35

6: Wires Slide 35CMOS VLSI Design

Repeater DesignHow many repeaters should we use?How large should each one be?Equivalent Circuit– Wire length l

• Wire Capacitance Cw*l, Resistance Rw*l– Inverter width W (nMOS = W, pMOS = 2W)

• Gate Capacitance C’*W, Resistance R/W

R/W C'WCwl/2N Cwl/2N

RwlN

Page 36: Lecture 6: Wiresengrclasses.pitt.edu/.../levitan/1192/documents/lect6_080925.pdf · Introduction to CMOS VLSI Design Lecture 6: Wires David Harris Harvey Mudd College Spring 2004.

36

6: Wires Slide 36CMOS VLSI Design

Repeater ResultsWrite equation for Elmore Delay– Differentiate with respect to W and N– Set equal to 0, solve

2

w w

l RCN R C

′=

( )2 2pdw w

tRC R C

l′= +

w

w

RCWR C

=′

~60-80 ps/mm

in 180 nm process