Jump to content
Sign in to follow this  
loveuvm

UVM_GRM with VCS

Recommended Posts

Hi,

when using UVM_RGM with VCS, errors happen as attached.

how to deal with these problem?[ATTACH]40[/ATTACH]

-----------------------------------------------------

my script to run vcs is as below:

vcs -sverilog \

+acc +vpi \

+incdir+$UVM_HOME/src $UVM_HOME/src/uvm.sv \

./test_reg.sv \

+incdir+$UVM_HOME/src/uvm_pkg.sv \

$UVM_HOME/src/dpi/uvm_dpi.cc \

+incdir+$UVM_RGM_HOME/sv \

$UVM_RGM_HOME/dpi/rgm_set_hdl.c \

-CFLAGS "-DVCS" \

-l vcs.log

-------------------------

Any one can help me? Thanks!!!

Edited by loveuvm

Share this post


Link to post
Share on other sites

Thanks, since adding +define+RGM_NO_VHPI to the script above is invalid, I have added the DEFINE statement in rdm_set_hdl.c instead. and it is ok for running.

but i want to know if DUT is written in VHDL, how to deal with this case?

Share this post


Link to post
Share on other sites

well, it just means that VCS isnt compatible with the vhpi header file/api used to access vhdl signals in $UVM_RGM_HOME/dpi/rgm_set_hdl.c.

the options are simulator dependent

uwes, thank you for your reply .

Share this post


Link to post
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.

Sign in to follow this  

×
×
  • Create New...