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

w.mueller 824674b9df fix readme преди 4 години
images 109510a37b updated data graph image преди 4 години
nios2_uc 2f8ff35085 added software преди 4 години
output_files 2f8ff35085 added software преди 4 години
software 21e367df0f formatting преди 4 години
.gitignore 2f8ff35085 added software преди 4 години
README.md 824674b9df fix readme преди 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

Datenflussdiagramm

Programmablaufplan des C Programms

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

Main function Flowchart

Subfunctions Flowcharts

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.