Reference no: EM132845952 , Length: 613 words
EE/CSC 327 Laboratory Assignment -
In this Lab you are to design a BCD to Seven-segment display driver circuit that will take BCD number as input and display the corresponding decimal value of BCD input on a Seven-segment display, as shown in Figure 1. For undesired inputs (i.e. inputs from 1010 to 1111) the circuit will display U on the Seven-segment display. Each of the seven segments is labeled a through g. The numbers 0 through 9 light up the segments shown in Figure 2. For example, the number 0 lights up all but the middle segment, segment g. There are two types of 7-segment display available in the market. One is common anode and the other is common cathode. In DE2-115 board, the manufacturer used the common anode type display. To turn on a common anode display segment, you have to provide a low signal (0). For example, to turn on segment a, you have to provide a low signal (0) to the corresponding pin of segment a.

To design your seven-segment display decoder, you will first write the truth table specifying the output values for each input combination. For example, when the input is ABCD = 0000, the outputs are abcdefg= 0000001 and when the input is ABCD=1010 (undesired input), the outputs are abcdefg = 1000001 (display U).
Deliverable -
a) Write the truth table and derive the expression for a, b, c, d, e, f, and g using four variable K-map.
b) Design a digital circuit in Quartus II that will satisfy the truth table you derived in (a).
c) Simulate your design and justify that your design functions properly.
d) Once you are satisfied with your design, download your design in the DE2-115 board and verify that your circuit functions properly according to the design objective. For inputs use SW3, SW2, SW1, and SW0 as A, B, C, and D respectively. For outputs, use HEX0 Seven-segment display of your DE2-115 board. (** use DE2-115 user manual to do the necessary pin assignment for this design)
Extra problem - Simplify the following Boolean functions
i. (A, B, C, D) = Σm(0, 1, 3, 7, 8, 9, 10, 13, 15)
ii. (a, b, c, d) = Σm(0, 1, 2, 4, 5, 6, 7, 10, 15)