banner

Icarus verilog (Iverilog) + GTKwave installation and running sample code on windows platform

Setup an open source verilog simulator on windows

 Icarus verilog is free and light weight simulator to execute the simple code for verilog.

Step 1: Download and install essential soft-wares

1) Download and install the Icarus verilog version "iverilog-0.9.7_setup" from link provided here.http://bleyer.org/icarus/

2) Download and install the GTKwave from link provided here.
https://sourceforge.net/projects/gtkwave/files/

3) To edit the code we will require the notepad++. So, download and install from the link provided here. https://notepad-plus-plus.org/downloads/ 

Step 2: Setting up path for Iverilog and GTK wave to use them as a command from command prompt

Goto My computer -> right click on the screen -> select the properties -> from control panel home -> select advanced system settings 

OR

Directly go to search the option and enter the word environment -> select the second option edit the system environment variables

 

1)  select environment variable

   

 

2) Go to system variables-> paths-> edit


3) Set the path of both Iverilog and GTKwave into path. Separate each  path by placing first ";" than entire path location mention as below.

i.e. first ; and then path C:\Program Files (x86)\iverilog\bin next again put ; and C:\Program Files (x86)\gtkwave\bin

 

 

 

Link provided below explain step by step execution of code on iverilog and GTKWave:

To test linear feedback shift register click here

 

No comments:

Post a Comment

Design verilog code for the combinational circuit MUX4x1 in structural style modelling by taking instance of MUX2X1 and simulate it on iverilog and GTKWave open simulator.

Design and test bench: //***** design under test****** // design top module module mux4( //input interface input [3:0]i, input[1:0]s, input ...