Aanjhan R wrote: >> On Wednesday 11 February 2009, Stephen Williams wrote: >>>> Given the apparent bent towards analog in your selection of >>>> candidate projects, might I suggest you take a look at the >>>> "gnucap Code Generator" on the Icarus Verilog projects page? >>>> This is something that Al has been wanting, and also puts to >>>> use some of the nascent analog support in Icarus Verilog >>>> proper. >> I like this one too. It is an enabler that will make other >> enhancements easier, and something that is desperately needed >> as a model compiler. There are lots of people who want it and >> some real experts who can help. > > This sounds exciting too. But I am highly unsure about the things that > I need to learn before taking this project up. The Icarus Project page > says this project remains clear of the Iverilog core. It states that > one might require knowledge of how to "compile" models for gnucap. Can > some more light be thrown here please? Any nice starting pointers? I > can then catch on and start rolling.
For the Icarus Verilog side... Icarus Verilog provides an API for writing code generators. This API is described by the ivl_target.h header file. There are example code generators specifically intended to demonstrate the API use: the tgt-null/ directory has a null code generator, and the tgt-stub/ directory has a stub code generator. The null code generator simply connects to the API and does noting. The stub code generator scans the entire design, displaying what it finds in human-readable form. The idea here would be to write a code generator that uses that API to get at the elaborated Verilog design, then write out source code for a plugin that can be loaded by gnucap. Al would be better able to explain his preferred input format. -- Steve Williams "The woods are lovely, dark and deep. steve at icarus.com But I have promises to keep, http://www.icarus.com and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep." _______________________________________________ geda-user mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

