data/full_repos/permissive/475231219/module/module_cseladd.v
1: b"%Error: data/full_repos/permissive/475231219/module/module_cseladd.v:9: Cannot find file containing module: 'add16'\n    add16 a1(a[15:0],b[15:0],1'd0,sum[15:0],cout);\n    ^~~~~\n        ... Looked in:\n             data/full_repos/permissive/475231219/module,data/full_repos/permissive/475231219/add16\n             data/full_repos/permissive/475231219/module,data/full_repos/permissive/475231219/add16.v\n             data/full_repos/permissive/475231219/module,data/full_repos/permissive/475231219/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/475231219/module/module_cseladd.v:10: Cannot find file containing module: 'add16'\n    add16 a2(a[31:16],b[31:16],1'd1,s0,);\n    ^~~~~\n%Error: data/full_repos/permissive/475231219/module/module_cseladd.v:11: Cannot find file containing module: 'add16'\n    add16 a3(a[31:16],b[31:16],1'd0,s1,);\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 cout;
    wire [15:0] s0,s1;
    add16 a1(a[15:0],b[15:0],1'd0,sum[15:0],cout);
    add16 a2(a[31:16],b[31:16],1'd1,s0,);
    add16 a3(a[31:16],b[31:16],1'd0,s1,);
    assign sum[31:16] = (cout)?s0:s1;
    
endmodule
module top_module(
    input [31:0] a,
    input [31:0] b,
    output [31:0] sum
);

	wire cout;
    wire [15:0] s0,s1;
    add16 a1(a[15:0],b[15:0],1'd0,sum[15:0],cout);
    add16 a2(a[31:16],b[31:16],1'd1,s0,);
    add16 a3(a[31:16],b[31:16],1'd0,s1,);
    assign sum[31:16] = (cout)?s0:s1;
    
endmodule