Re: errata/53: net_lvalue BNF allows {x[i]}

From: Dennis Marsa (drm@xilinx.com)
Date: Tue Oct 16 2001 - 09:00:01 PDT


Precedence: bulk

The following reply was made to PR errata/53; it has been noted by GNATS.

From: Dennis Marsa <drm@xilinx.com>
To: Shalom.Bresticker@motorola.com, btf-bugs@boyd.com
Cc:
Subject: Re: errata/53: net_lvalue BNF allows {x[i]}
Date: Tue, 16 Oct 2001 09:56:15 -0600

 Sorry, my mailer did some unfortunate line wrapping in my previous
 reply.
 
 Here it is again without the wrapping....
 
 Dennis Marsa
 Xilinx, Inc.
 
 Dennis Marsa wrote:
> The above seems vague to me on what exactly the proposed fix to the BNF
> should be:
>
> Here's my interpretation, please correct if I am wrong:
>
> * New productions for net_lvalue and variable_lvalue (only last alternative
> in each is different)
>
> net_lvalue ::= hierarchical_net_identifier
> | hierarchical_net_identifier '[' constant_expression ']' { '[' constant_expression ']' }
> | hierarchical_net_identifier '[' constant_expression ']' { '[' constant_expression ']' } '[' constant_range_expression ']'
> | hierarchical_net_identifier '[' constant_range_expression ']'
> | '{' net_lvalue { ',' net_lvalue } '}'
>
> variable_lvalue ::= hierarchical_net_identifier
> | hierarchical_net_identifier '[' expression ']' { '[' expression ']' }
> | hierarchical_net_identifier '[' expression ']' { '[' expression ']' } '[' range_expression ']'
> | hierarchical_net_identifier '[' range_expression ']'
> | '{' variable_lvalue { ',' variable_lvalue } '}'
>
> * Eliminate productions:
>
> net_concatenation
> net_concatenation_value
> variable_concatenation
> variable_concatenation_value
>
> Dennis Marsa
> Xilinx, Inc.



This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:54:47 PDT and
sponsored by Boyd Technology, Inc.