Lecture 4 Simple Digital Circuits
Lecture 4 Simple Digital Circuits
Simple Digital
Circuits
Outline
n Nonideal Transistor Behavior
Channel Length Modulation
n
n Leakage
n Subthreshold Leakage
n Gate Leakage
n Junction Leakage
bias Width: L d
n Leff = L – Ld n L n
+ Leff +
n Ids
increases with Vds
n Even in saturation
( − Vt ) (1 + lVds )
2
I ds = V gs
2
Simulated
Vgs = 1.0
Ideal
1200
Velocity saturation & Mobility degradation:
Ion lower than ideal model predicts
1000
Ion = 747 mA @
Channel length modulation: V = V = V
gs ds DD
Saturation current increases
800 with Vds Vgs = 1.0
Vgs = 0.8
600
Velocity saturation & Mobility degradation:
Vgs = 0.8
Saturation current increases less than
400 quadratically with Vgs
Vgs = 0.6
200 Vgs = 0.6
Vgs = 0.4
0 Vds
0 0.2 0.4 0.6 0.8 1
Vgs = 1.0
n Saturation 600
Vgs = 0.8
400
Vgs = 0.6
200
Vgs = 0.4
0 Vds
0 0.2 0.4 0.6 0.8 1
n Gate leakage
n Tunneling through ultrathin gate dielectric
n Carriers tunnel thorough very thin gate oxides
n Negligible for older processes (tox > 20 Å)
n Critically important at 65 nm and below (tox ≈ 10.5 Å)
n Junction leakage
n Reverse-biased PN junction diode current
Gate leakage
p+ n+ n+ p+ p+ n+
n well
4: Nonideal Transistor Theory p substrate
8
Temperature Sensitivity
◼ Increasing temperature
◼ Reduces mobility
◼ Reduces Vt
◼ ION decreases with temperature
◼ IOFF increases with temperature
I ds
increasing
temperature
Vgs
d d d
nMOS g OFF
ON
s s s
d d d
pMOS g OFF
ON
s s s
CMOS Inverter
A Y VDD
0
1 0 OFF
A=1 Y=0
A Y Device. Hence
NMOS is the pull-
down device.
GND
CMOS Inverter
A=0 Y=1
OFF
A Y
GND
CMOS NAND Gate
A B Y
0 0 1 ON ON
0 1 Y=1
1 0
A=0 OFF
1 1
B=0 OFF
CMOS NAND Gate
A B Y
0 0 1 OFF ON
0 1 1 Y=1
1 0
A=0 OFF
1 1
B=1 ON
CMOS NAND Gate
A B Y
0 0 1 ON OFF
0 1 1 Y=1
1 0 1
A=1 ON
1 1
B=0 OFF
CMOS NAND Gate
A B Y
0 0 1 OFF OFF
0 1 1 Y=0
1 0 1
A=1 ON
1 1 0
B=1 ON
CMOS NOR Gate
A B Y
0 0 1 A
0 1 0
1 0 0 B
1 1 0 Y
3-input NAND Gate
n Y is pulled low if ALL inputs are 1
n Y is pulled high if ANY input is 0
Y
A
B
C
Complementary CMOS
n Complementary CMOS logic gates
n nMOS pull-down network
n pMOS pull-up network pMOS
pull-up
nMOS
pull-down
network
Pull-down ON 0 X (crowbar)
Series and Parallel
a a a a a
0 0 1 1
g1
g2
0 1 0 1
b b b b b
(a) OFF OFF OFF ON
n nMOS: 1 = ON a
0
a
0
a
1
a
1
a
g1
n pMOS: 0 = ON g2
b
0
b
1
b
0
b
1
b
g1 g2 0 0 0 1 1 0 1 1
b b b b b
(c) OFF ON ON ON
a a a a a
g1 g2 0 0 0 1 1 0 1 1
b b b b b
(d) ON ON ON OFF
Conduction Complement
n Complementary CMOS gates always produce 0 or 1
C D
A B C D
A B
(c)
(d)
C D
A
A B
B
Y Y
C
A C
D
B D
(f)
(e)
Example: O3AI
n
Y ( A B C) D
Example: O3AI
n
Y ( A B C) D
A
B
C D
Y
D
A B C
Pass Transistors
n Transistors can be used as switches
g
s d
s d
Pass Transistors
n Transistors can be used as switches
g g=0 Input g = 1 Output
s d 0 strong 0
s d
g=1 g=1
s d 1 degraded 1
Input Output
g = 0, gb = 1 g = 1, gb = 0
g
a b 0 strong 0
a b g = 1, gb = 0 g = 1, gb = 0
a b 1 strong 1
gb
g g g
a b a b a b
gb gb gb
Tristates
n Tristate buffer produces Z when not enabled
EN
EN A Y A Y
0 0 Z
0 1 Z EN
1 0 0
1 1 1 A Y
EN
Multiplexers
n 2:1 multiplexer chooses between two inputs
S
S D1 D0 Y
0 X 0 D0 0
0 X 1 Y
D1 1
1 0 X
1 1 X
Multiplexers
n 2:1 multiplexer chooses between two inputs
S
S D1 D0 Y
0 X 0 0 D0 0
0 X 1 1 Y
D1 1
1 0 X 0
1 1 X 1
Gate-Level Mux Design
nY SD1 SD0 (too many transistors)
n How many transistors are needed?
Gate-Level Mux Design
nY SD1 SD0 (too many transistors)
n How many transistors are needed? 20
D1
S Y
D0
D1 4 2
S 4 2 Y
D0 4 2
2
Transmission Gate Mux
n Nonrestoring mux uses two transmission
gates
Transmission Gate Mux
n Nonrestoring mux uses two transmission
gates
n Only 4 transistors
S
D0
S Y
D1
S
Inverting Mux
n Inverting multiplexer
n Use compound AOI22
n Or pair of tristate inverters
n Essentially the same thing
D0 S D0 D1 S
S D1 S S
Y Y D0 0
S S S S Y
D1 1
4:1 Multiplexer
n 4:1 mux chooses one of 4 inputs using two
selects
4:1 Multiplexer
n 4:1 mux chooses one of 4 inputs using two
selects
n Two levels of 2:1 muxes
n Or four tristates S1S0 S1S0 S1S0 S1S0
D0
S0 S1
D0 0
D1
D1 1
0
Y Y
1
D2 0 D2
D3 1
D3