Created
November 15, 2019 03:47
-
-
Save cactorium/e7474ddff60bf282deb8961c32653998 to your computer and use it in GitHub Desktop.
Installing the Icestorm-based iCE40 toolchain using a nonstandard prefix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/cliffordwolf/icestorm.git icestorm | |
cd icestorm | |
PREFIX=~ make -j$(nproc) | |
PREFIX=~ sudo make install | |
Installing Arachne-PNR (place&route tool, predecessor to NextPNR): | |
git clone https://github.com/cseed/arachne-pnr.git arachne-pnr | |
cd arachne-pnr | |
PREFIX=~ make -j$(nproc) | |
PREFIX=~ sudo make install | |
Installing NextPNR (place&route tool, Arachne-PNR replacement): | |
git clone https://github.com/YosysHQ/nextpnr nextpnr | |
cd nextpnr | |
cmake -DARCH=ice40 -DCMAKE_INSTALL_PREFIX=~ -DICEBOX_ROOT=~/share/icebox . | |
PREFIX=~ make -j$(nproc) | |
PREFIX=~ sudo make install | |
Installing Yosys (Verilog synthesis): | |
git clone https://github.com/cliffordwolf/yosys.git yosys | |
cd yosys | |
PREFIX=~ make -j$(nproc) | |
PREFIX=~ sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment