RE: [sv-ec] RE: [sv-bc] streaming operator example

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Sat Jan 06 2007 - 23:53:17 PST
I have not read Dave as agreeing that the slicing is sensitive to the
direction of the stream. I have understood Dave to intend that the
slicing is done from left to right first without considering the stream
direction.

Dave, please clarify.

Thanks,
Shalom

> I read Arturo, Dave, and the LRM as agreeing that { << 4
> {10'sb11_0101_1010}}
> moves from right to left cutting off the trailing 4 bits and copying
> them
> in their original order into the next 4 bits of the result, moving
> across
> the result from left to right.  This case yields 10'b1010_0101_11, and
> might
> have "bit unsigned [9:0]" type if used in a self-determined context.
> 
> So the slicing is not a fixed step done "first", it is interleaved and
> done sensitive to the direction of the stream arrows << or >>.  The
"_"
> in the constants was a clear clue to the original intent.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Sat Jan 6 23:55:10 2007

This archive was generated by hypermail 2.1.8 : Sat Jan 06 2007 - 23:55:47 PST