Verilog - blocking and non blocking - 2
In the following code, what is the value of 'y' after 'a' changes to 1 (initially a=0, b=0, x=0, y=0)?
always @(a) begin
x = a;
y = x + 1;
endIn the following code, what is the value of 'y' after 'a' changes to 1 (initially a=0, b=0, x=0, y=0)?
always @(a) begin
x = a;
y = x + 1;
end