c2f4f7d ^
1 2 3 4 5 6 7 8 9 10 11 12
module full_adder ( input logic a, input logic b, input logic c, output logic sum, output logic carry ); assign sum = a ^ b ^ c; assign carry = (a & b) | (c & (a ^ b)); endmodule