tbyeoh
Newbie level 5
In behavioral verilog code below, what happens if signals a,b rises at the SAME time?
always@(posedge a)
begin
if (b==1) do this
else do that
end
In modelsim: b takes value 0 and 'do that' occurs. In iverilog, b=1 and 'do this' occurs. So, looks like it is not standardized across compilers.
Any thoughts?
always@(posedge a)
begin
if (b==1) do this
else do that
end
In modelsim: b takes value 0 and 'do that' occurs. In iverilog, b=1 and 'do this' occurs. So, looks like it is not standardized across compilers.
Any thoughts?