Lecture 9:
Chapter 5
Bubble Pushing
Universal Gates
Sum of Products, Product of Sum
Karnaugh Mapping (POS)
Chapter 6
X-OR gates
X-Nor gates
Parity
1
Bubble Pushing
2
Example 1: Bubble Pushing
3
Sum-of-Products (SOP) form
- two or more ANDed variables ORed
ORed with two or more other variables
ANDed together
X = AB + AC + ABC
X = AC D + CD + B
X = BC • D + ABDE + CD
4
Product-of-sums (POS) form
- two or more ORed variables within ()
ANDed with two or more other variables
within ()
X = ( A + B) • ( B + C )
X = ( B + C + D)( BC + E )
X = ( A + C )( B + E )(C + B)
5
Two ways to solve one K-map
C
AB C C
AB 1 1
AB 1
AB
AB
6
Two ways to solve one K-map
C
AB C C
AB 1 1
AB 1
AB
AB
7
Universal Gates
8
Example 2: Use a combination of NAND gates
To form an inverter, AND, OR, and
Nor Gate.
9
Exclusive-OR (X-OR) Gates:
A B X
0 0
0 1
1 0
1 1
10
Exclusive-NOR (X-NOR) Gates:
A B X
0 0
0 1
1 0
1 1
11
Example 14: X = ( A ⊕ B) B
A B X
0 0
0 1
1 0
1 1
t0 t1 t2 t3 t4 t5 t6 t7 t8 t9
12
Example 15:
A B Y Y = ( A ⊕ B) B
0 0
0 1
1 0
1 1
t0 t1 t2 t3 T4 t5 t6 t7 t8 t9
13
Example 16: Complete the Truth Table of the
following circuit
A
B
A B C X
X
0 0 0 B
0 0 1 C
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
14
Example 17: Complete the timing diagram
using the truth table in example 16.
t0 t1 t2 t3 T4 t5 t6 t7 t8 t9
15
Parity
16
Example 7: Convert the following
numbers to their 8-bit binary code.
Add a parity bit next to the LSB to form
odd parity.
17
Example 7: Continued
18
Example 8: Determine if the following is Even and
Odd Parity generator using X-Or and
X-Nor gates.
19
20
74280 9-bit Parity generator/checker
Function Table
A EVEN
Number of High Output B
Data Inputs (A – I) Even Odd C ODD
D
Even High Low E
Odd Low High F
G
H
I
74LS280N
21
Example 9: Design a 4-bit even-parity
generator using the 74280
Chip.
A EVEN
B
C ODD
D
E
F
G
H
I
74LS280N
22
Example 10: Design a 4-bit odd-parity
generator using the 74280
Chip.
A EVEN
B
C ODD
D
E
F
G
H
I
74LS280N
23
Example 11: Design an 8-bit odd-parity error
detection system using two 74LS280 and 9-line
transmission cable.
A EVEN
B A EVEN
C ODD B
D C ODD
E D
F E
G F
H G
I H
I
74LS280N
74LS280N
24