Skip to content

Instantly share code, notes, and snippets.

@gojimmypi
Created May 8, 2018 15:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gojimmypi/7713cc9755b56ad09730c593545da389 to your computer and use it in GitHub Desktop.
Save gojimmypi/7713cc9755b56ad09730c593545da389 to your computer and use it in GitHub Desktop.
install FPGA icestorm toolchain (WSL Ubuntu)
# don't just copy & paste, there's a prompt for the first sudo command
sudo apt-get update
sudo apt-get install build-essential clang bison flex libreadline-dev \
gawk tcl-dev libffi-dev git mercurial graphviz \
xdot pkg-config python python3 libftdi-dev
# create workspace
mkdir -p ~/workspace
cd ~/workspace/
# icestorm
git clone https://github.com/cliffordwolf/icestorm.git icestorm
cd icestorm
make -j$(nproc)
sudo make install
cd ~/workspace/
# arachne-pnr
git clone https://github.com/cseed/arachne-pnr.git arachne-pnr
cd arachne-pnr
make -j$(nproc)
sudo make install
cd ~/workspace/
# yosys
git clone https://github.com/cliffordwolf/yosys.git yosys
cd yosys
make -j$(nproc)
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment