a AND b and a OR b.
Inputs: a, b, CarryIn.
Outputs: Sum, CarryOut.
Called a (3,2) adder. A half-adder would only have a and b as inputs.
CarryOut equation (simplified):
CarryOut = (a & b) | (a & CarryIn) | (b & CarryIn)
(3 AND gates feeding one OR gate).
Sum equation: XOR of all three inputs (true when exactly one or all three are 1).
