Digital Integrated Circuits A Design Perspective Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic
Introduction CSCE 613 – Fall 2005 EE141 Integrated Circuits2nd © Digital
1
Introduction
What is this book all about?
Introduction to digital integrated circuits. CMOS devices and manufacturing technology. CMOS inverters and gates. Propagation delay, noise margins, and power dissipation. Sequential circuits. Arithmetic, interconnect, and memories. Programmable logic arrays. Design methodologies.
What will you learn? Understanding, designing, and optimizing digital circuits with respect to different quality metrics: cost, speed, power dissipation, and reliability
EE141 Integrated Circuits2nd © Digital
2
Introduction
Digital Integrated Circuits Introduction: Issues in digital design The CMOS inverter Combinational logic structures Sequential logic gates Design methodologies Interconnect: R, L and C Timing Arithmetic building blocks Memories and array structures
EE141 Integrated Circuits2nd © Digital
3
Introduction
Introduction Why
is designing digital ICs different today than it was before? Will it change in future?
EE141 Integrated Circuits2nd © Digital
4
Introduction
Moore’s Law In 1965, Gordon Moore noted that the number of transistors on a chip doubled every 18 to 24 months. He made a prediction that semiconductor technology will double its effectiveness every 18 months 5
Introduction
EE141 Integrated Circuits2nd © Digital
1975
1974
1973
1972
1971
1970
1969
1968
1967
1966
1965
1964
1963
1962
1961
1960
16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1959
LOG2 OF THE NUMBER OF COMPONENTS PER INTEGRATED FUNCTION
Moore’s Law
Electronics, April 19, 1965. EE141 Integrated Circuits2nd © Digital
6
Introduction
Evolution in Complexity
7
Introduction
EE141 Integrated Circuits2nd © Digital
Transistor Counts 1 Billion Transistors
K 1,000,000 100,000 10,000 1,000 i386 80286
100 10
i486
Pentium® III Pentium® II Pentium® Pro Pentium®
8086 Source: Intel
1 1975 1980 1985 1990 1995 2000 2005 2010 Projected EE141 Integrated Circuits2nd © Digital
Courtesy, Intel
8
Introduction
Moore’s law in Microprocessors
Transistors (MT)
1000
2X growth in 1.96 years!
100 10
486
1
P6 Pentium® proc
386 286
0.1 8086
8085 Transistors on Lead Microprocessors double every 2 years 0.01 8080 8008 4004
0.001
1970
1980
1990 Year
2000
2010
9
Introduction
Courtesy, Intel
EE141 Integrated Circuits2nd © Digital
Die Size Growth Die size (mm)
100
10 8080 8008 4004
8086 8085
286
386
P6 486 Pentium ® proc
~7% growth per year ~2X growth in 10 years
1 1970
1980
1990 Year
2000
2010
Die size grows by 14% to satisfy Moore’s Law EE141 Integrated Circuits2nd © Digital
Courtesy, Intel
10
Introduction
Frequency Frequency (Mhz)
10000
Doubles every 2 years
1000 100 10
8085
1 0.1 1970
8086 286
386
486
P6 Pentium ® proc
8080 8008 4004 1980
1990 Year
2000
2010
Lead Microprocessors frequency doubles every 2 years 11
Introduction
Courtesy, Intel
EE141 Integrated Circuits2nd © Digital
Power Dissipation Power (Watts)
100 P6 Pentium ® proc 10 8086 286 1
8008 4004
486 386
8085 8080
0.1 1971
1974
1978
1985
1992
2000
Year
Lead Microprocessors power continues to increase EE141 Integrated Circuits2nd © Digital
Courtesy, Intel
12
Introduction
Power will be a major problem 100000
18KW 5KW 1.5KW 500W
Power (Watts)
10000 1000
Pentium® proc
100
286 486 8086 10 386 8085 8080 8008 1 4004 0.1 1971 1974 1978 1985 1992 2000 2004 2008 Year
Power delivery and dissipation will be prohibitive
EE141 Integrated Circuits2nd © Digital
Courtesy, Intel
13
Introduction
Power density Power Density (W/cm2)
10000 1000 100
Rocket Nozzle Nuclear Reactor
8086 10 4004 Hot Plate P6 8008 8085 Pentium® proc 386 286 486 8080 1 1970 1980 1990 2000 2010 Year
Power density too high to keep junctions at low temp EE141 Integrated Circuits2nd © Digital
Courtesy, Intel
14
Introduction
Not Only Microprocessors Cell Phone Small Signal RF
Digital Cellular Market (Phones Shipped)
Power RF
Power Management
1996 1997 1998 1999 2000 Units
Analog Baseband
48M 86M 162M 260M 435M
Digital Baseband (DSP + MCU)
(data from Texas Instruments) 15
Introduction
EE141 Integrated Circuits2nd © Digital
Challenges in Digital Design ∝ DSM
∝ 1/DSM “Macroscopic Issues”
“Microscopic Problems”
• Time-to-Market • Millions of Gates • High-Level Abstractions • Reuse & IP: Portability • Predictability • etc.
• Ultra-high speed design • Interconnect • Noise, Crosstalk • Reliability, Manufacturability • Power Dissipation • Clock distribution. Everything Looks a Little Different
? EE141 Integrated Circuits2nd © Digital
…and There’s a Lot of Them!
16
Introduction
10,000 10,000,000
100,000 100,000,000
Logic Tr./Chip Tr./Staff Month.
1,000 1,000,000
10,000 10,000,000
100 100,000
Productivity (K) Trans./Staff - Mo.
Complexity Logic Transistor per Chip (M)
Productivity Trends 1,000 1,000,000 58%/Yr. compounded Complexity growth rate
10 10,000
100 100,000
1,0001
10 10,000 x
0.1 100 xx
0.01 10
xx x
x
1 1,000
21%/Yr. compound Productivity growth rate
x
0.1 100 0.01 10
2009
2007
2005
2003
2001
1999
1997
1995
1993
1991
1989
1987
1985
1983
1981
0.001 1
Source: Sematech
Complexity outpaces design productivity EE141 Integrated Circuits2nd © Digital
Courtesy, ITRS Roadmap
17
Introduction
Why Scaling? Technology shrinks by 0.7/generation With every generation can integrate 2x more functions per chip; chip cost does not increase significantly Cost of a function decreases by 2x But …
How to design chips with more and more functions? Design engineering population does not double every two years…
Hence, a need for more efficient design methods Exploit different levels of abstraction
EE141 Integrated Circuits2nd © Digital
18
Introduction
Design Abstraction Levels SYSTEM
MODULE + GATE
CIRCUIT
DEVICE G S n+
EE141 Integrated Circuits2nd © Digital
D n+
19
Introduction
Design Metrics How
to evaluate performance of a digital circuit (gate, block, …)?
Cost Reliability Scalability Speed (delay, operating frequency) Power dissipation Energy to perform a function
EE141 Integrated Circuits2nd © Digital
20
Introduction
Cost of Integrated Circuits
NRE (non-recurrent engineering) costs design time and effort, mask generation one-time cost factor
Recurrent costs silicon processing, packaging, test proportional to volume proportional to chip area
EE141 Integrated Circuits2nd © Digital
21
Introduction
NRE Cost is Increasing
EE141 Integrated Circuits2nd © Digital
22
Introduction
Die Cost Single die
Wafer Going up to 12” (30cm) From http://www.amd.com
23
Introduction
EE141 Integrated Circuits2nd © Digital
Cost per Transistor cost:
¢-perper-transistor
1 0.1
Fabrication capital cost per transistor (Moore’s law)
0.01 0.001 0.0001 0.00001 0.000001 0.0000001 1982
1985
EE141 Integrated Circuits2nd © Digital
1988
1991
1994
1997
2000
2003
2006
2009
24
2012
Introduction
Yield No. of good chips per wafer × 100% Total number of chips per wafer Wafer cost Die cost = Dies per wafer × Die yield
Y=
π × (wafer diameter/2)2 π × wafer diameter Dies per wafer = − die area 2 × die area
25
Introduction
EE141 Integrated Circuits2nd © Digital
Defects
defects per unit area × die area die yield = 1 + α
−α
α is approximately 3 die cost = f (die area)4 EE141 Integrated Circuits2nd © Digital
26
Introduction
Some Examples (1994) Chip
Metal Line layers width
Wafer cost
Def./ Area Dies/ Yield cm2 mm2 wafer
Die cost
386DX
2
0.90
$900
1.0
43
360
71%
$4
486 DX2
3
0.80
$1200
1.0
81
181
54%
$12
Power PC 601
4
0.80
$1700
1.3
121
115
28%
$53
HP PA 7100
3
0.80
$1300
1.0
196
66
27%
$73
DEC Alpha
3
0.70
$1500
1.2
234
53
19%
$149
Super Sparc
3
0.70
$1700
1.6
256
48
13%
$272
Pentium
3
0.80
$1500
1.5
296
40
9%
$417 27
Introduction
EE141 Integrated Circuits2nd © Digital
Reliability― Noise in Digital Integrated Circuits v(t) i(t)
Inductive coupling
EE141 Integrated Circuits2nd © Digital
Capacitive coupling
V DD
Power and ground noise
28
Introduction
DC Operation Voltage Transfer Characteristic V(y)
V
VOH = f(VIL) VOL = f(VIH) VM = f(VM)
f
OH
V(y)=V(x)
VM Switching Threshold V OL V IL
V
V(x)
IH
Nominal Voltage Levels 29
Introduction
EE141 Integrated Circuits2nd © Digital
Mapping between analog and digital signals V “ 1”
V OH V IH
V
out
OH
Slope = -1
Undefined Region V “ 0”
V
Slope = -1
IL
V OL
OL V
EE141 Integrated Circuits2nd © Digital
IL
V
IH
V
in
30
Introduction
Definition of Noise Margins "1" V
V
OH
NM H
NM L OL
V
Noise margin high IH
V
Undefined Region
IL
Noise margin low
"0" Gate Output
Gate Input
EE141 Integrated Circuits2nd © Digital
31
Introduction
Noise Budget Allocates
gross noise margin to expected sources of noise Sources: supply noise, cross talk, interference, offset Differentiate between fixed and proportional noise sources
EE141 Integrated Circuits2nd © Digital
32
Introduction
Key Reliability Properties
Absolute noise margin values are deceptive a floating node is more easily disturbed than a node driven by a low impedance (in terms of voltage)
Noise immunity is the more important metric – the capability to suppress noise sources
Key metrics: Noise transfer functions, Output
impedance of the driver and input impedance of the receiver;
33
Introduction
EE141 Integrated Circuits2nd © Digital
Regenerative Property out
out v3
v3
f (v)
v1
fin v(v)
v1 v3
fin v(v)
v2
v0
Regenerative EE141 Integrated Circuits2nd © Digital
in
f (v)
v0
in
v2
Non-Regenerative 34
Introduction
Regenerative Property v0
v1
v2
v3
v4
v5
v6
A chain of inverters
V (Volt)
5 v0
3
v1
1
Simulated response
21
0
2
v2
4
6
8
10
t (nsec) 35
Introduction
EE141 Integrated Circuits2nd © Digital
Fan-in and Fan-out
N
Fan-out N EE141 Integrated Circuits2nd © Digital
M
Fan-in M 36
Introduction
The Ideal Gate V out
Ri = ∞ Ro = 0 Fanout = ∞ NMH = NML = VDD/2
g=∞
V in 37
Introduction
EE141 Integrated Circuits2nd © Digital
An Old-time Inverter 5.0 4.0
NM L
3.0 (
V
)
o
u
t
2.0 VM
V
NM H
1.0
0.0
EE141 Integrated Circuits2nd © Digital
1.0
2.0
3.0 V in (V)
4.0
5.0
38
Introduction
Delay Definitions V in
50% t tpHL
V out
tpLH 90% 50% t
10% tf
tr 39
Introduction
EE141 Integrated Circuits2nd © Digital
Ring Oscillator
v0
v1
v0
v2
v1
v3
v4
v5
v5
T = 2 × tp × N EE141 Integrated Circuits2nd © Digital
40
Introduction
A First-Order RC Network R
vin
vout C
tp = ln (2) τ = 0.69 RC
Important model – matches delay of inverter EE141 Integrated Circuits2nd © Digital
41
Introduction
Power Dissipation Instantaneous power: p(t) = v(t)i(t) = Vsupplyi(t) Peak power: Ppeak = Vsupplyipeak Average power: Vsupply t +T 1 t +T Pave = ∫ p (t )dt = isupply (t )dt T t T ∫t EE141 Integrated Circuits2nd © Digital
42
Introduction
Energy and Energy-Delay Power-Delay Product (PDP) = E = Energy per operation = Pav × tp Energy-Delay Product (EDP) = quality metric of gate = E × tp
43
Introduction
EE141 Integrated Circuits2nd © Digital
A First-Order RC Network R
vin
T E
0→1
vout CL
T
t dt = V = ∫ P ( t ) dt = V ∫ i dd sup ply( ) dd 0 0
Vdd ∫ 0
= C •V 2 C dV L out L dd
T T Vdd 1 2 E ca p = ∫ P cap ( t ) dt = ∫ V out i ca p( t ) dt = ∫ C L Vout dVout = --- C • V dd 2 L 0 0 0
EE141 Integrated Circuits2nd © Digital
44
Introduction
Summary Digital integrated circuits have come a long way and still have quite some potential left for the coming decades Some interesting challenges ahead
Getting a clear perspective on the challenges and potential solutions is the purpose of this book
Understanding the design metrics that govern digital design is crucial Cost, reliability, speed, power and energy dissipation
EE141 Integrated Circuits2nd © Digital
45
Introduction