Lecture 3
Lecture 3
Circuits
A Design Perspective
Jan M. Rabaey
Anantha Chandrakasan
Borivoje Nikolic
The Inverter
July 30, 2002
V in V out
CL
Abut cells
VDD
Rp
VOL = 0
VOH = VDD
V out VM = f(Rn, Rp)
V out
Rn
Rp tpHL = f(Ron.CL)
= 0.69 RonCL
V out
V out
CL CL
Rn
v out(t) = (1 - e-t/) V
V in 5 0 V in 5 V DD
t = ln(2)t = 0.69
(a) Low-to-high (b) High-to-low
NMOS sat
1.5
PMOS sat
1
NMOS res
PMOS sat NMOS res
0.5
PMOS off
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
p n
© Digital Integrated Circuits 2nd Inverter
Determining VIH and VIL
Vout
V OH
VM
V in
V OL
V IL V IH
A simplified approach
-8
gain
-10
-12
-14
-16
-18
0 0.5 1 1.5 2 2.5 G dependent mainly on
Vin (V) technological
parameters
© Digital Integrated Circuits2nd Inverter
Robustness Issues : 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)
tpHL = f(Ron.CL)
= 0.69 RonCL
Vout
Vout ln(0.5)
CL
1 VDD
Ron
0.5
0.36
Vin = V DD
t
RonCL
2.5
3
?
2
1.5
Vout(V)
tpLH tpHL
1
0.5
-0.5
0 0.5 1 1.5 2 2.5
t (sec) -10
x 10
3.4
3.2
tp(sec)
2.2
2
2 4 6 8 10 12 14
S
tpLH tpHL
4.5
tp = Wp/Wn
tp(sec)
3.5
3
1 1.5 2 2.5 3 3.5 4 4.5 5
In Out
CL
If CL is given:
- How many stages are needed to minimize the delay?
- How to size the inverters?
t p RW Cint 1 C L / Cint t p 0 1 f /
1 2 N CL
f NF
Minimum path delay
t p Nt p 0 1 N F /
© Digital Integrated Circuits2nd Inverter
Example
In Out
1 f f2 CL= 8 C1
C1
f 38 2
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
(numerical solution)
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
• Leakage
Leaking diodes and transistors
Vin Vout
CL
Energy/transition = CL * Vdd2
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 2
n N
P avg = lim -------- fclk = lim ------------ C Vdd f clk
N N N N L
n N
0 1 = lim ------------
N N
= V 2 f
0 1 L dd clk
P C
avg
Cext
Cg1 1 f
VDD
t p0
VDD VTE
E VDD
2
C g1 1 1 f F
2
E VDD 2 2 f F For reference
Eref Vref 4 F circuit f=1
1.5
F=1
2
normalized energy
0.5
10
20
0
2 3 4 5 6 7 1 2 3 4 5 6 7
f f
Vin Vout
CL
0.15
0.10
IVDD (mA)
0.05
Vout
Drain Junction
Leakage
Sub-Threshold
Current
p+ p+
N
IDL = JS A
2
JS = JS
1-5pA/ mpA/m2
= 10-100 for a 1.2 m
at 25 degCMOS technology
C for 0.25m CMOS
JS doubles for every 9 deg C!
Js double with every 9oC increase in temperature
Istat
Vout
CL
Vin = 5V