Академический Документы
Профессиональный Документы
Культура Документы
1
The Karnaugh Map (K-map)
K-map is a graphical approach to finding
minimum SOP expressions (prime
implicants) for function simplification.
K-map is very useful for small design
problems of 3-4 variables (up to 6
variables)
Solutions for Problems of more that 6
variables can be found in Chapter 4, we
will NOT cover them in this course.
2
Implicant
An implicant is a rectangle of 1, 2, 4, 8, . . . (any power of 2)
1s. That rectangle may not include any 0s.
Implicant -- 2
10
Get expression from K-Map Practice 2
Write out the numerical expressions of the following K-maps
11
Finding Minimum SOP Using K-Map
12
K-map to SOP -- Method
1. Find all essential prime implicants. Circle them on the map
and mark the minterm(s) that make them essential with an
asterisk (*). Do this by examining each 1 on the map that
has not already been circled. It is usually quickest to start
with the most isolated 1s, that is, those that have the fewest
adjacent squares with 1s in them.
2. Find enough other prime implicants to cover the function.
Do this using two criteria:
a. Choose a prime implicant that covers as many new 1s
(that is, those not already covered by a chosen prime
implicant). Must be 2, 4, 8, rectangles.
b. Avoid leaving isolated uncovered 1s.
13
K-map to SOP Example 1
f = yz + wyz + wxz
K-map to SOP Example 2
f = xyz + xyz + xyz + xyz + xyz
x y + x y + x z x y + x y + y z
K-map to SOP Example 3
not used, too many minimum
isolated 1s.
g = xz + wz + wyz + wxy
g = xz + wz + wyz + xyz
g = xz + wz + xyz + wxy
Multiple Solutions of Minimum SOP
If there are multiple solutions, all minimum
solutions must have the same number of
terms and literals.
18
Practice 1:
19
Practice 1 solution 1:
20
Practice 1 -- solution 2 :
22
Practice 2 -- Solution:
F = BD + ACD + ABC
Practice 3:
26
Practice 3 -- Solution:
g1 = cd + ab + bd + acd
g2 = cd + ab + bd + abc
g3 = cd + ab + ad + abc
Finding Minimum POS Using K-Map
1. Map the complement of the function. (If there is already a
map for the function, replace all 0s by 1s, all 1s by 0s and
leave Xs unchanged.)
2. Find the minimum sum of products expression for the
complement of the function (using the techniques of the last
two sections).
3. Use DeMorgans theorem (P11) to complement that
expression, producing a product of sums expression.
P11a: (a + b) = a b
P11aa: (a + b + c ) = a b c
Announcement:
HW3 due today.
HW4 is out today, due on 10/11/2017.
Review Chapter 3.2-3.4
Next class (Chapter 3.5-3.6):
Finding POS
Five and Six Variable K-Maps
Multiple Output Problems
29