APIO Folder Location


#1

Hello all,

I’m trying to follow the tutorial here: https://github.com/mattvenn/TinyFPGA-BX/tree/master/examples/picosoc

I’m using Ubuntu 18 LTS on Windows System for Linux, and I can’t find the location of the .apio folder.

Part of the tutorial says to run the commands:

export PATH=$PATH:~/.apio/packages/toolchain-icestorm/bin/
sudo cp -r ~/.apio/packages/toolchain-icestorm/share/icebox/ /usr/local/share/
sudo cp -r ~/.apio/packages/toolchain-icestorm/share/yosys /usr/local/share/

But I don’t know where this .apio folder is located. I installed apio using sudo pip3 install -U apio.

Thanks,
-Hunter


#2

Also, I assume I need to add apio to the path. Currently when I run $ apio install system scons icestorm iverilog it just says Command ‘apio’ not found, did you mean…


#3

Nevermind, I found the answer. I had to add apio to the path by running PATH=~/.local/bin:$PATH and then run

apio install system scons icestorm iverilog

After this the .apio folder appeared in my home directory.