Professional Documents
Culture Documents
Overview
Euler rules for complex CMOS gates
Layout and stick diagram
JMM v1.4
How ‘bout more than 1 input?
Vdd
Logic recipe:
pullup: make this connection
when we want F(A1,…,An) = 1
...
A1
F(A1,…,An)
...
An
pulldown: make this connection
when we want F(A1,…,An) = 0
...
Finally! I was
getting tired
of inverters...
JMM v1.4
Complementary logic
Now you know what the “C”
in CMOS stands for!
We want complementary pullup and pulldown
logic, i.e., the pulldown should be “on” when
the pullup is “off” and vice versa.
pullup pulldown F(A1,…,An)
on off driven “1”
off on driven “0”
on on driven “X”
off off no connection
JMM v1.4
CMOS complements
What a nice Thanks. It runs
VOH you have... in the family...
pulldown pullup
nfet block pfet block
A
A B
B
A
A B
B
JMM v1.4
Development of CMOS gates /1
A
B 0 1
Step 1: development of nfet 0 1 1
block. Logic mini-
mini-
mization of “0” in 1 1 0
Karnaugh diagram
F=A*B
JMM v1.4
Development of CMOS gates /2
A
B 0 1
Step 2: development of pfet 0 1 1
block. Logic mini-
mini-
mization of “1” in 1 1 0
Karnaugh diagram
F=A+B
A B
JMM v1.4
Development of CMOS gates /2
A
B 0 1
Step 3: put nfet and pfet 0 1 1
block together
1 1 0
F=A*B
JMM v1.4
NAND & NOR
2-input NAND. When output is low,
two nfets are in series. So to keep
output fall time equivalent to that
of an inverter, the nfets have to be
twice as wide. Pfet widths can be
A same as those in the inverter (but
remember there were already 2x nfet
widths!). Can be extended to large
B fan-
fan-in but practical limit is 4 inputs.
Why?
Pseudo-
Pseudo-NMOS NOR gates are
used to build high fan-
fan-in NOR
gates for PLA’s to save area
A1 … An
(at some cost in static power).
JMM v1.4
Layout of simple gates
VDD p-type substrate
n-type well
metal/pdiff
metal/pdiff
contact
with detail
removed Wp
Lp
IN OUT
Wn
Ln contact
from metal
to ndiff
GND
JMM v1.4
Layout Rules #1
JMM v1.4
Layout Rules #2
JMM v1.4
Stick Diagram
JMM v1.4
NAND & NOR ((again
again))
again
JMM v1.4
Fan--In CMOS Gates
Large Fan
&
&
& ≥1
&
JMM v1.4
CMOS Gate Recipe
A
Step 1. Figure out pulldown
network that does what you
want, e.g., F = A*(B+C) B C
JMM v1.4
Complex CMOS Gates /1
Example: F = A * B + C * D
C D
Step 2: generation of pfet
block (logic “1”)
A B
F = (A + B) * (C + D)
JMM v1.4
Complex CMOS Gates /2
A C
where is this signal
B D
in the transistor schema ?
A & ≥1
B
C &
JMM v1.4
Complex CMOS Gates Layout /1
JMM v1.4
Complex CMOS Gates Layout /2
VDD
C D
N1
A B
F
A C
N2 N3
B D
VSS start
F
C
A
start
VDD N3 N1 N2 F
D
B
VSS
A -> B -> D -> C
MicroLab, VLSI-5 (19/34)
JMM v1.4
Complex CMOS Gates /3
C D
A B
F
A B D C
MicroLab, VLSI-5 (20/34)
JMM v1.4
Complex CMOS Gates /4
C
A
B
B C
JMM v1.4
A Quiz! /1
JMM v1.4
A Quiz! /2
CD
00 01 11 10
AB
00 1 1 1 1
01 0 0 0 0
11 0 0 0 0
10 1 0 0 0
JMM v1.4
Quiz : Solution
F=A*B+B*C*D
C VDD
start
VSS P1 N1 F
A
D
P2
start
JMM v1.4
Transmission Gates
S
CMOS nMOS
A B A B
S
S
JMM v1.4
CMOS TG Electrical Model
S=VDD S=0
A B A B
S=0 S= VDD
switch is off switch is “on”
VB
0V |VT,p| VDD-VT,n VDD
R
Req,p
eq,p Req,n
eq,n
Req,TG
eq,TG
Req,n
eq,n || Req,p
eq,p
VB
0V VDD-VT,n VDD
MicroLab, VLSI-5 (26/34)
JMM v1.4
TG Circuits: MUX
A
Y=A*S+B*S
B
Is this node
always the “output”
S of this gate?
inverter
not drawn
JMM v1.4
TG Circuits: 4 to 1 MUX
B
F
C
S1
S2
MicroLab, VLSI-5 (28/34)
JMM v1.4
Best XOR in Town
A ≥1&
A =1 F B F
B ≥1
12 transistors
A
A*B+A*B
B
Is this node
always the “output”
8 transistors of this gate?
A A*B+A*B
B Is this node
always the “output”
of this gate?
6 transistors
MicroLab, VLSI-5 (29/34)
JMM v1.4
TG Quiz
JMM v1.4
TG Circuits: Problems
Uin Uout
R R R R R
Uin Uout
C C C C C
τ = 2.2 ⋅ (RC )2
JMM v1.4
Coming Up...
Next topic…
Dynamic ((precharge
precharge/evaluate)
precharge/evaluate) logic circuits:
CMOS domino logic, NP domino logic, CVSL logic.
Charge sharing.
JMM v1.4
VLSI--5
Exercises: VLSI #1
A
B
Z
GND
JMM v1.4
VLSI--5
Exercises: VLSI #2
JMM v1.4