ISSUE 609

Number 609
Notify-List
Category errata
Synopsis A.8.3-4:string should be a primary not an expression
State lrmdraft
Class errata-simple
Arrival-DateJul 30 2004
Originator Eric Mahurin
Release
Environment
In 4.2.3, strings are clearly described as operands, but in A.8.3, they must be the only thing in the expression. I propose that strings be move from an expression alternative to a string alternative. I have verilog code that used strings as operands in an expression (c == "\n").
Description
Fix
Remove "string" from productions for

constant_expression (Syntax 4-2, A.8.3)
expression (Syntax 4-2, A.8.3)
genvar_expression (new Syntax 12-5, new A.4.2)

Add "string" to productions for

constant_primary (Syntax 4-2, A.8.4)
primary (Syntax 4-2, A.8.4)

Audit-Trail
From: "Brad Pierce" <Brad.Pierce@synopsys.com>
To: <etf-bugs@boyd.com>
Cc:
Subject: RE: errata/609: string should be a primary not an expression
Date: Fri, 30 Jul 2004 10:38:22 -0700

I agree. To see how this was fixed in SystemVerilog (LRM-275), see

http://www.eda.org/sv-ac/hm/att-1254/01-assertions_bnf.htm

-- Brad

-----Original Message-----
From: owner-etf@boyd.com [mailto:owner-etf@boyd.com]On Behalf Of
eric_mahurin@yahoo.com
Sent: Friday, July 30, 2004 10:02 AM
To: etf-bugs@boyd.com
Subject: errata/609: string should be a primary not an expression


>Number: 609
>Notify-List:
>Category: errata
>Originator: Eric Mahurin
>Environment:
In 4.2.3, strings are clearly described as operands, but in A.8.3, they must
be the only thing in the expression. I propose that strings be move from an
expression alternative to a string alternative. I have verilog code that
used strings as operands in an expression (c == "\n").
>Description:


Fix replaced by Shalom.Bresticker@freescale.com on Tue Nov 9 09:44:02 2004

Remove "string" from productions for

constant_expression (Syntax 4-2, A.8.3)
expression (Syntax 4-2, A.8.3)
genvar_expression (new Syntax 12-5, new A.4.2)

Add "string" to productions for

constant_primary (Syntax 4-2, A.8.4)
primary (Syntax 4-2, A.8.4)



Unformatted


Hosted by Boyd Technology