Karnaugh Maps
Karnaugh Maps
Cell = 23=8
AB
C 00 01 11 10
0 2 6 4
0 A B C A BC ABC AB C
1 3 7 5
1 A B C A BC ABC AB C
Karnaugh maps
4 variables Karnaugh map
AB
CD 00 01 11 10
0 4 12 8
00
1 5 13 9
01
3 7 15 11
11
2 6 14 10
10
Karnaugh maps
The Karnaugh map is completed by
entering a '1‘(or ‘0’) in each of the
appropriate cells.
Within the map, adjacent cells containing
1's (or 0’s) are grouped together in twos,
fours, or eights.
Example
2-variable Karnaugh maps are trivial but can be used to introduce
the methods you need to learn. The map for a 2-input OR gate
looks like this:
A
0 1
A B
Y 0 1
B
A
1 1 1
A B Y
0 0 0
B
0 1 1
1 0 1
A+B
1 1 1
Example
AC
A B C Y
0 0 0 1 AB
C 00 01 11 10
0 0 1 1
0 1 0 0 0 1 1 1
0 1 1 0
1 0 0 1 1 1 1
1 0 1 1
1 1 0 1
1 1 1 0 B
B AC
Exercise
Let us use Karnaugh map to simplify the follow function.
F1 = m0+m2+m3+m4+m5+m6+m7
F2 = m0+m1+m2+m5+m7
Answer
Exercise
Given the truth table, find the simplified SOP and POS form.
A B C Y
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
Exercise
Design two-level NAND-gate logic circuit
from the follow timing diagram.
A
F
Don’t care term
AB
CD 00 01 11 10
X
00
01
X 1
11 X X
10 X X
AD
Exercise
Design logic circuit that convert a 4-bits binary code to Excess-3 code
A B C D W X Y Z
0 0 0 0 0 0 1 1
0 0 0 1 0 1 0 0
0 0 1 0 0 1 0 1
0 0 1 1 0 1 1 0
0 1 0 0 0 1 1 1
0 1 0 1 1 0 0 0
0 1 1 0 1 0 0 1
0 1 1 1 1 0 1 0
1 0 0 0 1 0 1 1
1 0 0 1 1 1 0 0
1 0 1 0 x x x x
1 0 1 1 x x x x
1 1 0 0 x x x x
1 1 0 1 x x x x
1 1 1 0 x X X X
1 1 1 1 X X x x