Professional Documents
Culture Documents
GATES
NMOS Inverter
5V
R
ID = 5/R
VIN
5V
+
VDS
_
5V
Constant nonzero
VOUT current flows through
transistor.
0V
ID = 0
VIN
VOUT
5V
+
VDS
_
PMOS Inverter
5V
Constant nonzero
VIN
0V
ID = -5/R
5V
5V
VIN
VDS
VOUT
+
5V
ID = 0
0V
Analysis of CMOS
Inverter
We can follow the same
VDD (Logic 1)
VIN
VOUT
NMOS Inverter
ID
VGS = 3 V
X
Linear ID vs VDS given
by surrounding circuit
X
VGS = 1 V
VDS5
(p)
S
VG
VDD (Logic 1)
S
D
D
VIN
+V
GS(n
)
VGS(n) = VIN
+
VDS(n)
_
ID(n)
CMOS Analysis
As VIN goes up, VGS(n) gets bigger
and VGS(p) gets less negative.
VIN = VGS(n)
= 0.9 V
VDS(n)
VDD
ID(n)
CMOS Analysis
VIN = VGS(n)
= 1.5 V
VDS(n)
VDD
ID(n)
CMOS Analysis
As VIN goes up, VGS(n) gets bigger
and VGS(p) gets less negative.
VIN = VGS(n)
= 2.0 V
VDS(n)
VDD
ID(n)
CMOS Analysis
VIN = VGS(n)
= 2.5 V
VDS(n)
VDD
10
ID(n)
CMOS Analysis
As VIN goes up, VGS(n) gets bigger
and VGS(p) gets less negative.
VIN = VGS(n)
= 3.0 V
VDS(n)
VDD
11
ID(n)
CMOS Analysis
As VIN goes up, VGS(n) gets bigger
and VGS(p) gets less negative.
VIN = VGS(n)
= 3.5 V
VDS(n)
VDD
12
ID(n)
CMOS Analysis
NMOS I-V curve
PMOS I-V curve
(written in terms of
NMOS variables)
VIN = VGS(n)
= 4.1 V
VDS(n)
VDD
13
VOUT
both
sat.
VDD
curve very
steep here;
only in C for
small interval
of VIN
NMOS:
cutoff
PMOS:
triode
NMOS:
saturation
NMOS:
triode
NMOS:
triode
PMOS:
saturation
PMOS:
cutoff
PMOS:
triode
VDD
14
VIN
CMOS Inverter ID
ID
VIN
VDD
15
Important Points
No ID current flow in Regions A and E if nothing attached to
VDD
S
D
VIN
S
VOUT1
VOUT2
16
In
n
2
V in
V tn
Ip
2
17
V in 1
n
V tn V DD V tp
p
18
V tp V tn
1
n
p
n
p
V DD
Vin
2
19
CMOS Inverter
pW p
L p
nW n
Ln
Z = L/W
21
22
23
25
26
Transfer Characteristics
Vin
Decreasing
Zpu/Zpd
Increasing
Zpu/Zpd
VDD
Vinv
VDD
Vo
28
30
phase
of a clock, so that dissipation can be significantly
reduced
If Vgg is higher than Vdd, and extra supply rail is
required
31
33
34
35
Vdd
B
Inverter 2
Vdd
C
Vout2
36
Super Buffer
off-chip capacitances are typically an order of magnitude larger
than on-chip capacitances.
Super Buffer
- we
Cd
ln1
Cg
39
Super Buffer
-
we first find.
40
41
43
44
45
46
In1
In2
PUN
InN
F(In1,In2,InN)
In1
In2
InN
PDN
NMOS Transistors
in Series/Parallel Connection
Transistors can be thought as a switch controlled by its gate signal
NMOS switch closes when switch control input is high
A
Y = X if A a n d B
Y = X if A O R B
N M O S T r a n si sto r s p a s s a str o n g 0 b u t a w e a k 1
48
Y = X if A AND B = A + B
Y = X if A OR B = AB
49
Threshold Drops
VDD
PUN
VDD
VDD
0 VDD
VGS
CL
PDN
VDD
VDD 0
D
CL
0 VDD - VTn
CL
VGS
VDD |VTp|
S
CL
D
50
50
51
51
52
52
53
53
E
C
Z = A*B + C(D+E)
B
Z
D
E
GND
54
54
VDD
C
D
Vgs [p]
P device
Vout
Vin
D
E
N device
Vss
GND
55
OUT = D + A (B + C)
A
D
B
56
57
57
58
Pass Transistors
Transistors can be used as switches
g=0
g
s
d
g=1
d
g=0
g
s
Input g = 1 Output
0
strong 0
Input
d
g=1
s
g=1
g=0
g=0
degraded 1
Output
degraded 0
strong 1
59
Pass Transistor
Pass-transistor circuits are formed by dropping the
60
Pass Transistor
This figure shows a simple
XNOR implementation
using pass transistors:
If A is high, B is passed
through the gate to the
output
If A is low, -B is passed
through the gate to the
output
61
Pass Transistor
At right,
(a) is a 2-input NAND pass
transistor circuit
(b) is a 2-input NOR pass
transistor circuit
62
Pass Transistor
Pass-transistor logic gate can implement Boolean
63
Circuit can be
operated with
clocked P pull-up
device or inverterbased latch
Transmission Gates
This is the reason that N-Channel transistors are used in the pulldown network and P-Channel in the pull-up network of a CMOS
gate. Otherwise the noise margin would be significantly reduced.
64
Transmission Gates
passes x when it is 0
65
Transmission Gates
Pass transistors produce degraded outputs
Transmission gates pass both 0 and 1 well
Input
g
a
b
gb
b
gb
g = 0, gb = 1
a
b
g = 1, gb = 0
0
strong 0
g = 1, gb = 0
a
b
g = 1, gb = 0
strong 1
1
g
a
g
b
gb
Output
symbols
gb
66
Transmission Gates
67
Transmission Gates
68
Static
NMOS
Totem-Pole Output
Vdd
refreshed
Which is why it is called static
to non-CMOS
implementations
output
input
ground
69
Static CMOS
Complementary MOS
Example of a 2-input
VDD
NAND gate
output
Input 1
Input 2
ground
70
Dynamic NMOS
Output is 1 unless
Vdd
discharged
f1 Charges Output
f2 Conditionally Discharges
Output
f1
output
input
f2
ground
71
72
73
DCSVL
VDD
M1
VDD
M2
Out
A
A
B
B
Out
PDN1
PDN2
VSS
VSS
DCVSL Example
Out
Out
XOR-NXOR gate
75
75
A
A
B
B
Pass-Transistor
Network
A
A
B
B
Inverse
Pass-Transistor
Network
(a)
F=AB
F=A+B
F=AB
AND/NAND
F=A
(b)
F=A+B
B
OR/NOR
F=A
EXOR/NEXOR
76
76
Transmission Gate
C
A
C
A
B
C
C
C = 2.5 V
A = 2.5 V
B
CL
C=0V
77
77
Rn
s 20
m
h
o
,
e
c
n
a
t
s
is
e 10
R
0
0.0
Rp
2.5 V
Rn
Vou t
Rp
0V
Rn || Rp
1.0
Vou t , V
2.0
78
78
VDD
S
VDD
M2
F
S
M1
B
GND
In1
In2
79
79
M2
F
M1
B
M3/M4
80
80
Dynamic CMOS
In static circuits at every point in time (except
81
81
Dynamic logic
82
82
Dynamic Gate
Clk
Clk
Mp
Mp
Out
In1
In2
In3
Clk
CL
PDN
Out
A
C
B
Me
Clk
Me
83
Dynamic Gate
Clk
Clk
Mp
off
Mp on
Out
In1
In2
In3
Clk
CL
PDN
1
Out
((AB)+C)
A
C
B
Me
Clk
off
Me on
84
84
85
85
86
87
Conditions on Output
Once the output of a dynamic gate is discharged,
CMOS)
89
89
CMOS
no static current path ever exists between VDD and GND
(including Psc)
no glitching
higher transition probabilities
extra load on Clk
90
Mp
Out
CL
A
Clk
Me
Evaluate
VOut
Precharge
Leakage sources
Dominant component is subthreshold current
91
91
Clk
Mp
Mkp
CL
Out
B
Clk
Me
92
92
Mp
Out
CL
B=0
Clk
CA
Me
CB
93
93
Charge Sharing
VDD
VDD
Clk
Mp
Mp
Out
Out
CL
=
BB
00
Clk
CL
Ma
Ma
M
Mb
Mee
M
XX
a
CC
a
CC
bb
94
94
Mp
Mkp
Clk
Out
A
B
Clk
Me
95
95
Mp
Clk
Mp
Out1
Me
Clk
Out2
In
In
Clk
Clk
Me
Out1
VTn
V
Out2
t
Only 0 1 transitions allowed at inputs!
96
96
97
97
98
Domino Logic
Clk
In1
In2
In3
Clk
Mp
11
10
PDN
Me
Out1
Clk
Mp Mkp
Out2
00
01
In4
In5
Clk
PDN
Me
99
Domino Logic
Clk
Ini
Inj
Clk
PDN
Ini
Inj
PDN
Ini
Inj
PDN
Ini
Inj
PDN
100
100
101
101
VDD
VDD
Clk
Mp
Clk
Out1
Mp
Mr
Out2
In1
In2
PDN
PDN
In4
In3
Can be eliminated!
Clk
Me
Clk
Me
Inputs = 0
during precharge
102
102
Footless Domino
VD
C
VD
Mpk
C
O
Mpk
0
I
VD
I
1
O
1
I
0
Mpk
I
1
n
0
103
on
Mp Mkp
Mkp
Clk
Mp
!A
Out = AB
!B
B
Clk
Me
104
np-CMOS
Clk
In1
In2
In3
Clk
Mp
PDN
Me
11
10
Out1
Clk
Me
In4
In5
PUN
00
01
Clk
Mp
Out2
(to PDN)
105
NORA Logic
Clk
In1
In2
In3
Clk
Mp
11
10
Out1
PDN
Clk
Me
In4
In5
PUN
00
01
Clk
Me
to other
PDNs
Mp
Out2
(to PDN)
to other
PUNs
106
106