Digital Logic Design
Digital Logic Design
Digital Logic Design
CHAPTER 5
Content
Product terms
A
AB
B
C CD
D AB + CD + . . . + JK
Sum-of-products
J
JK
K
Product term
AND OR Logic
A
B ABC
C X = ABC + DE SOP
D
DE
E
Example 5-1
Figure 5-2
AND-OR-Invert Logic
When the output of a SOP form is inverted, the
circuit is called an AND-OR-Invert (AOI)
circuit. The AOI configuration lends itself to
product-of-sums (POS) implementation.
An example of an AOI implementation is
shown. The output expression can be changed
to a POS expression by applying DeMorgan’s
theorem
A
twice.
B ABC
C X = ABC + DE X = ABC + DE AOI
D X = (ABC)(DE) DeMorgan
E DE X = (A + B + C)(D + E) POS
Example 5-2
Exclusive-OR Logic
The truth table for an exclusive-OR
gate is: --------------------------------- Inputs Output
A B X
Notice that the output is HIGH 0 0 0
whenever A and B disagree. 0 1 1
1 0 1
The Boolean expression is 1 1 0
X =1
A Symbols:
X
B
=1
A
A A
Example Show the circuit that will implement the Boolean expression X
= ABC + ABD + BDE. (Assume that the variables and their
complements are available.)
Start by forming the terms using three 3-input AND gates.
Then combine the three terms using a 3-input OR gate.
A
B
C
A X = ABC + ABD + BDE
B
D
B
D
E
From a Truth table to a Logic Circuit
Karnaugh Map Implementation
For basic combinational logic circuits, the Karnaugh map can be read and
the circuit drawn as a minimum SOP.
C C
1. Group the 1’s into two overlapping
AB 1
B groups as indicated.
changes AB 1 1 2. Read each group by eliminating any
across variable that changes across a boundary.
this AB 3. The vertical group is read A C.
boundar
y C 4. The horizontal group is read AB.
AB changes
across
this
boundar
Circuit: A
C X= AC + AB
A
B
a
f b
g
e c
d
Case of numbers only
Out put a for example
NAND Logic
Universal Gates
A A
A+B A+B
B B
A
C X= AC + AB
A
B
Universal Gates
NOR gates are also universal gates and can
form all of the basic gates.
A A A A+ B
B
Inverter OR gate
A A
AB AB
B B