Pong game on Altera FPGA as exercise in Hardware-/Software-Codesign
![]() |
4 роки тому | |
---|---|---|
images | 4 роки тому | |
nios2_uc | 4 роки тому | |
output_files | 4 роки тому | |
software | 4 роки тому | |
.gitignore | 4 роки тому | |
README.md | 4 роки тому | |
myfirst_niosii.qpf | 4 роки тому | |
myfirst_niosii.qsf | 4 роки тому | |
myfirst_niosii.vhd | 4 роки тому | |
nios2_uc.qsys | 4 роки тому | |
nios2_uc.sopcinfo | 4 роки тому | |
output_file.map | 4 роки тому |
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: - draw
- reset_positons
- reset_screen
Flowchart of draw function.
Function output the virtual screen to the output pins to be prozessed 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.