electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

need for NC-Verilog Help!!


Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> need for NC-Verilog Help!!
Author Message
Wenf.Yeh



Joined: 21 Aug 2007
Posts: 29
Helped: 2


Post28 Aug 2007 10:46   

libvpi.so


I want to use the NC-Verilog to generate a backward SAIF file for the PowerCompiler.
so I must add a number of PLI functions which are integrated in libvpower.so into my testbench

in the command line I wrote that:

setenv LD_LIBRARY_PATH /tools/.../.../vpower :$LD_LIBRARY_PATH
ncelab ........ -loadpli1 libvpower:read_rtl_saif.read_rtl_saif


but when I run the command ,the terminal echoes:
Failed to load dynamic library libvpower
ld.so.1: ..............................fatal : libvpower.so:open failed no such file or directory


I have checked the path of libvpower.so ,and it was there.
I'm confused !!
any one can help me?
Back to top
Thinkie



Joined: 26 May 2005
Posts: 179
Helped: 14


Post28 Aug 2007 11:19   

libpli.so


Don't do it in the command line, try adding it in your .cshrc
Back to top
funzero



Joined: 19 Nov 2004
Posts: 204
Helped: 8


Post28 Aug 2007 13:08   

libvpi.so: cannot open shared object file


Perhaps , you should set path of lib*.so for your simualation.
Back to top
rsrinivas



Joined: 10 Oct 2006
Posts: 419
Helped: 36
Location: bengalooru


Post28 Aug 2007 14:08   

saif ncverilog


check whether u have -access +rwc switch in your ncelab command else it cannot open the file specified.
Also check whether u r using kshell mode as u r using setenv.
for bash u need to use export command.
Back to top
Wenf.Yeh



Joined: 21 Aug 2007
Posts: 29
Helped: 2


Post30 Aug 2007 10:06   

libvpi.so ncsim


thx -all !!

my command line was written as follows:
#!/bin/csh -f
setenv LD_LIBRARY_PATH /tools/synopsys/syn/auxx/syn/power/vpower/lib-sparcOS5:$LD_LIBRARY_PATH

/tools/cds/IUS57/tools/bin/ncvlog -work worklib \
-cdslib /home/multi/ywf/simulation/nc/counter_pli/rtl/cds.lib \
-logfile ncvlog.log \
-errormax 15 \
-update \
-linedebug \
/home/multi/ywf/simulation/nc/counter_pli/rtl/counter4.v \
/home/multi/ywf/simulation/nc/counter_pli/rtl/testbench.v

/tools/cds/IUS57/tools/bin/ncls -all

/tools/cds/IUS57/tools/bin/ncelab -work worklib \
-cdslib /home/multi/ywf/simulation/nc/counter_pli/rtl/cds.lib \
-access +rwc \
-loadpli1 \
libvpower:read_rtl_saif,set_toggle_region,toggle_start,toggle_stop,toggle_report.read_rtl_saif,set_toggle_region,toggle_start,toggle_stop,toggle_report \
-logfile ncelab.log \
-errormax 15 \
-access +wc \
worklib.testbench

/tools/cds/IUS57/tools/bin/ncls -all

/tools/cds/IUS57/tools/bin/ncsim -input /home/multi/ywf/simulation/nc/counter_pli/rtl/command.tcl \
-cdslib /home/multi/ywf/simulation/nc/counter_pli/rtl/cds.lib \
-logfile ncsim.log \
-errormax 15 \
-status worklib.testbench

but output was :
ncelab: 05.70-s001: (c) Copyright 1995-2006 Cadence Design Systems, Inc.
SYSTEM ERROR: VPI LOADFL
Failed to load dynamic library libvpower
ld.so.1: /tools/cds/IUS57/tools.sun4v/inca/bin/ncelab: fatal: libvpower.so: open failed: No such file or directory
$read_rtl_saif("counter_rtl_fw.saif");
|
ncelab: *E,NOTSYT (./testbench.v,22|19): 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:
ld.so.1: /tools/cds/IUS57/tools.sun4v/inca/bin/ncelab: fatal: libvpi.so: open failed: No such file or directory
ld.so.1: /tools/cds/IUS57/tools.sun4v/inca/bin/ncelab: fatal: libpli.so: open failed: No such file or directory.
$set_toggle_region(testbench.M2);
|
ncelab: *E,NOTSYT (./testbench.v,23|23): Unrecognized system task or function (did not match built-in or user-defined names) [2.7.4(IEEE Std 1364-2001)].
$toggle_start;
|
ncelab: *E,NOTSYT (./testbench.v,24|1Cool: Unrecognized system task or function (did not match built-in or user-defined names) [2.7.4(IEEE Std 1364-2001)].
#1000 $toggle_stop;
|
ncelab: *E,NOTSYT (./testbench.v,25|23): Unrecognized system task or function (did not match built-in or user-defined names) [2.7.4(IEEE Std 1364-2001)].
$toggle_report("counter_rtl_bw.saif",1.0e-9,"testbench.M2");
|
ncelab: *E,NOTSYT (./testbench.v,26|19): Unrecognized system task or function (did not match built-in or user-defined names) [2.7.4(IEEE Std 1364-2001)].
Back to top
Krupa Shah



Joined: 02 Apr 2008
Posts: 1


Post02 Apr 2008 6:44   

libvpi.so path


Hi,

I am getting the same type of Error :

SYSTEM ERROR: VPI LOADFL
Failed to load dynamic library /home/libccode_sh
libccode_sh.so: undefined symbol: sem_init
ncelab: *F,SCILDD: Could not load SystemC model library /home/libccode_sh.so (/home/libccode_sh.so: undefined symbol: sem_init).
ncverilog: *E,ELBERR: Error during elaboration (status 2), exiting.
ncsc_run: *E,TBSIMF: ncverilog returned non-zero exit status
make: *** [build_simulator] Error 1

Build execution time = 0:02:11

Please reply if anyone has resolved this type of error.
Back to top
Google
AdSense
Google Adsense




Post02 Apr 2008 6:44   

Ads




Back to top
sree205



Joined: 13 Mar 2006
Posts: 421
Helped: 30


Post02 Apr 2008 9:05   

libvpi ncverilog


@Wenf.yeh , see if the information below helps you fix the error.


ncelab: *E,NOTSYT reporst libgcc_s.so.1 is missing

Error Message:
$hello;
|
ncelab: *E,NOTSYT (./test.v,5|10): 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:
ld.so.1: ncelab: fatal: libvpi.so: open failed: No such file or directory
ld.so.1: ncelab: fatal: libgcc_s.so.1: open failed: No such file or directory.

Problem statement:
When trying to link the pli with the verilog code user gets the above error at the
ncelab stage.
The shared object library is created using gcc.
For example:
> gcc -shared -o libpli.so -fpic -g veriuser.o pli.o

Note: Here 'veriuser.o' and 'pli.o' are the object files.

Solution:
To resolve the above error please add the following path to the LD_LIBRARY_PATH:
/<install_dir>/tools/systemc/gcc/install/lib

the clue here was to add to the search path the location of libgcc_s.so.1.
Your local environment may include other locations your company uses instead,
buy the above location is delivered with the IUS tool stream for gcc users.
Back to top
aji_vlsi



Joined: 10 Sep 2004
Posts: 640
Helped: 72
Location: Bangalore, India


Post05 Apr 2008 17:32   

nc verilog elaboration error


Look for the new irun command to simplify this PLI integration issues, I believe CDN has documentation on this new use model.

If you still need help, consider posting at cdnusers.org or send to CDN support.

HTH
Ajeetha, CVC
www.noveldv.com
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> need for NC-Verilog Help!!
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
need help for verilog code (3)
Help: What Book is best for learning Verilog?(verilog begin) (4)
hi i need help in verilog (1)
need help with verilog (5)
need help in verilog programming (2)
need help:verilog ram (5)
Need help in this verilog code (1)
need help with source code in verilog! (4)
[Need help]Verilog simulation models problem (2)
need help: verilog book and tool (7)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS