Re: [sv-bc] Editorial error in 21.2.1.7

From: Neil Korpusik <Neil.Korpusik_at_.....>
Date: Wed Jul 29 2009 - 18:41:13 PDT
Hi Shalom,

Your suggested changes made it into draft9.final

Neil




On 07/27/09 23:04, Bresticker, Shalom wrote:
> Hi,
>  
> I have spotted what appears to be a clear editorial error in 21.2.1.7.
> The error appears in the proposal for Mantis 1750 itself.
>  
> The text contains this example:
>  
> *module *top;
> *typedef enum *{ON, OFF} switch_e;
> *typedef struct *{switch_e sw; *string *s;} pair_t;
> pair_t va[int] = '{10:'{OFF, "switch10"}, 20:'{ON, "switch20"}};
> *initial begin*
> $display("va[int] = %p;",va);
> $display("va[int] = %0p;",va);
> $display("va[10].s = %p;", va[10].s);
> *end*
> *endmodule *: top
>  
> This example may print:
>  
> va[int] = '{10:'{sw:OFF, s:"switch10"}, 20:'{sw:ON, s:"switch20"}} ;
> va[int] = {10:{OFF switch10} 20:{ON switch20}} ;
> va[10].s = "switch10";
>  
> The second display line,
> va[int] = {10:{OFF switch10} 20:{ON switch20}} ;
> seems missing many punctionation marks.
>  
> It should probably be
> va[int] = '{10:'{OFF, "switch10"}, 20:'{ON, "switch20"}};
>  
>  
> Also, the title of this subclause should be changed from "Assignment 
> Patterns" to "Assignment pattern format", to be consistent with the 
> titles of 21.2.1.5, 21.2.1.6, and 21.2.1.8.
>  
> Thanks,
> Shalom
>  
> Shalom Bresticker
> Intel LAD DA
> Jerusalem, Israel
> +972  2 589 6582 (office)
> +972 54 721 1033 (cell)
>  
>  
> 
> ---------------------------------------------------------------------
> Intel Israel (74) Limited
> 
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Jul 29 18:42:21 2009

This archive was generated by hypermail 2.1.8 : Wed Jul 29 2009 - 18:43:06 PDT