SlideShare a Scribd company logo
1 of 36
DIGITAL ELECTRONICS
Welcome, students!
By
Ms. P.Sivalakshmi AP/ECE
UNIT 2
COMBINATIONAL CIRCUIT DESIGN
 HALF & FULL ADDER
 HALF & FULL SUBTRACTOR
 BINARY PARALLEL ADDER
 CARRY LOOKAHEAD ADDER
 BCD ADDER
 MULTIPLEXER
 DEMULTIPLEXER
 MAGNITUDE COMPARATOR
 DECODER, ENCODER
 PRIORITY ENCODER
LOGIC GATES
LOGIC CIRCUIT
COMBINATIONAL
CIRCUIT
SEQUENTIAL
CIRCUIT
• Logic gates are the basic
building blocks of any digital
system.
• It is an electronic circuit
having one or more than one
input and only one output.
• The relationship between the
input and the output is based
on a certain logic.
•
• Based on this, logic gates are
named as AND gate, OR gate,
NOT gate etc.
COMBINATIONAL CIRCUIT
• It consist of input variables, logic gates and output variables in the
circuit, for example encoder, decoder, multiplexer and de-multiplexer.
• The logic gates accept signals from the inputs and generate signals to
the output. This process transforms binary information from the given
input data to the required output data.
Some of the characteristics of combinational circuits are following :
• The output of combinational circuit at any instant of time, depends only on
the levels present at input terminals.
• The combinational circuit do not use any memory. The previous state of
input does not have any effect on the present state of the circuit.
• A combinational circuit can have an n number of inputs and m number of
outputs.
Block diagram
DESIGN PROCEDURE
It starts with verbal description of the problem and ends in a logic
circuit diagram or set of Boolean functions from which the logic
diagram can be easily obtained.
STEP 1
PROBLEM STATEMENT
STEP 2
IDENTITFY THE NUMBER OF I/P AND O/P
VARIABLES & GIVE THE BLOCK DIAGRAM.
STEP 3
TRUTH TABLE
STEP 4
K-MAP
STEP 5
SIMPLIFIED LOGIC EXPRESSION
STEP 6:
LOGIC DIAGRAM
HALF ADDER
• It is a combinational logic circuit
with two inputs and two outputs.
• It is the basic building block for
addition of two single bit
numbers.
• This circuit has two
outputs carry and sum.
Block diagram
Truth Table
Circuit Diagram
FULL ADDER
Full adder is developed to overcome
the drawback of Half Adder circuit.
It can add two one-bit numbers A and
B, and carry
C in.
The full adder is a three input and two
output combinational circuit.
Block diagram
Truth Table
K-MAP
Circuit Diagram
IMPLEMENTATION OF FULLADDER USING TWO HALF ADDER
HALF SUBTRACTOR
• Half subtractor is a
combinational circuit with
two inputs and two outputs
(difference and borrow).
• It produces the difference
between the two binary bits
at the input and also
produces an output (Borrow)
to indicate if a 1 has been
borrowed.
• In the subtraction (A-B), A
is called as Minuend bit and
B is called as Subtrahend
bit.
FULL SUBTRACTOR
LOGIC CIRCUIT
TRUTH TABLE
K-MAP
It is a combinational circuit with three inputs A,
B,Bin and two output D and Bout'. A is the
'minuend', B is 'subtrahend', Bin is the 'borrow'
produced by the previous stage, D is the
difference output and Bout is the borrow output.
DIFFERENCE SIMPLIFIED EXPRESSION
MAGNITUDE COMPARATOR:
 It compares two numbers A & B.
 In process of comparison, it first compares MSB of input A to MSB of input B.
 If one of these bits is 1 and the other 0, the process is completed & the no.
containing 1 as the MSB is identified as the largest number.
 If MSB of A equals the MSB of B, then the next most significant bits of A and B are
compared
 This process continues until a bit of one number differs from the corresponding bit of
the other.
2-bit Magnitude Comparator
• There are two numbers A and B, each of two bits long.
• Magnitude comparator compares numerical values of
these numbers.
• The result of comparison can be Equal (E), Greater than
(G) or Less than (L).
• If A > B then G should be asserted to 1.
• If A = B then E should be asserted to 1.
• If A < B then L should be asserted to 1.
TRUTH TABLE:
2 BIT MAGNITUDE COMPARATOR
A1 A0 B1 B0
Circuit Diagram
A0
B0
A0 =B0
A0 A0 >B0
B0 ‘
A0 <B0
B0
Ā0
1-bit Magnitude Comparator:
4-bit Magnitude Comparator: IC 7485
Let us consider the two binary numbers A and B with four
digits each. Write the coefficient of the numbers in
descending order as,
A= A3A2A1A0
B= B3 B2 B1 B0,
4-bit Magnitude Comparator: IC 7485
Logical
expressi
ons
Circuit Diagram 4 bit magnitude comparator
• A multiplexer or MUX, is a combinational circuit
with more than one input line, one output line and
more than one selection line.
• A multiplexer selects binary information present
from one of many input lines, depending upon the
logic status of the selection inputs, and routes it to
the output line.
• Normally, there are 2n input lines and n selection
lines whose bit combinations determine which input
is selected. The multiplexer is often labelled as
MUX in block diagrams.
• A multiplexer is also called a data selector, since it
selects one of many inputs and steers the binary
information to the output line.
MULTIPLEXER
MULTIPLEXER
MULTIPLEXER
2-to-1- line Multiplexer:
• The circuit has two data input lines, one output line and one selection line,
S.
• When S= 0, the upper AND gate is enabled and I0 has a path to the
output.
• When S=1, the lower AND gate is enabled and I1 has a path to the
output.
Logic diagram
The multiplexer acts like an electronic switch that
selects one of the two sources.
Logic expression
Realization of 4:1 mux using 2:1 mux
Applications of Multiplexer:
 Data Routing
 Logic Function Generator
 Control Sequencer
 Parallel-to-Serial Converter
Realization of 8:1 mux using 2:1 mux
Realization of 8:1 mux using 4:1 mux
1.Implement the following functions using 4:1 mux.
Y(A,B,C)= A’B’C+A’BC’+AB’C’+ABC
SOLUTION:
A’
A
D0 D1 D2 D3
D0
D1
D2
D3
4:1
MUX
1.Implement the following functions using 4:1 mux.
F(A,B,C)= (1,3,5,6)
SOLUTION:
A’
A
D0 D1 D2 D3
DE-MULTIPLEXER
1:4 DE-MULTIPLEXER
 Data distributors
 One into many
 Only one input
 n selection lines
 2n output lines
Selection
Inputs
Outputs
S 1 S0 Y3 Y2 Y1 Y0
0 0 0 0 0 I
0 1 0 0 I 0
1 0 0 I 0 0
1 1 I 0 0 0
 4 Bit Parallel Adder
 In the block diagram, A0 and B0 represent the LSB of the four bit
words A and B. Hence Full Adder-0 is the lowest stage.
 Hence its Cin has been permanently made 0.
 The four bit parallel adder is a very common logic circuit.
EXAMPLE
4-BIT PARALELL ADDER/SUBTRACTOR
Let’s Have a great Day!

More Related Content

What's hot

multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexersUnsa Shakir
 
Encoder & Decoder
Encoder & DecoderEncoder & Decoder
Encoder & DecoderSyed Saeed
 
decoder and encoder
 decoder and encoder decoder and encoder
decoder and encoderUnsa Shakir
 
Half adder & full adder
Half adder & full adderHalf adder & full adder
Half adder & full adderGaditek
 
adder and subtractor
 adder and subtractor adder and subtractor
adder and subtractorUnsa Shakir
 
Decoder Full Presentation
Decoder Full Presentation Decoder Full Presentation
Decoder Full Presentation Adeel Rasheed
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplificationUnsa Shakir
 
Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit (ALU)Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit (ALU)Student
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - CountersJayakrishnan J
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebraSARITHA REDDY
 

What's hot (20)

Basics of digital electronics
Basics of digital electronicsBasics of digital electronics
Basics of digital electronics
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexers
 
Encoder & Decoder
Encoder & DecoderEncoder & Decoder
Encoder & Decoder
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
Counters
CountersCounters
Counters
 
Demultiplexer
DemultiplexerDemultiplexer
Demultiplexer
 
decoder and encoder
 decoder and encoder decoder and encoder
decoder and encoder
 
Binary codes
Binary codesBinary codes
Binary codes
 
Half adder & full adder
Half adder & full adderHalf adder & full adder
Half adder & full adder
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
adder and subtractor
 adder and subtractor adder and subtractor
adder and subtractor
 
Adder ppt
Adder pptAdder ppt
Adder ppt
 
Decoder Full Presentation
Decoder Full Presentation Decoder Full Presentation
Decoder Full Presentation
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
Half & Full Adder
Half &  Full AdderHalf &  Full Adder
Half & Full Adder
 
Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit (ALU)Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit (ALU)
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - Counters
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
 
Logic gates presentation
Logic gates presentationLogic gates presentation
Logic gates presentation
 

Similar to Combinational circuit

Chapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdfChapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdfTamiratDejene1
 
Combinational circuits r011
Combinational circuits   r011Combinational circuits   r011
Combinational circuits r011arunachalamr16
 
Digital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECE
Digital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECEDigital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECE
Digital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECESeshaVidhyaS
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuitsBindu Madhavi
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuitsBindu Madhavi
 
Digital electronics lab
Digital electronics labDigital electronics lab
Digital electronics labswatymanoja
 
18CSC203J_COA_Unit 2 final.pptx
18CSC203J_COA_Unit 2 final.pptx18CSC203J_COA_Unit 2 final.pptx
18CSC203J_COA_Unit 2 final.pptxtakix43466
 
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
 
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptxDLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptxSaveraAyub2
 
Computer Architechture and microprocesssors
Computer Architechture and microprocesssors Computer Architechture and microprocesssors
Computer Architechture and microprocesssors JaykumarPatil10
 
Combinational and sequential logic
Combinational and sequential logicCombinational and sequential logic
Combinational and sequential logicDeepak John
 
Unit 3 combinational circuits
Unit 3  combinational circuitsUnit 3  combinational circuits
Unit 3 combinational circuitsAmrutaMehata
 
Digital Electronics-Unit II.pdf
Digital Electronics-Unit II.pdfDigital Electronics-Unit II.pdf
Digital Electronics-Unit II.pdfKannan Kanagaraj
 
Lata digital electronics
Lata digital electronicsLata digital electronics
Lata digital electronicslata kushwaha
 
combinational-circuit (1).ppt
combinational-circuit (1).pptcombinational-circuit (1).ppt
combinational-circuit (1).pptThanmayiKumar
 
Digital Electronics Unit_2.pptx
Digital Electronics Unit_2.pptxDigital Electronics Unit_2.pptx
Digital Electronics Unit_2.pptxThapar Institute
 

Similar to Combinational circuit (20)

Chapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdfChapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdf
 
Combinational circuits r011
Combinational circuits   r011Combinational circuits   r011
Combinational circuits r011
 
Digital Logic Design
Digital Logic Design Digital Logic Design
Digital Logic Design
 
Chapter 4: Combinational Logic
Chapter 4: Combinational LogicChapter 4: Combinational Logic
Chapter 4: Combinational Logic
 
Digital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECE
Digital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECEDigital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECE
Digital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECE
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuits
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuits
 
Digital electronics lab
Digital electronics labDigital electronics lab
Digital electronics lab
 
18CSC203J_COA_Unit 2 final.pptx
18CSC203J_COA_Unit 2 final.pptx18CSC203J_COA_Unit 2 final.pptx
18CSC203J_COA_Unit 2 final.pptx
 
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 )
 
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptxDLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
 
Computer Architechture and microprocesssors
Computer Architechture and microprocesssors Computer Architechture and microprocesssors
Computer Architechture and microprocesssors
 
Combinational and sequential logic
Combinational and sequential logicCombinational and sequential logic
Combinational and sequential logic
 
Unit 3 combinational circuits
Unit 3  combinational circuitsUnit 3  combinational circuits
Unit 3 combinational circuits
 
Digital Electronics-Unit II.pdf
Digital Electronics-Unit II.pdfDigital Electronics-Unit II.pdf
Digital Electronics-Unit II.pdf
 
B sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lcktB sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lckt
 
Lata digital electronics
Lata digital electronicsLata digital electronics
Lata digital electronics
 
combinational-circuit (1).ppt
combinational-circuit (1).pptcombinational-circuit (1).ppt
combinational-circuit (1).ppt
 
Lect 1 unit 2.pdf
Lect 1 unit 2.pdfLect 1 unit 2.pdf
Lect 1 unit 2.pdf
 
Digital Electronics Unit_2.pptx
Digital Electronics Unit_2.pptxDigital Electronics Unit_2.pptx
Digital Electronics Unit_2.pptx
 

More from SIVALAKSHMIPANNEERSE

MEDICAL ELECTRONICS_EC8073_Unit 1 session 2
MEDICAL ELECTRONICS_EC8073_Unit 1 session 2MEDICAL ELECTRONICS_EC8073_Unit 1 session 2
MEDICAL ELECTRONICS_EC8073_Unit 1 session 2SIVALAKSHMIPANNEERSE
 
MEDICAL ELECTRONICS_EC8073_Unit 1 session 9
MEDICAL ELECTRONICS_EC8073_Unit 1 session 9MEDICAL ELECTRONICS_EC8073_Unit 1 session 9
MEDICAL ELECTRONICS_EC8073_Unit 1 session 9SIVALAKSHMIPANNEERSE
 
MEDICAL ELECTRONICS_EC8073_Unit 1 session 1
MEDICAL ELECTRONICS_EC8073_Unit 1  session 1MEDICAL ELECTRONICS_EC8073_Unit 1  session 1
MEDICAL ELECTRONICS_EC8073_Unit 1 session 1SIVALAKSHMIPANNEERSE
 
MEDICAL ELECTRONICS_EC8073_Unit 1session 5
MEDICAL ELECTRONICS_EC8073_Unit 1session 5MEDICAL ELECTRONICS_EC8073_Unit 1session 5
MEDICAL ELECTRONICS_EC8073_Unit 1session 5SIVALAKSHMIPANNEERSE
 
MEDICAL ELECTRONICS_EC8073_Unit 1 session 4
MEDICAL ELECTRONICS_EC8073_Unit 1 session 4MEDICAL ELECTRONICS_EC8073_Unit 1 session 4
MEDICAL ELECTRONICS_EC8073_Unit 1 session 4SIVALAKSHMIPANNEERSE
 
MEDICAL ELECTRONICS_EC8073_Unit 1 session 3
MEDICAL ELECTRONICS_EC8073_Unit 1 session 3MEDICAL ELECTRONICS_EC8073_Unit 1 session 3
MEDICAL ELECTRONICS_EC8073_Unit 1 session 3SIVALAKSHMIPANNEERSE
 
MEDICAL ELECTRONICS_EC8073_Unit 1session 8
MEDICAL ELECTRONICS_EC8073_Unit 1session 8MEDICAL ELECTRONICS_EC8073_Unit 1session 8
MEDICAL ELECTRONICS_EC8073_Unit 1session 8SIVALAKSHMIPANNEERSE
 
MEDICAL ELECTRONICS_EC8073_Unit 1 session 6
MEDICAL ELECTRONICS_EC8073_Unit 1 session 6MEDICAL ELECTRONICS_EC8073_Unit 1 session 6
MEDICAL ELECTRONICS_EC8073_Unit 1 session 6SIVALAKSHMIPANNEERSE
 
MEDICAL ELECTRONICS_EC8073_Unit 1 session 7
MEDICAL ELECTRONICS_EC8073_Unit 1 session 7MEDICAL ELECTRONICS_EC8073_Unit 1 session 7
MEDICAL ELECTRONICS_EC8073_Unit 1 session 7SIVALAKSHMIPANNEERSE
 

More from SIVALAKSHMIPANNEERSE (20)

MEDICAL ELECTRONICS_EC8073_Unit 1 session 2
MEDICAL ELECTRONICS_EC8073_Unit 1 session 2MEDICAL ELECTRONICS_EC8073_Unit 1 session 2
MEDICAL ELECTRONICS_EC8073_Unit 1 session 2
 
MEDICAL ELECTRONICS_EC8073_Unit 1 session 9
MEDICAL ELECTRONICS_EC8073_Unit 1 session 9MEDICAL ELECTRONICS_EC8073_Unit 1 session 9
MEDICAL ELECTRONICS_EC8073_Unit 1 session 9
 
MEDICAL ELECTRONICS_EC8073_Unit 1 session 1
MEDICAL ELECTRONICS_EC8073_Unit 1  session 1MEDICAL ELECTRONICS_EC8073_Unit 1  session 1
MEDICAL ELECTRONICS_EC8073_Unit 1 session 1
 
MEDICAL ELECTRONICS_EC8073_Unit 1session 5
MEDICAL ELECTRONICS_EC8073_Unit 1session 5MEDICAL ELECTRONICS_EC8073_Unit 1session 5
MEDICAL ELECTRONICS_EC8073_Unit 1session 5
 
MEDICAL ELECTRONICS_EC8073_Unit 1 session 4
MEDICAL ELECTRONICS_EC8073_Unit 1 session 4MEDICAL ELECTRONICS_EC8073_Unit 1 session 4
MEDICAL ELECTRONICS_EC8073_Unit 1 session 4
 
MEDICAL ELECTRONICS_EC8073_Unit 1 session 3
MEDICAL ELECTRONICS_EC8073_Unit 1 session 3MEDICAL ELECTRONICS_EC8073_Unit 1 session 3
MEDICAL ELECTRONICS_EC8073_Unit 1 session 3
 
MEDICAL ELECTRONICS_EC8073_Unit 1session 8
MEDICAL ELECTRONICS_EC8073_Unit 1session 8MEDICAL ELECTRONICS_EC8073_Unit 1session 8
MEDICAL ELECTRONICS_EC8073_Unit 1session 8
 
MEDICAL ELECTRONICS_EC8073_Unit 1 session 6
MEDICAL ELECTRONICS_EC8073_Unit 1 session 6MEDICAL ELECTRONICS_EC8073_Unit 1 session 6
MEDICAL ELECTRONICS_EC8073_Unit 1 session 6
 
MEDICAL ELECTRONICS_EC8073_Unit 1 session 7
MEDICAL ELECTRONICS_EC8073_Unit 1 session 7MEDICAL ELECTRONICS_EC8073_Unit 1 session 7
MEDICAL ELECTRONICS_EC8073_Unit 1 session 7
 
Session 4
Session 4Session 4
Session 4
 
Session 3
Session 3Session 3
Session 3
 
Session 2
Session 2Session 2
Session 2
 
Session 1
Session 1Session 1
Session 1
 
Bjt session 7
Bjt session 7Bjt session 7
Bjt session 7
 
Bjt session 6
Bjt session 6Bjt session 6
Bjt session 6
 
Bjt session 5
Bjt session 5Bjt session 5
Bjt session 5
 
Bjt session 4
Bjt session 4Bjt session 4
Bjt session 4
 
Bjt session 3
Bjt session 3Bjt session 3
Bjt session 3
 
Introduction to bjt npn &pnp
Introduction to bjt npn &pnpIntroduction to bjt npn &pnp
Introduction to bjt npn &pnp
 
Introduction to bjt npn &amp;pnp
Introduction to bjt npn &amp;pnpIntroduction to bjt npn &amp;pnp
Introduction to bjt npn &amp;pnp
 

Recently uploaded

Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementDr. Deepak Mudgal
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxMustafa Ahmed
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...ssuserdfc773
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information SystemsAnge Felix NSANZIYERA
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxkalpana413121
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...drmkjayanthikannan
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...ppkakm
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...ronahami
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesRashidFaridChishti
 
Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257subhasishdas79
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 

Recently uploaded (20)

Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information Systems
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
 
Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 

Combinational circuit

  • 2. UNIT 2 COMBINATIONAL CIRCUIT DESIGN  HALF & FULL ADDER  HALF & FULL SUBTRACTOR  BINARY PARALLEL ADDER  CARRY LOOKAHEAD ADDER  BCD ADDER  MULTIPLEXER  DEMULTIPLEXER  MAGNITUDE COMPARATOR  DECODER, ENCODER  PRIORITY ENCODER
  • 3. LOGIC GATES LOGIC CIRCUIT COMBINATIONAL CIRCUIT SEQUENTIAL CIRCUIT • Logic gates are the basic building blocks of any digital system. • It is an electronic circuit having one or more than one input and only one output. • The relationship between the input and the output is based on a certain logic. • • Based on this, logic gates are named as AND gate, OR gate, NOT gate etc.
  • 4. COMBINATIONAL CIRCUIT • It consist of input variables, logic gates and output variables in the circuit, for example encoder, decoder, multiplexer and de-multiplexer. • The logic gates accept signals from the inputs and generate signals to the output. This process transforms binary information from the given input data to the required output data. Some of the characteristics of combinational circuits are following : • The output of combinational circuit at any instant of time, depends only on the levels present at input terminals. • The combinational circuit do not use any memory. The previous state of input does not have any effect on the present state of the circuit. • A combinational circuit can have an n number of inputs and m number of outputs. Block diagram
  • 5.
  • 6. DESIGN PROCEDURE It starts with verbal description of the problem and ends in a logic circuit diagram or set of Boolean functions from which the logic diagram can be easily obtained. STEP 1 PROBLEM STATEMENT STEP 2 IDENTITFY THE NUMBER OF I/P AND O/P VARIABLES & GIVE THE BLOCK DIAGRAM. STEP 3 TRUTH TABLE STEP 4 K-MAP STEP 5 SIMPLIFIED LOGIC EXPRESSION STEP 6: LOGIC DIAGRAM
  • 7. HALF ADDER • It is a combinational logic circuit with two inputs and two outputs. • It is the basic building block for addition of two single bit numbers. • This circuit has two outputs carry and sum. Block diagram Truth Table Circuit Diagram
  • 8. FULL ADDER Full adder is developed to overcome the drawback of Half Adder circuit. It can add two one-bit numbers A and B, and carry C in. The full adder is a three input and two output combinational circuit. Block diagram Truth Table K-MAP Circuit Diagram
  • 9. IMPLEMENTATION OF FULLADDER USING TWO HALF ADDER
  • 10. HALF SUBTRACTOR • Half subtractor is a combinational circuit with two inputs and two outputs (difference and borrow). • It produces the difference between the two binary bits at the input and also produces an output (Borrow) to indicate if a 1 has been borrowed. • In the subtraction (A-B), A is called as Minuend bit and B is called as Subtrahend bit.
  • 11. FULL SUBTRACTOR LOGIC CIRCUIT TRUTH TABLE K-MAP It is a combinational circuit with three inputs A, B,Bin and two output D and Bout'. A is the 'minuend', B is 'subtrahend', Bin is the 'borrow' produced by the previous stage, D is the difference output and Bout is the borrow output.
  • 13. MAGNITUDE COMPARATOR:  It compares two numbers A & B.  In process of comparison, it first compares MSB of input A to MSB of input B.  If one of these bits is 1 and the other 0, the process is completed & the no. containing 1 as the MSB is identified as the largest number.  If MSB of A equals the MSB of B, then the next most significant bits of A and B are compared  This process continues until a bit of one number differs from the corresponding bit of the other. 2-bit Magnitude Comparator • There are two numbers A and B, each of two bits long. • Magnitude comparator compares numerical values of these numbers. • The result of comparison can be Equal (E), Greater than (G) or Less than (L). • If A > B then G should be asserted to 1. • If A = B then E should be asserted to 1. • If A < B then L should be asserted to 1.
  • 14. TRUTH TABLE: 2 BIT MAGNITUDE COMPARATOR A1 A0 B1 B0
  • 15.
  • 17. A0 B0 A0 =B0 A0 A0 >B0 B0 ‘ A0 <B0 B0 Ā0 1-bit Magnitude Comparator:
  • 18. 4-bit Magnitude Comparator: IC 7485 Let us consider the two binary numbers A and B with four digits each. Write the coefficient of the numbers in descending order as, A= A3A2A1A0 B= B3 B2 B1 B0,
  • 19. 4-bit Magnitude Comparator: IC 7485 Logical expressi ons
  • 20. Circuit Diagram 4 bit magnitude comparator
  • 21. • A multiplexer or MUX, is a combinational circuit with more than one input line, one output line and more than one selection line. • A multiplexer selects binary information present from one of many input lines, depending upon the logic status of the selection inputs, and routes it to the output line. • Normally, there are 2n input lines and n selection lines whose bit combinations determine which input is selected. The multiplexer is often labelled as MUX in block diagrams. • A multiplexer is also called a data selector, since it selects one of many inputs and steers the binary information to the output line. MULTIPLEXER
  • 24. 2-to-1- line Multiplexer: • The circuit has two data input lines, one output line and one selection line, S. • When S= 0, the upper AND gate is enabled and I0 has a path to the output. • When S=1, the lower AND gate is enabled and I1 has a path to the output. Logic diagram The multiplexer acts like an electronic switch that selects one of the two sources. Logic expression
  • 25.
  • 26. Realization of 4:1 mux using 2:1 mux Applications of Multiplexer:  Data Routing  Logic Function Generator  Control Sequencer  Parallel-to-Serial Converter
  • 27.
  • 28. Realization of 8:1 mux using 2:1 mux Realization of 8:1 mux using 4:1 mux
  • 29. 1.Implement the following functions using 4:1 mux. Y(A,B,C)= A’B’C+A’BC’+AB’C’+ABC SOLUTION: A’ A D0 D1 D2 D3 D0 D1 D2 D3 4:1 MUX
  • 30. 1.Implement the following functions using 4:1 mux. F(A,B,C)= (1,3,5,6) SOLUTION: A’ A D0 D1 D2 D3
  • 32. 1:4 DE-MULTIPLEXER  Data distributors  One into many  Only one input  n selection lines  2n output lines Selection Inputs Outputs S 1 S0 Y3 Y2 Y1 Y0 0 0 0 0 0 I 0 1 0 0 I 0 1 0 0 I 0 0 1 1 I 0 0 0
  • 33.  4 Bit Parallel Adder  In the block diagram, A0 and B0 represent the LSB of the four bit words A and B. Hence Full Adder-0 is the lowest stage.  Hence its Cin has been permanently made 0.  The four bit parallel adder is a very common logic circuit. EXAMPLE
  • 34.
  • 36. Let’s Have a great Day!