Skip to content
๐Ÿ”ข Adders

๐Ÿ”ข Adders

Adders circuits are foundational in any complex logic circuit

โš™๏ธ Half Adder

Carry
	    A
+       B
------------
        Sum

Logic Equations $\text{Sum} = A \oplus B$

$\text{Carry} = A \cdot B$

โ„น๏ธ

Notes

  • No carry-in input
  • Cannot be chained directly for multi-bit addition
  • Gate count: 1 XOR, 1 AND
ABSum (AโŠ•B)Carry (AยทB)
0000
0110
1010
1101

More on Subtractors


๐Ÿง  Full Adder

Carry-out   Carry-in
	        A
+           B
-------------------
		    Sum

Logic Equations $\text{Sum} = A \oplus B \oplus C_{in}$

$C_{out} = A \cdot B + (A \oplus B) \cdot C_{in}$

โ„น๏ธ

Notes

  • Can be chained for multi-bit addition
  • Minimal logic avoids redundancy using XOR
  • Exhaustive logic is more intuitive but less gate-efficient
  • Gate count (minimal): 2 XOR, 2 AND, 1 OR
ABCinSumCout
00000
00110
01010
01101
10010
10101
11001
11111

More on Full Adders

Last updated on