TL;DR, Apio is an extremly easy to install and use open-source toolbox for programming FPGA boards.
- Apio is an extremly easy to use toolbox for FPGA programming.
- Apio is easy to install, no more dealing with 'toolcahins', licenses, scripts, and makefiles.
- Apio runs on a wide range of platforms, Linux, Windows, Mac, and more.
- Apio is open source and free to use.
- Apio supports all aspects of FPGA developement cycles, including building, simulation, testing, and uploading a design.
- Apio commands are very simple, for example,
apio build
to build,apio test
to test endapio upload
to upload. - Apio can be used with any text editor and also playes well with Visual Studio Code and github.
- Apio supports out of the more than 80 boards and custom boards can be easily added.
- Apio provides out of the box tens of simple project examples ready to build and upload.
- Apio currently supports the
ICE40
andECP5
FPGA architecture withGOWIN
architecture in the works.
Apio makes extremely easy the process of working with FPGAs. Go from scratch to having a blinky LED in your FPGA board in minutes! This is because it is was designed for ease of use and uses only Free/Libre Open Source Software (FLOSS). Just install it and use it as you want.
In this animation you can see the whole process of testing the Blinky led circuit: Just type the command apio upload
and the circuit will be synthesized, and uploaded into the FPGA
As the user gh02t said in this post on Hacker-news:
Apio is a command line tool that automates installing the toolchain for your FPGA and running it. It just simplifies things, you don't have to use it if you'd rather call the individual tools for synthesis, P&R, simulation etc. It'd be reasonable to think of it as akin to a very smart Makefile combined with an automatic package manager, specialized to FPGAs (it's based on PlatformIO). It's nice when you're still kind of getting oriented, because you don't need to know how to set up and invoke the different tools... just call
apio build
orapio simulate
Below are typical apio commands that are used during the project developement cycle. The commands are simple and intuitive.
# Create a project
apio examples -f alhambra-ii/ledon # Fetch the files of an example
# Build
apio build # Build the project
apio upload # Upload the design to the FPGA board
# Verification
apio lint # Inspect the source code for issues.
apio test # Run the testbench
apio sim ledon_tb.v # Simulate the testbench and open a graphical viewer.
While many use Apio as a stand alone text based CLI toolbox, it can also be used with higher level graphical tools such as Icestudio:
Shawn Hymel's excellent series on FPGA programming is based on Apio and the the Icestick board
Find all the information on this WIKI PAGE
-
Apio is uses the YosysHQ open source toolchain.
-
APIO was inspired by PlatformIO.
-
FPGAwars community has developed this project in a voluntary and altruistic way since 11/2016.
-
Apio is implemented in Python and using the packages Click, and Scons.
-
BQ sponsored this project from 02/2016 to 11/2016. Thanks.
Licensed under GPL 2.0 and Creative Commons Attribution-ShareAlike 4.0 International License.