How do you plan to solve it?
module dff_async_reset ( input CLK, input RST, input D, output reg Q ); // async active-high reset with posedge sensitivity always @(posedge CLK or posedge RST) begin if(RST==0) begin Q<=D; end else if(RST==1) begin Q<=0; end end endmodule