alliance-support '2000
Re: Save the "compiled" design


Frédéric Pétrot (Frederic.Petrot@lip6.fr)
Tue, 8 Feb 2000 17:02:11 +0100

Hi John, On Sat, Feb 05, 2000 at 08:22:33AM -0600, John Price wrote: > I've got a really big design, and it takes a long time for asimut to > compile, flatten, restore, link, etc. my design everytime I want to test > some vectors.. > > I'm I missing something? Is there a way to save the design after asimut > does all this work on it, and ask it to read that file everytime I want to > only change the pattern file? No! (What an answer, ...) Asimut doesn't allow to dump its internal structure before the link phase that loads the patterns. In fact it doesn't allow to dump anything. > Or is there another tool I don't know about? Synopsys ? Just kidding :-) But it does it (the (in)famous .sim file). However, since we're at it, I wrote a hack for some other simulation tool that I work on, and it allows to dump and restore the simulator state at any time by using specific allocation functions. This is a very simple stuff using mmap, and I cannot free memory (but I don't need to in this specific case, so who cares). I saw that some guys did propose an allocation package (under GPL) to do so more intelligently under the GPL, so it could be a solution to link asimut with that malloc package and add two options to dump and restore (this is not portable across systems, as you may imagine). I just found this package on a linux pc: it is called mmalloc, and seems really easy to use (info mmalloc). However, this cannot take place at link time, you got to recompile the whole thing with it (adding one argument to all mallocs/frees, a real pain, but easilly done in modifing with define mutxxx.h that is moreorless included anywhere). Anybody out there has some time to spend on this interesing topic ? I unfortunately have no. See you, Fred -- @----------------------,-,-----,-------------------------------------@ |Ad augusta Frederic PETROT: MC d'ASIM/LIP6/UPMC (Paris VI) | |Per angusta 55-65/201 4 place Jussieu, 75252 Paris Cedex 05 | |Work:331 44275415 Fax:331 44276286 Frederic.Petrot@lip6.fr | |Home:331 47129513 Pager:336 56278636 //asim.lip6.fr/~fred/ | @--------------------------------------------------------------------@

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 22 March 2001.