data/full_repos/permissive/108410192/src/FlipFlop.v
 line:38: before: ";"
1: b'%Error: data/full_repos/permissive/108410192/src/FlipFlop.v:97: syntax error, unexpected end\n    end\n    ^~~\n%Error: Cannot continue\n'
module DFF_asr (output reg q, qn,
                input d, clk, reset, set);
    
    always @(posedge clk, posedge reset, posedge set) begin
        if (reset)
            {q, qn} <= 2'b01;
         else begin
            if (set)
                {q, qn} <= 2'b10;
            else
                {q, qn} <= {d, ~d};
         end
    end
    
endmodule
module DFF_asr (output reg q, qn,
                input d, clk, reset, set);

    
    always @(posedge clk, posedge reset, posedge set) begin
        if (reset)
            {q, qn} <= 2'b01;
         else begin
            if (set)
                {q, qn} <= 2'b10;
            else
                {q, qn} <= {d, ~d};
         end
    end
    
endmodule