There are 2 ways to install.
- Using MSYS2 installers
- Binary installers. (These are available from unsecure website)
Icarus is preferred. install from msys2.org using exe file
Download the installer: msys2-x86_64-20220603.exe
https://packages.msys2.org/package/mingw-w64-i686-iverilog?repo=mingw32
install pacman -S mingw-w64-i686-iverilog
###cOULD not comprehend further steps
http://bleyer.org/icarus/ download and install iverilog-v12-20220611-x64_setup.exe
or second executable file
refer file for compilation and execution
C:\iverilog\samples --> Quick_Start.txt
Compile it:
iverilog -o dsn counter_tb.v counter.v ---> o indicates object, dsn is name of object. after this step dsn file should be generated.
Then run it:
vvp dsn ---> execution will show results and vcd file should be generated.
dumpvcd should point filename and dumpvars should point testbench module name
type finish to exit interactive mode
Then look at the test.vcd waveform:
gtkwave test.vcd & ---> gtkwave window should be seen