Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
In this lab, we will program the FPGA on the Nexys2 board to display a “bouncing ball” on a 640 x 480 VGA monitor connected to the VGA interface on the board. This will requires us to generate the required sync and video signals consistent with the VGA standard.
How a VGA Display works:
10. Plug in the device if it is not already and Vivado should detect the board
11. Click Program Device and load the generated bitstream onto the board
1. If you cannot click Program Device, click Open Target first
You should now see a ball bouncing vertically in the middle of the screen. Feel free to modify the code to change the size, color, shape, etc. of the ball (hint: modify the ball.vhd file).
Note: There may be a problem with the aspect ratio/resolution of the display you are using, so if you are not seeingthe bouncing ball try another monitor
Note: You can set the clock rate of board to either 25 MHz or 50 MHz, both work but at 50Mhz the image will look less choppy because more images will be shown per second on the monitor/projector (unless the board can compute images faster than the monitor/projector refresh rate at the lower processor clock rate).
How to set up the bitstream:
http://users.wpi.edu/~rjduck/Nexys4DDR%20Vivado%20VHDL%20Decoder%20Tutorial.pdf
How to Connect The Nexys A7 to your computer:
https://github.com/Digilent/Nexys-A7-100T-GPIO
Dr. Ackland's Lab Manual:
http://personal.stevens.edu/~backland/Courses/Course487_Spring_18_files/Labs/Lab3.pdf
GitHub: