RE: Modified Proposal ... - modified syntax for "export"


Subject: RE: Modified Proposal ... - modified syntax for "export"
From: Kevin Cameron x3251 (Kevin.Cameron@nsc.com)
Date: Fri Nov 22 2002 - 09:31:53 PST


> From: "Warmke, Doug" <doug_warmke@mentorg.com>
>
> > From: Andrzej Litwiniuk [mailto:Andrzej.Litwiniuk@synopsys.com]
> >
> > How about: export [cname =] [modulename::]fname;
> >
> > No new keyword, no redundant 'function', "c = f" reads more
> > smoothly than "f c"?
> >
>
> This is fine with me if John agrees.
>
> Thanks,
> Doug

I still think just quoting the C name works better:

   export [modulename::]fname "cname";

- its more flexible, and less trouble to parse.

BTW: "modulename::" is probably not sufficient since module
declarations can be nested in SV it needs to be something
like:

  modulename{.modulename}::

- where the path is the declaration path (not the instance
path).

Kev.



This archive was generated by hypermail 2b28 : Fri Nov 22 2002 - 09:32:40 PST