Re: [myhdl-list] Re: error message of vpi_control, need help
Brought to you by:
jandecaluwe
From: Chun L. Z. <chu...@ho...> - 2004-12-21 05:04:10
|
Jan/All, I found the following part from the vpi_user.h of nc-sim, /************* vpi_control() constants (added with 1364-2000) *************/ #define vpiStop 66 /* execute simulator's $stop */ #define vpiFinish 67 /* execute simulator's $finish */ #define vpiReset 68 /* execute simulator's $reset */ #define vpiSetInteractiveScope 69 /* set simulator's interactive scope */ XXTERN PLI_INT32 vpi_control PROTO_PARAMS((PLI_INT32 operation, ...)); And I didn't find any function with a name of vpi_sim_control from the vpi_user.h, Any other sugguestions? Thanks -Arnold ----- Original Message ----- From: "Jan Decaluwe" <ja...@ja...> To: <myh...@li...> Sent: Monday, December 20, 2004 9:02 PM Subject: [myhdl-list] Re: error message of vpi_control, need help > Arnold wrote: > > Hi, all > > > > I was able to use myhdl as HVL to co-sim with verilog with nc-vlog > > simulator. > > > > I got the following error message at the end of each simulation. > > > > _*/StopSimulation: No more events > > ncsim: relocation error: ../etc/myhdl.so: undefined symbol: vpi_control/*_ > > > > Anybody can give me a clue how to fix it? > > Does it work correctly before the end of the simuation :-) ? > > Could you take a look in the vpi_user.h file that ncsim is using. > The icarus version mentions that there is an alternative name, > called vpi_sim_control for this function. Perhaps ncsim is > using that name and not vpi_control? > > If you get it to work, it would be nice if you could > comment on what you had to do and what changes you had > to make. > > Thanks, Jan > > -- > Jan Decaluwe - Resources bvba - http://jandecaluwe.com > Losbergenlaan 16, B-3010 Leuven, Belgium > Python is fun, and now you can design hardware with it: > http://jandecaluwe.com/Tools/MyHDL/Overview.html > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > myhdl-list mailing list > myh...@li... > https://lists.sourceforge.net/lists/listinfo/myhdl-list > |