Re: [myhdl-list] OSS CVC vpi module
Brought to you by:
jandecaluwe
From: Henry G. <he...@ca...> - 2014-12-17 17:18:05
|
On 17/12/14 11:53, Paul.Y.Zhang wrote: > What's the meaning "run the whole lot under valgrind"? Valgrind is a hugely useful tool for (among other things) tracking down memory leaks. Basically it monkey patches the code to replace the standard allocator and checks when stuff is not freed. I've used it somewhat for finding leaks in my own code. It's less easy under Python because python causes Valgrind to throw up no end of errors due to its memory pooling and whatnot, but it's not insurmountable: http://stackoverflow.com/questions/20112989/how-to-use-valgrind-with-python (I've done a bit of valgrind under python with reasonable success). Cheers, Henry |