Consider a code converter circuit that converts BCD 84-2-1 to BCD 8421.
B3B2B1B0 E3E2E1E0
0 0 0 0 0 0 0 0
0 0 0 1 1 1 1 1
0 0 1 0 1 1 1 1
0 0 1 1 1 1 1 1
0 1 0 0 0 1 0 0
0 1 0 1 0 0 1 1
0 1 1 0 0 0 1 0
- 1 1 1 0 0 0 1
- 0 0 0 1 0 0 0
1 0 0 1 0 1 1 1
1 0 1 0 0 1 1 0
1 0 1 1 0 1 0 1
1 1 0 0 1 1 1 1
1 1 0 1 1 1 1 1
1 1 1 0 1 1 1 1
1 1 1 1 1 0 0 1
B3B2B1B0 represents the 4-bit BCD 84-2-1 input and E3E2E1E0 represents the 4-bit BCD 8421 output. For invalid BCD 84-2-1 inputs, all 1s are output as an error indication. You will find a zip file in Canvas that contains the following:
- A VHDL entity declaration for the converter.
- An algorithmic behavioral architectural body for the converter.
- A data flow behavioral architectural body for the converter.
- A structural architectural body for the converter.
- A test bench entity that ties the entity to a pulse generator that generates all possible combinations of the inputs.
- Three configuration files
i.Test bench for the behavioral architecture
ii.Test bench for the dataflow architecture
iii.Test bench for the structural architecture
These files are also available at ece.uah.edu/~gaede/cpe526/homework_files/hw1
Perform the following steps
- Create a project in modelsim which has all these files
- Compile all of the files
- Simulate all three configurations to verify correctness.
- Save your wave and list files.
Turn in your wave and list files making a zip file and then uploading it to the drop box in Canvas.
Reviews
There are no reviews yet.