I believe the intent is that the slicing begins with the MSB. I will enter a mantis issue for this. Dave ________________________________ From: owner-sv-bc@server.eda.org [mailto:owner-sv-bc@server.eda.org] On Behalf Of Subhamoy Pal Sent: Thursday, January 04, 2007 10:02 AM To: sv-bc@server.eda-stds.org; sv-ec@server.eda-stds.org Subject: [sv-bc] streaming operator example In SV LRM 1800-2005 section no 8.17, I found the following example: "{ << 4 { 6'b11_0101 }} // generates stream 'b0101_11" This, I think, is wrong. "If a slice size is specified, then the data to be streamed are first broken up into slices with the specified number of bits, and then the slices are streamed in the specified order." However the verse does not mention the order of breaking up, so the above stream can be broken up as 'b1101_01 (Left->right) or 'b11_0101 (Right->left). Now stream operator can make the result stream either as 'b01_1101 or as 'b0101_11. Why the first one is not chosen here is not clear to me. Can anyone explain on this? --Subhamoy -- This message has been scanned for viruses and dangerous content by MailScanner <http://www.mailscanner.info/> , and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Thu Jan 4 11:02:22 2007
This archive was generated by hypermail 2.1.8 : Thu Jan 04 2007 - 11:02:37 PST