5. Complete problem 3.12 from the text book. Space for work provided on the following page.
3.12. A numeric keypad (numpad) generates a 4-bit code as shown in Fig. 3.29. We
want to design a logic circuit that converts each 4-bit code to an array of 7 LEDs
(called 7-segment display) as shown in Fig. 3.29. A LED is ON it is given a logic
value of '1'. A LED if OFF if it is given the logic value of '0'.
• Complete the truth table for each output (a, b, c, d, e, f, g). An example is
provided for "1001."
• Provide the most simplified expression for each output (a, b, c, d, e, f, g).
Use K-maps. Note: It is safe to assume that the codes 1010 to 1111 will not
be produced by the numeric keypad.