A fundamental building block of digital architectures.
Inputs A, B, and Ci (top, middle, bottom) logic sources
A = 1-bit
B = 1-bit
Ci = carry-in bit
S = sum bit
Co = carry-out bit
A B Ci | S Co
————————
0 0 0 | 0 0
0 0 1 | 1 0
0 1 0 | 1 0
0 1 1 | 0 1
1 0 0 | 1 0
1 0 1 | 0 1
1 1 0 | 0 1
1 1 1 | 1 1