[sv-bc] RE: [sv-ec] Query for Iterator index querying

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Mon Aug 06 2007 - 06:43:40 PDT
I think in this example, i[2:0] is not an iterator, so it does not have
an index method, so it should be a compilation error.

Shalom


> Also the language "The index method of an iterator returns 
> the index value of the specified dimension." is not clear to me.
> So for the following testcase what will be value of x?
>  bit i[2:0];
>     int x;
>     initial begin
>         x = i.index();  
>     end

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Aug 6 06:46:11 2007

This archive was generated by hypermail 2.1.8 : Mon Aug 06 2007 - 06:46:37 PDT