Forum Discussion
Vicky1
Regular Contributor
6 years agoHi sree,
To execute uvm code,
If you are using precompiled & auto-loading version of UVM which is available in Questasim 10.0a versions onwords and if your design imports the uvm_pkg(import uvm_pkg::*;)then system verilog packages & DPI shared objects will be loaded automatically.
If you have a file called hello.sv which imports the uvm_pkg, then you can execute as below,
vlib work
vlog hello.sv
vsim hello ...
For rtl code,
vlog hello.v
vsim -novopt hell
add wave *
run -all
Regards,
Vikas