These are needed for compiling and installing the icestorm, Arachne-PNR and yosys tools later.
For Debian-based distributions, use the following command:
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 vim htop screen iverilog
For Fedora-based distributions, use the following command:
dnf install @development-tools clang bison flex readline-devel \ gawk tcl-devel libffi-devel git mercurial graphviz python-xdot \ pkgconfig python python3 libftdi-devel vim htop screen iverilog
Starting in an empty directory:
git clone https://github.com/cliffordwolf/icestorm.git icestorm cd icestorm make -j8 sudo make install
Starting in the same directory:
git clone https://github.com/cseed/arachne-pnr.git arachne-pnr cd arachne-pnr make -j8 sudo make install
Starting in the same directory:
git clone https://github.com/cliffordwolf/yosys.git yosys cd yosys make -j8 sudo make install
This is done by cloning the ChipHack repository:
git clone https://github.com/embecosm/chiphack.git