rtl_designs

Half Adder

A simple 2 bit Binary adder

Adding two 2-bit binary numbers

 01
 11
---
100
---

The addition of two numbers results in sum and carry. Consider A and B be 2-bit binary numbers that results in 3 bit output where the third bit constitutes to carry bit.

Equation:

Sum = a XOR b
Carry = a and b