data/full_repos/permissive/509783883/adderSubtractor/fullAdderXor.v
data/verilator_xmls/8c310df6-2327-468e-8ba8-a689c60df34b.xml
module fullAdderXOR(
input Cin,
input A,
input B,
input M,
output Cout,
output S
);

wire I;

assign I = M^B;

assign S = Cin^(A^I);
assign Cout = Cin*(A^I) + A*I;

endmodule
module fullAdderXOR(
input Cin,
input A,
input B,
input M,
output Cout,
output S
);


wire I;

assign I = M^B;

assign S = Cin^(A^I);
assign Cout = Cin*(A^I) + A*I;

endmodule