Introduction to DLD

Half Adder Using Multiplexer

A Half Adder can be designed using two 4:1 Multiplexers (MUX) to add two single-bit binary inputs (A and B). A 4:1 multiplexer has four data inputs, two selection lines, and one output. By using two multiplexers, we can generate both Sum and Carry outputs of a Half Adder.

Circuit Diagram of Half Adder Using 4×1 Multiplexer

Half Adder Using Multiplexer (4x1)

Truth Table of Half Adder

A B Sum (S) Carry (C)
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1

Half Adder Using 4:1 Multiplexer

A 4:1 multiplexer has four data inputs (I0, I1, I2, I3) and two selection lines (S1 and S0). To implement a Half Adder, connect inputs A and B to the selection lines of both multiplexers.

1. Sum Output Using 4:1 MUX

The Sum output of a Half Adder is given by the XOR operation:

S = A ⊕ B

Connect the data inputs of the first 4:1 MUX as follows:

  • I0 = 0

  • I1 = 1

  • I2 = 1

  • I3 = 0

Connect A to selection line S1 and B to selection line S0. The MUX generates the Sum output according to the selected data input.

2. Carry Output Using 4:1 MUX

The Carry output of a Half Adder is given by the AND operation:

C = A · B

Connect the data inputs of the second 4:1 MUX as follows:

  • I0 = 0

  • I1 = 0

  • I2 = 0

  • I3 = 1

Connect A to selection line S1 and B to selection line S0. The MUX generates a Carry output of 1 only when both inputs are HIGH.

Working of Half Adder Using Multiplexer

The working of a Half Adder using two 4:1 multiplexers is explained below:

  • When A = 0 and B = 0, both multiplexers select I0. Therefore, Sum = 0 and Carry = 0.

  • When A = 0 and B = 1, both multiplexers select I1. Therefore, Sum = 1 and Carry = 0.

  • When A = 1 and B = 0, both multiplexers select I2. Therefore, Sum = 1 and Carry = 0.

  • When A = 1 and B = 1, both multiplexers select I3. Therefore, Sum = 0 and Carry = 1.

Boolean Expressions of Half Adder

The Boolean expressions for the Half Adder outputs are:

Sum:

S = A ⊕ B = A’B + AB’

Carry:

C = A · B

Conclusion

A Half Adder can be implemented using two 4:1 multiplexers. The first multiplexer generates the Sum output, while the second generates the Carry output. This method demonstrates how multiplexers can implement combinational logic circuits.