SlideShare a Scribd company logo
1 of 42
Download to read offline
Module 4
Digital Electronics
Combinational Circuits
Combinational Circuits
• Combinational Circuit is a logic circuit whose
outputs depends only on present inputs. Which
means a Combinational Circuit doesn’t have
memory of it’s previous outputs.
• Examples : Arithmetic circuits, Decoders,
Multiplexers, Encoders etc.
• A Circuit which have memory of it’s previous
outputs is a sequential circuit.
Half Adder
Truth Table of a H.A.
INPUTS OUTPUTS
A B SUM CARRY
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
for H.A.
• SUM is an XOR function
• CARRY is an AND function
SUM = A XOR B = A ⊕ B
CARRY = AAND B = A.B
Half adder is a combinational circuit which will add two
bits and give two outputs as SUM(S) & CARRY(C)
Half Adder-Logic circuit
Full Adder
Truth Table of a F.A.
Full adder is a combinational circuit which will add three
input bits(A,B,Cin) and give two outputs as SUM(S),
CARRY(Cout)
Full adder-Expression of SUM(S)
SUM = A XOR B XOR Cin = A ⊕ B ⊕ Cin
An XOR function can not be
simplified(minimized) .
Simplification of F.A. SUM expression using K-map
Full adder-Expression of CARRY(Cout)
From the truth table, we can
found the alternate form of Cout
as
Cout=AB+(A ⊕ B).Cin
from the simplification of K-
map,
Cout=AB+ACin+BCin
Simplification of F.A. CARRY expression using K-map
* Any one of the above two Cout
expressions can be taken for the
realization of F.A. logic circuit
Full adder-Circuit & Block diagram
Circuit of F.A. from
simplified SUM &
CARRY (Cout)
expressions.
* 2nd expression of
Cout is taken for this
circuit realization.
Block diagram of F.A.
Full adder using two Half adders
Circuit diagram of F.A. using two H.A.
Full adder using two Half adders
Block diagram of F.A. using two H.A.
Multiplexer(MUX)
• The multiplexer is a combinational logic circuit
designed to switch one of several input lines to a
single common output line by the application of a
control logic.
Truth Table:
Block Diagram:
4×1 Multiplexer
The logical expression of the term Y is as follows:
Y=S1' S0' A0+S1' S0 A1+S1 S0' A2+S1 S0 A3
4×1 Multiplexer
The Logical circuit of Y is
Binary multiplier
• The standard 2 X 2 binary multiplier is as follows.
Encoders & Decoders
• An Encoder is a combinational circuit with
maximum of 2n input lines and ‘n’ output lines. It
will produce a binary code equivalent to the input.
Therefore, the encoder encodes 2n input lines with
‘n’ bits.
• Decoder is a combinational circuit that has ‘n’ input
lines and maximum of 2noutput lines. One of these
outputs will be active High based on the
combination of inputs present. (performs the reverse
operation of Encoder)
Encoder Types
1. Octal to Binary Encoder
2. Hexa to Binary Encoder
3. Decimal to Binary Coded Decimal
(BCD) Encoder
4. Priority Encoder
A1=Y3+Y2
A0=Y3+Y1
4 to 2 Encoder
4 to 2 Encoder
Octal to Binary or 8 to 3 Encoder
Octal to Binary or 8 to 3 Encoder
A2=Y7+Y6+Y5+Y4
A1=Y7+Y6+Y3+Y2
A0=Y7+Y5+Y3+Y1
Octal to Binary or 8 to 3 Encoder
Octal to Binary or 8 to 3 Encoder
Decimalto BCD Encoder
A3 = Y9 + Y8
A2 = Y7 + Y6 + Y5 +Y4
A1 = Y7 + Y6 + Y3 +Y2
A0 = Y9 + Y7 +Y5 +Y3 + Y1
Decimalto BCD Encoder
Decimalto BCD Encoder
Drawbacks of normal Encoder
• There is an ambiguity, when all outputs of encoder
are equal to zero. output may become zero when
there is no input is high (or) output may be zero
when LSB of the input is high.
• If more than one input is active High, then the
encoder produces an output, which may not be the
correct code.
• To overcome these drawbacks, we can go for
priority encoder.
Priority Encoder
• A priority encoder provide n bits of binary coded
output representing the position of the highest
order active input of 2ninputs. If two or more
inputs are high at the same time, the input having
the highest priority will take precedence.
4x2
Priority
Encoder
Y0
Y1
Y2
Y3
A0
A1
V
Priority Encoder
• A 4 to 2 priority encoder has four inputs Y3, Y2,
Y1 & Y0 and two outputs A1 & A0. Here, the
input, Y3 has the highest priority, whereas the
input, Y0 has the lowest priority.
• In this case, even if more than one input is ‘1’ at
the same time, the output will be the (binary)
code corresponding to the input, which is
having higher priority.
Priority Encoder
• We considered one more output, V in order to
know, whether the code available at outputs is
valid or not.
• If at least one input of the encoder is ‘1’, then
the code available at outputs is a valid one. In
this case, the output, V will be equal to 1.
• If all the inputs of encoder are ‘0’, then the code
available at outputs is not a valid one. In this
case, the output, V will be equal to 0.
Priority Encoder Design-Truth table
Priority Encoder Design
• K-map based simplification of expressions for
each output.
K-map for
simplification of
O/P expression A0
A0=Y3+Y2′Y1
Priority Encoder Design
• K-map for simplification of O/P expression A1
A1=Y3+Y2
From the truth table, Boolean function of output
‘V’ as
V=Y3+Y2+Y1+Y0
Simplified output expressions for circuit design:
A0=Y3+Y2′Y1
A1=Y3+Y2
V=Y3+Y2+Y1+Y0
Priority Encoder Design
Logic circuit of 4 by 2 priority encoder
Priority Encoder Design
Code converters-Gray code converter
• The gray code is a non weighted code. It is a unit
distance code because, the successive gray code
differs in one bit position only . It is also referred
as cyclic code.
• It is a reflective code. An n-bit Gray code can be
obtained by reflecting an n-1 bit code about an axis
after 2n-1 rows, and putting the MSB of 0 above the
axis and the MSB of 1 below the axis.
4-bit binary and Gray code truth table
4-bit binary to Gray code converter Design
• A 4-bit binary to Gray code converter has 4-
inputs in binary(A,B,C,D) and 4-outputs in
gray(G1,G2,G3,G4).
• Simplified output expressions for G1,G2,G3,G4
can be obtained form K-map based simplification.
• Logic circuit for 4-bit binary to gray converter
can be designed using simplified output
expressions.
• Simplification of output G1 using K-map
4-bit binary to Gray code converter Design
• Simplification of output G2 using K-map
4-bit binary to Gray code converter Design
• Simplification of output G3 using K-map
4-bit binary to Gray code converter Design
4-bit binary to Gray code converter Design
• Simplification of output G4 using K-map
Logic circuit for 4-bit binary to gray code converter
4-bit binary to Gray code converter Design

More Related Content

Similar to Combinational Circuits PPT.pdf

combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuitsBindu Madhavi
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuitsBindu Madhavi
 
Computer Architecture_Encoders NOTES.docx
Computer Architecture_Encoders NOTES.docxComputer Architecture_Encoders NOTES.docx
Computer Architecture_Encoders NOTES.docxSangitaBose2
 
SESSION 2.ppt
SESSION 2.pptSESSION 2.ppt
SESSION 2.pptSaranya S
 
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
 
Chapter 4 combinational circuit
Chapter 4 combinational circuit Chapter 4 combinational circuit
Chapter 4 combinational circuit GulAhmad16
 
CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design )
CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design ) CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design )
CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design ) Sefat Ahammed Shovo
 
Chapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdfChapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdfTamiratDejene1
 
digital logic circuits, digital component
 digital logic circuits, digital component digital logic circuits, digital component
digital logic circuits, digital componentRai University
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits DrSonali Vyas
 
B.sc cs-ii-u-1.4 digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital componentB.sc cs-ii-u-1.4 digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital componentRai University
 

Similar to Combinational Circuits PPT.pdf (20)

UNIT3.3.pdf
UNIT3.3.pdfUNIT3.3.pdf
UNIT3.3.pdf
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
presentation.pptx
presentation.pptxpresentation.pptx
presentation.pptx
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuits
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuits
 
Computer Architecture_Encoders NOTES.docx
Computer Architecture_Encoders NOTES.docxComputer Architecture_Encoders NOTES.docx
Computer Architecture_Encoders NOTES.docx
 
SESSION 2.ppt
SESSION 2.pptSESSION 2.ppt
SESSION 2.ppt
 
Chapter-04.pdf
Chapter-04.pdfChapter-04.pdf
Chapter-04.pdf
 
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...
 
STLD-Combinational logic design
STLD-Combinational  logic design STLD-Combinational  logic design
STLD-Combinational logic design
 
Chapter 4 combinational circuit
Chapter 4 combinational circuit Chapter 4 combinational circuit
Chapter 4 combinational circuit
 
11.ppt
11.ppt11.ppt
11.ppt
 
CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design )
CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design ) CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design )
CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design )
 
Chapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdfChapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdf
 
Decoders
DecodersDecoders
Decoders
 
digital logic circuits, digital component
 digital logic circuits, digital component digital logic circuits, digital component
digital logic circuits, digital component
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
 
B.sc cs-ii-u-1.4 digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital componentB.sc cs-ii-u-1.4 digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital component
 
ATT SMK.pptx
ATT SMK.pptxATT SMK.pptx
ATT SMK.pptx
 
unit 5 (1).pptx
unit 5 (1).pptxunit 5 (1).pptx
unit 5 (1).pptx
 

Recently uploaded

Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 

Recently uploaded (20)

Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 

Combinational Circuits PPT.pdf

  • 2. Combinational Circuits • Combinational Circuit is a logic circuit whose outputs depends only on present inputs. Which means a Combinational Circuit doesn’t have memory of it’s previous outputs. • Examples : Arithmetic circuits, Decoders, Multiplexers, Encoders etc. • A Circuit which have memory of it’s previous outputs is a sequential circuit.
  • 3. Half Adder Truth Table of a H.A. INPUTS OUTPUTS A B SUM CARRY 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1 for H.A. • SUM is an XOR function • CARRY is an AND function SUM = A XOR B = A ⊕ B CARRY = AAND B = A.B Half adder is a combinational circuit which will add two bits and give two outputs as SUM(S) & CARRY(C)
  • 5. Full Adder Truth Table of a F.A. Full adder is a combinational circuit which will add three input bits(A,B,Cin) and give two outputs as SUM(S), CARRY(Cout)
  • 6. Full adder-Expression of SUM(S) SUM = A XOR B XOR Cin = A ⊕ B ⊕ Cin An XOR function can not be simplified(minimized) . Simplification of F.A. SUM expression using K-map
  • 7. Full adder-Expression of CARRY(Cout) From the truth table, we can found the alternate form of Cout as Cout=AB+(A ⊕ B).Cin from the simplification of K- map, Cout=AB+ACin+BCin Simplification of F.A. CARRY expression using K-map * Any one of the above two Cout expressions can be taken for the realization of F.A. logic circuit
  • 8. Full adder-Circuit & Block diagram Circuit of F.A. from simplified SUM & CARRY (Cout) expressions. * 2nd expression of Cout is taken for this circuit realization. Block diagram of F.A.
  • 9. Full adder using two Half adders Circuit diagram of F.A. using two H.A.
  • 10. Full adder using two Half adders Block diagram of F.A. using two H.A.
  • 11. Multiplexer(MUX) • The multiplexer is a combinational logic circuit designed to switch one of several input lines to a single common output line by the application of a control logic.
  • 12. Truth Table: Block Diagram: 4×1 Multiplexer The logical expression of the term Y is as follows: Y=S1' S0' A0+S1' S0 A1+S1 S0' A2+S1 S0 A3
  • 13. 4×1 Multiplexer The Logical circuit of Y is
  • 14. Binary multiplier • The standard 2 X 2 binary multiplier is as follows.
  • 15. Encoders & Decoders • An Encoder is a combinational circuit with maximum of 2n input lines and ‘n’ output lines. It will produce a binary code equivalent to the input. Therefore, the encoder encodes 2n input lines with ‘n’ bits. • Decoder is a combinational circuit that has ‘n’ input lines and maximum of 2noutput lines. One of these outputs will be active High based on the combination of inputs present. (performs the reverse operation of Encoder)
  • 16. Encoder Types 1. Octal to Binary Encoder 2. Hexa to Binary Encoder 3. Decimal to Binary Coded Decimal (BCD) Encoder 4. Priority Encoder
  • 18. 4 to 2 Encoder
  • 19. Octal to Binary or 8 to 3 Encoder
  • 20. Octal to Binary or 8 to 3 Encoder
  • 22. Octal to Binary or 8 to 3 Encoder
  • 24. A3 = Y9 + Y8 A2 = Y7 + Y6 + Y5 +Y4 A1 = Y7 + Y6 + Y3 +Y2 A0 = Y9 + Y7 +Y5 +Y3 + Y1 Decimalto BCD Encoder
  • 26. Drawbacks of normal Encoder • There is an ambiguity, when all outputs of encoder are equal to zero. output may become zero when there is no input is high (or) output may be zero when LSB of the input is high. • If more than one input is active High, then the encoder produces an output, which may not be the correct code. • To overcome these drawbacks, we can go for priority encoder.
  • 27. Priority Encoder • A priority encoder provide n bits of binary coded output representing the position of the highest order active input of 2ninputs. If two or more inputs are high at the same time, the input having the highest priority will take precedence. 4x2 Priority Encoder Y0 Y1 Y2 Y3 A0 A1 V
  • 28. Priority Encoder • A 4 to 2 priority encoder has four inputs Y3, Y2, Y1 & Y0 and two outputs A1 & A0. Here, the input, Y3 has the highest priority, whereas the input, Y0 has the lowest priority. • In this case, even if more than one input is ‘1’ at the same time, the output will be the (binary) code corresponding to the input, which is having higher priority.
  • 29. Priority Encoder • We considered one more output, V in order to know, whether the code available at outputs is valid or not. • If at least one input of the encoder is ‘1’, then the code available at outputs is a valid one. In this case, the output, V will be equal to 1. • If all the inputs of encoder are ‘0’, then the code available at outputs is not a valid one. In this case, the output, V will be equal to 0.
  • 31. Priority Encoder Design • K-map based simplification of expressions for each output. K-map for simplification of O/P expression A0 A0=Y3+Y2′Y1
  • 32. Priority Encoder Design • K-map for simplification of O/P expression A1 A1=Y3+Y2
  • 33. From the truth table, Boolean function of output ‘V’ as V=Y3+Y2+Y1+Y0 Simplified output expressions for circuit design: A0=Y3+Y2′Y1 A1=Y3+Y2 V=Y3+Y2+Y1+Y0 Priority Encoder Design
  • 34. Logic circuit of 4 by 2 priority encoder Priority Encoder Design
  • 35. Code converters-Gray code converter • The gray code is a non weighted code. It is a unit distance code because, the successive gray code differs in one bit position only . It is also referred as cyclic code. • It is a reflective code. An n-bit Gray code can be obtained by reflecting an n-1 bit code about an axis after 2n-1 rows, and putting the MSB of 0 above the axis and the MSB of 1 below the axis.
  • 36. 4-bit binary and Gray code truth table
  • 37. 4-bit binary to Gray code converter Design • A 4-bit binary to Gray code converter has 4- inputs in binary(A,B,C,D) and 4-outputs in gray(G1,G2,G3,G4). • Simplified output expressions for G1,G2,G3,G4 can be obtained form K-map based simplification. • Logic circuit for 4-bit binary to gray converter can be designed using simplified output expressions.
  • 38. • Simplification of output G1 using K-map 4-bit binary to Gray code converter Design
  • 39. • Simplification of output G2 using K-map 4-bit binary to Gray code converter Design
  • 40. • Simplification of output G3 using K-map 4-bit binary to Gray code converter Design
  • 41. 4-bit binary to Gray code converter Design • Simplification of output G4 using K-map
  • 42. Logic circuit for 4-bit binary to gray code converter 4-bit binary to Gray code converter Design