Chapter07 - Electronic Analysis of CMOS Logic Gates
Chapter07 - Electronic Analysis of CMOS Logic Gates
Chapter07 - Electronic Analysis of CMOS Logic Gates
Chapter 07
Electronic Analysis of CMOS Logic Gates
Dept. of Electronic Engineering
National Chin-Yi University of Technology
Fall 2007
DC analysis
Provide a direct mapping of the input to the output,
such that to determine Vout
Transient analysis
The input voltage is an explicit function of time Vin(t)
corresponding to a changing logic value
'n n
VDSn > Vsat = VM VTn (7.11) = = (7.17)
'p p
n 2 VDD VTp
= (7.19)
p 1V V
n
VDD VTp + 2
DD Tn
V
p Tn
VM = (7.14)
n
1+ n = p (7.20) Figure 7.4 Inverter voltage
p
for VM calculation
At the physical level, the relative device Figure 7.5 Comparison of the layouts
1
C Dn = CGSn + C DBn = Cox L'W n +C jn An + C jswn Pn
2 (7.29)
1
C Dp = CGSp + C DBp = Cox L'W p +C jp App + C jswp Pp
2
V
t = n ln DD (7.45)
Vout
t f = t y tx
V V
= n ln DD n ln DD (7.46)
0.1VDD 0.9VDD (b) Output waveform
= n ln(9 ) Figure 7.12 Discharge circuit
for the fall time calculation
t f 2.2 n (t HL = t f ) (7.48, 49)
Introduction to VLSI Circuits and Systems, NCUT 2007
The Rise Time
Initially, Vout(0) = 0 V, and Vin = VDD and is switched to
Vin = 0 V at t = 0; we time shift this event to occur at t =
0
The charge current is given by
dVout VDD Vout
i = Cout = (7.50)
dt Rp
The differential equation for the charge events (a) Charge circuit
t
p
Vout (t ) = VDD 1 e , where p = R pCout (7.51, 52)
t r = t v tu (7.53)
tr = ln (9 ) p 2.2 p (7.54)
1 1
f max = = (7.55)
t HL + t LH tr + t f
(b) Output waveform
fmax is the largest frequency that can be applied to the
gate and still allow the output to settle to a definable Figure 7.13 Rise time calculation
state
Introduction to VLSI Circuits and Systems, NCUT 2007
Propagation Delay (1/2)
The propagation delay time tp is often used to
estimate the reaction delay time from input to
output
tp =
(t pf + t pr )
(7.64)
2
tpf is the output fall time from the maximum level to the
50% voltage line, i.e., from VDD to (VDD/2)
t pf = ln (2 ) n (7.65)
t pr = ln (2 ) p (7.65)
t p 0.35( n + p ) (7.66)
Figure 7.14 Propagation time definitions
2. 2
p = 2. 2 R p = (7.71)
tr 2.2 R p (C FET + C L ) p (VDD VTp )
(7.68)
t f 2.2 Rn (C FET + C L )
2.2
n = 2.2 Rn = (7.72)
tr = tr 0 + pC L n (VDD VTn )
(7.69)
t f = t f 0 + nC L
W
p = p '
Case I: When CL = 0, L p
tr = tr 0 2.2 R p C FET (7.73)
(7.70) W
t f = t f 0 2.2 RnC FET n = n '
L n
Figure 7.15 General behavior
of the rise and fall time
Vin
50%
t
t t
pHL pLH
Vout
90%
50%
10% t
tf tr
DC contribution
PDC = VDD I DDQ (7.87)
Where IDDQ is leakage current
Q
Pav = VDD I DD = VDD e (7.90)
T
Psw = C outVDD f
2
(7.91)
Figure 7.19 NAND2 logic circuit Figure 7.21 Layout of NAND2 for VM calculation
(a) Transition table (b) VTC family (a) Separate transistors (b) Single equivalent FET
( n / 2) (2 )
2
(VM VTn ) =
2
2
p
(V DD VM VTp )
2
(7.93)
(a) Separate transistors (b) Single equivalent FET
1 n
VDD VTp + VTn
N p
VM = (7.95)
1 n
1+
N p
Figure 7.24 Simplified VM circuit
for the NAND2 gate
(2 n ) ( / 2)
2
(VM VTn ) =
2 p
2
(V DD VM VTp )
2
(7.96)
n
VDD VTp + 2 VTn
p
VM = (7.97)
1+ 2 n
p
Figure 7.27 NOR23 VM
Figure 7.25 NOR2 circuit
calculation
n
VDD VTp + N VTn
p
VM = (7.98)
n
1+ N
p
1 1
RP = , Rn = (7. 103)
p (V DD VTp n (V DD VTn )
Figure 7.28 NAND2 circuit for
transient calculations
Figure 7.29 (a)
t / p (7. 104)
Vout (t ) = VDD [1 e ]
t r = t0 + 0C L (7. 107)
(a) Charge circuit (b) Discharge circuit
t 0 = 2.2 R p C FET (7. 108)
Figure 7.29 NAND2 subcircuits for
0 = 2.2 R p (7. 109) estimating rise and fall times
Introduction to VLSI Circuits and Systems, NCUT 2007
NAND Switching Times (2/2)
n 2 = C X Rn (7. 114)
t f = t1 + 1 C L (7. 117)
t f = t1 + 1 C L (7. 128)
(a) Discharge circuit (b) Charge circuit
t1 = 2.2 Rn C FET (7. 129)
Figure 7.31 Subcircuits for the
1 = 2.2 Rn (7. 130) NOR2 transient calculations
Introduction to VLSI Circuits and Systems, NCUT 2007
NOR Switching Times (2/2)
Figure 7.31 (b)
t / p
Vout (t ) = VDD [1 e ] (7. 131)
2 = Cy Rp (7. 133)
p = 1 + 2 (7. 134)
= C out (2 R p ) + C y R p
0 = 4 .4 R p (7. 138)
Introduction to VLSI Circuits and Systems, NCUT 2007
Outline
DC Characteristic of the CMOS Inverter
Inverter Switching Characteristic
Power Dissipation
DC Characteristic: NAND and NOR Gates
NAND and NOR Transient Response
Analysis of Complex Logic Gates
Gate Design for Transient Performance
Transmission Gates and Pass Transistors
W W W tr = t0 + 0C L (7. 150)
= = (7. 142)
L nx L ny L nz
t 0 = 2.2 R p (C p + 2C FET ) (7. 151)
C out = C FET + C L (7. 143)
0 = 2 .2 R p (7. 152)
n = Rn C n + 2 Rn C out (7. 144)
t f = 2.2 n
= 2.2 Rn [C n + 2(C FET + C L )] (7. 145)
= t1 + 1C L
where t1 = 2.2 Rn (C n + 2C FET ) (7. 146)
3 1 3
Pdyn = aC outVDD f
2
(7. 154) a NAND 2 = = (7. 158)
4 4 16
N
7
Pdyn = ai C iViV DD f (7. 155) a NOR 3 = = a NAND 3 (7. 159)
i =1 64
1
a = p 0 p1 (7. 156) a XNOR 2 = = a XOR 2 (7. 160)
4
3 1 3
a NOR 2 = = (7. 157)
4 4 16
Introduction to VLSI Circuits and Systems, NCUT 2007
Outline
DC Characteristic of the CMOS Inverter
Inverter Switching Characteristic
Power Dissipation
DC Characteristic: NAND and NOR Gates
NAND and NOR Transient Response
Analysis of Complex Logic Gates
Gate Design for Transient Performance
Transmission Gates and Pass Transistors
1 1
Rp = , Rn = N = 2 n
p (VDD VTp ) n (V DD VTn )
W W
n = p = 2
L N L n
(a) Inverter
W W
= r N = n (NOR2 vs Inverter)
L p L n
kn ' 1 2
where r = =
kp' p (VDD VTp ) P (V DD VTp )
P = p (NAND2 vs Inverter) P = 2 p
R = RN + RN W W
= 2
L P L p
where R N =
1 (b) NAND2 (c) NOR2
N (V DD VTn )
Figure 7.34 Relative FET sizing
R = Rn = 2 R N
Introduction to VLSI Circuits and Systems, NCUT 2007
Gate Design for Transient
Performance (2/2)
Extend to large chains as Figure 7.35
N = 3 n , P = p (7. 177)
W W W W
= 3 , = (7. 178)
L N L n L P L p
N = n , P = 3 p (7. 179) (a) NAND3 (b) NOR3
W W W W Figure 7.35 Sizing for 3-input gates
= , = 3 (7. 180)
L N L n L P L p
Figure 7.36
f = (a b + c d ) x (7. 181)
N = 3 n = N 1 (7. 182)
P = 2 p (7. 183)
P1 = p (7. 184)
Figure 7.36 Sizing of a complex logic gate
P1 = P = 2 P (7. 185)
Introduction to VLSI Circuits and Systems, NCUT 2007
Outline
DC Characteristic of the CMOS Inverter
Inverter Switching Characteristic
Power Dissipation
DC Characteristic: NAND and NOR Gates
NAND and NOR Transient Response
Analysis of Complex Logic Gates
Gate Design for Transient Performance
Transmission Gates and Pass Transistors
C in = C S ,n + C D , p (7. 187)
(b) RC model
t / 2 n
Vout (t ) = Vmax (7. 188) t f = ln(19) n 2.94 n (7. 195)
1 + t / 2 n
t r 6t f (7. 196) Figure 7.38 nFET pass transistor
where Vmax = V DD VTn (7. 189)
2e (t / n )
Vout (t ) = Vmax (7. 193) t f = 18 p (7. 200)
( t / n )
1+ e
Figure 7.39 Voltage waveforms
lim Vout (t ) = 0 (7. 194) for a nFET pass transistor
t