linking pli with NC

M

Monika Talwar

Guest
hi all,
i am trying to link my pli with verilog application.
I am able to link if the library is named as libpli.so.

but i dont know how to link some pli with some other name.

i.e. i am unable to link pli library "my_pli.so" with my verilog
application for NC simulator.

May be i need to set some environmant variable for that

I tried to do that with +loadpli1 switch of nc simulator, but didn't
succeeded.
Can anybody help me out for this.

Thanks in advance,

With regards
Mona
 
Need to set LD_LIBRARY_PATH to point to the directory where the "my_pli.so" locates.

WestPort

monikatalwar@hotmail.com (Monika Talwar) wrote in message news:<e71b773.0409300529.15655d38@posting.google.com>...
hi all,
i am trying to link my pli with verilog application.
I am able to link if the library is named as libpli.so.

but i dont know how to link some pli with some other name.

i.e. i am unable to link pli library "my_pli.so" with my verilog
application for NC simulator.

May be i need to set some environmant variable for that

I tried to do that with +loadpli1 switch of nc simulator, but didn't
succeeded.
Can anybody help me out for this.

Thanks in advance,

With regards
Mona
 
Thankx for the reply,
I had already set the LD_LIBRARY_PATH variable to the location of my_pli.so file.
Actually simulator prints teh following messages.

[monika@mona nc_nevrilog]$ ncverilog hello.v
ncverilog: 05.00-p001: (c) Copyright 1995-2003 Cadence Design Systems, Inc.
file: hello.v
module worklib.testing11:v (up-to-date)
errors: 0, warnings: 0
module worklib.TESTING:v (up-to-date)
errors: 0, warnings: 0
Caching library 'worklib' ....... Done
Elaborating the design hierarchy:
Building instance overlay tables: .............
ncelab: *W,DYNLIB: Could not load the library 'libvpi', because of...
libvpi.so: cannot open shared object file: No such file or directory.
ncelab: *W,DYNLIB: Could not load the library 'libpli', because of...
libpli.so: cannot open shared object file: No such file or directory.
$routine1;
|
ncelab: *E,NOTSYF (./hello.v,14|18): not a valid system function name [2.7.3(IEEE)].
$routine2;
|
ncelab: *E,NOTSYF (./hello.v,18|18): not a valid system function name [2.7.3(IEEE)].
$routine3;
|
ncelab: *E,NOTSYF (./hello.v,22|18): not a valid system function name [2.7.3(IEEE)].
........ Done
ncverilog: *E,ELBERR: Error during elaboration (status 1), exiting.
[monika@mona nc_nevrilog]$


Can you suggest wat needs 2 b done!!
Thankx once again for the reply.
Mona


yehj@cradle.com (WestPort) wrote in message news:<263df950.0410021802.193e7bdb@posting.google.com>...
Need to set LD_LIBRARY_PATH to point to the directory where the "my_pli.so" locates.

WestPort

monikatalwar@hotmail.com (Monika Talwar) wrote in message news:<e71b773.0409300529.15655d38@posting.google.com>...
hi all,
i am trying to link my pli with verilog application.
I am able to link if the library is named as libpli.so.

but i dont know how to link some pli with some other name.

i.e. i am unable to link pli library "my_pli.so" with my verilog
application for NC simulator.

May be i need to set some environmant variable for that

I tried to do that with +loadpli1 switch of nc simulator, but didn't
succeeded.
Can anybody help me out for this.

Thanks in advance,

With regards
Mona
 
Monika Talwar wrote:
Thankx for the reply,
I had already set the LD_LIBRARY_PATH variable to the location of my_pli.so file.
Actually simulator prints teh following messages.

[monika@mona nc_nevrilog]$ ncverilog hello.v
ncverilog: 05.00-p001: (c) Copyright 1995-2003 Cadence Design Systems, Inc.
file: hello.v
module worklib.testing11:v (up-to-date)
errors: 0, warnings: 0
module worklib.TESTING:v (up-to-date)
errors: 0, warnings: 0
Caching library 'worklib' ....... Done
Elaborating the design hierarchy:
Building instance overlay tables: .............
ncelab: *W,DYNLIB: Could not load the library 'libvpi', because of...
libvpi.so: cannot open shared object file: No such file or directory.
ncelab: *W,DYNLIB: Could not load the library 'libpli', because of...
libpli.so: cannot open shared object file: No such file or directory.
$routine1;
|
ncelab: *E,NOTSYF (./hello.v,14|18): not a valid system function name [2.7.3(IEEE)].
$routine2;
|
ncelab: *E,NOTSYF (./hello.v,18|18): not a valid system function name [2.7.3(IEEE)].
$routine3;
|
ncelab: *E,NOTSYF (./hello.v,22|18): not a valid system function name [2.7.3(IEEE)].
....... Done
ncverilog: *E,ELBERR: Error during elaboration (status 1), exiting.
[monika@mona nc_nevrilog]$


Can you suggest wat needs 2 b done!!
Thankx once again for the reply.
Mona


yehj@cradle.com (WestPort) wrote in message news:<263df950.0410021802.193e7bdb@posting.google.com>...

Need to set LD_LIBRARY_PATH to point to the directory where the "my_pli.so" locates.

WestPort

monikatalwar@hotmail.com (Monika Talwar) wrote in message news:<e71b773.0409300529.15655d38@posting.google.com>...

hi all,
i am trying to link my pli with verilog application.
I am able to link if the library is named as libpli.so.

but i dont know how to link some pli with some other name.

i.e. i am unable to link pli library "my_pli.so" with my verilog
application for NC simulator.

May be i need to set some environmant variable for that

I tried to do that with +loadpli1 switch of nc simulator, but didn't
succeeded.
Can anybody help me out for this.

Thanks in advance,

With regards
Mona
The name of the shared library must be libpli.so or you have to provide
a bootstrap function (pls check with the online docu)

-Eyck
 
On Mon, 04 Oct 2004 07:46:01 +0200, Eyck Jentzsch wrote:

Monika Talwar wrote:
Thankx for the reply,
I had already set the LD_LIBRARY_PATH variable to the location of my_pli.so file.
Actually simulator prints teh following messages.

[monika@mona nc_nevrilog]$ ncverilog hello.v
ncverilog: 05.00-p001: (c) Copyright 1995-2003 Cadence Design Systems, Inc.
file: hello.v
module worklib.testing11:v (up-to-date)
errors: 0, warnings: 0
module worklib.TESTING:v (up-to-date)
errors: 0, warnings: 0
Caching library 'worklib' ....... Done
Elaborating the design hierarchy:
Building instance overlay tables: .............
ncelab: *W,DYNLIB: Could not load the library 'libvpi', because of...
libvpi.so: cannot open shared object file: No such file or directory.
ncelab: *W,DYNLIB: Could not load the library 'libpli', because of...
libpli.so: cannot open shared object file: No such file or directory.
$routine1;
|
ncelab: *E,NOTSYF (./hello.v,14|18): not a valid system function name [2.7.3(IEEE)].
$routine2;
|
ncelab: *E,NOTSYF (./hello.v,18|18): not a valid system function name [2.7.3(IEEE)].
$routine3;
|
ncelab: *E,NOTSYF (./hello.v,22|18): not a valid system function name [2.7.3(IEEE)].
....... Done
ncverilog: *E,ELBERR: Error during elaboration (status 1), exiting.
[monika@mona nc_nevrilog]$


Can you suggest wat needs 2 b done!!
Thankx once again for the reply.
Mona


yehj@cradle.com (WestPort) wrote in message news:<263df950.0410021802.193e7bdb@posting.google.com>...

Need to set LD_LIBRARY_PATH to point to the directory where the "my_pli.so" locates.

WestPort

monikatalwar@hotmail.com (Monika Talwar) wrote in message news:<e71b773.0409300529.15655d38@posting.google.com>...

hi all,
i am trying to link my pli with verilog application.
I am able to link if the library is named as libpli.so.

but i dont know how to link some pli with some other name.

i.e. i am unable to link pli library "my_pli.so" with my verilog
application for NC simulator.

May be i need to set some environmant variable for that

I tried to do that with +loadpli1 switch of nc simulator, but didn't
succeeded.
Can anybody help me out for this.

Thanks in advance,

With regards
Mona

The name of the shared library must be libpli.so or you have to provide
a bootstrap function (pls check with the online docu)
You might want to look at the documentation for "-loadvpi <lib>:<boot>"
option. This option will allow you to have the dynamic library <lib>
loaded into memory. The routine <boot> will be called to allow the
different system tasks to be registered.

If you are using the IEEE 1364 standard array "vlog_startup_routines"
array you need to have the library named libvpi.so

--David

 

Welcome to EDABoard.com

Sponsor

Back
Top