RE: [sv-bc] part selects on arbitrary expressions

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Fri Mar 09 2007 - 06:37:05 PST
This is a side-point, but I don't think the LRM defines whether a
bit-select is a scalar or a 1-bit vector. I don't think it has ever
mattered.

Shalom

> > "Making bit and part selects operators that can act on any vector
> value
> > would also allow some strange syntax. Since the result of a bit or
> part
> > select is a vector, there would be nothing to prevent taking another
> bit
> > or part select of that result. That would allow things like
> r[i][j][k],
> > which might look like a reference to a multidimensional array, but
> is
> > just a bit-select of a bit-select of a bit-select.
> 
> I submit that the disturbing thing here is the silent treatment of
> a scalar as a one element vector.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Mar 9 06:37:32 2007

This archive was generated by hypermail 2.1.8 : Fri Mar 09 2007 - 06:37:41 PST