Goal: Create a functional Tictactoe game on a 800x600 VGA display controlled by the PmodKYPD.
Group Members:
Kevin Ward
Kristin Tribel
Stephen Tan
Zachary Fazal
The VGA display of 800 x 600 had front porch, back porch, and pulse values sourced from the Nexys A7 Reference Manual.
Xilinx's clk_wiz_0 and clk_wiz_0_clk_wiz were used to create the 108 MHz clock necessary for an 800 x 600 VGA display at 60 Hz.
The Tic-Tac-Toe board was treated as a binary string of 9 digits where each player would have their own board to keep track of where their pieces (1's) were.
By using AND and OR operations, each players' boards were updated and checked to make sure that they could not place a piece where one already existed.
The inputs (1-9) were taken from the PmodKYPD, and the code for interpreting the PmodKYPD signals was sourced from Professor Kevin Lu's Lab 4: Hex Calculator.