- An implementation of an embedded system on an Altera Cyclone IV FPGA using a NIOS II processor.
- Clone the git repo (in the desired directory):
git clone https://github.com/Gonzaga-2024-CPEN-Projects/NIOSII_Project_CPEN_430.git
- Navigate to the repo:
NIOSII_Project_CPEN_430
. - Right click
chip.qpf
and "open with" Quartus.
- You should not have to run a .tcl script In Quartus, the pin assignments are saved in the .qsf file, but if you get errors for some reason: Select
tools>Tcl Scripts
, then selectchip.tcl
and clickrun
. - Compile the hardware project in Quartus.
- Once the build is complete, select
tools>programmer
. After selecting the correct hardware, selectoutput_files/chip.sof
and flash the hardware.
- Select
tools>Nios II Software Build Tools For Eclipse
. - Choose
{path to project}/NIOSII_Project_CPEN_430\software
as the software workspace. - In the project explorer you should see
blinky-sw
andblinky-sw_bsp
. Right clickblinky-sw_bsp
. SelectNios II>Generate BSP
. - Once that has finished, right click
blinky-sw_bsp
again, and selectBuild Project
. - Right click
blinky-sw
and clickBuild Project
. - Right click
blinky-sw
and clickRun As>Run Configurations
. Double clickblinky-sw Nios II Hardware configuration
underNios II Hardware
in the navigation pane on the left. - This should flash the software, and you are now able to play the game.
Note:
- If you open Eclipse and there doesn't appear to be any project, right click in the project explorer and select Import>General>Existing Projects into Workspace.