[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA: Icarus Verilog snapshot 20030308




ndevtapr@engineering.uiowa.edu said:
> I dont know if it correct or not but since you mentioned in the
> ivl_target.h file, the string returned by ivl_nexus_name is unique for
>  each nexus. 

I'm considering removing the ivl_nexus_name from the ivl_target
API. Where I used to use the ivl_nexus_name, I instead use the
pointer value of the nexus object to get a unique number, and
that is all that is really needed, even intended. See the tgt-vvp
directory for an example of how I changed usages.

Nexus names are really quite expensive to calculate, BTW.

You'll notice that some other ivl_target API functions are marked
in ivl_target.h as obsolete. The ivl_logic_name and similar functions,
for example, are marked obsolete, as the ivl_logic_basename gives the
base name and the ivl_logic_scope confines the applicability of that
name.

By the way, escaped identifiers have the potential of making an
ugly mess of hierarchical names anyhow, so in the end they never
really served the intended purpose. You should avoid asking for
hierarchical names as much as possible. This change was intended
to finally clear up longstanding but subtle bugs in handling of
escaped identifiers.
-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
steve at picturel.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."