data/full_repos/permissive/132439949/sources_1/new/get_clock_20k.v
[Errno 2] No such file or directory: 'preprocess.output'
data/verilator_xmls/1b325ee2-67f4-406e-8f1f-4841b6e96838.xml
module get_clock_20k(
    input CLOCK,
    output reg new_clk
    );
    
    initial begin
        new_clk = 0;
    end
    
    reg [11:0] COUNT = 12'b0;
    
    always @ (posedge CLOCK) begin
        COUNT <= COUNT + 1;
        new_clk <= (COUNT == 12'b0) ? ~new_clk : new_clk;
    end
    
endmodule
module get_clock_20k(
    input CLOCK,
    output reg new_clk
    );

    
    initial begin
        new_clk = 0;
    end
    
    reg [11:0] COUNT = 12'b0;
    
    always @ (posedge CLOCK) begin
        COUNT <= COUNT + 1;
        new_clk <= (COUNT == 12'b0) ? ~new_clk : new_clk;
    end
    
endmodule