Jump to content

Recommended Posts

Posted (edited)

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
Posted

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?

Posted

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

Posted

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 .

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...