Professional Documents
Culture Documents
2nd
Inverter
Digital Integrated
Circuits
A Design Perspective
The Inverter
Jan M. Rabaey
Anantha Chandrakasan
Borivoje Nikolic
July 30, 2002
Digital Integrated Circuits
2nd
Inverter
The CMOS Inverter: A First Glance
V
in
V
out
C
L
V
DD
Digital Integrated Circuits
2nd
Inverter
CMOS Inverter
Polysilicon
In
Out
V
DD
GND
PMOS
2
Metal 1
NMOS
Out In
V
DD
PMOS
NMOS
Contacts
N Well
Digital Integrated Circuits
2nd
Inverter
Two Inverters
Connect in Metal
Share power and ground
Abut cells
V
DD
Digital Integrated Circuits
2nd
Inverter
CMOS Inverter
First-Order DC Analysis
V
OL
= 0
V
OH
= V
DD
V
M
= f(R
n
, R
p
)
V
DD
V
DD
V
in
5 V
DD
V
in
5 0
V
out
V
out
R
n
R
p
Digital Integrated Circuits
2nd
Inverter
CMOS Inverter: Transient Response
t
pHL
= f(R
on
.C
L
)
= 0.69 R
on
C
L
V
out
V
out
R
n
R
p
V
DD
V
DD
V
in
5 V
DD
V
in
5 0
(a) Low-to-high (b) High-to-low
C
L
C
L
Digital Integrated Circuits
2nd
Inverter
Voltage Transfer
Characteristic
Digital Integrated Circuits
2nd
Inverter
PMOS Load Lines
V
DSp
I
Dp
V
GSp
=-2.5
V
GSp
=-1
V
DSp
I
Dn
V
in
=0
V
in
=1.5
V
out
I
Dn
V
in
=0
V
in
=1.5
V
in
= V
DD
+V
GSp
I
Dn
= - I
Dp
V
out
= V
DD
+V
DSp
V
out
I
Dn
V
in
= V
DD
+V
GSp
I
Dn
= - I
Dp
V
out
= V
DD
+V
DSp
Digital Integrated Circuits
2nd
Inverter
CMOS Inverter Load Characteristics
I
Dn
V
out
V
in
= 2.5
V
in
= 2
V
in
= 1.5
V
in
= 0
V
in
= 0.5
V
in
= 1
NMOS
V
in
= 0
V
in
= 0.5
V
in
= 1
V
in
= 1.5
V
in
= 2
V
in
= 2.5
V
in
= 1
V
in
= 1.5
PMOS
Digital Integrated Circuits
2nd
Inverter
CMOS Inverter VTC
V
out
V
in
0.5 1 1.5 2 2.5
0
.
5
1
1
.
5
2
2
.
5
NMOS res
PMOS off
NMOS sat
PMOS sat
NMOS off
PMOS res
NMOS sat
PMOS res
NMOS res
PMOS sat
Digital Integrated Circuits
2nd
Inverter
Switching Threshold as a function
of Transistor Ratio
10
0
10
1
0.8
0.9
1
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
M
V
(
V
)
W
p
/W
n
Digital Integrated Circuits
2nd
Inverter
Determining V
IH
and V
IL
V
OH
V
OL
V
in
V
out
V
M
V
IL
V
IH
A simplified approach
Digital Integrated Circuits
2nd
Inverter
Inverter Gain
0 0.5 1 1.5 2 2.5
-18
-16
-14
-12
-10
-8
-6
-4
-2
0
V
in
(V)
g
a
i
n
Digital Integrated Circuits
2nd
Inverter
Gain as a function of VDD
0 0.05 0.1 0.15 0.2
0
0.05
0.1
0.15
0.2
V
in
(V)
V
o
u
t
(
V
)
0 0.5 1 1.5 2 2.5
0
0.5
1
1.5
2
2.5
V
in
(V)
V
o
u
t
(
V
)
Gain=-1
Digital Integrated Circuits
2nd
Inverter
Simulated VTC
0 0.5 1 1.5 2 2.5
0
0.5
1
1.5
2
2.5
V
in
(V)
V
o
u
t
(
V
)
Digital Integrated Circuits
2nd
Inverter
Impact of Process Variations
0 0.5 1 1.5 2 2.5
0
0.5
1
1.5
2
2.5
V
in
(V)
V
o
u
t
(
V
)
Good PMOS
Bad NMOS
Good NMOS
Bad PMOS
Nominal
Digital Integrated Circuits
2nd
Inverter
Propagation Delay
Digital Integrated Circuits
2nd
Inverter
CMOS Inverter Propagation Delay
Approach 1
V
DD
V
out
V
in
= V
DD
C
L I
av
t
pHL
= C
L
V
swing
/2
I
av
C
L
k
n
V
DD
~
Digital Integrated Circuits
2nd
Inverter
CMOS Inverter Propagation Delay
Approach 2
V
DD
V
out
V
in
= V
DD
R
on
C
L
t
pHL
= f(R
on
.C
L
)
= 0.69 R
on
C
L
t
V
out
V
DD
R
on
C
L
1
0.5
ln(0.5)
0.36
Digital Integrated Circuits
2nd
Inverter
CMOS Inverters
Polysilicon
In
Out
Metal1
V
DD
GND
PMOS
NMOS
1.2 m
=2
Digital Integrated Circuits
2nd
Inverter
0 0.5 1 1.5 2 2.5
x 10
-10
-0.5
0
0.5
1
1.5
2
2.5
3
t (sec)
V
o
u
t
(
V
)
Transient Response
t
p
= 0.69 C
L
(R
eqn
+R
eqp
)/2
?
t
pLH
t
pHL
Digital Integrated Circuits
2nd
Inverter
Design for Performance
Keep capacitances small
Increase transistor sizes
watch out for self-loading!
Increase V
DD
(????)
Digital Integrated Circuits
2nd
Inverter
Delay as a function of V
DD
0.8 1 1.2 1.4 1.6 1.8 2 2.2 2.4
1
1.5
2
2.5
3
3.5
4
4.5
5
5.5
V
DD
(V)
t
p
(
n
o
r
m
a
l
i
z
e
d
)
Digital Integrated Circuits
2nd
Inverter
2 4 6 8 10 12 14
2
2.2
2.4
2.6
2.8
3
3.2
3.4
3.6
3.8
x 10
-11
S
t
p
(
s
e
c
)
Device Sizing
(for fixed load)
Self-loading effect:
Intrinsic capacitances
dominate
Digital Integrated Circuits
2nd
Inverter
1 1.5 2 2.5 3 3.5 4 4.5 5
3
3.5
4
4.5
5
x 10
-11
|
t
p
(
s
e
c
)
NMOS/PMOS ratio
tpLH
tpHL
tp
| = W
p
/W
n
Digital Integrated Circuits
2nd
Inverter
Impact of Rise Time on Delay
t
p
H
L
(
n
s
e
c
)
0.35
0.3
0.25
0.2
0.15
t
rise
(nsec)
1 0.8 0.6 0.4 0.2 0
Digital Integrated Circuits
2nd
Inverter
Inverter Sizing
Digital Integrated Circuits
2nd
Inverter
Inverter Chain
C
L
If C
L
is given:
- How many stages are needed to minimize the delay?
- How to size the inverters?
May need some additional constraints.
In
Out
Digital Integrated Circuits
2nd
Inverter
Inverter Delay
Minimum length devices, L=0.25m
Assume that for W
P
= 2W
N
=2W
same pull-up and pull-down currents
approx. equal resistances R
N
= R
P
approx. equal rise t
pLH
and fall t
pHL
delays
Analyze as an RC network
W N
unit
N
unit
unit
P
unit P
R R
W
W
R
W
W
R R = =
|
|
.
|
\
|
~
|
|
.
|
\
|
=
1 1
t
pHL
= (ln 2) R
N
C
L
t
pLH
= (ln 2) R
P
C
L
Delay (D):
2W
W
unit
unit
gin
C
W
W
C 3 =
Load for the next stage:
Digital Integrated Circuits
2nd
Inverter
Inverter with Load
Load (C
L
)
Delay
Assumptions: no load -> zero delay
C
L
t
p
= k R
W
C
L
R
W
R
W
W
unit
= 1
k is a constant, equal to 0.69
Digital Integrated Circuits
2nd
Inverter
Inverter with Load
Load
Delay
C
int
C
L
Delay = kR
W
(C
int
+ C
L
) = kR
W
C
int
+ kR
W
C
L
= kR
W
C
int
(1+ C
L
/C
int
)
= Delay (Internal) + Delay (Load)
C
N
= C
unit
C
P
= 2C
unit
2W
W
Digital Integrated Circuits
2nd
Inverter
Delay Formula
( )
( ) ( ) / 1 / 1
~
0 int
f t C C C kR t
C C R Delay
p int L W p
L int W
+ = + =
+
C
int
= C
gin
with
~ 1
f = C
L
/C
gin
- effective fanout
R = R
unit
/W ; C
int
=WC
unit
t
p0
= 0.69R
unit
C
unit
Digital Integrated Circuits
2nd
Inverter
Apply to Inverter Chain
C
L
In Out
1 2 N
t
p
= t
p1
+ t
p2
+ + t
pN
|
|
.
|
\
|
+
+
j gin
j gin
unit unit pj
C
C
C R t
,
1 ,
1 ~
L N gin
N
i
j gin
j gin
p
N
j
j p p
C C
C
C
t t t =
|
|
.
|
\
|
+ = =
+
=
+
=
1 ,
1
,
1 ,
0
1
,
, 1
\
|
+ = + =
f f
f
F t
F Nt t
p
N
p p
ln ln
ln
1 /
0
/ 1
0
0
ln
1 ln
ln
2
0
=
=
c
c
f
f f
F t
f
t
p p
For = 0, f = e, N = lnF
f
F
N C f C F C
in
N
in L
ln
ln
with = = =
( ) f f + = 1 exp
Digital Integrated Circuits
2nd
Inverter
Optimum Effective Fanout f
Optimum f for given process defined by
( ) f f + = 1 exp
f
opt
= 3.6
for =1
Digital Integrated Circuits
2nd
Inverter
Impact of Self-Loading on tp
1.0 3.0 5.0 7.0
u
0.0
20.0
40.0
60.0
u
/
l
n
(
u
)
x=10
x=100
x=1000
x=10,000
No Self-Loading, =0
With Self-Loading =1
Digital Integrated Circuits
2nd
Inverter
Normalized delay function of F
( ) / 1
0
N
p p
F Nt t + =
Digital Integrated Circuits
2nd
Inverter
Buffer Design
1
1
1
1
8
64
64
64
64
4
2.8
8
16
22.6
N f t
p
1 64 65
2 8 18
3 4 15
4 2.8 15.3
Digital Integrated Circuits
2nd
Inverter
Power Dissipation
Digital Integrated Circuits
2nd
Inverter
Where Does Power Go in CMOS?
Dynamic Power Consumption
Short Circuit Currents
Leakage
Charging and Discharging Capacitors
Short Circuit Path between Supply Rails during Switching
Leaking diodes and transistors
Digital Integrated Circuits
2nd
Inverter
Dynamic Power Dissipation
Energy/transition = C
L
* V
dd
2
Power = Energy/transition * f = C
L
* V
dd
2
* f
Need to reduce C
L
, V
dd
, and f to reduce power.
Vin Vout
C
L
Vdd
Not a function of transistor sizes!
Digital Integrated Circuits
2nd
Inverter
Modification for Circuits with Reduced Swing
C
L
V
dd
V
dd
V
dd
-V
t
E
0 1
C
L
V
dd
V
dd
V
t
( ) - - =
Can exploit reduced swing to lower power
(e.g., reduced bit-line swing in memory)
Digital Integrated Circuits
2nd
Inverter
Adiabatic Charging
2 2
2
Digital Integrated Circuits
2nd
Inverter
Adiabatic Charging
Digital Integrated Circuits
2nd
Inverter
Node Transition Activity and Power
Consider switching a CMOS gate for N clock cycles
E
N
C
L
V
dd
-
2
n N ( ) - =
n(N): the number of 0->1 transition in N clock cycles
E
N
: the energy consumed for N clock cycles
P
avg
N
lim
E
N
N
-------- f
clk
- =
n N ( )
N
------------
N
lim
\ .
| |
C -
L
V
dd
-
2
f
clk
- =
o
0 1
n N ( )
N
------------
N
lim =
P
avg
= o
0 1
C -
L
V
dd
-
2
f
clk
-
Digital Integrated Circuits
2nd
Inverter
Transistor Sizing for Minimum
Energy
Goal: Minimize Energy of whole circuit
Design parameters: f and V
DD
tp s tpref of circuit with f=1 and V
DD
=V
ref
1
C
g1
In
f
C
ext
Out
TE DD
DD
p
p p
V V
V
t
f
F f
t t
|
|
.
|
\
|
|
|
.
|
\
|
+ +
|
|
.
|
\
|
+ =
0
0
1 1
Digital Integrated Circuits
2nd
Inverter
Transistor Sizing (2)
Performance Constraint (=1)
Energy for single Transition
( ) ( )
1
3
2
3
2
0
0
=
+
|
|
.
|
\
|
+ +
=
+
|
|
.
|
\
|
+ +
=
F
f
F
f
V V
V V
V
V
F
f
F
f
t
t
t
t
TE DD
TE ref
ref
DD
ref p
p
pref
p
( )( ) | |
|
.
|
\
|
+
+ +
|
|
.
|
\
|
=
+ + + =
F
F f
V
V
E
E
F f C V E
ref
DD
ref
g DD
4
2 2
1 1
2
1
2
k
3
P
o
w
e
r
D
e
n
s
i
t
y
(
m
W
/
m
m
2
)
k
0
.7
(b) Power density vs. scaling factor.
From Kuroda
Digital Integrated Circuits
2nd
Inverter
Technology Scaling Models
Full Scaling (Constant Electrical Field)
Fixed Voltage Scaling
General Scaling
ideal model dimensions and voltage scale
together by the same factor S
most common model until recently
only dimensions scale, voltages remain constant
most realistic for todays situation
voltages and dimensions scale with different factors
Digital Integrated Circuits
2nd
Inverter
Scaling Relationships for Long Channel Devices
Digital Integrated Circuits
2nd
Inverter
Transistor Scaling
(velocity-saturated devices)
Digital Integrated Circuits
2nd
Inverter
Processor Scaling
P.Gelsinger: Processors for the New Millenium, ISSCC 2001
Digital Integrated Circuits
2nd
Inverter
Processor Power
P.Gelsinger: Processors for the New Millenium, ISSCC 2001
Digital Integrated Circuits
2nd
Inverter
Processor Performance
P.Gelsinger: Processors for the New Millenium, ISSCC 2001
Digital Integrated Circuits
2nd
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
P.Gelsinger: Processors for the New Millenium, ISSCC 2001
Digital Integrated Circuits
2nd
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