ISSUE 208

Number 208
Category errata
Synopsis 12.4, A.9.4: no negative indexes in hierarchical_identifiers
State lrmdraft
Class errata-discuss
Arrival-DateNov 26 2002
Originator Shalom.Bresticker@motorola.com
Release 2001b: 12.4 (Syntax 12-7), A.9.4
Environment
Description
Arrays of module/gate/udp instances may have
negative indexes.

Yet, when referenced in hierarchical references, only
non-negative numbers may be used.

simple_hierarchical_branch ::=
simple_identifier [ [ unsigned_number ] ]
[ { .simple_identifier [ [ unsigned_number ] ] } ]

escaped_hierarchical_branch ::=
escaped_identifier [ [ unsigned_number ] ]
[ { .escaped_identifier [ [ unsigned_number ] ] } ]

Need to fix these productions.
Fix
In Syntax 12-7 and A.9.4,

CHANGE

simple_hierarchical_branch ::=
simple_identifier [ "[" unsigned_number "]" ]
{ .simple_identifier [ "[" unsigned_number "]" ] }

escaped_hierarchical_branch ::=
escaped_identifier [ "[" unsigned_number "]" ]
{ .escaped_identifier [ "[" unsigned_number "]" ] }

TO

simple_identifier [ "[" constant_expression "]" ]
{ .simple_identifier [ "[" constant_expression "]" ] }

escaped_hierarchical_branch ::=
escaped_identifier [ "[" constant_expression "]" ]
{ .escaped_identifier [ "[" constant_expression "]" ] }

When text is written for issue #247 explaining hierarchical
references to instance arrays, the text should mention that
the ranges and indices must be INTEGER expressions.
Audit-Trail
From: Shalom.Bresticker@motorola.com
To: etf-bugs@boyd.com
Cc:
Subject: Re: errata/208: 12.4, A.9.4: no negative indexes in hierarchical_identifiers
Date: Sun, 15 Dec 2002 22:51:05 +0200 (IST)

Should not any constant expression be allowed?

Shalom

> Arrays of module/gate/udp instances may have
> negative indexes.
>
> Yet, when referenced in hierarchical references, only
> non-negative numbers may be used.
>
> simple_hierarchical_branch ::=
> simple_identifier [ [ unsigned_number ] ]
> [ { .simple_identifier [ [ unsigned_number ] ] } ]
>
> escaped_hierarchical_branch ::=
> escaped_identifier [ [ unsigned_number ] ]
> [ { .escaped_identifier [ [ unsigned_number ] ] } ]
>
> Need to fix these productions.


From: Shalom.Bresticker@motorola.com
To: Brad.Pierce@synopsys.com
Cc: etf-bugs@boyd.com
Subject: Re: errata/208: PROPOSAL - 12.4, A.9.4: no negative indexes in
hierarchical_identifiers
Date: Fri, 19 Sep 2003 12:40:38 +0300 (IDT)

I have no objections, but there are some related issues:

- spaces within the names. Currently forbidden, but we are going to propose
to allow them.

- 209 notes differences between simple_ and escaped_hierarchical_branches,
and the proposal is going to delete these 2 productions and incorporate them
elsewhere.

Shalom


> In Syntax 12-7 and A.9.4,
>
> CHANGE
>
> simple_hierarchical_branch ::=
> simple_identifier [ "[" unsigned_number "]" ]
> { .simple_identifier [ "[" unsigned_number "]" ] }
>
> escaped_hierarchical_branch ::=
> escaped_identifier [ "[" unsigned_number "]" ]
> { .escaped_identifier [ "[" unsigned_number "]" ] }
>
> TO
>
> simple_identifier [ "[" constant_expression "]" ]
> { .simple_identifier [ "[" constant_expression "]" ] }
>
> escaped_hierarchical_branch ::=
> escaped_identifier [ "[" constant_expression "]" ]
> { .escaped_identifier [ "[" constant_expression "]" ] }
>
> http://boydtechinc.com/cgi-bin/issueproposal.pl?cmd=view&pr=208

--
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


Unformatted


Hosted by Boyd Technology