Lecture 6 - Logic Gate Basics
Lecture 6 - Logic Gate Basics
Lecture 6
Boolean algebra
Boolean logic with CMOS
‒ Elementary gates
‒ Series and parallel connection
‒ General structure
Reading: Chapter 1.4
2
Digital IC Design
3
Boolean Logic
4
CMOS for Boolean Logic
NMOS: 1 = ON VDD
PMOS: 0 = ON
Series: both must be ON (AND) Vin Vout
CL
Parallel: either can be ON (OR)
5
A CMOS NAND Gate
PDN : AB
A
Rp
B
Rp
PUN : A B AB
A B OUT
Rn CL
0 0 1
B
0 1 1
Rn
1 0 1
A
1 1 0
6
A CMOS NOR Gate
PDN : A B
Rp
B PUN : AB A B
Rp
A A B OUT
0 0 1
Rn Rn CL
A B 0 1 0
1 0 0
1 1 0
7
General Structure
pMOS
pull-up
network PUN OFF PUN ON
inputs
output PDN OFF Z (float) 1
nMOS
pull-down PDN ON 0 X (crowbar)
network
8
Summary
OR OR(a,b) = NAND(a, b)
Answer
No, that is not possible. A static CMOS gate is only
able to provide an inverting function. XOR is not
in that category. You need more than one CMOS
gate to finish an XOR function.
10