RE: [sv-bc] Re: [sv-ec] Updated proposal for 'let' syntax

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Wed Jun 13 2007 - 02:47:22 PDT
Gord,

I understand some of your concerns, but I have trouble with one of them:

> >>>    5)  ... In the scope of declaration, let must be defined
> >>> before used.
> >>>    7) The let expression can be referenced by hierarchical name...

> >>> (5) also directly conflicts with (7).  If (7) is true, then
> >>> the following is legal:
> >>>     module top;
> >>>        int x = top.y;
> >>>        let y = 0;
> >>>     endmodule
> >>> But (5) just claimed that you cannot refer to the let before using
> > it.

[SB] I don't see why you saw a conflict. Just like with variables, in a
non-hierarchical reference, it must be previously declared. If the
reference is hierarchical, the declaration can be anywhere in the
referenced scope.

Your issues with hierarchical references are a separate issue.

Regards,
Shalom

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Jun 13 02:47:47 2007

This archive was generated by hypermail 2.1.8 : Wed Jun 13 2007 - 02:49:51 PDT