Altera_Forum
Honored Contributor
10 years agoIs this a bug?
While using the left-to-right stream operator in Modelsim Altera Strater Edition 10.1e with the following code:
module stream_bug();
bit stream='{32{1'b0}};
initial begin
$monitor("@%0dns stream= %b",$time, stream);
# 1 stream={>>{8'b11010001}};
# 1 stream={>>{ 'b11010001}};
end
endmodule
The output is:# @0ns stream= 00000000000000000000000000000000# @1ns stream= 11010001000000000000000000000000# @2ns stream= 00000000000000000000000011010001 Shouldn't the "stream" value be the same in 1ns and 2ns?:confused: