// One bit full-adder module fa(input A, input B, input Cin, output O, output Cout); assign O = A ^ B ^ Cin; assign Cout = (A & B) | (B & Cin) | (Cin & A); endmodule