Goal: Extend the FPGA code developed in Lab 3 (Bouncing Ball) to build a PONG game using a 800x600 Video Graphics Array (VGA) display and a 5kΩ potentiometer with an analog-to-digital converter called Pmod ADC connected to the top pins of the Pmod port JA
I was able to successfully complete this lab, with my results shown in the images below. However, I did come across some issues. When connecting the potentiometer to Pmod port JA, make sure that it is connected such that the words "Digilent ADC Module" on the chip is facing upwards. Otherwise, you will not be able to control the bat. In addition, when modifying, I was at first unsure about how to add in leddec16.vhd, but you can do so by going to the top of the Flow Navigator and clicking "Add Sources." In addition, when I first began working with the modifications, I would start the ball, and it would not move. I would use the switches to change the speed, but it would only move horizontally. I was finally able to play the game as intended by having a speed other than zero before starting the ball.