3 then echo "Please run as root using 'sudo bash'"
7 # Make sure to install the following first:
12 # change into $SUDO_USER home directory
17 apt
install libeigen3-dev libboost-filesystem-dev libboost-system-dev \
18 libboost-thread-dev libboost-iostreams-dev
20 git clone https
://github.com
/YosysHQ
/icestorm.git icestorm
21 git clone
--recursive https
://github.com
/YosysHQ
/nextpnr
31 git checkout nextpnr-0.6
32 cmake
-DARCH=ice40
-DCMAKE_INSTALL_PREFIX=/usr
/local .
36 # tinyprog for programming FPGA
39 cd /home
/$SUDO_USER/src
/ice40k