[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: How to obtain a generated C++ from Icarus?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Konstantin Savenkov wrote:
| I want to integrate hardware components, written in Verilog, to our simulation
| modeling environment. It seems convinient to translate Verilog module in C++
| and use a proper wrapper, which provides the interface, required by a runtime
| of the environment.
|
| I've found in the archive of this list  that Icarus Verilog can be used to
| translate Verilog source to C++, although that was a rather old message
| (2000).
|
| I've failed to find any mention about such an ability in Icarus docs. Is it
| obsolete? Or it is still possible to use Icarus for such a conversion?

It is obsolete. What you are seeing is mention of the old simulation
engine, which was hopelessly slow.

| Maybe there is another, more correct way to use Icarus-compiled module in
| foreign environment?

For situations very much like your own, I use PLI. This amounts to
a C API to the simulation run time and allows for combining the
Verilog simulation with external behaviors.

- --
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."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCAj7trPt1Sc2b3ikRAnb+AJ9TzFtTIV4Qz+XlJwPCndxs50IgjgCfbCFO
MQw3Ya9C4vjPRGwzO3M0NdQ=
=5/Q4
-----END PGP SIGNATURE-----