Jump to content
Sign in to follow this  
Roman

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

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×