layowblue
Advanced Member level 4
for example:
I understand this is not a good coding style. But I'm just curious about the result.
Cadence NCSIM shows bit_result is 1'b0;
Does Systemverilog has a clear say about whether the higher bit of the vector_a should be totally ignored in bit_result calculation?
Thanks
Code:
logic [7:0] vector_a;
logic bit_b;
logic bit_result;
assign vector_a = 8'h20;
assign bit_b = 1'b1;
assign bit_result = vector_a & bit_b;
I understand this is not a good coding style. But I'm just curious about the result.
Cadence NCSIM shows bit_result is 1'b0;
Does Systemverilog has a clear say about whether the higher bit of the vector_a should be totally ignored in bit_result calculation?
Thanks