data/full_repos/permissive/434840709/lab2/csadd32.v
1: b"%Error: data/full_repos/permissive/434840709/lab2/csadd32.v:50: Cannot find file containing module: 'add1'\n        add1 add1_instance1( .a(a),.b(b),.cin(0),.sum(s1),.cout(c1));\n        ^~~~\n        ... Looked in:\n             data/full_repos/permissive/434840709/lab2,data/full_repos/permissive/434840709/add1\n             data/full_repos/permissive/434840709/lab2,data/full_repos/permissive/434840709/add1.v\n             data/full_repos/permissive/434840709/lab2,data/full_repos/permissive/434840709/add1.sv\n             add1\n             add1.v\n             add1.sv\n             obj_dir/add1\n             obj_dir/add1.v\n             obj_dir/add1.sv\n%Error: data/full_repos/permissive/434840709/lab2/csadd32.v:51: Cannot find file containing module: 'add1'\n        add1 add1_instance2( .a(a),.b(b),.cin(1),.sum(s2),.cout(c2));\n        ^~~~\n%Error: Exiting due to 2 error(s)\n"
module csadd32(
        input    [31:0]a,
        input    [31:0]b,
        input         cin,
        output   [31:0]sum,
        output cout
);
        wire temp;
        add16 add16_instance1(.a(a[15:0]),.b(b[15:0]),.cin(cin),.sum(sum[15:0]),.cout(temp));
        add16 add16_instance2(.a(a[31:16]),.b(b[31:16]),.cin(cin),.sum(sum[31:16]),.cout(cout));

endmodule
module csadd32(
        input    [31:0]a,
        input    [31:0]b,
        input         cin,
        output   [31:0]sum,
        output cout
);

        wire temp;
        add16 add16_instance1(.a(a[15:0]),.b(b[15:0]),.cin(cin),.sum(sum[15:0]),.cout(temp));
        add16 add16_instance2(.a(a[31:16]),.b(b[31:16]),.cin(cin),.sum(sum[31:16]),.cout(cout));

endmodule