module top_module (
input clk,
input reset,
input [31:0] in,
output [31:0] out
);
reg [31:0] r1;
always@(posedge clk)begin
r1<=in;
if(~reset)out<=(~in&r1|out); //out<=~reset&(~in&r1|out);
else out<=0;
end
endmodule
想问一下注释的内容和if_else有什么区别