Universal Gate ppt to design digital logic circuit

HODECEDSIET 63 views 29 slides May 25, 2024
Slide 1
Slide 1 of 29
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29

About This Presentation

Universal Gate ppt.ppt


Slide Content

•Universal Gate –NAND & NOR

Universal Gate –NAND
This presentation will demonstrate
•The basic function of the NANDgate.
•How a NANDgate can be used to replace an ANDgate,
an ORgate, or an INVERTERgate.
•How a logic circuit implemented with AOIlogic gates can
be re-implemented using only NANDgates.
•That using a single gate type, in this case NAND, will
reduce the number of integrated circuits (IC) required to
implement a logic circuit.
AOI Logic NAND Logic
More ICs = More $$Less ICs = Less $$

NAND Gate
XYZ
001
011
101
110
X
YY X YXZ 

NAND Gate as an Inverter Gate
XZ
01
10
XXZ XXX
(Before Bubble)
Equivalent to Inverter

NAND Gate as an AND Gate
XYZ
000
010
100
111
X
Y YX YXZ  YX
NAND Gate Inverter
Equivalent to AND Gate

NAND Gate as an OR Gate
XYZ
000
011
101
111
Equivalent to OR Gate
X
YYXY X Y XZ  X
NAND Gate
InvertersY

NANDGate Equivalent to AOIGates
INVERTERORAND

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.

NAND Implementation
Example:
Design a NAND Logic Circuit that is equivalent to the AOI circuit
shown below.CA C B 

NAND Implementation
Solution –Step 2
Identify and replace every AND,OR, and INVERTER gate with its
NAND equivalent.

NAND Implementation
Redraw the circuit.
Solution –Step 3

NAND Implementation
Identify and eliminate any double inversions.
Solution –Step 4

NAND Implementation
Solution –Step 5
Redraw the circuit.

Proof of EquivalenceC C B C A C A C BZ
C AC BZ
CA C B



AOI vs. NAND
ICType Gates Gate / IC# ICs
74LS04 1 6 1
74LS08 2 4 1
74LS32 1 4 1
TotalNumber of ICs → 3
ICType Gates Gate / IC# ICs
74LS00 4 4 1
TotalNumber of ICs → 1

Universal Gate –NOR
This presentation will demonstrate…
•The basic function of the NORgate.
•How an NORgate can be using to replace an ANDgate,
an ORgate or an INVERTERgate.
•How a logic circuit implemented with AOIlogic gates
could be re-implemented using only NORgates
•That using a single gate type, in this case NOR, will
reduce the number of integrated circuits (IC) required to
implement a logic circuit.
AOI Logic NOR Logic
More ICs = More $$Less ICs = Less $$

NOR Gate
XYZ
001
010
100
110
X
YY X Y XZ 

NOR Gate as an Inverter Gate
XZ
01
10
XXZ XXX 
(Before Bubble)
Equivalent to Inverter

NOR Gate as an OR Gate
XYZ
000
011
101
111
X
YYX Y XZ  Y X
NOR Gate “Inverter”
Equivalent to OR Gate

NOR Gate as an AND Gate
XYZ
000
010
100
111
Equivalent to AND Gate
X
YY XY X Y XZ  X
NOR Gate
“Inverters”Y

NORGate Equivalent of AOIGates
INVERTERORAND

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.

NOR Implementation
Example:
Design a NOR Logic Circuit that is equivalent to the AOI circuit
shown below.CA C B 

NOR Implementation
Solution –Step 2
Identify and replace every AND,OR, and INVERTER gate with its
NAND equivalent.

NOR Implementation
Redraw Circuit.
Solution –Step 3

NOR Implementation
Identify and eliminate any double inversions.
Solution –Step 4

NOR Implementation
Solution –Step 5
Redraw Circuit.

Proof of EquivalenceB CA C AC A  C A C BZ
C A C B

 C C A C BC BCB  C A C B

AOI vs NOR
ICType Gates Gate / IC# ICs
74LS04 1 6 1
74LS08 2 4 1
74LS32 1 4 1
TotalNumber of ICs → 3
ICType Gates Gate / IC# ICs
74LS02 7 4 2
TotalNumber of ICs → 2
Tags