SlideShare a Scribd company logo
Explain Half Adder and Full
Adder with Truth Table
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
 An adder is a digital logic circuit in electronics that implements addition of
numbers. In many computers and other types of processors, adders are used to
calculate addresses, similar operations and table indices in the ALU and also in
other parts of the processors. These can be built for many numerical
representations like excess-3 or binary coded decimal.
Introduction
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
Adders Are Classified Into Two Types
 Half Adder and Full Adder .
 The half adder circuit has two inputs: A and B.
 It add two input digits and generate a carry and sum.
 The full adder circuit has three inputs: A, B and C.
 It add the three input numbers and generate a carry and sum.
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
Adders Are Classified Into Two Types
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
What is Half Adder and Full Adder Circuit
 The half adder adds two binary digits called as augend and addend.
 Half adder produces two outputs as sum and carry.
 XOR is applied to both inputs to produce sum.
 OR gate is applied to both inputs to produce carry.
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
What is Half Adder and Full Adder Circuit
 The full adder adds 3 one bit numbers.
 Where two can be referred to as operands.
 One can be referred to as bit carried in.
 It produces 2-bit output, and these can be referred to as output
carry and sum.
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
Half Adder
 Using Half Adder, you can design simple addition with the help
of logic gates.
 Let’s see an addition of single bits.
0+0 = 0
0+1 = 1
1+0 = 1
1+1 = 10
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
Half Adder
 These are the least possible single-bit combinations. But the result for 1+1
is 10, the sum result must be re-written as a 2-bit output. Thus, the
equations can be written as
0+0 = 00
0+1 = 01
1+0 = 01
1+1 = 10
 The output ‘1’of ‘10’ is carry-out. ‘SUM’ is the normal output and ‘CARRY’
is the carry-out.
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
Half Adder
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
Half Adder Truth Table
 1-bit adder can be easily implemented with the help of the XOR Gate for
the output ‘SUM’ and an AND Gate for the ‘Carry’.
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
Half Adder Truth Table
 When we need to add, two 8-bit bytes together, it can be done with the help
of a full-adder logic.
 The half-adder is useful when you want to add one binary digit quantities.
 A way to develop a two-binary digit adders would be to make a truth table
and reduce it.
 When you want to make a three binary digit adder, do it again.
 When you decide to make a four digit adder, do it again.
 The circuits would be fast, but development time is slow.
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
Half Adder Truth Table
Image Of Half Adder Logic Circuit
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
Half Adder Truth Table
 The simplest expression uses the exclusive OR function
Sum=AÅB
 An equivalent expression in terms of the basic AND, OR, and NOT is
SUM=A|.B+A.B’
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
Half Adder Truth Table
VHDL Code For half Adder:
entity ha is
Port (a: in STD_LOGIC;
b : in STD_LOGIC;
sha : out STD_LOGIC;
cha : out STD_LOGIC);
end ha;
Architecture Behavioral of ha is
begin
sha <= a xor b ;
cha <= a and b ;
end Behavioral
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
Full Adder
 Full adder is difficult to implement than a half-adder.
 The difference between a half-adder and a full-adder is that the full-adder
has three inputs and two outputs.
 Whereas half adder has only two inputs and two outputs.
 The first two inputs are A and B and the third input is an input carry as C-
IN.
 When a full-adder logic is designed, you string eight of them together to
create a byte-wide adder and cascade the carry bit from one adder to the
next.
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
Full Adder
 The output carry is designated as C-OUT and the normal output is
designated as S.
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
Full Adder Truth Table
 The full adder logic can be implemented with the truth table.
 The output S is an XOR between the input A and the half-adder, SUM
output with B and C-IN inputs.
 Take C-OUT will only be true if any of the two inputs out of the three are
HIGH.
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
Full Adder Truth Table
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
Full Adder Logic Circuit
 We can implement a full adder circuit with the help of two half adder circuits.
 First, half adder will be used to add A and B to produce a partial Sum.
 A second half adder logic can be used to add C-IN to the Sum produced by the
first half adder to get the final S output.
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
Full Adder Logic Circuit
 If any of the half adder logic produces a carry, there will be an output carry.
 A COUT will be an OR function of the half-adder Carry outputs.
 The implementation of larger logic diagrams is possible with full adder logic.
 A simpler schematic representation of a one-bit full adder.
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
Full Adder Logic Circuit
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
Simpler Schematic Representation of a One-Bit Full Adder
Full Adder Design Using Half Adders
 With this type of symbol, we can add two bits together.
 Taking a carry from the next lower order of magnitude, and sending a carry to
the next higher order of magnitude.
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
Full Adder Truth Table
 In a computer, for a multi-bit operation.
 Each bit must be represented by a full adder and must be added
simultaneously.
 To add two 8-bit numbers, you will need 8 full adders which can be formed
by cascading two of the 4-bit blocks.
 Combinational circuit combines the different gates in the circuit.
 Example are encoder, decoder, multiplexer and de multiplexer.
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
Full Adder Truth Table
Characteristics of combinational circuits are as follows.
 The output at any instant of time, depends only on the levels present at
input terminals.
 It does not use any memory. The previous state of input does not have any
effect on the present state of the circuit.
 It can have a number of inputs and m number of outputs.
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
The relationship between the Full-Adder and the Half-Adder:
 Half adder produces results and full adder uses half adder to produce
some other result.
 Similarly, the Full-Adder is of two Half-Adders.
 The Full-Adder is the actual block that we use to create the arithmetic
circuits.
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
VHDL Coding for Full Adder
entity full_add is
Port ( a : in STD_LOGIC;
b : in STD_LOGIC;
cin : in STD_LOGIC;
sum : out STD_LOGIC;
cout : out STD_LOGIC);
end full_add;
Full Adder Truth Table
http://www.elprocus.com/
Explain Half Adder and Full Adder with
Truth Table
VHDL Coding for Full Adder
Architecture Behavioral of full_add is
component ha is
Port ( a : in STD_LOGIC;
b : in STD_LOGIC;
sha : out STD_LOGIC;
cha : out STD_LOGIC);
end component;
signal s_s,c1,c2: STD_LOGIC ;
begin
HA1:ha port map(a,b,s_s,c1);
HA2:ha port map (s_s,cin,sum,c2);
cout<=c1 or c2 ;
end Behavioral;
http://www.elprocus.com/

More Related Content

PPTX
Combinational circuit
PPTX
Half adder and full adder
PPT
decoder and encoder
PPTX
SOP POS, Minterm and Maxterm
PDF
PPT
Digital Logic & Design (DLD) presentation
PPTX
Adder Presentation
PPT
Shift Registers
Combinational circuit
Half adder and full adder
decoder and encoder
SOP POS, Minterm and Maxterm
Digital Logic & Design (DLD) presentation
Adder Presentation
Shift Registers

What's hot (20)

PPT
adder and subtractor
PPTX
Logic gates ppt
PDF
Subtractor
PPTX
Design half ,full Adder and Subtractor
PPTX
Flipflop
PPTX
Fulll Adder
PPTX
Digital electronics logic families
DOCX
Digital Electronics( half adders and full adders)
PPTX
Basic theorems and properties of boolean algebra
PPTX
Combinational Circuits & Sequential Circuits
PPT
Half adder & full adder
PPTX
Hybrid model for Transistor, small signal Analysis
PPTX
Sequential circuits
PPTX
Finite state machines
PPT
Logic gates presentation
PPTX
latches
PPT
carry look ahead adder
PPTX
1.ripple carry adder, full adder implementation using half adder.
PPTX
Adder ppt
PPTX
gate level modeling
adder and subtractor
Logic gates ppt
Subtractor
Design half ,full Adder and Subtractor
Flipflop
Fulll Adder
Digital electronics logic families
Digital Electronics( half adders and full adders)
Basic theorems and properties of boolean algebra
Combinational Circuits & Sequential Circuits
Half adder & full adder
Hybrid model for Transistor, small signal Analysis
Sequential circuits
Finite state machines
Logic gates presentation
latches
carry look ahead adder
1.ripple carry adder, full adder implementation using half adder.
Adder ppt
gate level modeling
Ad

Similar to Explain Half Adder and Full Adder with Truth Table (20)

PPTX
Adder Basic
PPTX
Zah architecture 123
PPT
Half Adder & Full Adder
PPTX
Adders(half aders and full adder with explanation , truth table and circuit d...
PDF
Half Adder - Combinational Circuit
DOCX
Parallel Adder
PDF
half adder and full adder for logic gate
PDF
Computer Organization And Architecture lab manual
PDF
1d-HALF ADDER & FULL ADDER-PPT.pdf
PPTX
PRESENTATION FOR DIGITAL AND LOGIC DESIGN.pptx
PPTX
Half & Full Adder Adder Logic Circuit.pptx
DOCX
8 bit Multiplier Accumulator
PDF
Lect 1 unit 2.pdf
PPTX
Half adder and full adder | Digital electronics | engineering
PDF
Report adders
PPTX
Introduction number systems and conversion
PPTX
dpss 2.pptx
PPT
Adder and subtrctor DLD
PPTX
Computer organization and architecture Chapter 1 (3).PPTX
Adder Basic
Zah architecture 123
Half Adder & Full Adder
Adders(half aders and full adder with explanation , truth table and circuit d...
Half Adder - Combinational Circuit
Parallel Adder
half adder and full adder for logic gate
Computer Organization And Architecture lab manual
1d-HALF ADDER & FULL ADDER-PPT.pdf
PRESENTATION FOR DIGITAL AND LOGIC DESIGN.pptx
Half & Full Adder Adder Logic Circuit.pptx
8 bit Multiplier Accumulator
Lect 1 unit 2.pdf
Half adder and full adder | Digital electronics | engineering
Report adders
Introduction number systems and conversion
dpss 2.pptx
Adder and subtrctor DLD
Computer organization and architecture Chapter 1 (3).PPTX
Ad

More from elprocus (20)

PPTX
Different electronics circuit design process
PPTX
Classification of power supply and its different types
PPTX
How to Choose the Right Microcontrollers For Your Embedded Projects
PPTX
What are the different types of arduino boards
PPTX
Complex Programmable Logic Device (CPLD) Architecture and Its Applications
PPTX
Designing process of printed circuit boards
PPTX
Construction of mica capacitor and its application
PPTX
Difference between npn and pnp transistor.pptx
PPTX
What are the factors we should check before selecting a capacitor
PPTX
Hartley oscillator circuit theory working and application
PPTX
How mobile phone jammer works
PPTX
Different types of transistors and their functions
PPTX
What are the methods of soldering electronic components
PPTX
Varactor diode or varicap diode working and applications
PPTX
Bipolar junction transistors working principle and applications
PPTX
Basics of bypass capacitor, its functions and applications
PPTX
Schottky diode working and applications
PPTX
Tactile sensor working and its types
PPTX
Different types of thyristors and their applications
PPTX
Overview of Crystal Oscillator Circuit Working and Its Application
Different electronics circuit design process
Classification of power supply and its different types
How to Choose the Right Microcontrollers For Your Embedded Projects
What are the different types of arduino boards
Complex Programmable Logic Device (CPLD) Architecture and Its Applications
Designing process of printed circuit boards
Construction of mica capacitor and its application
Difference between npn and pnp transistor.pptx
What are the factors we should check before selecting a capacitor
Hartley oscillator circuit theory working and application
How mobile phone jammer works
Different types of transistors and their functions
What are the methods of soldering electronic components
Varactor diode or varicap diode working and applications
Bipolar junction transistors working principle and applications
Basics of bypass capacitor, its functions and applications
Schottky diode working and applications
Tactile sensor working and its types
Different types of thyristors and their applications
Overview of Crystal Oscillator Circuit Working and Its Application

Recently uploaded (20)

PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
RMMM.pdf make it easy to upload and study
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
GDM (1) (1).pptx small presentation for students
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Classroom Observation Tools for Teachers
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
O7-L3 Supply Chain Operations - ICLT Program
RMMM.pdf make it easy to upload and study
Anesthesia in Laparoscopic Surgery in India
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Computing-Curriculum for Schools in Ghana
Microbial diseases, their pathogenesis and prophylaxis
2.FourierTransform-ShortQuestionswithAnswers.pdf
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
GDM (1) (1).pptx small presentation for students
STATICS OF THE RIGID BODIES Hibbelers.pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Chinmaya Tiranga quiz Grand Finale.pdf
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Final Presentation General Medicine 03-08-2024.pptx
Classroom Observation Tools for Teachers
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
human mycosis Human fungal infections are called human mycosis..pptx

Explain Half Adder and Full Adder with Truth Table

  • 1. Explain Half Adder and Full Adder with Truth Table
  • 2. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table  An adder is a digital logic circuit in electronics that implements addition of numbers. In many computers and other types of processors, adders are used to calculate addresses, similar operations and table indices in the ALU and also in other parts of the processors. These can be built for many numerical representations like excess-3 or binary coded decimal. Introduction
  • 3. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table Adders Are Classified Into Two Types  Half Adder and Full Adder .  The half adder circuit has two inputs: A and B.  It add two input digits and generate a carry and sum.  The full adder circuit has three inputs: A, B and C.  It add the three input numbers and generate a carry and sum.
  • 4. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table Adders Are Classified Into Two Types
  • 5. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table What is Half Adder and Full Adder Circuit  The half adder adds two binary digits called as augend and addend.  Half adder produces two outputs as sum and carry.  XOR is applied to both inputs to produce sum.  OR gate is applied to both inputs to produce carry.
  • 6. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table What is Half Adder and Full Adder Circuit  The full adder adds 3 one bit numbers.  Where two can be referred to as operands.  One can be referred to as bit carried in.  It produces 2-bit output, and these can be referred to as output carry and sum.
  • 7. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table Half Adder  Using Half Adder, you can design simple addition with the help of logic gates.  Let’s see an addition of single bits. 0+0 = 0 0+1 = 1 1+0 = 1 1+1 = 10
  • 8. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table Half Adder  These are the least possible single-bit combinations. But the result for 1+1 is 10, the sum result must be re-written as a 2-bit output. Thus, the equations can be written as 0+0 = 00 0+1 = 01 1+0 = 01 1+1 = 10  The output ‘1’of ‘10’ is carry-out. ‘SUM’ is the normal output and ‘CARRY’ is the carry-out.
  • 9. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table Half Adder
  • 10. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table Half Adder Truth Table  1-bit adder can be easily implemented with the help of the XOR Gate for the output ‘SUM’ and an AND Gate for the ‘Carry’.
  • 11. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table Half Adder Truth Table  When we need to add, two 8-bit bytes together, it can be done with the help of a full-adder logic.  The half-adder is useful when you want to add one binary digit quantities.  A way to develop a two-binary digit adders would be to make a truth table and reduce it.  When you want to make a three binary digit adder, do it again.  When you decide to make a four digit adder, do it again.  The circuits would be fast, but development time is slow.
  • 12. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table Half Adder Truth Table Image Of Half Adder Logic Circuit
  • 13. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table Half Adder Truth Table  The simplest expression uses the exclusive OR function Sum=AÅB  An equivalent expression in terms of the basic AND, OR, and NOT is SUM=A|.B+A.B’
  • 14. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table Half Adder Truth Table VHDL Code For half Adder: entity ha is Port (a: in STD_LOGIC; b : in STD_LOGIC; sha : out STD_LOGIC; cha : out STD_LOGIC); end ha; Architecture Behavioral of ha is begin sha <= a xor b ; cha <= a and b ; end Behavioral
  • 15. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table Full Adder  Full adder is difficult to implement than a half-adder.  The difference between a half-adder and a full-adder is that the full-adder has three inputs and two outputs.  Whereas half adder has only two inputs and two outputs.  The first two inputs are A and B and the third input is an input carry as C- IN.  When a full-adder logic is designed, you string eight of them together to create a byte-wide adder and cascade the carry bit from one adder to the next.
  • 16. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table Full Adder  The output carry is designated as C-OUT and the normal output is designated as S.
  • 17. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table Full Adder Truth Table  The full adder logic can be implemented with the truth table.  The output S is an XOR between the input A and the half-adder, SUM output with B and C-IN inputs.  Take C-OUT will only be true if any of the two inputs out of the three are HIGH.
  • 18. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table Full Adder Truth Table
  • 19. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table Full Adder Logic Circuit  We can implement a full adder circuit with the help of two half adder circuits.  First, half adder will be used to add A and B to produce a partial Sum.  A second half adder logic can be used to add C-IN to the Sum produced by the first half adder to get the final S output.
  • 20. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table Full Adder Logic Circuit  If any of the half adder logic produces a carry, there will be an output carry.  A COUT will be an OR function of the half-adder Carry outputs.  The implementation of larger logic diagrams is possible with full adder logic.  A simpler schematic representation of a one-bit full adder.
  • 21. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table Full Adder Logic Circuit
  • 22. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table Simpler Schematic Representation of a One-Bit Full Adder Full Adder Design Using Half Adders  With this type of symbol, we can add two bits together.  Taking a carry from the next lower order of magnitude, and sending a carry to the next higher order of magnitude.
  • 23. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table Full Adder Truth Table  In a computer, for a multi-bit operation.  Each bit must be represented by a full adder and must be added simultaneously.  To add two 8-bit numbers, you will need 8 full adders which can be formed by cascading two of the 4-bit blocks.  Combinational circuit combines the different gates in the circuit.  Example are encoder, decoder, multiplexer and de multiplexer.
  • 24. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table Full Adder Truth Table Characteristics of combinational circuits are as follows.  The output at any instant of time, depends only on the levels present at input terminals.  It does not use any memory. The previous state of input does not have any effect on the present state of the circuit.  It can have a number of inputs and m number of outputs.
  • 25. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table The relationship between the Full-Adder and the Half-Adder:  Half adder produces results and full adder uses half adder to produce some other result.  Similarly, the Full-Adder is of two Half-Adders.  The Full-Adder is the actual block that we use to create the arithmetic circuits.
  • 26. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table VHDL Coding for Full Adder entity full_add is Port ( a : in STD_LOGIC; b : in STD_LOGIC; cin : in STD_LOGIC; sum : out STD_LOGIC; cout : out STD_LOGIC); end full_add; Full Adder Truth Table
  • 27. http://www.elprocus.com/ Explain Half Adder and Full Adder with Truth Table VHDL Coding for Full Adder Architecture Behavioral of full_add is component ha is Port ( a : in STD_LOGIC; b : in STD_LOGIC; sha : out STD_LOGIC; cha : out STD_LOGIC); end component; signal s_s,c1,c2: STD_LOGIC ; begin HA1:ha port map(a,b,s_s,c1); HA2:ha port map (s_s,cin,sum,c2); cout<=c1 or c2 ; end Behavioral;