Hi forum members
I am new to verilog and I had a question. What if I have a situation where
assign c = a+b;
always_ff @(posedge clk) begin
if(c)
out<=1;
end
And a changes to 1 and b stays 0, at the rising edge of the clk. At that rising edge of clk, to evaluate out, will the new value of c ie 1 be used and make out 1?
Thank you.