1. Go through all the steps
in this lab instruction, report your code, simulation results,
and the on-board verification results. (30 points)
(on-board verification
results will be in task 3)
Going through this task, we had to code different kinds of gates (AND, OR, XOR) in vivado. you can see the code for the gate below. We then simulate the gates by having an output, 'Y', that was dependent on the inputs, 'a' and 'b', by changing the values of the inputs between 1 and 0 every nanosecond as is shown for each logic gate below, we can see how the output is effected or changes.
Then the later
section of the lab, now that we have coded and simulated the
gates correctly, we then had to take the code of the different
gates and setup the file to program the FPGA, by setting the
inputs to be switches, and the output to a LED. You can see the
setup code for each gate below.
2. Use the same procedure to create XOR and OR gates. Run simulations to verify the logic. (30 points)
This is the same
as task 1, but are implemented for logic gates OR and XOR. The
same simulations to show the relationship between the inputs,
'a' and 'b', and the output, 'Y'. There are also figures showing
the setup code to program the FPGA that can be seen below.
Figure 5: The OR gate simulation, showing the relationship between 'Y' and the inputs 'a' and 'b' using the OR logic.
3. Use both the volatile and nonvolatile methods (QSPI) to program your FPGA. Show videos for the demonstrations. (40 points)