data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/BanGoc/LuanVan/Hardware/lv_2pl/full_adder.v
data/verilator_xmls/76a24fd2-baf5-4d15-8b1e-4b4d922aab1a.xml
module full_adder
    (
     a,
     b,
     c_i,
     sum,
     c_o
     );




input a;
input b;
input c_i;

output sum;
output c_o;










assign sum = a ^ b ^ c_i;
assign c_o = ((a ^ b) & c_i) | (a & b); 

endmodule
module full_adder
    (
     a,
     b,
     c_i,
     sum,
     c_o
     );





input a;
input b;
input c_i;

output sum;
output c_o;










assign sum = a ^ b ^ c_i;
assign c_o = ((a ^ b) & c_i) | (a & b); 

endmodule