-
Notifications
You must be signed in to change notification settings - Fork 139
Apio Install
apio install [OPTIONS] [PACKAGES]
Install apio packages. By default it installs the latest stable version. Other versions can be installed using the following notation: package@version
(Ex. [email protected]
)
Flag | Long Flag | Description |
---|---|---|
-a |
--all |
Install all packages |
-l |
--list |
List all available packages |
-f |
--force |
Force the packages installation |
-p |
--platform |
Set the platform [linux, linux_x86_64, linux_i686, linux_armv7l, linux_aarch64, windows, windows_amd64, windows_x86, darwin] (Advanced) |
Package | Installation | Description |
---|---|---|
tools-oss-cad-suite | apio install oss-cad-suite | Selected binaries from the YosysHQ/oss-cad-suite project |
examples | apio install examples | Verilog basic examples, pinouts, etc |
drivers | apio install drivers | Drivers tools (only for Windows) |
gtkwave | apio install gtkwave | Simulation viewer. GTKWave project (only for Windows) |
apio install oss-cad-suite examples
The latest stable versions are installed (0.0.9 and 0.0.36 in this example):
apio install [email protected]
$ apio install --list
apio install --all
The packages are only installed if they are not in the latest version
This is usually done by the developers, to test if the correct package is downloaded
apio install drivers --platform windows_amd64
The apio home folder by default is .apio
, located in the user home folder. The full path depends on the operating system and the user who installed apio
- Ex. in Linux:
/home/obijuan/.apio
- Ex. in Windows:
C:\Users\JANEL\.apio
The packages are installed in the packages
folder, inside the apio home folder
- Ex. in Linux:
/home/obijuan/.apio/packages
- Ex. in Windows:
C:\Users\JANEL\.apio\packages
The apio home directory can be changed by means of the APIO_HOME_DIR environment variable. For example, icestudio set this env variable to store the packages in a differnt folder (separated from the apio installed on the system)
Once a package is installed, it is added to the .apio/profile.json
file. Apio reads this file for knowing which packages are present
Note
You can install manually a package uncompressing it in the package folder, and modifying manually the profile.json file
- 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)