Pong game on Altera FPGA as exercise in Hardware-/Software-Codesign
![]() |
4 years ago | |
---|---|---|
images | 4 years ago | |
nios2_uc | 4 years ago | |
output_files | 4 years ago | |
software | 4 years ago | |
.gitignore | 4 years ago | |
README.md | 4 years ago | |
myfirst_niosii.qpf | 4 years ago | |
myfirst_niosii.qsf | 4 years ago | |
myfirst_niosii.vhd | 4 years ago | |
nios2_uc.qsys | 4 years ago | |
nios2_uc.sopcinfo | 4 years ago | |
output_file.map | 4 years ago |
Pong game on Altera FPGA as exercise in Hardware-/Software-Codesign
Below images show flowcharts for all featured software functions. Fist chart feature the main game function. Subfunctions are described below. See:
Flowchart of draw function. Function output the virtual screen to the output pins to be processed by VHDL
Flowchart of reset_position function. Function to reset positions of both paddles and ball to default. Default positions and values can be adjusted in this function
Flowchart of reset_screen function. Function to reset all pixels of the virtual screen to 0.