SlideShare une entreprise Scribd logo
1  sur  23
Combinational logic circuits



                Dr. C. Saritha
            Lecturer in Electronics
         SSBN Degree and PG College
                  Anantapur

December 22, 2012              1
overview
 What is combinational logic circuit ?
 Examples of combinational logic
 circuits
 Binary-adder
 Binary-subtractor
 Binary-multiplier
 Decoders
 Multiplexers

December 22, 2012              2
Combinational logic circuit
 Combinational circuits consists of
 logic gates whose outputs depends on
 the present inputs .They have no
 memory element .
 It consists of input variables , logic
 gates & output variables .




December 22, 2012             3
Binary-Adder
 Half-Adder :
 A combinational circuit that performs
 the addition of two bits at a time is called
 “ Full-Adder ‘’ .
 The input variables designate the
 augend and addend bits ; the output
 variables produce the sum & carry .



December 22, 2012                  4
Circuit & truthtable of Half-Adder
Circuit diagram    Truthtable




December 22, 2012           5
Full-Adder :
 A combinational circuit that performs
 the addition of three bits at a time is
 called “ Full-Adder ’’
 Block diagram & the truth table of Full-
 Adder .




  December 22, 2012             6
Circuit diagrams of full-adder




December 22, 2012          7
Binary-Adder
 A Binary-Adder is a digital circuit that
 produces the arthimatic sum of two
 binary numbers at a time .
 It can also construct by cascading no
 of full-adders we get a N-bit binary-
 adder circuit .
 An N-bit adder requires n full-adders
 with each output carry connected to
 the input carry to the next full-adder .

December 22, 2012                  8
For adding 4-bit binary numbers we
  need four full-adders as shown below :




    consider two binary     numbers
    A=1011 & B =0011




December 22, 2012             9
Binary-subtractor
 Half-subtractor :
 A combinational circuit which performs
 the subtraction of two bits at a time is
 called “ Half-subtractor “ .
 It has two inputs & two outputs . The two
 inputs x & y form the minuend &
 subtrahend & D is the difference output &
 B is the borrow output .


 December 22, 2012               10
Circuit & truthtable of half-
               subtractor
   circuit diagram      Truthtable




December 22, 2012                11
Full subtractor
   A combinational circuit which
 performs the subtraction of three bits
 at a time is called “ Full subtractor “ .
 A full subtractor has three inputs x y
 Bin & two outputs D & Bout .




December 22, 2012                     12
Circuit & truthtable of full subtractor
   circuit diagram    Truthtable




December 22, 2012              13
Binary-subtractor
 The subtraction can be done by taking
 the 2’s compliment of B and adding it
 to A .
 2’s compliment can be obtained by
 taking the 1’s compliment and adding 1
 to least significant bit .
 1’s compliment can be obtained by
 changing 1’s into 0’s & 0’s into 1’s .

December 22, 2012               14
Four-bit adder-subtractor




December 22, 2012            15
Continues…..
 In this circuit the mode input m
 controls the operation . When m=0 , the
 circuit is an adder circuit . When m=1,
 the circuit becomes a subtractor .
 The c & v are two outputs . C is for
 carry & v is for overflow . If v=0 after an
 addition or subtraction ,then no
 overflow occurred and the n-bit result
 is correct . If v=1 , then the result of the
 operation contains n+1 bits .
December 22, 2012                  16
Binary-multiplier
 The multiplication of binary numbers
 is performed in the same way as
 multiplication of decimal numbers .
 If we take the multiplication of 2-bit
 numbers . The multiplicand bits are
 B1 & B0 , the multiplier bits are A1 &
 A0 and the product is C3,C2,C1,C0 .


December 22, 2012                       17
2-bit by 2-bit multiplier circuit




December 22, 2012             18
Decoders
 A decoder is a combinational circuit
 that converts binary information from n
 input lines to a maximum of 2n unique
 output lines .
 Generally a decoder is called as n to m
 line decoder .
 A decoder is used to convert binary
 form to any other desired form .

December 22, 2012              19
Three - to - eight line decoder
 This three - to - eight line decoder is
  used to binary to octal conversions .




December 22, 2012                20
Multiplexer
 multiplexer is a combinational circuit
 that selects binary information from
 one of many input lines and directs it to
 a single output line .
 Normally there are 2n input lines and n
 selection lines whose bit combinations
 determines which input is selected .
 A multiplexer is also called ‘ Data
 selector ’

December 22, 2012                 21
Four - to - one line multiplexer
circuit & truth table :




December 22, 2012           22
THANK YOU


December 22, 2012   23

Contenu connexe

Tendances

Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)ISMT College
 
What is Adder-Half and Full Adder
What is Adder-Half and Full AdderWhat is Adder-Half and Full Adder
What is Adder-Half and Full AdderAdeel Rasheed
 
Decoder Full Presentation
Decoder Full Presentation Decoder Full Presentation
Decoder Full Presentation Adeel Rasheed
 
Design half ,full Adder and Subtractor
Design half ,full Adder and SubtractorDesign half ,full Adder and Subtractor
Design half ,full Adder and SubtractorJaimin@prt.ltd.
 
Multiplexer and DeMultiplexer
Multiplexer and DeMultiplexerMultiplexer and DeMultiplexer
Multiplexer and DeMultiplexerEstiak Khan
 
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Satya P. Joshi
 
Encoder & Decoder
Encoder & DecoderEncoder & Decoder
Encoder & DecoderSyed Saeed
 
Decoders
DecodersDecoders
DecodersRe Man
 
Multiplexers and Demultiplexers
Multiplexers and DemultiplexersMultiplexers and Demultiplexers
Multiplexers and DemultiplexersGargiKhanna1
 

Tendances (20)

Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
 
Digital Logic Design
Digital Logic Design Digital Logic Design
Digital Logic Design
 
MULTIPLEXER
MULTIPLEXERMULTIPLEXER
MULTIPLEXER
 
What is Adder-Half and Full Adder
What is Adder-Half and Full AdderWhat is Adder-Half and Full Adder
What is Adder-Half and Full Adder
 
Decoder Full Presentation
Decoder Full Presentation Decoder Full Presentation
Decoder Full Presentation
 
Design half ,full Adder and Subtractor
Design half ,full Adder and SubtractorDesign half ,full Adder and Subtractor
Design half ,full Adder and Subtractor
 
Chapter 4: Combinational Logic
Chapter 4: Combinational LogicChapter 4: Combinational Logic
Chapter 4: Combinational Logic
 
Subtractor (1)
Subtractor (1)Subtractor (1)
Subtractor (1)
 
Logic gates presentation
Logic gates presentationLogic gates presentation
Logic gates presentation
 
Multiplexer and DeMultiplexer
Multiplexer and DeMultiplexerMultiplexer and DeMultiplexer
Multiplexer and DeMultiplexer
 
Half subtracter
Half subtracterHalf subtracter
Half subtracter
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
 
Encoder & Decoder
Encoder & DecoderEncoder & Decoder
Encoder & Decoder
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
JK flip flops
JK flip flopsJK flip flops
JK flip flops
 
Parity generator & checker
Parity generator & checkerParity generator & checker
Parity generator & checker
 
Decoders
DecodersDecoders
Decoders
 
Encoder and decoder
Encoder and decoderEncoder and decoder
Encoder and decoder
 
Multiplexers and Demultiplexers
Multiplexers and DemultiplexersMultiplexers and Demultiplexers
Multiplexers and Demultiplexers
 

En vedette

Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic CircuitRamasubbu .P
 
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGNSEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGNQAU ISLAMABAD,PAKISTAN
 
Sequential circuits in digital logic design
Sequential circuits in digital logic designSequential circuits in digital logic design
Sequential circuits in digital logic designNallapati Anindra
 
Combinational Logic Circuit
Combinational Logic CircuitCombinational Logic Circuit
Combinational Logic CircuitYong Heui Cho
 
Difference between combinational and
Difference between combinational andDifference between combinational and
Difference between combinational andDamodar Panigrahy
 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic CircuitYong Heui Cho
 
Chapter 4 flip flop for students
Chapter 4 flip flop for studentsChapter 4 flip flop for students
Chapter 4 flip flop for studentsCT Sabariah Salihin
 
CMOS Topic 6 -_designing_combinational_logic_circuits
CMOS Topic 6 -_designing_combinational_logic_circuitsCMOS Topic 6 -_designing_combinational_logic_circuits
CMOS Topic 6 -_designing_combinational_logic_circuitsIkhwan_Fakrudin
 
CMOS logic circuits
CMOS logic circuitsCMOS logic circuits
CMOS logic circuitsMahesh_Naidu
 
Sequential and combinational alu
Sequential and combinational alu Sequential and combinational alu
Sequential and combinational alu Piyush Rochwani
 
KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)mihir jain
 
Sequential Logic Circuits
Sequential Logic CircuitsSequential Logic Circuits
Sequential Logic CircuitsDilum Bandara
 
Encoders and Decoders
Encoders and DecodersEncoders and Decoders
Encoders and DecodersNic JM
 
Lecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicLecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicJames Evangelos
 

En vedette (20)

Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic Circuit
 
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGNSEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
 
Sequential circuits in digital logic design
Sequential circuits in digital logic designSequential circuits in digital logic design
Sequential circuits in digital logic design
 
Digital 1 8
Digital 1 8Digital 1 8
Digital 1 8
 
STLD-Combinational logic design
STLD-Combinational  logic design STLD-Combinational  logic design
STLD-Combinational logic design
 
Combinational Logic Circuit
Combinational Logic CircuitCombinational Logic Circuit
Combinational Logic Circuit
 
Difference between combinational and
Difference between combinational andDifference between combinational and
Difference between combinational and
 
Combinational Logic
Combinational LogicCombinational Logic
Combinational Logic
 
Group 7 combinational logic
Group 7 combinational logicGroup 7 combinational logic
Group 7 combinational logic
 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic Circuit
 
Chapter 4 flip flop for students
Chapter 4 flip flop for studentsChapter 4 flip flop for students
Chapter 4 flip flop for students
 
CMOS Topic 6 -_designing_combinational_logic_circuits
CMOS Topic 6 -_designing_combinational_logic_circuitsCMOS Topic 6 -_designing_combinational_logic_circuits
CMOS Topic 6 -_designing_combinational_logic_circuits
 
CMOS logic circuits
CMOS logic circuitsCMOS logic circuits
CMOS logic circuits
 
Sequential and combinational alu
Sequential and combinational alu Sequential and combinational alu
Sequential and combinational alu
 
KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)
 
ARM CPU
ARM CPUARM CPU
ARM CPU
 
Sequential Logic Circuits
Sequential Logic CircuitsSequential Logic Circuits
Sequential Logic Circuits
 
Encoders and Decoders
Encoders and DecodersEncoders and Decoders
Encoders and Decoders
 
Lecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicLecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential Logic
 
AVR CPU - ATmega328
AVR CPU - ATmega328AVR CPU - ATmega328
AVR CPU - ATmega328
 

Similaire à Combinational circuits

combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuitsBindu Madhavi
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuitsBindu Madhavi
 
Combinationalcircuits
CombinationalcircuitsCombinationalcircuits
CombinationalcircuitsAmjad Khan
 
Combinational Circuits
Combinational CircuitsCombinational Circuits
Combinational CircuitsDilum Bandara
 
Combinational circuits r011
Combinational circuits   r011Combinational circuits   r011
Combinational circuits r011arunachalamr16
 
Unit 3 combinational circuits
Unit 3  combinational circuitsUnit 3  combinational circuits
Unit 3 combinational circuitsAmrutaMehata
 
1. Combinational Logic Circutis with examples (1).pdf
1. Combinational Logic Circutis with examples (1).pdf1. Combinational Logic Circutis with examples (1).pdf
1. Combinational Logic Circutis with examples (1).pdfRohitkumarYadav80
 
1. Combinational Logic Circutis with examples (1).pdf
1. Combinational Logic Circutis with examples (1).pdf1. Combinational Logic Circutis with examples (1).pdf
1. Combinational Logic Circutis with examples (1).pdfRohitkumarYadav80
 
digital electronics..
digital electronics..digital electronics..
digital electronics..Saurav Roy
 
Chapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdfChapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdfTamiratDejene1
 
combinational-circuit (1).ppt
combinational-circuit (1).pptcombinational-circuit (1).ppt
combinational-circuit (1).pptThanmayiKumar
 
Chapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSIChapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSIEr. Nawaraj Bhandari
 
15CS32 ADE Module 3
15CS32 ADE Module 315CS32 ADE Module 3
15CS32 ADE Module 3RLJIT
 
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...Arti Parab Academics
 
E4 unit 2 combitional circuits.pptx
E4 unit 2 combitional circuits.pptxE4 unit 2 combitional circuits.pptx
E4 unit 2 combitional circuits.pptxDeekshithSkandaM
 

Similaire à Combinational circuits (20)

combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuits
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuits
 
Combinationalcircuits
CombinationalcircuitsCombinationalcircuits
Combinationalcircuits
 
Combinational Circuits
Combinational CircuitsCombinational Circuits
Combinational Circuits
 
Combinational circuits r011
Combinational circuits   r011Combinational circuits   r011
Combinational circuits r011
 
Unit 3 combinational circuits
Unit 3  combinational circuitsUnit 3  combinational circuits
Unit 3 combinational circuits
 
1. Combinational Logic Circutis with examples (1).pdf
1. Combinational Logic Circutis with examples (1).pdf1. Combinational Logic Circutis with examples (1).pdf
1. Combinational Logic Circutis with examples (1).pdf
 
1. Combinational Logic Circutis with examples (1).pdf
1. Combinational Logic Circutis with examples (1).pdf1. Combinational Logic Circutis with examples (1).pdf
1. Combinational Logic Circutis with examples (1).pdf
 
Decoders.pptx
Decoders.pptxDecoders.pptx
Decoders.pptx
 
digital electronics..
digital electronics..digital electronics..
digital electronics..
 
B sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lcktB sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lckt
 
Chapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdfChapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdf
 
Chapter-04.pdf
Chapter-04.pdfChapter-04.pdf
Chapter-04.pdf
 
combinational-circuit (1).ppt
combinational-circuit (1).pptcombinational-circuit (1).ppt
combinational-circuit (1).ppt
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
Chapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSIChapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSI
 
15CS32 ADE Module 3
15CS32 ADE Module 315CS32 ADE Module 3
15CS32 ADE Module 3
 
Lecturer mid.ppt
Lecturer mid.pptLecturer mid.ppt
Lecturer mid.ppt
 
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
 
E4 unit 2 combitional circuits.pptx
E4 unit 2 combitional circuits.pptxE4 unit 2 combitional circuits.pptx
E4 unit 2 combitional circuits.pptx
 

Plus de SARITHA REDDY

Unit iv microcontrollers final
Unit iv microcontrollers finalUnit iv microcontrollers final
Unit iv microcontrollers finalSARITHA REDDY
 
Introduction to microprocessors notes
Introduction to microprocessors notesIntroduction to microprocessors notes
Introduction to microprocessors notesSARITHA REDDY
 
8051 data types and directives
8051 data types and directives8051 data types and directives
8051 data types and directivesSARITHA REDDY
 
Unit ii microcontrollers final
Unit ii microcontrollers finalUnit ii microcontrollers final
Unit ii microcontrollers finalSARITHA REDDY
 
Introduction to microprocessor notes
Introduction to microprocessor notesIntroduction to microprocessor notes
Introduction to microprocessor notesSARITHA REDDY
 
8051 data type and directives
8051 data type and directives8051 data type and directives
8051 data type and directivesSARITHA REDDY
 
Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequencySARITHA REDDY
 
Addressing modes of 8051
Addressing modes of 8051Addressing modes of 8051
Addressing modes of 8051SARITHA REDDY
 
I o ports and timers of 8051
I o ports and timers of 8051I o ports and timers of 8051
I o ports and timers of 8051SARITHA REDDY
 
Mos and cmos technology
Mos and cmos technologyMos and cmos technology
Mos and cmos technologySARITHA REDDY
 
Clampers and clippers
Clampers and clippersClampers and clippers
Clampers and clippersSARITHA REDDY
 
Electro Magnetic Wave Propagation
Electro Magnetic Wave PropagationElectro Magnetic Wave Propagation
Electro Magnetic Wave PropagationSARITHA REDDY
 
Satellite communications
Satellite communicationsSatellite communications
Satellite communicationsSARITHA REDDY
 
Electronics in daily life
Electronics in daily lifeElectronics in daily life
Electronics in daily lifeSARITHA REDDY
 
BSc I year practicals
BSc I year practicalsBSc I year practicals
BSc I year practicalsSARITHA REDDY
 
Applications of op amps
Applications of op ampsApplications of op amps
Applications of op ampsSARITHA REDDY
 

Plus de SARITHA REDDY (20)

Unit iv microcontrollers final
Unit iv microcontrollers finalUnit iv microcontrollers final
Unit iv microcontrollers final
 
Introduction to microprocessors notes
Introduction to microprocessors notesIntroduction to microprocessors notes
Introduction to microprocessors notes
 
8051 data types and directives
8051 data types and directives8051 data types and directives
8051 data types and directives
 
Unit ii microcontrollers final
Unit ii microcontrollers finalUnit ii microcontrollers final
Unit ii microcontrollers final
 
Introduction to microprocessor notes
Introduction to microprocessor notesIntroduction to microprocessor notes
Introduction to microprocessor notes
 
8051 data type and directives
8051 data type and directives8051 data type and directives
8051 data type and directives
 
Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequency
 
RT linux
RT linuxRT linux
RT linux
 
Addressing modes of 8051
Addressing modes of 8051Addressing modes of 8051
Addressing modes of 8051
 
I o ports and timers of 8051
I o ports and timers of 8051I o ports and timers of 8051
I o ports and timers of 8051
 
Mos and cmos technology
Mos and cmos technologyMos and cmos technology
Mos and cmos technology
 
Logic families
Logic familiesLogic families
Logic families
 
Clampers and clippers
Clampers and clippersClampers and clippers
Clampers and clippers
 
Linked lists
Linked listsLinked lists
Linked lists
 
Arrays
ArraysArrays
Arrays
 
Electro Magnetic Wave Propagation
Electro Magnetic Wave PropagationElectro Magnetic Wave Propagation
Electro Magnetic Wave Propagation
 
Satellite communications
Satellite communicationsSatellite communications
Satellite communications
 
Electronics in daily life
Electronics in daily lifeElectronics in daily life
Electronics in daily life
 
BSc I year practicals
BSc I year practicalsBSc I year practicals
BSc I year practicals
 
Applications of op amps
Applications of op ampsApplications of op amps
Applications of op amps
 

Combinational circuits

  • 1. Combinational logic circuits Dr. C. Saritha Lecturer in Electronics SSBN Degree and PG College Anantapur December 22, 2012 1
  • 2. overview  What is combinational logic circuit ?  Examples of combinational logic circuits  Binary-adder  Binary-subtractor  Binary-multiplier  Decoders  Multiplexers December 22, 2012 2
  • 3. Combinational logic circuit  Combinational circuits consists of logic gates whose outputs depends on the present inputs .They have no memory element .  It consists of input variables , logic gates & output variables . December 22, 2012 3
  • 4. Binary-Adder  Half-Adder :  A combinational circuit that performs the addition of two bits at a time is called “ Full-Adder ‘’ .  The input variables designate the augend and addend bits ; the output variables produce the sum & carry . December 22, 2012 4
  • 5. Circuit & truthtable of Half-Adder Circuit diagram Truthtable December 22, 2012 5
  • 6. Full-Adder :  A combinational circuit that performs the addition of three bits at a time is called “ Full-Adder ’’  Block diagram & the truth table of Full- Adder . December 22, 2012 6
  • 7. Circuit diagrams of full-adder December 22, 2012 7
  • 8. Binary-Adder  A Binary-Adder is a digital circuit that produces the arthimatic sum of two binary numbers at a time .  It can also construct by cascading no of full-adders we get a N-bit binary- adder circuit .  An N-bit adder requires n full-adders with each output carry connected to the input carry to the next full-adder . December 22, 2012 8
  • 9. For adding 4-bit binary numbers we need four full-adders as shown below : consider two binary numbers A=1011 & B =0011 December 22, 2012 9
  • 10. Binary-subtractor  Half-subtractor :  A combinational circuit which performs the subtraction of two bits at a time is called “ Half-subtractor “ .  It has two inputs & two outputs . The two inputs x & y form the minuend & subtrahend & D is the difference output & B is the borrow output . December 22, 2012 10
  • 11. Circuit & truthtable of half- subtractor  circuit diagram  Truthtable December 22, 2012 11
  • 12. Full subtractor  A combinational circuit which performs the subtraction of three bits at a time is called “ Full subtractor “ .  A full subtractor has three inputs x y Bin & two outputs D & Bout . December 22, 2012 12
  • 13. Circuit & truthtable of full subtractor  circuit diagram  Truthtable December 22, 2012 13
  • 14. Binary-subtractor  The subtraction can be done by taking the 2’s compliment of B and adding it to A .  2’s compliment can be obtained by taking the 1’s compliment and adding 1 to least significant bit .  1’s compliment can be obtained by changing 1’s into 0’s & 0’s into 1’s . December 22, 2012 14
  • 16. Continues…..  In this circuit the mode input m controls the operation . When m=0 , the circuit is an adder circuit . When m=1, the circuit becomes a subtractor .  The c & v are two outputs . C is for carry & v is for overflow . If v=0 after an addition or subtraction ,then no overflow occurred and the n-bit result is correct . If v=1 , then the result of the operation contains n+1 bits . December 22, 2012 16
  • 17. Binary-multiplier  The multiplication of binary numbers is performed in the same way as multiplication of decimal numbers .  If we take the multiplication of 2-bit numbers . The multiplicand bits are B1 & B0 , the multiplier bits are A1 & A0 and the product is C3,C2,C1,C0 . December 22, 2012 17
  • 18. 2-bit by 2-bit multiplier circuit December 22, 2012 18
  • 19. Decoders  A decoder is a combinational circuit that converts binary information from n input lines to a maximum of 2n unique output lines .  Generally a decoder is called as n to m line decoder .  A decoder is used to convert binary form to any other desired form . December 22, 2012 19
  • 20. Three - to - eight line decoder  This three - to - eight line decoder is used to binary to octal conversions . December 22, 2012 20
  • 21. Multiplexer  multiplexer is a combinational circuit that selects binary information from one of many input lines and directs it to a single output line .  Normally there are 2n input lines and n selection lines whose bit combinations determines which input is selected .  A multiplexer is also called ‘ Data selector ’ December 22, 2012 21
  • 22. Four - to - one line multiplexer circuit & truth table : December 22, 2012 22