A ‘code converter’ is to be designed to convert from the BCD (5421) to the normal BCD (8421). The input BCD combinations for each digit are given below. A block diagram of the converter is shown in figure.
Decimal | BCD (5421) | |||
A | B | C | D | |
0 | 0 | 0 | 0 | 0 |
1 | 0 | 0 | 0 | 1 |
2 | 0 | 0 | 1 | 0 |
3 | 0 | 0 | 1 | 1 |
4 | 0 | 1 | 0 | 0 |
5 | 1 | 0 | 0 | 0 |
6 | 1 | 0 | 0 | 1 |
7 | 1 | 0 | 1 | 0 |
8 | 1 | 0 | 1 | 1 |
9 | 1 | 1 | 0 | 0 |
(a) Draw K-maps for outputs W, X, Y and Z.
(b) Obtain minimized expression for the output W, X, Y and Z.