data/full_repos/permissive/147265957/src/btnstablizer.v
 line:15: before: "/"
data/verilator_xmls/422a0015-37ff-4a30-b4e7-55af5669d3b7.xml
module btnstablizer (
    clk, btnsig, stabtn
);
    input clk, btnsig;
    output reg stabtn;
    reg lastbtn;
    initial lastbtn = 0;
    always @(posedge clk) begin
        if(btnsig == lastbtn) stabtn = btnsig;
        lastbtn = btnsig;
    end

endmodule
module btnstablizer (
    clk, btnsig, stabtn
);

    input clk, btnsig;
    output reg stabtn;
    reg lastbtn;
    initial lastbtn = 0;
    always @(posedge clk) begin
        if(btnsig == lastbtn) stabtn = btnsig;
        lastbtn = btnsig;
    end

endmodule