Lecture 5
Lecture 5
Lecture 5
CMOS Logic
P linear P cutoff
N cutoff N linear
P linear
N sat P sat
N sat
P sat
N linear
T
Amirtharajah, EEC 116 Fall 2011 7
Static CMOS
• Complementary pullup
network (PUN) and pulldown
network (PDN)
• Only one network is on at a A
time B PUN
C
• PUN: PMOS devices
F
– Why? A
• PDN: NMOS devices B PDN
C
– Why?
• PUN and PDN are dual
networks
A F
• If CMOS gate implements
B
logic function F:
series
– PUN implements function F
– PDN implements function G
=F
A
• PUN: F = A+B = A•B
B
• PDN: G = F = A+B A B
1 1 W R
W R
1 W R
W W R R
W R
0 0
0
WN ½ WN
WN
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 0
F = A•(B+C)
Amirtharajah, EEC 116 Fall 2011 15
Example: Complex Gate
Design CMOS gate for this logic function:
F = A•(B+C) = A + B•C
B C
B
A
C
F
B WP
A WP • What is worse-case pulldown delay?
C WP
F • Effective inverter for delay calculation:
A WN
B C WN ½ WP
WN
½ WN
1 1 W R
W R
1 W R
W W R R
W R
0 0
0
WN ½ WN
WN
B WP
A WP • What is worse-case pulldown delay?
C WP
F • Effective inverter for delay calculation:
A WN
B WNC WN ½ WP
½ WN
• And-Or-Invert (AOI)
– Sum of products boolean function
– Parallel branches of series connected NMOS
• Or-And-Invert (OAI)
– Product of sums boolean function
– Series connection of sets of parallel NMOS
– Also nm or µm
W=6λ
– Sometimes as a unit-less
ratio—this stick diagram could
also say the PMOS is 1.5x Gnd
wider than the NMOS (saying
“1” and “1.5” instead of “6λ” and
“9λ”
Amirtharajah, EEC 116 Fall 2011 31
Stick Diagrams
• Can also draw contacts
with an “X”
• Do not confuse this “X” Vdd
with the chip I/O and power
pads on the edge of chip W=9λ
(shown with a box with an
“X”) or any other markers in out
W=6λ
chip
core
Gnd
A n1 B A
vdd F n1
A B B
F
gnd
– Convert to layout using consistent Euler paths
Amirtharajah, EEC 116 Fall 2011 35
Propagation Delay Analysis - The Switch Model
RON
=
VDD VDD
VDD
Rp Rp Rp
Rp
A B B
A F
Rn Rp
F CL
B A
Rn
CL F
Rn Rn Rn
A CL
A B
A
tp = 0.69 Ron CL
⎛ V1 ⎞ ⎛ 12 VDD ⎞
t p = RC ln⎜⎜ ⎟⎟ = RC ln⎜⎜ ⎟⎟
⎝ V0 ⎠ ⎝ VDD ⎠
t p = RC ln(0.5)
t phl = 0.69 RnC L Standard RC-delay
equations from literature
t plh = 0.69 R p C L
1 1 B 4
A A 2
B
F C 4
2 CL
B D 2
F
2 A 2
D 1
A
B 2C 2
In3 C3
M3
Distributed RC-line
In2 M2 C2
CL CL
In3 M3 In1 M1
In2 M2 C2 C2
In2 M2
In1 M1 C1 C3
In3 M3
(a) (b)
Amirtharajah, EEC 116 Fall 2011 46
Fast Complex Gates - Design Techniques (3)
• Improved Logic Design
CL CL
VDD VDD
In2
Out
In3
In4
GND
In1 In2 In3 In4
Vout
Cgd Cdb1
In1 1 Note that the value of Cload for calculating
Cgs1 Csb1 propagation delay depends on which capacitances
2
Cgd Cdb2 need to be discharged or charged when the critical
In2 2 signal arrives.
Cgs2 Csb2
3 Example: In1 = In3 = In4 = 1. In2 = 0. In2 switches from low
Cgd Cdb3 to high. Hence, Nodes 3 and 4 are already discharged to
In3 3
ground. In order for Vout to go from high to low… Vout
Cgs3 Csb3
4 node and node 2 must be discharged.
Cgd Cdb4 CL =
In4 4 Cgd5+Cgd7+Cgd8+2Cgd6(Miller)+Cdb5+Cdb6+Cdb7+Cd
Cgs4 Csb4 b8 +Cgd1+ Cdb1+ Cgs1+ Csb1+ 2Cgd2+ Cdb2+ Cw
– Array multipliers