Pong game on Altera FPGA as exercise in Hardware-/Software-Codesign

subDesTagesMitExtraKaese 92b0d3fb8d added vhdl process graphs 4 лет назад
images 92b0d3fb8d added vhdl process graphs 4 лет назад
nios2_uc 2f8ff35085 added software 4 лет назад
output_files 2f8ff35085 added software 4 лет назад
software 21e367df0f formatting 4 лет назад
.gitignore 2f8ff35085 added software 4 лет назад
README.md 92b0d3fb8d added vhdl process graphs 4 лет назад
myfirst_niosii.qpf d87852aa5c niosii hello world 4 лет назад
myfirst_niosii.qsf 617ce38cce added vhdl definitions 4 лет назад
myfirst_niosii.vhd bafae5c663 typo 4 лет назад
nios2_uc.qsys 617ce38cce added vhdl definitions 4 лет назад
nios2_uc.sopcinfo 2f8ff35085 added software 4 лет назад
output_file.map 617ce38cce added vhdl definitions 4 лет назад

README.md

DE2-115-FPGA-Pong

Pong game on Altera FPGA as exercise in Hardware-/Software-Codesign

Data flow

Flowcharts of the VHDL program

Multiplex process

Debounce process

Flowcharts of the C program

Below images show flowcharts for all featured software functions. Fist chart feature the main game function. Subfunctions are described below. See:

Main function Flowchart


Subfunctions Flowcharts

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.