0% found this document useful (0 votes)
5 views77 pages

CMOS Inverter Design and Analysis Guide

Uploaded by

raju.kprr8862
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views77 pages

CMOS Inverter Design and Analysis Guide

Uploaded by

raju.kprr8862
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Digital Integrated

Circuits
A Design Perspective
Jan M. Rabaey
Anantha Chandrakasan
Borivoje Nikolic

The Inverter
July 30, 2002

1
© Digital
EE141 Integrated Circuits2nd Inverter
The CMOS Inverter: A First Glance
VDD

Vin Vout

CL

2
© Digital
EE141 Integrated Circuits2nd Inverter
CMOS Inverters
VDD

PMOS


Out
In
Metal1

Polysilicon

NMOS
GND

3
© Digital
EE141 Integrated Circuits2nd Inverter
CMOS Inverter
First-Order DC Analysis
VDD VDD

Rp
VOL = 0
Vout VOH = VDD
Vin = 0
Vout VM = f(Rn, Rp)
Vin = 1
Rn

4
© Digital
EE141 Integrated Circuits2nd Inverter
CMOS Inverter:
First Order Transient Response
VDD

tpHL = f([Link])
= 0.69 RonCL

Vout
Vout ln(0.5)
CL
1 VDD
Ron

0.5
0.36

Vin = V DD
t
RonCL
5
© Digital
EE141 Integrated Circuits2nd Inverter
Voltage Transfer
Characteristic

6
© Digital
EE141 Integrated Circuits2nd Inverter
PMOS Load Lines

IDn
V in = VDD +VGSp
IDn = - IDp
V out = VDD +VDSp

Vout

IDp IDn IDn


Vin=0 Vin=0

Vin=1.5 Vin=1.5

V DSp VDSp Vout


VGSp=-1

VGSp=-2.5
Vin = VDD+VGSp Vout = V DD+VDSp
IDn = - IDp

7
© Digital
EE141 Integrated Circuits2nd Inverter
CMOS Inverter Load Characteristics

IDn
Vin = 0 Vin = 2.5

PMOS Vin = 0.5 Vin = 2 NMOS

Vin = 1 Vin = 1.5


Vin = 1.5 Vin = 1
Vin = 1.5 Vin = 1
Vin = 2 Vin = 0.5

Vin = 2.5 Vin = 0

Vout
8
© Digital
EE141 Integrated Circuits2nd Inverter
CMOS Inverter VTC

Vout
NMOS off
PMOS res
2.5 NMOS s at
PMOS res
2

NMOS sat
1.5

PMOS sat
1

NMOS res
PMOS sat NMOS res
0.5

PMOS off

0.5 1 1.5 2 2.5 V in


9
© Digital
EE141 Integrated Circuits2nd Inverter
Switching Threshold as a function
of Transistor Ratio
1.8

1.7

1.6

1.5

1.4
V (V)

1.3
M

1.2

1.1

0.9

0.8
0 1
10 10
W /W 10
p n
© Digital
EE141 Integrated Circuits2nd Inverter
Determining VIH and VIL
Vout

V OH

VM

V in
V OL
V IL V IH

A simplified approach

11
© Digital
EE141 Integrated Circuits2nd Inverter
Inverter Gain
0

-2

-4

-6

-8
gain

-10

-12

-14

-16

-18
0 0.5 1 1.5 2 2.5
V (V)
in

12
© Digital
EE141 Integrated Circuits2nd Inverter
Gain as a function of VDD
2.5 0.2

2
0.15

1.5

V out (V)
V out (V)

0.1

0.05
0.5

Gain=-1
0
0 0 0.05 0.1 0.15 0.2
0 0.5 1 1.5 2 2.5
V (V)
V (V) in
in

13
© Digital
EE141 Integrated Circuits2nd Inverter
Simulated VTC
2.5

1.5
(V)
out
V

0.5

0
0 0.5 1 1.5 2 2.5
V (V)
in

14
© Digital
EE141 Integrated Circuits2nd Inverter
Impact of Process Variations
2.5

2
Good PMOS
Bad NMOS
1.5
Vout(V)

Nominal

1
Good NMOS
Bad PMOS

0.5

0
0 0.5 1 1.5 2 2.5
Vin (V)

15
© Digital
EE141 Integrated Circuits2nd Inverter
Propagation Delay

16
© Digital
EE141 Integrated Circuits2nd Inverter
CMOS Inverter Propagation Delay
Approach 1
VDD

tpHL = CL Vswing/2
Iav

Vout CL
~
Iav CL kn VDD

Vin = V DD
17
© Digital
EE141 Integrated Circuits2nd Inverter
CMOS Inverter Propagation Delay
Approach 2
VDD

tpHL = f([Link])
= 0.69 RonCL

Vout
Vout ln(0.5)
CL
1 VDD
Ron

0.5
0.36

Vin = V DD
t
RonCL
18
© Digital
EE141 Integrated Circuits2nd Inverter
CMOS Inverters
VDD

PMOS

1.2µm
=2λ
Out
In
Metal1

Polysilicon

NMOS
GND

19
© Digital
EE141 Integrated Circuits2nd Inverter
Transient Response
3

2.5
?
2

tp = 0.69 CL (Reqn+Reqp)/2
1.5
(V)
out

tpLH tpHL
V

0.5

-0.5
0 0.5 1 1.5 2 2.5
t (sec) -10
x 10

20
© Digital
EE141 Integrated Circuits2nd Inverter
Design for Performance

‰ Keep capacitances small


‰ Increase transistor sizes
ƒ watch out for self-loading!
‰ Increase VDD (????)

21
© Digital
EE141 Integrated Circuits2nd Inverter
Delay as a function of VDD
5 .5

4 .5

4
t (norm alized)

3 .5

3
p

2 .5

1 .5

1
0 .8 1 1 .2 1 .4 1 .6 1 .8 2 2 .2 2 .4
V (V)
DD
22
© Digital
EE141 Integrated Circuits2nd Inverter
Device Sizing
-11
x 10
3.8

3.6 (for fixed load)


3.4

3.2
t (sec)

3
p

2.8
Self-loading effect:
2.6 Intrinsic capacitances
dominate
2.4

2.2

2
2 4 6 8 10 12 14
S

23
© Digital
EE141 Integrated Circuits2nd Inverter
NMOS/PMOS ratio
-11
x 10
5

tpLH tpHL
4.5

tp β = Wp/Wn
t (sec)

4
p

3.5

3
1 1.5 2 2.5 3 3.5 4 4.5 5
β

24
© Digital
EE141 Integrated Circuits2nd Inverter
Impact of Rise Time on Delay
0.35

0.3
tpHL(nsec)

0.25

0.2

0.15
0 0.2 0.4 0.6 0.8 1
trise (nsec)

25
© Digital
EE141 Integrated Circuits2nd Inverter
Inverter Sizing

26
© Digital
EE141 Integrated Circuits2nd Inverter
Inverter Chain

In Out

CL

If CL is given:
- How many stages are needed to minimize the delay?
- How to size the inverters?

May need some additional constraints.

27
© Digital
EE141 Integrated Circuits2nd Inverter
Inverter Delay
• Minimum length devices, L=0.25µm
• Assume that for WP = 2WN =2W 2W
• same pull-up and pull-down currents
• approx. equal resistances RN = RP
• approx. equal rise tpLH and fall tpHL delays
W
• Analyze as an RC network
−1 −1
 WP   WN 
RP = Runit   ≈ Runit   = RN = RW
 Wunit   Wunit 
Delay (D): tpHL = (ln 2) RNCL tpLH = (ln 2) RPCL
W
Load for the next stage: C gin =3 Cunit
Wunit 28
© Digital
EE141 Integrated Circuits2nd Inverter
Inverter with Load
Delay

RW

CL
RW Load (CL)
tp = k RWCL

k is a constant, equal to 0.69


Assumptions: no load -> zero delay
Wunit = 1 29
© Digital
EE141 Integrated Circuits2nd Inverter
Inverter with Load
CP = 2Cunit Delay

2W

W
Cint CL

Load
CN = Cunit

Delay = kRW(Cint + CL) = kRWCint + kRWCL = kRW Cint(1+ CL /Cint)


= Delay (Internal) + Delay (Load)

30
© Digital
EE141 Integrated Circuits2nd Inverter
Delay Formula

Delay ~ RW (C int + C L )

t p = kR W C int (1 + C L / C int ) = t p 0 (1 + f / γ )

Cint = γCgin with γ ≈ 1


f = CL/Cgin - effective fanout
R = Runit/W ; Cint =WCunit
tp0 = 0.69RunitCunit
31
© Digital
EE141 Integrated Circuits2nd Inverter
Apply to Inverter Chain

In Out

1 2 N CL

tp = tp1 + tp2 + …+ tpN

 C gin , j +1 
t pj ~ Runit Cunit 1 + 
 γC 
 gin , j 
N N  C gin , j +1 
t p = ∑ t p , j = t p 0 ∑ 1 + , C gin , N +1 = C L
 γC
i =1 

j =1 gin , j 
32
© Digital
EE141 Integrated Circuits2nd Inverter
Optimal Tapering for Given N

Delay equation has N - 1 unknowns, Cgin,2 – Cgin,N

Minimize the delay, find N - 1 partial derivatives

Result: Cgin,j+1/Cgin,j = Cgin,j/Cgin,j-1

Size of each stage is the geometric mean of two neighbors


C gin , j = C gin , j −1C gin , j +1
- each stage has the same effective fanout (Cout/Cin)
- each stage has the same delay

33
© Digital
EE141 Integrated Circuits2nd Inverter
Optimum Delay and Number of
Stages
When each stage is sized by f and has same eff. fanout f:
f N
= F = C L / C gin ,1

Effective fanout of each stage:

f =NF
Minimum path delay

(
t p = Nt p 0 1 + N F / γ )
34
© Digital
EE141 Integrated Circuits2nd Inverter
Example

In Out

1 f f2 CL= 8 C1
C1

CL/C1 has to be evenly distributed across N = 3 stages:

f =38 =2

35
© Digital
EE141 Integrated Circuits2nd Inverter
Optimum Number of Stages
For a given load, CL and given input capacitance Cin
Find optimal sizing f
ln F
C L = F ⋅ Cin = f Cin
N
with N =
ln f
t p 0 ln F  f γ 
(
t p = Nt p 0 F / γ + 1 =
1/ N
)  +
γ  ln f ln f


∂t p t p 0 ln F ln f − 1 − γ f
= ⋅ =0
∂f γ ln f 2

For γ = 0, f = e, N = lnF f = exp(1 + γ f )


36
© Digital
EE141 Integrated Circuits2nd Inverter
Optimum Effective Fanout f
Optimum f for given process defined by γ
f = exp(1 + γ f )
fopt = 3.6
for γ=1

37
© Digital
EE141 Integrated Circuits2nd Inverter
Impact of Self-Loading on tp

No Self-Loading, γ=0 With Self-Loading γ=1

60.0

40.0
u/ln(u)

x=10,000

x=1000

20.0 x=100

x=10

0.0
1.0 3.0 5.0 7.0
u

38
© Digital
EE141 Integrated Circuits2nd Inverter
Normalized delay function of F

(
t p = Nt p 0 1 + N F / γ )

39
© Digital
EE141 Integrated Circuits2nd Inverter
Buffer Design
N f tp
1 64 1 64 65

1 8 64
2 8 18

1 4 16 64 3 4 15

1 64 4 2.8 15.3
2.8 8 22.6

40
© Digital
EE141 Integrated Circuits2nd Inverter
Power Dissipation

41
© Digital
EE141 Integrated Circuits2nd Inverter
Where Does Power Go in CMOS?
• Dynamic Power Consumption
Charging and Discharging Capacitors

• Short Circuit Currents


Short Circuit Path between Supply Rails during Switching

• Leakage
Leaking diodes and transistors

42
© Digital
EE141 Integrated Circuits2nd Inverter
Dynamic Power Dissipation
Vdd

Vin Vout

CL

Energy/transition = CL * Vdd2

Power = Energy/transition * f = CL * Vdd2 * f

Not a function of transistor sizes!


Need to reduce CL, Vdd, and f to reduce power.

43
© Digital
EE141 Integrated Circuits2nd Inverter
Modification for Circuits with Reduced Swing
Vdd
Vdd

Vdd -Vt

CL

E 0 → 1 = CL • Vdd • ( Vdd – Vt )

Can exploit reduced swing to lower power


(e.g., reduced bit-line swing in memory)
44
© Digital
EE141 Integrated Circuits2nd Inverter
Adiabatic Charging

2 2

45
© Digital
EE141 Integrated Circuits2nd Inverter
Adiabatic Charging

46
© Digital
EE141 Integrated Circuits2nd Inverter
Node Transition Activity and Power
Consider switching a CMOS gate for N clock cycles
E = C • V 2 • n (N )
N L dd
EN : the energy consumed for N clock cycles
n(N): the number of 0->1 transition in N clock cycles

EN
n (N )
=  lim ------------  • C • V
2
= lim -------- • f
P dd • clk
f
avg N → ∞ N clk N → ∞ N  L

n( N )
α0 = lim ------------
→1 N→∞ N

= α V 2 f
0 → 1 • L • dd • clk
P C
av g

47
© Digital
EE141 Integrated Circuits2nd Inverter
Transistor Sizing for Minimum
Energy In Out

Cext
Cg1 1 f

‰ Goal: Minimize Energy of whole circuit


ƒ Design parameters: f and VDD
ƒ tp ≤ tpref of circuit with f=1 and VDD =Vref
 f  F 

t p = t p 0  1 +  + 1 +  
 γ   fγ  
VDD
t p0 ∝
VDD − VTE
48
© Digital
EE141 Integrated Circuits2nd Inverter
Transistor Sizing (2)
‰ Performance Constraint (γ=1)
 F  F
 2 + f +   2 + f + 
tp t p0  f  VDD Vref − VTE  f 
= = =1
t pref t p 0 ref (3 + F ) Vref VDD − VTE (3 + F )
‰ Energy for single Transition

E = VDD
2
C g1 [(1 + γ )(1 + f ) + F ]
2
E  VDD   2 + 2 f + F 
=   
 
Eref  Vref   4 + F 

49
© Digital
EE141 Integrated Circuits2nd Inverter
Transistor Sizing (3)
VDD=f(f) E/Eref=f(f)

4 1.5

3.5
F=1
3
2

normalized energy
1
2.5
vdd (V)

2 5

1.5
0.5

1
10

0.5 20

0 0
1 2 3 4 5 6 7 1 2 3 4 5 6 7
f f

50
© Digital
EE141 Integrated Circuits2nd Inverter
Short Circuit Currents
Vdd

Vin Vout

CL

0.15

0.10
IVDD (mA)

0.05

0.0 1.0 2.0 3.0 4.0 5.0


Vin (V)

51
© Digital
EE141 Integrated Circuits2nd Inverter
How to keep Short-Circuit Currents Low?

Short circuit current goes to zero if tfall >> trise,


but can’t do this for cascade logic, so ...
52
© Digital
EE141 Integrated Circuits2nd Inverter
Minimizing Short-Circuit Power
8

5
Vdd =3.3

Pnorm 4
Vdd =2.5
3

1
Vdd =1.5
0
0 1 2 3 4 5
tsin/tsout

53
© Digital
EE141 Integrated Circuits2nd Inverter
Leakage
Vdd

Vout

Drain Junction
Leakage

Sub-Threshold
Current

Sub-threshold current one of most compelling issues


in low-energy circuit design!
54
© Digital
EE141 Integrated Circuits2nd Inverter
Reverse-Biased Diode Leakage
GATE

p+ p+
N

Reverse Leakage Current


+
V
- dd

IDL = JS × A

JS = 10-100 pA/µm2 at 25 deg C for 0.25µm CMOS


JS doubles for every 9 deg C!

55
© Digital
EE141 Integrated Circuits2nd Inverter
Subthreshold Leakage Component

56
© Digital
EE141 Integrated Circuits2nd Inverter
Static Power Consumption
Vdd

Istat
Vout

CL
Vin =5V

Pstat = P(In=1).Vdd . Istat

Wasted energy …
Should be avoided in almost all cases,
but could help reducing energy in others (e.g. sense amps)
57
© Digital
EE141 Integrated Circuits2nd Inverter
Principles for Power Reduction
‰ Prime choice: Reduce voltage!
ƒ Recent years have seen an acceleration in
supply voltage reduction
ƒ Design at very low voltages still open
question (0.6 … 0.9 V by 2010!)
‰ Reduce switching activity
‰ Reduce physical capacitance
ƒ Device Sizing: for F=20
– fopt(energy)=3.53, fopt(performance)=4.47
58
© Digital
EE141 Integrated Circuits2nd Inverter
Impact of
Technology
Scaling

59
© Digital
EE141 Integrated Circuits2nd Inverter
Goals of Technology Scaling

‰ Make things cheaper:


ƒ Want to sell more functions (transistors)
per chip for the same money
ƒ Build same products cheaper, sell the
same part for less money
ƒ Price of a transistor has to be reduced
‰ But also want to be faster, smaller,
lower power
60
© Digital
EE141 Integrated Circuits2nd Inverter
Technology Scaling

‰ Goals of scaling the dimensions by 30%:


ƒ Reduce gate delay by 30% (increase operating
frequency by 43%)
ƒ Double transistor density
ƒ Reduce energy per transition by 65% (50% power
savings @ 43% increase in frequency
‰ Die size used to increase by 14% per
generation
‰ Technology generation spans 2-3 years

61
© Digital
EE141 Integrated Circuits2nd Inverter
Technology Generations

62
© Digital
EE141 Integrated Circuits2nd Inverter
Technology Evolution (2000 data)

International Technology Roadmap for Semiconductors


Year of
1999 2000 2001 2004 2008 2011 2014
Introduction
Technology node
180 130 90 60 40 30
[nm]
Supply [V] 1.5-1.8 1.5-1.8 1.2-1.5 0.9-1.2 0.6-0.9 0.5-0.6 0.3-0.6
Wiring levels 6-7 6-7 7 8 9 9-10 10
Max frequency 14.9
1.2 1.6-1.4 2.1-1.6 3.5-2 7.1-2.5 11-3
[GHz],Local-Global -3.6
Max µP power [W] 90 106 130 160 171 177 186
Bat. power [W] 1.4 1.7 2.0 2.4 2.1 2.3 2.5

Node years: 2007/65nm, 2010/45nm, 2013/33nm, 2016/23nm


63
© Digital
EE141 Integrated Circuits2nd Inverter
Technology Evolution (1999)

64
© Digital
EE141 Integrated Circuits2nd Inverter
ITRS Technology Roadmap
Acceleration Continues

65
© Digital
EE141 Integrated Circuits2nd Inverter
Technology Scaling (1)
2
10

M inim um Feature Size (m icron) 1


10

0
10

-1
10

-2
10
1960 1970 1980 1990 2000 2010
Year

Minimum Feature Size


66
© Digital
EE141 Integrated Circuits2nd Inverter
Technology Scaling (2)

Number of components per chip


67
© Digital
EE141 Integrated Circuits2nd Inverter
Technology Scaling (3)

tp decreases by 13%/year
50% every 5 years!

Propagation Delay
68
© Digital
EE141 Integrated Circuits2nd Inverter
Technology Scaling (4)

ears
100 x1.4 / 3 y 1000 ∝κ
0.7
Power Dissipation (W)

Power Density (mW/mm2 )


ears
10 3 y
κ

3
/
x4 100


1

10
0.1
MPU
DSP
0.01 1
80 85 90 95 1 10
Scaling Factor κ
Year (normalized by 4µm design rule)
(a) Power dissipation vs. year. (b) Power density vs. scaling factor.

From Kuroda 69
© Digital
EE141 Integrated Circuits2nd Inverter
Technology Scaling Models
• Full Scaling (Constant Electrical Field)
ideal model — dimensions and voltage scale
together by the same factor S

• Fixed Voltage Scaling


most common model until recently —
only dimensions scale, voltages remain constant

• General Scaling
most realistic for todays situation —
voltages and dimensions scale with different factors

70
© Digital
EE141 Integrated Circuits2nd Inverter
Scaling Relationships for Long Channel Devices

71
© Digital
EE141 Integrated Circuits2nd Inverter
Transistor Scaling
(velocity-saturated devices)

72
© Digital
EE141 Integrated Circuits2nd Inverter
µProcessor Scaling

[Link]: µProcessors for the New Millenium, ISSCC 2001

73
© Digital
EE141 Integrated Circuits2nd Inverter
µProcessor Power

[Link]: µProcessors for the New Millenium, ISSCC 2001

74
© Digital
EE141 Integrated Circuits2nd Inverter
µProcessor Performance

[Link]: µProcessors for the New Millenium, ISSCC 2001

75
© Digital
EE141 Integrated Circuits2nd Inverter
2010 Outlook

‰ Performance 2X/16 months


ƒ 1 TIP (terra instructions/s)
ƒ 30 GHz clock
‰ Size
ƒ No of transistors: 2 Billion
ƒ Die: 40*40 mm
‰ Power
ƒ 10kW!!
ƒ Leakage: 1/3 active Power
[Link]: µProcessors for the New Millenium, ISSCC 2001

76
© Digital
EE141 Integrated Circuits2nd Inverter
Some interesting questions

‰ What will cause this model to break?


‰ When will it break?
‰ Will the model gradually slow down?
ƒ Power and power density
ƒ Leakage
ƒ Process Variation

77
© Digital
EE141 Integrated Circuits2nd Inverter

You might also like