Jump to content

how to make the uvm 1.0 run?


Recommended Posts

  • 4 weeks later...
  • 1 month later...

I got the following errors when trying to run "make -f Makefile.questa dpi_lib"

localhost% /work/sv/uvm-1.0p1/examples>make -f Makefile.questa dpi_lib

mkdir -p /work/sv/uvm-1.0p1/lib

/asic/ssg_vol2/modeltech/questa6_4a/questasim/gcc-3.2.3-rhe21/bin/g++ -m32 -fPIC -DQUESTA -g -W -shared -I/asic/ssg_vol2/modeltech/questa6_4a/questasim/include /work/sv/uvm-1.0p1/src/dpi/uvm_dpi.cc -o /work/sv/uvm-1.0p1/lib/uvm_dpi.so

In file included from /work/sv/uvm-1.0p1/src/dpi/uvm_dpi.cc:30:

/work/sv/uvm-1.0p1/src/dpi/uvm_hdl.c: In function `int

uvm_hdl_set_vlog(char*, t_vpi_vecval*, int)':

/work/sv/uvm-1.0p1/src/dpi/uvm_hdl.c:234: `vpi_release_handle'

undeclared (first use this function)

/work/sv/uvm-1.0p1/src/dpi/uvm_hdl.c:234: (Each undeclared

identifier is reported only once for each function it appears in.)

make: *** [dpi_lib] Error 1

Any help would be appreciated.

Thank you

Link to comment
Share on other sites

first, i am using the platform as follows:

Install.linux

questasim-base.mis

questasim-linux_x86_64.mis

questasim-gcc-linux_x86_64.mis

and add some set in .cshrc file as follows:

set path=(/opt/Questasim_Linux10.0a/questasim/bin $path)

setenv UVM_HOME /vobs/7510/ITDM/Source/uvm-1.0

setenv MTI_HOME /opt/Questa_Linux10.0a/questasim/

so, you can run the examples in uvm1.0p1 ball as follows:

$cd ../uvm-1.0/examples/ integrated/ubus/examples

$make -f Makefile.questa BITS=64 all

good for you

BR

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