data/full_repos/permissive/434840709/week12/3.v
1: b"%Error: data/full_repos/permissive/434840709/week12/3.v:8: Cannot find file containing module: 'add16'\n    add16 instance1(a[15:0],b[15:0],0,sum[15:0],cout1);\n    ^~~~~\n        ... Looked in:\n             data/full_repos/permissive/434840709/week12,data/full_repos/permissive/434840709/add16\n             data/full_repos/permissive/434840709/week12,data/full_repos/permissive/434840709/add16.v\n             data/full_repos/permissive/434840709/week12,data/full_repos/permissive/434840709/add16.sv\n             add16\n             add16.v\n             add16.sv\n             obj_dir/add16\n             obj_dir/add16.v\n             obj_dir/add16.sv\n%Error: data/full_repos/permissive/434840709/week12/3.v:9: Cannot find file containing module: 'add16'\n    add16 instance2(a[31:16],b[31:16],0,sumbuff1,cout2);\n    ^~~~~\n%Error: data/full_repos/permissive/434840709/week12/3.v:10: Cannot find file containing module: 'add16'\n    add16 instance3(a[31:16],b[31:16],1,sumbuff2,cout3);\n    ^~~~~\n%Error: Exiting due to 3 error(s)\n"
module top_module(
    input [31:0] a,
    input [31:0] b,
    output [31:0] sum
);
    wire cout1,cout2,cout3;
    wire [15:0] sumbuff1,sumbuff2;
    add16 instance1(a[15:0],b[15:0],0,sum[15:0],cout1);
    add16 instance2(a[31:16],b[31:16],0,sumbuff1,cout2);
    add16 instance3(a[31:16],b[31:16],1,sumbuff2,cout3);
    assign sum[31:16] = cout1 ? sumbuff2:sumbuff1;
endmodule
module top_module(
    input [31:0] a,
    input [31:0] b,
    output [31:0] sum
);

    wire cout1,cout2,cout3;
    wire [15:0] sumbuff1,sumbuff2;
    add16 instance1(a[15:0],b[15:0],0,sum[15:0],cout1);
    add16 instance2(a[31:16],b[31:16],0,sumbuff1,cout2);
    add16 instance3(a[31:16],b[31:16],1,sumbuff2,cout3);
    assign sum[31:16] = cout1 ? sumbuff2:sumbuff1;
endmodule