xcode-select --install
These are needed for compiling and installing the icestorm, Arachne-PNR and yosys tools later.
brew install libftdi0 python3 gawk pkg-config libffi bison mercurial
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