ISSUE 181

Number 181
Category errata
Synopsis 4.3, 9.2.1-3, A.8.4-5: 12 productions better expressed with 3
State lrmdraft
Class superceded
Arrival-DateOct 30 2002
Originator "Brad Pierce" <Brad.Pierce@synopsys.com>
Release 2001b: 4.3 (Syntax 4-2), 9.2.1 (Syntax 9-1), 9.2.2 (Syntax 9-2), 9.2.3 (Syntax 9-3), A.8.4, A.8.5
Environment
Description
Dan Jacobi points out that 12 productions in A.8.4, A.8.5 could
be compressed to 3. I find his versions easier to understand, too.

In primary (A.8.4, Syntax 4-2), the 4 hierarchical_identifier
productions can be compressed to --

hierarchical_identifier {[expression]}
[[range_expression]]

In net_lvalue (A.8.5, Syntax 9-3), the 4 hierarchical_net_identifier
productions can be compressed to --

hierarchical_net_identifier {[constant_expression]}
[[constant_range_expression]]

In variable_lvalue (A.8.5, Syntax 9-3), the 4
hierarchical_variable_identifier
productions can be compressed to --

hierarchical_variable_identifier {[expression]}
[[range_expression]]

-- Brad

Fix
The following is incorporated in and superceded by #123.

In A.8.4 and Syntax 4-2

REPLACE:
bnf production for primary

WITH

primary ::=
number
| hierarchical_identifier { [ expression ] } [ [ range_expression ] ]
| concatenation
| multiple_concatentation
| function_call
| system_function_call
| constant_function_call
| ( mintypmax_expression )
Audit-Trail

From: "Brad Pierce" <Brad.Pierce@synopsys.com>
To: <etf-bugs@boyd.com>
Cc:
Subject: Re: errata/181: PROPOSAL
Date: Mon, 2 Dec 2002 11:27:43 -0800

In A.8.4 and Syntax 4-2 change

primary ::=
number
| hierarchical_identifier
| hierarchical_identifier [expression] {[expression]}
| hierarchical_identifier [expression] {[expression]}
[range_expression]
| hierarchical_identifier [range_expression]
| concatenation
| multiple_concatentation
| function_call
| system_function_call
| constant_function_call
| (mintypmax_expression)

to

primary ::=
number
| hierarchical_identifier {[expression]} [[range_expression]]
| concatenation
| multiple_concatentation
| function_call
| system_function_call
| constant_function_call
| (mintypmax_expression)


In A.8.5 and Syntax 9-3 change

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_concatenation

to
net_lvalue ::=
hierarchical_net_identifier {[constant_expression]}
[[constant_range_expression]]
| net_concatenation


In A.8.5 and Syntax 9-3 change

variable_lvalue ::=
hierarchical_variable_identifier
| hierarchical_variable_identifier [expression] {[expression]}
| hierarchical_variable_identifier [expression] {[expression]}
[range_expression]
| hierarchical_variable_identifier [range_expression]
| variable_concatenation

to

variable_lvalue ::=
hierarchical_variable_identifier {[expression]} [[range_expression]]
| variable_concatenation


From: Shalom.Bresticker@motorola.com
To: etf-bugs@boyd.com
Cc:
Subject: Re: errata/181: PROPOSAL
Date: Tue, 3 Dec 2002 08:09:59 +0200 (IST)

The proposal is acceptable.

I just want to note that errata/53 also modifies net_lvalue and variable_lvalue,
but in a way which is orthogonal to this errata.

Both proposals should be accepted.

Preferably, the proposal should be worded to note specifically which lines are
affected by it.


From: Shalom Bresticker <Shalom.Bresticker@motorola.com>
To: etf-bugs@boyd.com
Cc:
Subject: Re: errata/181: PROPOSAL - 4.3, 9.3 -- 12 productions better expressed
with 3
Date: Tue, 17 Dec 2002 18:38:11 +0200

These changes are included in and superceded by issue 53.

Shalom


> In A.8.5 and Syntax 9-3 change
>
> 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_concatenation
>
> to
> net_lvalue ::=
> hierarchical_net_identifier { '[' constant_expression ']' }
> [ '[' constant_range_expression ']' ]
> | net_concatenation
>
>
> In A.8.5 and Syntax 9-3 change
>
> variable_lvalue ::=
> hierarchical_variable_identifier
> | hierarchical_variable_identifier [expression] {[expression]}
> | hierarchical_variable_identifier [expression] {[expression]}
> [range_expression]
> | hierarchical_variable_identifier [range_expression]
> | variable_concatenation
>
> to
>
> variable_lvalue ::=
> hierarchical_variable_identifier { '[' expression ']' } [ '[' range_expression ']' ]
> | variable_concatenation
>
>
> http://boydtechinc.com/cgi-bin/issueproposal.pl?cmd=view&pr=181

--
Shalom Bresticker Shalom.Bresticker@motorola.com
Design & Reuse Methodology Tel: +972 9 9522268
Motorola Semiconductor Israel, Ltd. Fax: +972 9 9522890
POB 2208, Herzlia 46120, ISRAEL Cell: +972 50 441478

"The devil is in the details."



Unformatted


Hosted by Boyd Technology