Karnaugh Map - Don't Care Conditions - Tabulation Method: Simplification Techniques
Karnaugh Map - Don't Care Conditions - Tabulation Method: Simplification Techniques
SIMPLIFICATION TECHNIQUES
Karnaugh map – Don’t care conditions –
Tabulation Method
Introduction to Karnaugh map
Boolean Function:
Truth table representation unique
Algebraic expression appear in different form, but equivalent
Procedure of minimization is awkward because it lacks specific rules to
predict each succeeding step in the manipulative process
K Map or Karnaugh Map
Also known as Veitch diagram or K-map, invented in 1953 by
Maurice Karnaugh
Simple straight forward procedure for minimizing Boolean
functions (a graphical approach)
It consists of tables of rows and columns with entries represent
1’s or 0.s
Advantages of Karnaugh map
Data representation’s simplicity
Changes in neighbouring variables are easily displayed
Changes easy and convenient to implement
Reduce the cost and quantity of logical gates
K Map
K map is a diagram made up of squares
Each square representing a minterm of the function to be
minimized.
Simplified expression obtained by k-map can be
represented in any one form
SOP (Sum of Products)
POS (Products of Sum)
K-maps can be used for expressions with 2, 3, 4, and 5
variables.
Two Variable k map, Three Variable k map
Four Variable K map, Five Variable K map
Rules of K Map
x
Three variable K map
Eight min terms for three variables
There are 8 cells as shown:
BC
00 01 11 10
A
0 ABC ABC A BC A BC
1 AB C AB C ABC ABC
4 variable K-map
4 variable k map
Grouping the 1s (example)
CD CD
AB 00 01 11 10 AB 00 01 11 10
00 1 1 00 1 1
01 1 1 1 1 01 1 1 1
11 11 1 1 1
10 1 1 10 1 1 1
Determining the Minimum SOP Expression
from the Map (example)
CD
00 01 11 10 B A C AC D
AB
00 1 1 AC
01 1 1 1 1 B
11 1 1 1 1
AC D
10 1
Determining the Minimum SOP Expression
from the Map (exercises)
CD CD
AB 00 01 11 10 AB 00 01 11 10
00 1 1 00 1 1
01 1 1 1 1 01 1 1 1
11 11 1 1 1
10 1 1 10 1 1 1
A B A C AB D D AB C BC
Mapping Directly from a Truth Table
I/P O/P
A B C X C
0 1
0 0 0 1 AB
0 0 1 0
00 1
0 1 0 0
0 1 1 0 01
1 0 0 1
11 1
1 0 1 0 1
1 1 0 1
10 1
1 1 1 1
“Don’t Care” Conditions
Sometimes a situation arises in which some input
variable combinations are not allowed, i.e. BCD code:
There are six invalid combinations: 1010, 1011, 1100,
1101, 1110, and 1111.
Since these unallowed states will never occur in an
application involving the BCD code they can be
treated as “don’t care” terms with respect to their effect
on the output.
The “don’t care” terms can be used to advantage on the
K-map (how? see the next slide).
“Don’t Care” Conditions
INPUTS O/P CD
A B C D Y 00 01 11 10
0 0 0 0 0 AB
0 0 0 1 0
0 0 1 0 0 00
01 1
0 0 1 1 0
0 1 0 0 0
0
0
1
1
0
1
1
0
0
0
11 x x x x
0
1
1
0
1
0
1
0
1
1
10 1 1 x x
1 0 0 1 1
1 0 1 0 X
Without “don’t care”
Y AB C A BCD
1 0 1 1 X
1 1 0 0 X
1 1 0 1 X With “don’t care”
Y A BCD
1 1 1 0 X
1 1 1 1 X
K-map with don’t care conditions
K-Map POS Minimization
( A B C )( A B C )( A B C )( A B C )( A B C )
C
0 1 POS
AB A
00 0 0 A( B C )
01 AB AC
0 0
11 AC
B C
0 1 SOP
10 1 1 AB
References