ncsim libvpi.so
Hi,
Can you show the exact gcc, ncverilog command lines?
eruisi said:
I am using ncverilog (LDV4) to run a simulation with VPI functions (loadvpi option) but get the following errrors:
ncsim: relocation error: ./libvpi.so: undefined symbol: vpi_get_userdata
I hope you are running on same OS - meaning that the SO file created is for Linux and you are running NC on Linux.
[quote[
I checked vpi_get_userdata prototype in vpi_user.h:
XXTERN void *vpi_get_userdata PROTO_PARAMS((vpiHandle obj));
two places in my VPI codes call this funcion:
arg_array = (vpiHandle *)vpi_get_userdata(systf_h);
I couldn't find anything wrong in calling.
Could someone help me out?[/quote]
Is it only to do with this function or for all other VPI calls as well? Is it possible that you comment these 2 calls and see what happens? Idea is to corner down if it is some issue with just this vpi_get_userdata or generic linking issue.
Also try posting in cdnusers.org, it is monitored by CDN support guys as well.
Regards
Ajeetha, CVC
www.noveldv.com