data/full_repos/permissive/14593708/data/program-counter.v
1: b"%Error: data/full_repos/permissive/14593708/data/program-counter.v:11: Cannot find file containing module: 'arithmetic_adder'\n    arithmetic_adder#(32) pc_adder(out, 4, 0, adder_out, carry);\n    ^~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/14593708/data,data/full_repos/permissive/14593708/arithmetic_adder\n             data/full_repos/permissive/14593708/data,data/full_repos/permissive/14593708/arithmetic_adder.v\n             data/full_repos/permissive/14593708/data,data/full_repos/permissive/14593708/arithmetic_adder.sv\n             arithmetic_adder\n             arithmetic_adder.v\n             arithmetic_adder.sv\n             obj_dir/arithmetic_adder\n             obj_dir/arithmetic_adder.v\n             obj_dir/arithmetic_adder.sv\n%Error: data/full_repos/permissive/14593708/data/program-counter.v:13: Cannot find file containing module: 'multiplexor_2x1'\n    multiplexor_2x1#(32)  pc_mux(enable_overwrite, adder_out, overwrite_value,\n    ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/14593708/data/program-counter.v:16: Cannot find file containing module: 'register'\n    register#(32)         pc_register(muxed_out, enable_count, out);\n    ^~~~~~~~\n%Error: Exiting due to 3 error(s)\n"
module program_counter(input        enable_count,
                       input        enable_overwrite,
                       input[31:0]  overwrite_value,
                       output[31:0] out);

    wire[31:0] adder_out;
    wire[31:0] muxed_out;
    wire       carry;
    wire       write_pc;

    arithmetic_adder#(32) pc_adder(out, 4, 0, adder_out, carry);

    multiplexor_2x1#(32)  pc_mux(enable_overwrite, adder_out, overwrite_value,
                                 muxed_out);

    register#(32)         pc_register(muxed_out, enable_count, out);

endmodule
module program_counter(input        enable_count,
                       input        enable_overwrite,
                       input[31:0]  overwrite_value,
                       output[31:0] out);


    wire[31:0] adder_out;
    wire[31:0] muxed_out;
    wire       carry;
    wire       write_pc;

    arithmetic_adder#(32) pc_adder(out, 4, 0, adder_out, carry);

    multiplexor_2x1#(32)  pc_mux(enable_overwrite, adder_out, overwrite_value,
                                 muxed_out);

    register#(32)         pc_register(muxed_out, enable_count, out);

endmodule