data/full_repos/permissive/211316121/lab6_3/oneMinute.v
data/verilator_xmls/96d8a37d-7da6-45b8-8e88-387583fad0e8.xml
module oneMinute(
    input clk,
    output reg oneMin
    );
    
    parameter N = 99999999;
    reg [31:0] p;
    
    always @(posedge clk)
    begin
        oneMin <= 0;
        if(p < N)
            p <= p + 1;
        else
        begin
            p <= 0;
            oneMin <= 1;
        end
    end
endmodule
module oneMinute(
    input clk,
    output reg oneMin
    );

    
    parameter N = 99999999;
    reg [31:0] p;
    
    always @(posedge clk)
    begin
        oneMin <= 0;
        if(p < N)
            p <= p + 1;
        else
        begin
            p <= 0;
            oneMin <= 1;
        end
    end
endmodule