RE: [sv-bc] Unclear text in associative array

From: Bresticker, Shalom <shalom.bresticker@intel.com>
Date: Sun Jan 09 2011 - 03:09:45 PST

Hi,

> But "bit [2:0]", unlike "struct packed { bit a; bit; b }", is a
> built-in type, even though it's anonymous. I don't agree that it's
> declaring a type.

[SB] Even though the BNF allows it, the examples in 7.8.4 imply this was not the intent:

"7.8.4 Integral index

For example:

int array_name1 [ integer ];
typedef bit signed [4:1] SNibble;
int array_name2 [ SNibble ];
typedef bit [4:1] UNibble;
int array_name3 [ UNibble ];"

Shalom
---------------------------------------------------------------------
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, and is
believed to be clean.
Received on Sun Jan 9 03:10:46 2011

This archive was generated by hypermail 2.1.8 : Sun Jan 09 2011 - 03:11:09 PST