Re: [myhdl-list] OSS CVC vpi module
Brought to you by:
jandecaluwe
From: Paul.Y.Zhang <yzh...@gm...> - 2014-12-17 12:01:01
|
There are two cases causing memory leak: 1. vpi_put_value with delay, such as: vpi_put_value(handle, value_p, time_p, vpiInerialDelay); vpi_put_value(handle, value_p, time_p, vpiTransportDelay); vpi_put_value(handle, value_p, time_p, vpiPureTransportDelay); But seems vpiNoDelay does NOT cause memory leak. 2. callback with reason cbAfterDelay These two cases will cause memory leak. - Paul 在 2014/12/17 19:53, Paul.Y.Zhang 写道: > What's the meaning "run the whole lot under valgrind"? > > - Paul > > 在 2014/12/17 17:42, Henry Gomersall 写道: >> On 16/12/14 23:39, Paul.Y.Zhang wrote: >>> After some test,I found the memory leak is caused by >>> "vpi_put_value()". >> What happens if you run the whole lot under valgrind? >> >> It's nice it's open source, because now there's a chance to fix it! >> >> Henry >> >> ------------------------------------------------------------------------------ >> >> 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 |