module dff_async(clk,r1,r2,dout);
input clk,r1,r2;
output reg dout;
always@(posedge clk or negedge r1)
begin
if(r2)
dout<=1'b1;
else
dout<=1'b0;
end
endmodule
The above code does not synthesize, and has error:
Assignment under multiple single edges is not supported for synthesis
The code should have been synthesized as shown in the above figure, according to my interpretation. I am not able to find the issue. What is stopping in synthesizing the code?