Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Set up the truth table (table 2 below) for the circuit shown in Figure 1, with (W X Y Z) as inputs and (A B
- Set up the truth table (table 2 below) for the circuit shown in Figure 1, with (W X Y Z) as inputs and (A B C D E F G) as outputs.
Table2: BCD to 7 Segment Decoder truth table
Decimal | BCD (WXYZ) | A | B | C | D | E | F | G |
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 | 0 1 0 1 |
|
|
|
|
|
|
|
6 | 0 1 1 0 |
|
|
|
|
|
|
|
7 | 0 1 1 1 |
|
|
|
|
|
|
|
8 | 1 0 0 0 |
|
|
|
|
|
|
|
9 |
|
|
|
|
|
|
|
|
- Find the simplest Boolean expression for each segment from the table above and summarize them in table 3 below.
Table3: Boolean expressions for the 7 segment display cathodes
Segment | Boolean expression |
A |
|
B |
|
C |
|
D |
|
E |
|
F |
|
G |
|
- Refer to the FPGA board data sheet to find the 7 segment display cathodes
- Write a Verilog code for a circuit that will perform the function of the BCD-7segment display. You will have 4 inputs to represent BCD number and 7 outputs to control the 7 segments cathodes. Dont forget to enable the anode of the 7 segment that you will use and disable the rest.
- Simulate the circuit in Vivado and check the functionality. (You can consider 3 cases for simulation)
- Implement the circuit and test it in your FPGA board. Check functionality.
- Observe and record the output in the first 7 segment display for combinations 0000 through 1001.
- Observe and record the output displayed of the six unused input combinations 1010 through 1111.
- Show your codes, simulation results and screenshots of 3 testing cases in your report with your comments.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started