data/full_repos/permissive/198830281/FFs/JKFF/JKFF_SyncClear.v
1: b'%Error: data/full_repos/permissive/198830281/FFs/JKFF/JKFF_SyncClear.v:14: Unsupported: `default_nettype of other than none or wire: `default_nettype None\n`default_nettype None\n^~~~~~~~~~~~~~~~~~~~~\n%Error: Exiting due to 1 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module JKFF_SyncClear (output reg Q, input J, input K, input clr, input clk);

    initial begin
        Q = 0;
    end

    always @ (posedge clk) begin
        if(clr)
            Q <= 0;
        else begin
            case({J,K})
                2'b00: Q <= Q;
                2'b01: Q <= 0;
                2'b10: Q <= 1;
                2'b11: Q <= ~Q;
            endcase
        end
    end
endmodule
module JKFF_SyncClear (output reg Q, input J, input K, input clr, input clk);


    initial begin
        Q = 0;
    end

    always @ (posedge clk) begin
        if(clr)
            Q <= 0;
        else begin
            case({J,K})
                2'b00: Q <= Q;
                2'b01: Q <= 0;
                2'b10: Q <= 1;
                2'b11: Q <= ~Q;
            endcase
        end
    end
endmodule