Jump to content
Sign in to follow this  
elmar

VCS an UVM 1.x hello_world simulation finishes at 0 ns

Recommended Posts

Using -ntb_opts uvm-ea the hello_word example finishes correctly with:

UVM_INFO : 18

Time: 1000 ns

Using any of:

-ntb_opts uvm

-ntb_opts uvm-1.0

+incdir+${UVM_HOME} ${UVM_HOME}/uvm_pkg.sv ${UVM_HOME}/dpi/uvm_dpi.cc -CFLAGS -DVCS

with UVM_HOME any of:

/usr/local/synopsys/vcs-mx-E-2011.03/etc/uvm-1.0

/usr/local/uvm-1.0p1/src # from Accellera

/usr/local/uvm-1.1/src # from Accellera

the hello_word example finishes with:

UVM_INFO : 5

Time: 0 ns

Is there a way to have UVM 1.0 work with VCS ?

Share this post


Link to post
Share on other sites

Hi,

Please ensure the hello_world/top.sv has the following code to make it UVM-1.0 compliant.

task run_phase(uvm_phase phase);

phase.raise_objection(this);

uvm_top.print_topology();

#1us;

phase.drop_objection(this);

endtask

It might be the VCS installation examples has the old uvm-ea examples code.

I'll check this and get it updated for future releases.

thanks,

Adiel.

Share this post


Link to post
Share on other sites

Hi,

hello_world now working o.k. with all the different vcs option I mentioned,

except uvm-1.1, which is expected.

I did find the code You indicated in all the Accellera uvm-1.0p1/examples

but not in vcs-mx-E-2011.03/doc/examples/uvm_1.0

thanks,

Elmar

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  

×