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

From: Steven Sharp <sharp_at_.....>
Date: Wed Oct 15 2008 - 09:27:17 PDT
>I seem to recall that Shalom entered a clarification of what should 
>happen when a packed dimension resolves to [0:0] after passing 
>parameters (I'm not sure if Shalom is on vacation this week due to an 
>Israeli holiday or not).

It is a valid packed dimension that just happens to be one element wide.
There is nothing in the LRM giving that special treatment.


>I am teaching a SystemVerilog class this week and this issue has come 
>up. The engineers say that some tools are dropping a packed dimension 
>that includes [0:0] but that their parameterized code wants to 
>reference the packed dimension.

They should report this bug to the tool vendor.


Steven Sharp
sharp@cadence.com


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Oct 15 09:28:52 2008

This archive was generated by hypermail 2.1.8 : Wed Oct 15 2008 - 09:31:44 PDT