Module V Kaurnaugh Mapping
Module V Kaurnaugh Mapping
Module V Kaurnaugh Mapping
A. INTRODUCTION
B. W HAT IS K-MAP?
It’s similar to truth table; instead of being organized (i/p and o/p)
into columns and rows, the K-map is an array of cells in which each cell
represents a binary value of the input variables. The cells are arranged in
a way so that simplification of a given expression is simply a matter of
properly grouping the cells. K-maps can be used for expressions with 2, 3,
4, and 5 variables.
C. CELL ADJACENCY
A “1” is placed on the K- map for each product term in the expression.
Each “1” is placed in a cell corresponding to the value of a product term,
let’s say, ABC . For example, a “1” goes to 101 (written with red ink).
1. No zeroes allowed.
2. Only power of 2 cells in each grouping is accepted meaning, group
must contain either 1,2,4,8,or 16 cells (depending on number of
variables in the expression).
3. Everyone must be at least in one grouping. Each cell in a group
must be adjacent to one or more cells in that same group, but all
cells in the group do not have to be adjacent to each other.
4. No diagonal groupings.
5. Overlapping is allowed. The 1s already in a group can be
included in another group as long as the overlapping groups
include noncommon 1s.
6. Groups may “Wrap-around”
7. Always include the largest possible number of 1s in a group in
accordance with rule 2.
8. Obtain the fewest number of groups possible.
Examples of Groupings:
The following rules are applied to find the minimum product terms
and the minimum SOP expression:
1. Group the cells that have 1s. Each group of cell containing 1s
creates one product term composed of all variables that occur in
only one form (either complemented or complemented) within the
group. Variables that occur both complemented and
uncomplemented within the group are eliminated called
contradictory variables.
2. Determine the minimum product term for each group.
3. When all the minimum product terms are derived from the K-map,
they are summed to form the minimum SOP expression.
Illustrations:
Examples:
The truth table contains two 1s. the K- map must have both of
them. locate the first 1 in the 2nd row of the truth table above.
Repeat the process for the 1 in the last line of the truth table.
2. For the Karnaugh map in the above problem, write the Boolean
expression. Solution is below.
Solution:
Look for adjacent cells, that is, above or to the side of a cell.
Diagonal cells are not adjacent. Adjacent cells will have one or more
Boolean variables in common.
Solution:
4. For the Truth table below, transfer the outputs to the Karnaugh,
then write the Boolean expression for the result.
Solution:
5. Fill in the Karnaugh map for the Boolean expression below, then
write the Boolean expression for the result.
Solution:
Solution:
Solution:
PROBLEM SET 27
F(A,B,C,D) = Σm(3,5,6,7,9,11,15)
2. Generate a simplified Logical Equation of the Truth Table below
and draw the Logic Circuit of the said equation:
A B C D F (output)
0 0 0 0 1
0 0 0 1 0
0 0 1 0 1
0 0 1 1 0
0 1 0 0 1
0 1 0 1 1
0 1 1 0 1
0 1 1 1 1
1 0 0 0 1
1 0 0 1 0
1 0 1 0 1
1 0 1 1 0
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 1
For instance:
G. SUMMARY