Week 10
Week 10
Week 10
Product terms
A
AB
B
C CD
D AB + CD + . . . + JK
Sum-of-products
J
JK
K
Product term
Combinational Logic Circuits
An example of an SOP implementation is shown. The SOP
expression is an AND-OR combination of the input
variables and the appropriate complements.
Combinational Logic Circuits
When the output of a SOP form is inverted, the circuit is called an
AND-OR-Invert 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 twice.
Exclusive-OR Logic
The truth table for an exclusive-OR gate
Inputs Outpuis
t
Notice that the output is HIGH whenever A and
B disagree.
The Boolean expression is X = AB + AB
Exclusive-OR Logic
The circuit can be drawn as Inputs Outpu
t
Exclusive-NOR Logic
Inputs Outpu
The truth table for an exclusive-NOR gate A B t X
0 0 1
is Notice that the output is HIGH whenever 0 1 0
1 0 0
A and B agree. 1 1 1
The Boolean expression is X = AB + AB
The circuit can be drawn as
A Symbols:
X
B
=1
The control circuit must produce an output of 1 if at least two of the conditions A,
B, and C are true. Design the simplest circuit that can be used for this purpose.
12
Condition A
13
Condition B
14
Condition C
15
The output of the circuit can be expressed as
f = AB + AC + BC
16
The output of the circuit can be expressed as
f = AB + AC + BC
17
The output of the circuit can be expressed as
f = AB + AC + BC
18
Finally, we get
19
20
21
• Design a combinational circuit with three inputs, x, y and z, and the three
outputs, A, B, and C. when the binary input is 0, 1, 2, or 3, the binary output
is one greater than the input. When the binary input is 4, 5, 6, or 7, the
binary output is one less than the input.
22
23
24
Exercise
A B C D W X Y Z
0 0 0 0 0 0 1 1
0 0 0 1 0 1 0 0
28
NAND Logic
The NAND Gate
The NAND gate produces a LOW output when all inputs
are HIGH; otherwise, the output is HIGH. For a 2-input
gate, the truth table is
A X
B
0 0 1
0 1 1 A X
1 0 1 B
1 1 0
30
Universal Gates – NAND
NAND gates are sometimes called universal gates because they
can be used to produce the other basic Boolean functions.
A A A A
B B
Inverter AND gate
A A
A+ A+
B B B B
A A A A
B B
Inverter AND gate
A A
A+ A+
B B B B
A A A A
B B
Inverter AND gate
A A
A+ A+
B B B B
A A A A
B B
Inverter AND gate
A A
A+B A+
B B B
A A A A
B B
Inverter AND gate
A A
A+ A+B
B B B
A A A A+B
B
Inverter OR gate
A A
AB AB
B B
A A A A+B
B
Inverter OR gate
A A
A A
B B B B
A A A A+B
B
Inverter OR gate
A A
A A
B B B B
A A A A+B
B
Inverter OR gate
A A
AB A
B B B
A A A A+B
B
Inverter OR gate
A A
A AB
B B B