RE: [sv-bc] Packed dimension [0:0] - What should happen?

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Wed Oct 15 2008 - 22:40:24 PDT
11.5.1 (Draft 7a) says,

"A bit-select or part-select of a scalar ... shall be illegal."

Shalom


> The problem I have seen is related to identifiers declared as 
> 1-bit scalars:
> 
>   reg foo;
> 
> Some tools accept reference to foo as
> 
>   foo
> 
> and
> 
>   foo[0:0]
> 
> I believe the latter is an artifact of Verilog-XL. IMO, the 
> latter should not be allowed.
> It was a "feature" of Verilog-XL and other tools that were 
> written to comply.
> I don't believe it is described in a LRM.
---------------------------------------------------------------------
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 Wed Oct 15 22:41:27 2008

This archive was generated by hypermail 2.1.8 : Wed Oct 15 2008 - 22:42:29 PDT