Subject: Re: Modified Proposal ... - modified syntax for "export"
From: Stickley, John (john_stickley@mentorg.com)
Date: Fri Nov 22 2002 - 09:36:19 PST
Team,
Kevin Cameron x3251 wrote:
>I still think just quoting the C name works better:
>
> export [modulename::]fname "cname";
>
>- its more flexible, and less trouble to parse.
>
I like this too.
Doug ? Andrezj ?
>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).
>
Good point Kevin.
Except that the delimiter should be repeated '::'s
since we're talking about nested scopes not nested instances.
How about,
modulename{::modulename}::
I did not realize SV supported this. It's kind of weird.
Why did they do this ?
So, if I understand you correctly is this allowed ?
module outer;
...
module inner;
...
endmodule
endmodule
-- johnS
This email may contain material that is confidential, privileged
and/or attorney work product for the sole use of the intended
recipient. Any review, reliance or distribution by others or
forwarding without express permission is strictly prohibited.
If you are not the intended recipient, please contact the sender
and delete all copies.
__
______ | \
______________________/ \__ / \
\ H Dome ___/ |
John Stickley E | a __ ___/ / \____
Principal Engineer l | l | \ /
Verification Solutions Group | f | \/ ____
Mentor Graphics Corp. - MED C \ -- / /
17 E. Cedar Place a \ __/ / /
Ramsey, NJ 07446 p | / ___/
| / /
mailto:John_Stickley@mentor.com \ /
Phone: (201)818-2585 \ /
---------
This archive was generated by hypermail 2b28 : Fri Nov 22 2002 - 09:39:37 PST