Implement Full Adder Using 8:1 Multiplexer


πŸ‘€Β Diwas Poudel Β Β  πŸ•’ 13 Sep 2023 Β Β  πŸ“ TECH

Multiplexers and Adders is one of the important circuits in Electronics.

Multiplexer

A multiplexer is a combinational circuit with many data inputs and based on control inputs, single data outputs are generated.

For N:1 MUX, N number of input lines is required, and log2n number of control/selection lines is required.

We can implement various circuits using MUX, to reduce no. of wires, and reduce circuit complexity and cost.

Full Adder

A full adder is a combinational logic circuit that can add two binary digits plus a carry-in digit to produce a sum and a carry-out digit. There total 3 inputs are required and 2 outputs are generated (sum and carry)

Full Adder is used to perform operations like addition or subtractions. Full Adder is used in the ALU and other processor parts to generate memory addresses, and table indices, set the program counter to the next instruction, and many other functions.

Sometimes we will not get Full Adder in the Market and we have to design Full Adder using another Circuit. The multiplexer is one of the circuits for creating a Full Adder.

Also read: Implement 4X16 decoder using 2X4 decoder [ Easy Way]

Let's design Full Adder using 8:1 MUX

Implement Full Adder using 8:1 MUX

First, let's look at the truth table of Full Adder:

A B Cin 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

Here we can clearly notice only 4 outputs, Sum(S) = 1 and are listed below

A B S
0 0 1 = Io = Cin
0 1 1 = I1 = Cin'
1 0 1 = I2 = Cin'
1 1 1 = I3 = Cin
  • When A = 0 , B = 0 then SumΒ  = 1 which is same as Cin
  • When A = 0, B = 1 then Sum = 1 which is the opposite of Cin ie. Cin'
  • When A = 1, B =0 then Sum = 1 which is the opposite of Cin ie. Cin'
  • When A = 1, B = 1 then Sum =1 which is the same as Cin.

Circuit Diagram for Sum:

SUM-logic-for-Full-Adder
fig. Circuit Diagram for Sum Logic

Also, Here we can clearly notice only for 4 outputs, Carry(Co) = 1, and are listed below.

A B Carry
0 0 0
0 1 Cin
1 0 Cin
1 1 1

Circuit Diagram For Carry

Carry-logic-for-Full-Adder
Fig.Carry logic for Full Adder

As a result, we have implemented Full Adder using only 1 MUX and do not need two XOR gates, as we did when we made Full Adder using Basic Logic Gates.

Also read:Β Design 5 to 32 Decoder using 3 to 8 Decoder

Advantages of using an 8:1 multiplexer to implement a full adderΒ 

Let's look advantages of using an 8:1 multiplexer to implement a full adder:

  • Easy to implement
  • Simple Design

Disadvantages of using an 8:1 multiplexer to implement a full adderΒ 

Let's look disadvantages of using an 8:1 multiplexer to implement a full adder:

  • Requires an 8:1 multiplexer which can take space.
  • It may take you more money to build a Full Adder instead of making a full adder using 8:1 MUX

Β