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

Re: gEDA-user: Icarus hierarchy dump



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

Dan McMahill wrote:
> Stephen Williams wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Dan McMahill wrote:
>>
>>> Anyone have a PLI routine which works with Icarus Verilog that can dump
>>> out a hierarchy of a design?  I'm looking to get an output like:
>>>
>>>
>>> I1.I3.I7 - mymodule
>>> I1.I4.I7 - mymodule
>>> I1.I3 - mybigmodule
>>> I1.I4 - mybigmodule
>>
>>
>> Shouldn't be too painful to write. Someone with basic VPI skills
>> should be able to knock it off in a few hours.
> 
> Is VPI the way to go or PLI?  I'm completely new to either.  Any
> suggestions of where to get pushed in the right direction?

VPI is sometimes called PLI-2. It is the way to go. The book
"The Verilog PLI Handbook" by Stuart Sutherland is _the_ reference,
you can also get some clues by looking in the vpi/ directory of
the Icarus Verilog source.  All the system tasks and functions
are written using VPI.

- --
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

iD8DBQFEUCFqrPt1Sc2b3ikRAhysAJ0Yr23DQ1tCI9wG3G0PmFnoiAvHHQCgqm8h
PbjVodmNbJsU/XzH3CBbkvQ=
=qB41
-----END PGP SIGNATURE-----