Installation instructions for Icarus Verilog
Setting up new debootstrap and chroot into it
Run the following if you wish to isolate the iverilog build from other software (reproducible builds) or use the schroot auto-preparation script here: https://git.libre-soc.org/?p=dev-env-setup.git;a=blob;f=mk-deb-chroot;hb=HEAD
export MY_CHROOT=/opt/chroot/iverilog
mkdir $MY_CHROOT
debootstrap stable $MY_CHROOT http://deb.debian.org/debian/
mount -t proc proc $MY_CHROOT/proc
mount -t sysfs sysfs $MY_CHROOT/sys
mount -t devpts devpts $MY_CHROOT/dev/pts/
chroot $MY_CHROOT /bin/bash
The dev-env-setup chroot script is a little more sophisticated than the above
Steps to compile Icarus Verilog
Necessary software to install
apt-get install git autoconf make g++ bison flex gperf libreadline6-dev
Build Icarus Verilog
git clone https://github.com/steveicarus/iverilog.git
cd iverilog
git checkout v11_0
sh autoconf.sh
./configure --prefix=/usr/local/iverilog
make -j$(nproc)
make check
make install
Please adjust the install paths for iverilog.