-
Notifications
You must be signed in to change notification settings - Fork 139
Project configuration file
The apio.ini
configuration file stores the Apio configuration for each project. The file is in 'ini' format with
all the attributes stored in the [env]
section and is intended for manual editing by users. A minimal
apio.ini
file may look like
# Comment line.
[env]
board = alhambra-ii
top-module = main
The supported configuration attributes are:
Type: String
| Required: Yes
| Default: none
The ID of the supported board model. The list supported boards is available apio boards or by running the command apio boards --list
.
Example:
board = upduino31
Note
Some APIO commands allow to override the board
setting using the --board
command line flag.
apio build --board upduino31
Type: String
| Required: No
| Default: default
Specifies the execution mode of the project build. The valid values are default
and native
.
The default
behaviour of apio is to run the toolchains that were installed from apio packages (Ex. apio install oss-cad-suite). It is the easiest choice for a normal user: let apio install and manage the executables
But it is also possible (native
mode) to let apio execute the installed toolchains in the system. In this case, is the user (advanced) who should install all the toolchains needed. Apio will find them if they are in system PATH
Example:
exe-mode = native
Type: String
| Required: No
| Default: main
The name of the Verilog module to be used as top module when building the project. Not that this is the name as it appears in the verilog module
statement such as module main
and not a file name such as main.v
.
Example:
top-module = main
Note
Some APIO commands allow to override the top-module
setting using the --top-module
command line flag.
apio build --top-module my_top-module
- 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)