The Wayback Machine - https://web.archive.org/web/20241111151844/https://www.geeksforgeeks.org/1-bit-full-adder-using-multiplexer/
Open In App

1 Bit Full Adder using Multiplexer

Last Updated : 10 Sep, 2021
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Prerequisite : Multiplexer, Full adder 

Introduction : 
Multiplexer and Full adder are two different Digital Logic circuits. The Multiplexer is a digital switch. It allows digital information from several sources to be routed onto a single output line. On the other hand, the Full adder circuit performs the addition of three bits and produces the Sum and Carry as an output. Our aim is to build the Full Adder circuit using Multiplexers rather than the usual basic logic gates. 

Step 1 – To implement a full adder using MUX, we need to first create the truth table of the full adder.

  • Truth Table for Full Adder –
Inputs Outputs
A B C-In Sum C-Out
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

Step 2 –  We need to find out the minterms for the Sum and Carry output from the truth table.

For Sum -     f ( A, B, C-In) = ÎĢ ( 1,2,4,7 )
For Carry: -  f ( A, B, C-In) = ÎĢ ( 3,5,6,7 )

Step 3 – Now we need the equations for Sum and Carry. To find that we will create the Design Table for Sum and Carry output.

NOTE : To understand the next parts it is recommended to go through with Implementation of SOP function using multiplexer

Design Table for Sum Output :

Design Table for Sum

For Sum the minterms (1,2,4,7 ), outputs are HIGH so they are circled in the design table. 

  • For D0 only 4 is HIGH which corresponds to A in table, So the D0   input for the MUX(M0) will be A.
  • The same rule follows for the other inputs – D1=A’, D2=A’, D3=A.

Design Table for Carry Output :

Design Table for Carry

For Carry ( 3, 5, 6, 7 ), outputs are HIGH, so they are circled in the design table, just like the design table for sum. 

  • Here for the D0 input 0 and 4, both are LOW, so input to the MUX will be 0 
  • For D3 both 3 and 7 are HIGH, so the input to MUX will be 1.
  • D1 and D2 will follow the previous rule and will be D1=A and D2=A

Now we have all the input information to the MUX, so we can design the logic circuit.

Logic Circuit :

Explanation :

Inputs – 
The input to the M0 MUX is as per the design table of SUM i.e. D0 = A, D1 = A’, D2 = A’, D3 = A
The input to the M1 MUX is as per the design table of CARRY i.e.  D0 = 0, D1 = A, D2 = A, D3 = 1
The selection line of both M0 and M1 are connected with the B & Cin input.

Outputs –
The output of M0 MUX will have the SUM as output and M1 MUX will have CARRY as output.  

Applications:
This circuit is a Full adder circuit, so will have all the applications that of a full adder circuit. Lists below –

  1. The basic building block of on-chip libraries.
  2. In processors and other kinds of computing devices adders are used in the arithmetic logic unit.


Similar Reads

Difference between Half Adder and Full Adder
In this article, we will go through the Difference between the Half adder and Full adder, First, we will briefly describe what is half and full adders with their logical expressions and truth table, and then we will go through their differences between them, At last we will conclude our article with some FAQs. Table of Content What is Half Adder?Wh
6 min read
Difference between Serial Adder and Parallel Adder
A Addition is a fundamental operation in the digital electronics and it is used in a wide range of a applications such as the arithmetic, data processing and control systems. There are the two main types of a adders used in digital circuits are Serial Adder and a Parallel Adder. Understanding the differences between these two types of a adders is e
7 min read
Size of ROM for n-bit Adder/Subtractor
ROM is a read-only memory which is used to store the data. The memory in the ROM is organized as a two-dimensional array of memory cells. The memory will read or write the contents of one of the rows of the array. This row is specified by an Address which are bits. The value read or written is called Data. Figure a) shows a memory array with two ad
3 min read
4-bit binary Adder-Subtractor
In Digital Circuits, A Binary Adder-Subtractor is can do both the addition and subtraction of binary numbers in one circuit itself. The operation is performed depending on the binary value the control signal holds. It is one of the components of the ALU (Arithmetic Logic Unit). What is Binary Adder?A Binary Adder is an electronic circuit that sums
6 min read
Implementation of SOP function using multiplexer
Given a SOP function and a multiplexer is also given. We will need to implement the given SOP function using the given MUX. There are certain steps involved in it: Step 1: Draw the truth table for the given number of variable function. Step 2: Consider one variable as input and remaining variables as select lines. Step 3: Form a matrix where input
1 min read
Implementing 32:1 Multiplexer using 8:1 Multiplexers
A multiplexer is a digital combinational circuit that selects one out of several input lines and directs it to a single output line, hence often alternatively called a data selector. The selection of a particular input line out of several choices takes place on the basis of the selector lines. A multiplexer, in general, has n input lines, log2n sel
3 min read
Multiplexer Design using Verilog HDL
The Verilog Hardware Description Language is an important language in the world of digital design where electronic systems are modeled using it. It provides a way of describing and simulating both the behavior and structure of digital circuits; hence, it is an important tool for engineers in hardware design and verification. Verilog HDL provides fo
7 min read
Full Adder Using Demultiplexer
Full Adder is a combinatorial circuit that computes the sum and carries out two input bits and an input carry. So it has three inputs - the two bits A and B, and the input carry Cin, and two outputs - sum S and output carry Cout. Demultiplexer is a combinational circuit which has 1 input, n selection lines and generates 2n outputs. It is the revers
2 min read
Implementation of Full Adder using NOR Gates
In Digital Logic Circuit, Full Adder is a Digital Logic Circuit that can add three inputs and give two outputs. The three inputs A, B, and input carry as Cin. Cout is represented as output carry and Sum is represented as output. We can say Cout is called the majority 1’s detector, when more than one input is high (logic 1) then its output will be h
8 min read
Implementation of Full Adder using NAND Gates
In Digital Logic Circuit, Full Adder is a Digital Logic Circuit that can add three inputs and give two outputs. The three inputs such as A, B, and input carry as Cin. The output carry is represented as Cout and the normal output is represented as S, Sum. The Cout is also known as the majority 1’s detector, whose output goes high when more than one
9 min read
Implementation of Full Adder Using Half Adders
Implementation of full adder from half adders is possible because the half adders add two 1-bit inputs in full adder we add three 1-bit inputs. To obtain a full adder from a half adder we take the first two inputs and add them and use the sum and carry outputs and the third input to get the final sum and carry output of the full adder. In this arti
5 min read
Full Adder using Verilog HDL
A full adder is a digital circuit in Verilog HDL that adds three binary numbers. It has two inputs for the numbers to be added, A and B, and one Carry-In input, Cin. The outputs are Sum, S, and Carry-Out, Cout. A full adder has been implemented using Verilog as shown in the previously shared code snippet. Problem StatementWrite a Verilog HDL to des
5 min read
Solving multiplexer circuit
The procedure for solving and finding the output function of the given multiplexer is quite simple. Firstly we will discuss the procedure and then illustrate it with examples. Procedure: Firstly truth table is constructed for the given multiplexer. Select lines in multiplexer are considered as input for the truth table. Output in truth table can be
2 min read
Python program to implement 2:4 Multiplexer
Prerequisite : Multiplexers in Digital Logic Introduction : It is a combinational circuit which have many data inputs and single output depending on control or select inputs.​ For N input lines, log n (base2) selection lines, or we can say that for 2n input lines, n selection lines are required. Multiplexers are also known as “Data n selector, para
3 min read
Difference between Multiplexer and Demultiplexer
In this article, we will go through the Difference between Multiplexer and Demultiplexer, First we will start our article with the definition of the multiplexer and demultiplexer in brief with their block diagram, and then we will go through the differences between Multiplexer and Demultiplexer in detail, At last we will conclude our article with s
3 min read
Difference between Multiplexer and Decoder
Both the multiplexer and the decoder operate together to generate signal and data output for various communication and operating channels. Though multiplexers and decoders perform almost identical functions, they differ for a variety of reasons. Before moving into the difference between Multiplexer and Decoder, let's first understand more about the
3 min read
Python program to implement Full Adder
Prerequisite : Full Adder in Digital LogicGiven three inputs of Full Adder A, B,C-IN. The task is to implement the Full Adder circuit and Print output i.e sum and C-Out of three inputs. Full Adder : A Full Adder is a logical circuit that performs an addition operation on three one-bit binary numbers. The full adder produces a sum of the three input
2 min read
Full Adder in Digital Logic
Full Adder is the adder that adds three inputs and produces two outputs. The first two inputs are A and B and the third input is an input carry as C-IN. The output carry is designated as C-OUT and the normal output is designated as S which is SUM. The C-OUT is also known as the majority 1's detector, whose output goes high when more than one input
5 min read
Half Adder and Half Subtractor using NAND NOR gates
Introduction : A Half Adder is a digital circuit that adds two single-bit binary numbers and outputs the sum and carry. It can be implemented using either NAND gates or with NOR gates. When using NAND gates : The sum output is given by A AND B. The carry output is given by the complement of A AND B. ​ ​W​hen NOR gate is used : The sum output is NOR
5 min read
Half Adder Using Verilog
A Half Adder is probably one of the simplest digital circuits you can use in addition of two single-bit binary numbers. The circuit has two inputs: the bits A and B, and two outputs: Sum (S) and Carry (C). The sum represents the addition of the two bits; carry shows the overflow into the next higher bit. The Half Adder used XOR gate for Sum and AND
6 min read
Carry Look-Ahead Adder
The adder produce carry propagation delay while performing other arithmetic operations like multiplication and divisions as it uses several additions or subtraction steps. This is a major problem for the adder and hence improving the speed of addition will improve the speed of all other arithmetic operations. Hence reducing the carry propagation de
5 min read
C++ program to implement Half Adder
Prerequisite : Half Adder in Digital Logic We are given with two inputs A and B. Our task is to implement Half Adder circuit and print the outputs sum and carry of two inputs. Introduction : The Half adder is a combinational circuit which add two1-bit binary numbers which are augend and addend to give the output value along with the carry. The half
2 min read
Serial Binary Adder in Digital Logic
Serial binary adder is a combinational logic circuit that performs the addition of two binary numbers in serial form. Serial binary adder performs bit by bit addition. Two shift registers are used to store the binary numbers that are to be added. A single full adder is used to add one pair of bits at a time along with the carry. The carry output fr
2 min read
Binary Adder with Logic Gates
Binary Adder and logic gates are important elements in digital logic. Binary adders are circuit which adds two binary numbers and results in the sum of the two binary numbers. Logic gates are the circuit in which a signal can pass through if a logic is applied through it. In this article we will discuss about the binary adder with logic gates, bina
8 min read
BCD Adder in Digital Logic
BCD stands for binary coded decimal. It is used to perform the addition of BCD numbers. A BCD digit can have any of ten possible four-bit representations. Suppose, we have two 4-bit numbers A and B. The value of A and B can vary from 0(0000 in binary) to 9(1001 in binary) because we are considering decimal numbers.  The output will vary from 0 to 1
8 min read
Parallel Adder and Parallel Subtractor
Adding and Subtracting numbers is very simple in digital electronics. To do this for quickly and efficiently, Most of the for binary numbers (numbers made of 1 and 0), we use circuits like the Parallel Adder and Parallel Subtractor. These types of circuits can handle more than one bit at a time, making the process faster. Binary AdditionBinary addi
6 min read
Python program to implement Half Adder
Prerequisite: Half Adder in Digital Logic Given two inputs of Half Adder A, B. The task is to implement the Half Adder circuit and Print output i.e sum and carry of two inputs. Half Adder: A half adder is a type of adder, an electronic circuit that performs the addition of numbers. The half adder is able to add two single binary digits and provide
5 min read
Half Adder in Digital Logic
A half adder is a digital logic circuit that performs binary addition of two single-bit binary numbers. It has two inputs, A and B, and two outputs, SUM and CARRY. The SUM output is the least significant bit (LSB) of the result, while the CARRY output is the most significant bit (MSB) of the result, indicating whether there was a carry-over from th
4 min read
Difference Between 8 Bit and 16 Bit Music
Music is described in the form of waves. By varying the amplitude periodically, it can generate a frequency which is called a tone. It is just a sound effect. It has an amplitude and generates a frequency. It has 8-bit music and 16-bit music. 8 - Bit MusicIt refers to any number in the form of a binary from 0 to 255. It is used to create tracks for
4 min read
Difference Between 8 Bit and 16 Bit Microcontroller
Microcontrollers are small, low-power computers designed for specific tasks. They are widely used in embedded systems such as household appliances, automotive systems, medical devices, and industrial control systems. Microcontrollers are available in various configurations and architectures, and they differ in terms of processing power, memory, and
5 min read
Article Tags :
three90RightbarBannerImg