data/full_repos/permissive/169574047/generate/generate.srcs/sources_1/new/gencase_adder.v
'utf-8' codec can't decode byte 0xb1 in position 475: invalid start byte
1: b"%Error: data/full_repos/permissive/169574047/generate/generate.srcs/sources_1/new/gencase_adder.v:42: Cannot find file containing module: 'adder_cla'\n        default: adder_cla #(N) adder3(co, sum, a0, a1, ci);\n                 ^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/169574047/generate/generate.srcs/sources_1/new,data/full_repos/permissive/169574047/adder_cla\n             data/full_repos/permissive/169574047/generate/generate.srcs/sources_1/new,data/full_repos/permissive/169574047/adder_cla.v\n             data/full_repos/permissive/169574047/generate/generate.srcs/sources_1/new,data/full_repos/permissive/169574047/adder_cla.sv\n             adder_cla\n             adder_cla.v\n             adder_cla.sv\n             obj_dir/adder_cla\n             obj_dir/adder_cla.v\n             obj_dir/adder_cla.sv\n%Error: Exiting due to 1 error(s)\n"
module gencase_adder(co, sum, a0, a1, ci);

parameter N = 4;


output [N-1:0] sum;
output co;
input [N-1:0] a0,a1;
input ci;




generate
    case(N)

        1: adder_1bit adder1(co, sum, a0, a1, ci);
        2: adder_2bit adder2(co, sum, a0, a1, ci);

        default: adder_cla #(N) adder3(co, sum, a0, a1, ci);
    endcase
endgenerate

endmodule
module gencase_adder(co, sum, a0, a1, ci);


parameter N = 4;


output [N-1:0] sum;
output co;
input [N-1:0] a0,a1;
input ci;




generate
    case(N)

        1: adder_1bit adder1(co, sum, a0, a1, ci);
        2: adder_2bit adder2(co, sum, a0, a1, ci);

        default: adder_cla #(N) adder3(co, sum, a0, a1, ci);
    endcase
endgenerate

endmodule