hi guys, can some one explain this one.
[31:0]x;
[31:0]out; //32’b10110000000000000000000000000110
x={<<{out}};
will it left shift just 1 time ?? someone write output for above question. Thanks
hi guys, can some one explain this one.
[31:0]x;
[31:0]out; //32’b10110000000000000000000000000110
x={<<{out}};
will it left shift just 1 time ?? someone write output for above question. Thanks
In reply to subbarao:
Hello, this.operation will perform the reversing on the array out and store it in the array x:
out; 32’b10110000000000000000000000000110
x: 32’b01100000000000000000000000001101
In reply to Rsignori92:
Note that {<<{out}} is not a shift operator, it is a streaming operator (Section 11.4.14 Streaming operators (pack/unpack))
In reply to dave_59:
Yes, agree sorry for having not mentioned it.