Universal NAND NOR
Universal NAND NOR
Universal NAND NOR
X
Z XYXY
Y
X Y Z
0 0 1
0 1 1
1 0 1
1 1 0
3
NAND Gate as an Inverter Gate
X X X (Before Bubble)
X ZX
X Z
0 1
Equivalent to Inverter
1 0
4
NAND Gate as an AND Gate
XY
X
ZXYXY
Y
X Y Z
0 0 0
0 1 0
Equivalent to AND Gate
1 0 0
1 1 1 5
NAND Gate as an OR Gate
X
X Y
Z XY XY XY
Y
X Y Z
0 0 0
0 1 1
Equivalent to OR Gate
1 0 1
1 1 1 6
NAND Gate Equivalent to AOI Gates
AND OR INVERTER
7
Process for NAND Implementation
1. If starting from a logic expression, implement the design with
AOI logic.
2. In the AOI implementation, identify and replace every
AND,OR, and INVERTER gate with its NAND equivalent.
3. Redraw the circuit.
4. Identify and eliminate any double inversions (i.e., back-to-
back inverters).
5. Redraw the final circuit.
8
NAND Implementation
Example:
Design a NAND Logic Circuit that is equivalent to the AOI circuit
shown below.
BC A C
9
NAND Implementation
Solution – Step 2
Identify and replace every AND,OR, and INVERTER gate with its
NAND equivalent.
10
NAND Implementation
Solution – Step 3
11
NAND Implementation
Solution – Step 4
12
NAND Implementation
Solution – Step 5
13
Proof of Equivalence
C BC
BCAC
Z BCAC
AC
Z BC AC 14
AOI vs. NAND
17
X
Z XYX Y
Y
X Y Z
0 0 1
0 1 0
1 0 0
1 1 0
18
NOR Gate as an Inverter Gate
X X X (Before Bubble)
X ZX
X Z
0 1
Equivalent to Inverter
1 0
19
NOR Gate as an OR Gate
XY
X
Z XY XY
Y
X Y Z
0 0 0
0 1 1
Equivalent to OR Gate
1 0 1
1 1 1 20
NOR Gate as an AND Gate
X
X Y
Z XYXY XY
Y
X Y Z
0 0 0
0 1 0
Equivalent to AND Gate
1 0 0
1 1 1 21
NOR Gate Equivalent of AOI Gates
AND OR INVERTER
22
Process for NOR Implementation
1. If starting from a logic expression, implement the design with
AOI logic.
2. In the AOI implementation, identify and replace every
AND,OR, and INVERTER gate with its NOR equivalent.
3. Redraw the circuit.
4. Identify and eliminate any double inversions. (i.e. back-to-
back inverters)
5. Redraw the final circuit.
23
NOR Implementation
Example:
Design a NOR Logic Circuit that is equivalent to the AOI circuit
shown below.
BC A C
24
NOR Implementation
Solution – Step 2
Identify and replace every AND,OR, and INVERTER gate with its
NAND equivalent.
25
NOR Implementation
Solution – Step 3
Redraw Circuit.
26
NOR Implementation
Solution – Step 4
27
NOR Implementation
Solution – Step 5
Redraw Circuit.
28
Proof of Equivalence
BCBCBC
C
B BC AC
C
Z BC AC
BC AC 29
A
ACACAC
AOI vs NOR