Warmke, Doug wrote:
>
> Perhaps we also need an erratum to clarify that any items
> imported from a package must be preceded by an appropriate
> import statement in an appropriate scope? In the area of
> importing items from packages, I believe declaration
> before use is very important.
>
> Regards,
> Doug
I second that motion.
A use before importation would be illegal in many cases
anyway as the implicit wire would be a "local" that collides
with the imported symbol.
One further complication would be when typedef identifiers are
imported after the identifier has been used to declare objects
of the imported type. The parser for such a language would
be challenging to implement, and I'd fear for the average quality
of SV-based tools if yacc grammars are hacked to defer typedef
recognition.
Greg Jaxon
Received on Thu Dec 2 14:52:10 2004
This archive was generated by hypermail 2.1.8 : Thu Dec 02 2004 - 14:52:13 PST