here.
You’re going to use a 4-16 decoder in order to implement the 7-segment display controller. As a subcircuit, implement a 4-16 decoder. It should have 4 input lines representing a number from 0 to 15 and it should have 16 output lines. At any given moment, exactly one output line must be 1 and the other 15 must be 0.
The input to circuit is a set of 4 signals a3, a2, a1, a0 representing the digits of a 4-bit binary number. The output is a set of the seven signals a, b, c, d, e, f, and g used to drive the seven segments of the LED display. When implemented correctly, your circuit will display value of the input as a hexadecimal digit on the 7 segment display. Below is the display with each segment labeled.
Your display controller should pass its 4 inputs to the 4-16 decoder you constructed and the output of the decoder should be used to drive the seven LED signals.
Each of the LED signals can be represented as a simple boolean function of the 16 decoder outputs. For example, if the input is 0101
, the output of the decoder should be a single 1 which turns on segments a, b, d, f, and g, while c and e are off, forming the digit “5” on the display.
You should implement all 16 hexadecimal digits, 0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, A
, b
, C
, d
, E
, and F
. (Note that b
and d
are lower case to distinguish them from 8
and 0
.)
You should use the following plan for implementing this lab.
Performing step 2 before step 4 is critical. You don’t want to be trying to wire this up while figuring out which decoder outputs you need to OR.
Make sure to select the “save online” button to save your project. This will make your project available to us for grading.