How to install latest Icarus Verilog

The latest stable version of Icarus Verilog (0.8.x) does not support the "generate" construct, while the development branch (0.9.x) does.

As a remainder, the quickest way to install it on Debian/Ubuntu is:

sudo su

apt-get purge verilog

apt-get install build-essential git-core autoconf gperf flex bison

git clone git://icarus.com/~steve-icarus/verilog

cd verilog

source autoconf.sh



make install

cd ..

rm -rf verilog