Take as the four input bits, of weights , and let 1 light a segment of the seven-segment display. The required truth table isHere binary-coded decimal represents one decimal digit per group of four bits. The six unused codes must be zeros in every output for this part; they are not don't-care conditions.
value wxyz abcdefg
0 0000 1111110
1 0001 0110000
2 0010 1101101
3 0011 1111001
4 0100 0110011
5 0101 1011011
6 0110 1011111
7 0111 1110000
8 1000 1111111
9 1001 1111011
10 1010 0000000
11 1011 0000000
12 1100 0000000
13 1101 0000000
14 1110 0000000
15 1111 0000000Use Karnaugh maps with rows and columns , both in Gray code order . Juxtaposition means Boolean conjunction, means Boolean disjunction, and a bar means Boolean negation. The minimal sum of products forms areandFor , the groups are , and . For , take , , , and the isolated minterm . Every group contains only required ones. The last group wraps between the top and bottom map rows.
These covers are minimal: needs its three essential groups, forced by inputs 6, 3 and 8. For , input 5 is isolated, while 9, 3 and 6 each force their respective pair; input 0 still needs a further group. These five groups also attain the minimum literal count of 16.
Karnaugh maps for the three decoder outputs used in the solution
. Original maps in Gray order. Invalid inputs are fixed to zero for and ; only the map in part (d) treats them as X. Blue cells are required ones. Details.Use as the three select bits of the 8-to-1 multiplexer, so address selects data input . ConnectA single NOT gate produces , shared by and ; the other connections are wires and constant logic levels. For each fixed select address the data input reproduces the corresponding two rows of the truth table, including zeros for all invalid codes.
Only now may the invalid codes 10–15 be marked as don't-care conditions. The Karnaugh map givesThe groups are , , and . They cover all required ones, avoid valid-digit zeros, and may assign either output to invalid codes. The valid inputs 0, 5, 6 and 9 cannot share a valid implicant with each other, so at least four product terms are necessary. The displayed four-term cover uses only seven literals.
Articles by others on the same topic
There are currently no matching articles.
