data/full_repos/permissive/436122533/Lab-1/FullAdder.v
1: b"%Error: data/full_repos/permissive/436122533/Lab-1/FullAdder.v:8: Can't find definition of variable: 'c'\n                                                                : ... Suggested alternative: 'ci'\nand and2(z2,b,c);\n              ^\n%Error: Exiting due to 1 error(s)\n"
module FullAdder(ci,a,b,sum,co);

input ci,a,b;
output sum,co;
wire z1,z2,z3,z4;

and and1(z1,a,b);
and and2(z2,b,c);
and and3(z3,a,c);

or or1(co,z1,z2,z3);

xor xor1(z4,a,b);
xor xor2(sum,z4,c);

endmodule
module FullAdder(ci,a,b,sum,co);


input ci,a,b;
output sum,co;
wire z1,z2,z3,z4;

and and1(z1,a,b);
and and2(z2,b,c);
and and3(z3,a,c);

or or1(co,z1,z2,z3);

xor xor1(z4,a,b);
xor xor2(sum,z4,c);

endmodule