Lecture-4 K Maps
Lecture-4 K Maps
COMP201TH
Lecture-4
Karnaugh Maps (K-Map)
K Map:
o Karnaugh map is a method of simplifying Boolean algebra
expressions.
o It is actually a truth table in another form.
o It offers a graphical method of reducing a digital circuit to its
minimum number of gates.
o Karnaugh maps can be used on small circuits having 2 to 3
inputs as an alternative to Boolean algebra and on more complex
circuits having up to 6 inputs; it can provide quicker and simpler
minimisation than Boolean algebra.
(2)10 would be 1 0 .
In Gray code, these values are represented as 01 and 11,
respectively.
Example of K-Map:
o Simplify A + A` B by use of Karnaugh Map.
In the expression, first see first term is A, here we will take value of B as both 0
and 1.
e.g. if f = AB +AB`C+A`BC`
B 0 1
A
0
B 0 1
A
1
0
1 1
1
In K-map, we will put 1 in the cell where in value of A and B are specified in the
Boolean expression i.e. f = A + A`B -> its in minterm expression,
So f = 1 + 01.
Now, as said earlier: In the expression, first see first term is A, here we will take
value of B as both 0 and 1.
So, for the given Boolean expression we will take first term as 10 and 11 as
value of B is not given so we are considering it both 0 and 1.
Now see, we have put 1 in the cell where cell positions are 10, 11 and 01.
Next step is: we will group adjacent 1’s and choose common between them from
their cell positions.
B
A 0 1
1
0 1
1
11
1
Now , first group (vertically): 01
11
Common is 1 which is B
1
1
Common is 1 which is A.
Groups may wrap around the table. The leftmost cell in a row may be
grouped with the rightmost cell and the top cell in a column may be
grouped with the bottom cell.
References :