Logic Gates
Logic Gates
'='
Learning Objectives
• Logic Gate
• Logic circuits and Boolean expressions
A
C= A B
B
Inputs Output
A B C=A B
0 0 0
0 1 0
1 0 0
1 1 1
OR Gate (Block Diagram Symbol
and Truth Table)
A
C=A+B
B
Inputs Output
A B C=A +B
0 0 0
0 1 1
1 0 1
1 1 1
NOT Gate (Block Diagram Symbol
and Truth Table)
A A
Input Output
A A
0 1
1 0
Finding Boolean Expression
of a Logic Circuit (Example 1)
A
A
NOT D= A. B +C
B B+C AND
C
OR
Finding Boolean Expression
of a Logic Circuit (Example 2)
OR
A A+ B
B
C= A + A B
B.
A B AB AND
AND NOT
Constructing a Logic Circuit from a Boolean
Expression (Example 1)
Boolean Expression = A B +C
AND
A A B
B
A B +C
C
OR
Implementing a Boolean Expression with Only
NAND Gates (Example)
Boolean Expression = A B + C (A + B D)
A AB
A B + C (A + B D)
B
B BD
D A +B D
A
C C ( A +B
D)
(a) Step 1: AND/OR implementation
(Continued on next slide)
Exclusive-OR Function
A + B= A B + A B
A C = A+ B = A B + A
B B
Exclusive-OR Function
Boolean Function Simplification Rules
Thank You