-
Notifications
You must be signed in to change notification settings - Fork 139
Generic example
Juan Gonzalez-Gomez edited this page Apr 2, 2024
·
15 revisions
Once apio has been installed and the drivers have been correctly configured is time to start playing with your FPGA!
$ apio install --all
Go to your project's directory or try the examples that comes with apio
$ apio examples -d Alhambra-II/ledon
$ cd Alhambra-II/ledon
Find your board in the list
$ apio boards --list
Supported boards:
[...]
Note
See the apio boards command
Create an apio.ini
file with your board
$ apio init --board alhambra-ii
Check your verilog code using Icarus Verilog
$ apio verify
Simulate your test bench using Icarus Verilog and GTKWave
$ apio sim
Note
GTKWave must be installed. Have a look to the apio sim command
Syntesize your project using OSS-CAD-SUITE Tools
$ apio build
Connect your FPGA board and upload the bitstream using OSS-CAD-SUITE Tools
$ apio upload
All the leds should turn on after some seconds
Congrats! Now You have your fully open source FPGA toolchain ready!
- Project structure
- Project configuration file (apio.ini)
- apio
- Project Commands:
- Setup commands:
- Utility Commands:
- Downloading the Blinky example
- The apio-examples package: Adding examples
-
Apio packages
- Tools-oss-cad-suite
- Apio examples
- Tools-drivers (Windows)
- Gtkwave (Windows)