Jump to content

How to invoke a UVM based simulation using three step mode rather than irun


Roman

Recommended Posts

Hi,

I just got this usage from the Cadence Online Support General Content Notification.

It's useful , So just share here ~

#Problem

How to invoke a UVM based simulation using three step mode rather than irun.

#Solution

You will find the ubus example attached to this solution along with a script to run it in three step mode.

The following files list the compilation, elaboration and simulation command line options.

compile_opt

elab_opt

sim_opt

> more compile_opt

-INCDIR

../sv

-INCDIR

$IUS_HOME/tools/uvm/uvm_lib/uvm_sv/src

$IUS_HOME/tools/uvm/uvm_lib/uvm_sv/src/uvm_pkg.sv

ubus_tb_top.sv

-MESSAGES

-sv

> more elab_opt

+UVM_VERBOSITY=UVM_LOW

-loadpli $IUS_HOME/tools/uvm/uvm_lib/uvm_sv/lib/libuvmpli.so:uvm_pli_boot

-MESSAGES

worklib.ubus_tb_top

> more sim_opt

-INPUT

"@source $IUS_HOME/tools/uvm/uvm_lib/uvm_sv/files/tcl/uvm_sim.tcl; run"

+UVM_TESTNAME=test_2m_4s

-SV_LIB

$IUS_HOME/tools/uvm/uvm_lib/uvm_sv/lib/libuvmdpi.so

+UVM_VERBOSITY=UVM_LOW

-sv_lib $IUS_HOME/tools/uvm/uvm_lib/uvm_sv/lib/libuvmpli.so

-MESSAGES

-svseed 10

worklib.ubus_tb_top

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...