Hi John,
So far, I have been keeping track informally in my own notes. I can ask
Arif to post it on the Web in a proper format.
Surrendra
At 10:48 AM 5/3/2004 -0500, you wrote:
>Hi Surrendra:
>
>I think Hillel pointed out these missing parentheses a while ago.
>This issue may already be "logged".
>
>BTW, is there a list of errata that we can see? I expect we may
>get multiple reports of the same issues and it will be good if
>there is a way to make the list of issues and responses/interpretations
>visible.
>
>John H.
>
> > <html>
> > As you have pointed out, the examples do match the LRM. The syntax in =
> > the
> > examples need to be corrected and filed as errata.<br>
> > Surrendra<br>
> > At 09:10 PM 5/2/2004 -0400, you wrote:<br>
> > <blockquote type=3Dcite class=3Dcite cite><font face=3D"arial" =
> > size=3D2><i>LRM
> > requires parentheses when sequence match item is used. Yet,
> > </i><br>
> > <i>LRM document is not consistent with this requirement. </i><br>
> > 17.8 Manipulating data in a sequence<br>
> > ...<br>
> > sequence_expr ::=3D<br>
> > ...<br>
> > | </font><font face=3D"arial" size=3D2 color=3D"#FF0000"><b>(
> > </b></font><font face=3D"arial" size=3D2>expression_or_dist {,
> > sequence_match_item }
> > </font><font face=3D"arial" size=3D2 =
> > color=3D"#FF0000"><b>)</b></font><font face=3D"arial" size=3D2>
> > [ boolean_abbrev ]<br>
> > | </font><font face=3D"arial" size=3D2 color=3D"#FF0000"><b>(
> > </b></font><font face=3D"arial" size=3D2>sequence_expr {,
> > sequence_match_item}
> > </font><font face=3D"arial" size=3D2 =
> > color=3D"#FF0000"><b>)</b></font><font face=3D"arial" size=3D2>
> > [ sequence_abbrev ]<br>
> > ...<br>
> > <br>
> > a ##1
> > </font><font face=3D"arial" size=3D2 =
> > color=3D"#FF0000"><b>(</b></font><font face=3D"arial" =
> > size=3D2>b[->1],
> > x =3D
> > e</font><font face=3D"arial" size=3D2 =
> > color=3D"#FF0000"><b>)</b></font><font face=3D"arial" size=3D2>
> > ##1 c[*2]<br>
> > sequence data_check;<br>
> > int x;<br>
> > a ##1 </font><font face=3D"arial" size=3D2 =
> > color=3D"#FF0000"><b>!a, x =3D
> > data_in</b></font><font face=3D"arial" size=3D2> ##1 !b[*0:$] ##1 b
> > && (data_out =3D=3D x);<br>
> > endsequence<br>
> > <br>
> > </font><font face=3D"arial" size=3D2 color=3D"#FF0000"><b><i>Shouldn't =
> > that
> > line be with parentheses, such as:</i>
> > </b></font><font face=3D"arial" size=3D2><br>
> > a ##1 </font><font face=3D"arial" size=3D2 =
> > color=3D"#FF0000"><b>(!a, x =3D
> > data_in)</b></font><font face=3D"arial" size=3D2> ##1 !b[*0:$] ##1 b
> > && (data_out =3D=3D x);<br>
> > property data_check_p<br>
> > int x;<br>
> > a ##1 </font><font face=3D"arial" size=3D2 =
> > color=3D"#FF0000"><b>!a, x =3D
> > data_in</b></font><font face=3D"arial" size=3D2> |=3D> !b[*0:$] ##1 =
> > b
> > && (data_out =3D=3D x);<br>
> > endproperty<br>
> > </font><font face=3D"arial" size=3D2 color=3D"#FF0000"><b><i>Shouldn't =
> > that
> > line be with parentheses, such
> > as:</i></b></font><font face=3D"arial" size=3D2><br>
> > a ##1 </font><font face=3D"arial" size=3D2 =
> > color=3D"#FF0000"><b>(!a, x =3D
> > data_in)</b></font><font face=3D"arial" size=3D2> |=3D> !b[*0:$] ##1 =
> > b
> > && (data_out =3D=3D x);<br>
> > ...<br>
> > sequence rep_v;<br>
> > int x;<br>
> > =E2=80=98true,x =3D 0 ##0<br>
> > (!a [* 0:$] ##1
> > </font><font face=3D"arial" size=3D2 color=3D"#FF0000"><b>a, x =3D
> > x+data</b></font><font face=3D"arial" size=3D2>)[*4] ##1 b ##1 c =
> > &&
> > (data_out =3D=3D x);<br>
> > endsequence<br>
> > </font><font face=3D"arial" size=3D2 color=3D"#FF0000"><b><i>Shouldn't =
> > that
> > line be with parentheses, such
> > as:</i></b></font><font face=3D"arial" size=3D2><br>
> > (!a [* 0:$] ##1
> > </font><font face=3D"arial" size=3D2 color=3D"#FF0000"><b>(a, x =3D
> > x+data)</b></font><font face=3D"arial" size=3D2>)[*4] ##1 b ##1 c =
> > &&
> > (data_out =3D=3D x);<br>
> > </font><font face=3D"arial" =
> > size=3D1>---------------------------------------------------------------=
> > --------------<br>
> > Ben Cohen Trainer, Consultant, Publisher (310) 721-4830 <br>
> > <a href=3D"http://www.vhdlcohen.com/">http://www.</a><b>vhdlcohen</b><a =
> > href=3D"http://www.vhdlcohen.com/">.com/</a>
> > vhdlcohen@aol.com <br>
> > Author of following textbooks: <br>
> > * <b>Using PSL/SUGAR for Formal and Dynamic Verification 2nd Edition, =
> > </b>2004 isbn 0-9705394-6-0<br>
> > * <b>Real Chip Design and Verification Using Verilog and VHDL</b>, 2002 =
> > isbn 0-9705394-2-8 <br>
> > * <b>Component Design by Example</b> ", 2001 isbn =
> > 0-9705394-0-1<br>
> > * <b>VHDL Coding Styles and Methodologies, 2nd Edition</b>, 1999 isbn =
> > 0-7923-8474-1<br>
> > * <b>VHDL Answers to Frequently Asked Questions, 2nd Edition</b>, isbn =
> > 0-7923-8115<br>
> > ------------------------------------------------------------------------=
> > ------</font><font face=3D"arial" size=3D2></blockquote>
> > <x-sigsep><p></x-sigsep>
> > <br><br>
> > **********************************************<br>
> > Surrendra A. Dudani<br>
> > Synopsys, Inc.<br>
> > 377 Simarano Drive, Suite 300<br>
> > Marlboro, MA 01752<br><br>
> > Tel: 508-263-8072<br>
> > Fax: 508-263-8123<br>
> > email: Surrendra.Dudani@synopsys.com <br>
> > **********************************************</font></html>
**********************************************
Surrendra A. Dudani
Synopsys, Inc.
377 Simarano Drive, Suite 300
Marlboro, MA 01752
Tel: 508-263-8072
Fax: 508-263-8123
email: Surrendra.Dudani@synopsys.com
**********************************************
Received on Mon May 3 09:12:23 2004
This archive was generated by hypermail 2.1.8 : Mon May 03 2004 - 09:12:26 PDT