Jump to content

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...