Jump to content

not able to run uvm1.1a in ius 10.20-p008.


chandan

Recommended Posts

Hi All,

I am new to methodology. The command I am using:

1) irun $UVMHOME/src/uvm_pkg.sv $UVMHOME/src/dpi/uvm_dpi.cc -incdir $UVMHOME/src test.sv

Following is the log message as it appears :

irun: 10.20-p008: © Copyright 1995-2010 Cadence Design Systems, Inc.

file: /projects1/tools/methodology_library/uvm/1.1a/src/uvm_pkg.sv

package worklib.uvm_pkg:sv

errors: 0, warnings: 0

file: test.sv

module worklib.top:sv

errors: 0, warnings: 0

$CDSROOT = /projects1/tools/cadence/old_version/incisive/ccstools/cdsind1/Software/INCISIV102_lnx86

$TESTDIR = ........./test_install

TOOL: ncsc 10.20-p008

ncsc C++ parameters:

ncsc -COMPILER $CDSROOT/tools/systemc/gcc/4.4/bin/g++

-f ./INCA_libs/irun.lnx86.10.20.nc/ncsc_run/ncsc_obj/ncsc.args

-MANUAL

-CFLAGS "-DNCSC

-I$CDSROOT/tools/systemc/include_pch

-I$CDSROOT/tools/tbsc/include

-I$CDSROOT/tools/vic/include

-I$CDSROOT/tools/ovm/sc/src

-I$CDSROOT/tools/uvm/uvm_lib/uvm_sc/sc

-I$CDSROOT/tools/uvm/uvm_lib/uvm_ml/sc

-I$CDSROOT/tools/systemc/include/tlm2

-c

-x c++ -Wall

-I$CDSROOT/tools/include

-I$CDSROOT/tools/inca/include"

make: `INCA_libs/irun.lnx86.10.20.nc/ncsc_run/ncsc_obj/uvm_dpi.o' is up to date.

make: `...../uvm/test_install/./INCA_libs/irun.lnx86.10.20.nc/librun.so' is up to date.

Caching library 'worklib' ....... Done

Elaborating the design hierarchy:

Top level design units:

uvm_pkg

top

$uvm_type_name(r,val);

|

ncelab: *W,MISSYST (/projects1/tools/methodology_library/uvm/1.1a/src/deprecated/uvm_type_utils.svh,33|22): Unrecognized system task or function (did not match built-in or user-defined names) [2.7.4(IEEE Std 1364-2001)].

If item was defined in a shared-object library, the problem could be:

libvpi.so: cannot open shared object file: No such file or directory or file is not valid ELFCLASS32 library.

libpli.so: cannot open shared object file: No such file or directory or file is not valid ELFCLASS32 library..

ncelab: *F,INTERR: INTERNAL EXCEPTION

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

The tool has encountered an unexpected condition and must exit.

TOOL: ncelab 10.20-p008

HOSTNAME: PEHWTRGSERVR1

OPERATING SYSTEM: Linux 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64

MESSAGE: sv_seghandler - trapno -1 addr(0xFF060FE0)

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

csi-ncelab - CSI TRIAL: Cadence Support Investigation, sending details to ncelab.err

csi-ncelab - CSI TRIAL: investigation complete, send ncelab.err to Cadence Support

irun: *E,ELBERR: Error during elaboration (status 255), exiting.

Please help.

Thanks and regards,

Chandan

Link to comment
Share on other sites

hi,

a couple of things:

1. add -uvmhome $UVMHOME to the commandline

2. remove the args: $UVMHOME/src/uvm_pkg.sv $UVMHOME/src/dpi/uvm_dpi.cc -incdir $UVMHOME/src

in total you should have

irun -uvmhome $UVMHOME test.sv

in addition you would also benefit if you use a more recent ius version such as a 12.1+ release.

regards

/uwe

Link to comment
Share on other sites

hi,

you dont need to compile the dpi code yourself when using "irun -uvmhome ...". irun is taking care of that for you.

if you really want that for whatever reason just add the uvm_dpi.cc file to the commandline. if you dont want irun doing all handling for you you can try something like:

irun -uvmhome $UVMHOME -uvmnoautocompile $UVMHOME/src/uvm_pkg.sv $UVMHOME/src/dpi/uvm_dpi.cc test.sv

/uwe

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