Hi, LRM does not mention the context of a streaming expression. The table 11-21 describing the context of expression has no mention of streaming expression. For streaming expressions LRM only says- "If the variable is larger than the stream, the stream is left-justified and zero-filled on the right". Is context of streaming expressions self determined or not ? Consider the following assign out[7:0] = {<< 1 {{>> 1 {3'b110}}}}; While evaluating this nested streaming expression , when we evaluate {<<1{{>> 1 {3'b110}}}} If self determined, evaluation of leaf part {{>> 1 {3'b110}}} will be 110 and similarly final out put of expression will be out [7:0] = 01100000 If not, evaluation of {{>> 1 {3'b110}}} will be: 11000000 (padding done as stream size is smaller than variable size) and final out in this case out[7:0] = 00000110 Thanks Rajiv -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Tue Dec 16 23:43:32 2008
This archive was generated by hypermail 2.1.8 : Tue Dec 16 2008 - 23:45:24 PST