Author: M Abo Bakar Aslam

Half Adder

A Half Adder is a fundamental digital circuit that performs addition of two binary bits. It produces two outputs: Sum and Carry. The Sum represents the least significant bit, while Carry represents the overflow.

1. Properties

  1. A Half Adder adds two single-bit inputs.
  2. It produces two outputs: Sum (S) and Carry (C).
  3. Sum is obtained using XOR operation.
  4. Carry is obtained using AND operation.
  5. It does not consider carry input from previous stage.

2. Truth Table - Half Adder

Suppose two bits are named as A and B.
Total Number of Rows = 2^(number of inputs) = 2^2 = 4
Total Numbers: 0, 1, 2, 3
ABCarry (C)Sum (S)
0000
0101
1001
1110

3. Boolean Experssions for All Outputs - Sum and Carray

As there are two outputs (carry and sum). We will create two Boolean expressions. Each question will be based on two inputs. We will use 2-variable K-Map becuase there are two inputs for each of both outputs (Boolean expressions).

a. Sum - Boolean Expression

We placed only 1s in the K-Map and create equation accordingly.
Sum = AB′ + A′B = A ⊕ B
K-Map for Boolean Expression of Sum in Half Adder
Figure 1: K-Map for Boolean Expression of Sum in Half Adder - visualized by edu2skill.com

b. Carry - Boolean Expression

We placed only 1s in the K-Map and create equation accordingly.
Carry = AB
K-Map for Boolean Expression of Carry in Half Adder
Figure 2: K-Map for Boolean Expression of Carry in Half Adder - visualized by edu2skill.com

4. Circuit Diagram

a. Using XOR - Circuit Diagram

The circuit diagram is created by using above equations. We didn't recreate inputs and all expressions (carry and sum) are using same inputs.

circuit diagram for half adder using XOR - visualized by edu2skill.com
Figure 3: Cicuit Diagram for Half Adder using XOR - visualized by edu2skill.com

b. Using Basic-Gates - Circuit Diagram

The circuit diagram can be created by using basic gates. But in this way, number of gates would be increaased

circuit diagram for half adder using Basic Gates - visualized by edu2skill.com
Figure 4: Cicuit Diagram for Half Adder using Basic-Gates - visualized by edu2skill.com