Re: [myhdl-list] OSS CVC vpi module
Brought to you by:
jandecaluwe
From: Paul.Y.Zhang <yzh...@gm...> - 2014-12-16 23:45:46
|
After some test,I found the memory leak is caused by "vpi_put_value()". - Paul 在 2014/12/17 0:13, Christopher Felton 写道: > On 12/16/2014 9:46 AM, Paul.Y.Zhang wrote: >> Hi, Chris, >> >> Excuse me, I am not very familar with the PLI/VPI technology. I do not >> see any tf_ functions in "myhdl_vpi.c" codes. Waiting for your progress. >> >> - Paul > I didn't look ... I wonder what Steve was referring to > then? > > .chris > >> 在 2014/12/16 22:58, Christopher Felton 写道: >>> On 12/13/2014 7:43 PM, Paul.Y.Zhang wrote: >>>> neccHi, >>>> >>>> I post the cver vpi module (cosimulation/cver/myhdl_vpi.c) to Steve >>>> Meyer (the author of OSS CVC?), to get help of the memory leak issue. >>>> Got the below replay: >>>> >>>> I assume calltf means the PLI uses the old tf_ interface. You need to >>>> translate (or find) a version of your myhdl PLI coded in vpi_. tf_ is obsolete >>>> old 1990s Verilog XL PLI that is deprecated (removed from) IEEE 1364 2005. >>>> The reason tf_ is removed is that it just grew in Cadence XL so nobody could >>>> duplicate behavior. >>> According to the 1364-2005 LRM [1] which contains the >>> PLI/VPI definition, indicates the tf_ functions are >>> deprecated (section 24). >>> >>> Wow - I am a little slow to follow this thread, I didn't >>> realize that the Tachyon re-opened/released their >>> simulator, originally they open-sourced GPLCVER [2] and >>> now they open-sourced CVC [3]. This is pretty amazing >>> because CVC is fast and a great companion with MyHDL (IMO). >>> >>> I will try and experiment replacing the tf_ functions >>> with the OSS CVC and see if the leak can be resolved. >>> >>> Regards, >>> Chris >>> >>> >>> [1] http://ieeexplore.ieee.org/servlet/opac?punumber=10779 >>> (probably can alos be found by googling, note "Verilog" >>> has been merged with SV in the 1800 standard ...) >>> >>> [2] http://sourceforge.net/projects/gplcver/ >>> >>> [3] http://www.tachyon-da.com/ >>> >>> >>> ------------------------------------------------------------------------------ >>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>> with Interactivity, Sharing, Native Excel Exports, App Integration & more >>> Get technology previously reserved for billion-dollar corporations, FREE >>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> myhdl-list mailing list >>> myh...@li... >>> https://lists.sourceforge.net/lists/listinfo/myhdl-list > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > _______________________________________________ > myhdl-list mailing list > myh...@li... > https://lists.sourceforge.net/lists/listinfo/myhdl-list -- Paul |