Design a full adder. A full adder is a circuit that performs a 1-bit addition receiving an input carry and generating an output carry.
module full_adder(a, b, cin, sum, cout);
input a, b, cin;
output sum, cout;
@a@ and @b@ are the two inputs.
@cin@ is the input carry.
@sum@ is the sum of the two bits and the input carry.
@cout@ is the output carry.