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 add(       
        input  a,
        input  b,
        input  cin,
        output sum,
        output cout
);
        wire s1,s2,c1,c2;
        add1 add1_instance1( .a(a),.b(b),.cin(0),.sum(s1),.cout(c1));
        add1 add1_instance2( .a(a),.b(b),.cin(1),.sum(s2),.cout(c2));
        assign sum=cin?s2:s1;   
        assign cout=cin?c2:c1;  
endmodule
module add(       
        input  a,
        input  b,
        input  cin,
        output sum,
        output cout
);

        wire s1,s2,c1,c2;
        add1 add1_instance1( .a(a),.b(b),.cin(0),.sum(s1),.cout(c1));
        add1 add1_instance2( .a(a),.b(b),.cin(1),.sum(s2),.cout(c2));
        assign sum=cin?s2:s1;   
        assign cout=cin?c2:c1;  
endmodule