Lesson7 K Mapping
Lesson7 K Mapping
KARNAUGH
MAPPING
In 1953, Maurice Karnaugh was a
telecommunications engineer at Bell
Labs.
While exploring the new field of digital
logic and its application to the design
of telephone circuits, he invented a
graphical way of visualizing and then
simplifying Boolean expressions.
This graphical representation, now
known as a Karnaugh map, or Kmap,
is named in his honor.
A Kmap is a matrix consisting of rows and columns that
represent the output values of a Boolean function.
The output values placed in each cell are derived from the
minterms of a Boolean function.
A minterm is a product term that contains all of the
function’s variables exactly once, either complemented or
not complemented.
3
Rules for K-Maps
4
Rules for K-Maps
5
Two Variable K-Map “
6
Three Variable K-Map “
A B C X
0 0 0 1
B
0 0 1 1
A
0 1 0 1 0 1 3 2
0 1 1 1
4 5 7 6
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 0
7
A B C D X
0 0 0 0 1 Four Variable K-Map
0 0 0 1 1
B
0 0 1 0 1 A
0 0 1 1 0 0 1 3 2
0 1 0 0 1
4 5 7 6
0 1 0 1 1
0 1 1 0 1 12 13 15 14
1 1 1 1 0
1 0 0 0 1 8 9 11 10
1 0 0 1 1
1 0 1 0 1
1 0 1 1 0
1 1 0 0 1
1 1 0 1 1
1 1 1 0 0
1 1 1 1 0
Don’t Care Condition “
A B C X
0 0 0 1
B
0 0 1 1
A
0 1 0 x 0 1 3 2
0 1 1 1
4 5 7 6
1 0 0 1
1 0 1 x
1 1 0 0
1 1 1 0
9