T
Tommy Thorn
Guest
I just distilled a non-working Verilog simulation down to
module evidence;
reg [4:0] y = 5'h10;
initial $display(y[4], y[1<<2]);
endmodule
which I would have expected to emit 11, but under Icarus Verilog (0.8.2)
it emits 10. Before I file another bug report into a black hole, is
there some reason for y[4] and y[1<<2] to be different?
Thanks
Tommy
module evidence;
reg [4:0] y = 5'h10;
initial $display(y[4], y[1<<2]);
endmodule
which I would have expected to emit 11, but under Icarus Verilog (0.8.2)
it emits 10. Before I file another bug report into a black hole, is
there some reason for y[4] and y[1<<2] to be different?
Thanks
Tommy