Forum Discussion

sn00011's avatar
sn00011
Icon for New Contributor rankNew Contributor
6 years ago

how to execute uvm code and rtl code ....can you tell me the questasim uvm scripting

1 Reply

  • Vicky1's avatar
    Vicky1
    Icon for Regular Contributor rankRegular Contributor
    Hi 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