The Karnaugh map in Figure Q.2 below represents a logic function with 4 variables DCBA. The original equation has 9 terms in it, as can be seen from the map.
DC\BA | 00 | 01 | 11 | 10 |
---|---|---|---|---|
00 | 1 | 1 | 1 | |
01 | 1 | 1 | 1 | 1 |
11 | 1 | 1 | ||
10 |
Figure Q.2
Write down the original Boolean equation that was used to fill the Karnaugh map in Figure Q.2 above.
[6 Marks]
Q 2(b) Copy the K-Map into your answer book. Draw the most suitable loops on your map. [6 Marks]
Group 1:
DC\BA | 00 | 01 | 11 | 10 |
---|---|---|---|---|
00 | 1 |
1 |
1 | |
01 | 1 |
1 |
1 | 1 |
11 | 1 | 1 | ||
10 |
D is 0 and does not change in this group and B is 0 does not change in this group. The equation for this group is
Group 2:
DC\BA | 00 | 01 | 11 | 10 |
---|---|---|---|---|
00 | 1 | 1 | 1 | |
01 | 1 | 1 | 1 |
1 |
11 | 1 |
1 |
||
10 |
C is 1 and does not change in this group and B is 1 does not change in this group. The equation for this group is
Group 3
DC\BA | 00 | 01 | 11 | 10 |
---|---|---|---|---|
00 | 1 | 1 | 1 |
|
01 | 1 | 1 | 1 |
1 |
11 | 1 | 1 | ||
10 |
D is 0 and does not change in this group and A and B are 1 and do not change in this group. The equation for this group is
Q2(c) Write down the minimized equation.
[6 Marks]
Use a 3 variable K-map to minimise the following function :-
Rewrite the function with varaibles in alphabetical order.
AB/C | 0 | 1 |
---|---|---|
00 | ||
01 | ||
10 | ||
11 |
AB/C | 0 | 1 |
---|---|---|
00 | 1 | |
01 | ||
10 | 1 | 1 |
11 | 1 | 1 |
Group 1:
AB/C | 0 | 1 |
---|---|---|
00 | 1 | |
01 | ||
10 | 1 |
1 |
11 | 1 |
1 |
So A
is 1 and does not change in this group. The equation for this group is
Group 2:
AB/C | 0 | 1 |
---|---|---|
00 | 1 |
|
01 | ||
10 | 1 | 1 |
11 | 1 | 1 |
So A
, B
are 0 and do not change in this group, and C
is 1 and does not change in this group. The equation for this group is
So combining the two groups we get the minimized equation as:
Q 2(d) Use a 3 variable K-map to minimise the following function :-
C/BA | 00 | 01 | 10 | 11 |
---|---|---|---|---|
0 | 1 | 1 | ||
1 | 1 | 1 | 1 |