From: Michael McNamara (mac@verisity.com)
Date: Tue Feb 11 2003 - 15:28:11 PST
Precedence: bulk
We never got this definition at 1364-1995 or 1364-2001; and hence we
treated macromodule as an alias for module.
Does Cadence wish to donate rules for this mapping that would occur if
inlining is requested?
Steven Sharp writes:
> Precedence: bulk
>
> I asked someone familiar with these in Verilog-XL and got this response:
>
> >Is this reasonable? I don't know much about macromodules.
> >
> >
> > "The keyword 'macromodule' can be used interchangeably with
> > the keyword 'module'. An implementation may choose to merge
> > definitions that use the 'macromodule' keyword with the
> > definitions of modules that instantiate them instead of creating
> > another level of hierarchy."
>
>
> Well, the one part that I sort of disagree with is that I'm not sure
> that "interchangeably" is really the right word in the first sentence.
> To me, interchangeably implies equivalence.
>
> (I know they probably mean lexically interchangeable, but it
> would sound funny to say, for example, 'trior' and 'triand'
> can be used interchangeably).
>
> Anyway, modules and macromodules are not exactly functionally
> equivalent in Verilog-XL because there are special (and well-defined)
> names generated for the elements of a macromodule that are
> expanded within the instantiating module.
>
> Anyway, I would tend to think that something like this might be better:
>
> The keyword 'macromodule' can be used in place of the keyword
> 'module' to define a module.
>
> Although the new definition is (also) vague enough that it probably
> covers things, it might be possibly be kind of helpful to have
> specific language about the naming differences. For what it's worth,
> I might have described them more like this:
>
> An implementation may choose to inline the contents of modules
> that are declared with the 'macromodule' keyword within the
> modules which instantiate them. In such cases, the naming convention
> used to reference elements within instantiated macromodules may
> differ from that used to reference elements within instantiated
> modules.
>
> - Vince
>
> ------------- End Forwarded Message -------------
>
>
> Steven Sharp
> sharp@cadence.com
>
This archive was generated by hypermail 2.1.4
: Tue Feb 11 2003 - 15:29:14 PST
and
sponsored by Boyd Technology, Inc.