[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA: Module Names from Icarus Code Generator
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tom Hawkins wrote:
| I'm having quite a bit of success writing a back-end for Icarus. After
| I got used to it, I realized the API is very well thought out.
|
| Quick question: Given an ivl_scope_t, is there a way to determine what
| produced the scope (module, function, task, or named block) and to get
| the name of it, if it is a module?
ivl_scope_type() will return an enumeration of scope types, module,
task, function, block, etc. For modules the ivl_scope_tname returns
the module name, which is different from the instance name.
| Also, is there a definition of the LPMs anywhere? They seem to be
| different than EDIF LPM.
They are a little different from EDIF LPMs, although inspired by
the EDIF LPMs. They are a subset. You're kinda going to have to
poke around to get the details of all the pins of lpms. The ivl_lpm_*
functions have very terse notes on applicability.
- --
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.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBbcHDrPt1Sc2b3ikRAlevAJ9bpP/krqPVD6S0JUctJSy/0nFqpwCglUld
NKyHIv7Lh4Ow8y0O4VB93TU=
=SNvp
-----END PGP SIGNATURE-----