Saturday, August 10, 2013

5 steps to compile and simulate "Hello world" with questasim10.0b

Use Questasim transcript window to run all below mentioned commands.

Step-1 : Download uvm-1.1a.tar.gz from http://www.accellera.org/downloads/standards/uvm


Step-2 : Extract that folder on to desktop and copy that whole folder into c:/questasim_10.0b


Step-3 : Now you have to set UVM_HOME environment variable path to locate uvm library which you have added. Go to C:/questasim_10.0b/ using cd command.


then give this command : setenv UVM_HOME uvm-1.1a. so that it will set your UVM_HOME environment variable.


Step-4 : Go to C:/questasim_10.0b/uvm-1.1a/examples/simple/hello_world using cd command.


Step-5 : Give this command : qverilog hello_world.sv
so it will compile,elaborate and simulate the design at one shot.


 You have successfully compiled and simulated "Hello world" of UVM.