Unit II Combinational Circuits
Unit II Combinational Circuits
Combinational Circuits
Overview
• Design and Implementation
– Half and Full Adders
– Half and Full Subtractors
– Binary Parallel Adder
– Multiplexer & Demultiplexer
– Magnitude Comparator
– Decoder
– Encoder, Priority Encoder
Lecture – 1
• Design and Implementation
– Half and Full Adders
– Half and Full Subtractors
– Binary Parallel Adder
– Carry Look Ahead Adder
– BCD Adder
– Multiplexer & Demultiplexer
– Magnitude Comparator
– Decoder
– Encoder, Priority Encoder
Session Objective
• At the end of this session, students will be able to design and
implement half adder and full adder circuits
Logic Circuits
• Logic Circuits
– Combinational or Sequential
• Combinational Logic Circuits
“A combinational logic circuit consists of logic gates
whose outputs at any time are determined from only the
present combination of inputs”
– It performs an operation that can be specified logically by a set
of Boolean functions.
– Examples: Adder circuits, Code converters, etc.
Inputs Combinational
Circuit Outputs
Memory
Elements
Feedback path
Logic Circuits
• Logic Circuit Design
– Input: Specifications – word description
– Output: Optimized logic diagram
• Design Procedure
1. From the given specifications,
a) Identify the number of inputs & outputs and Assign arbitrary (letter)
symbols to the inputs & outputs
b) Draw the block diagram.
2. Derive a truth table that defines the relationship between the
inputs and outputs.
In a truth table, if we have ‘n’ inputs then there will be 2n possible
input combinations
3. Obtain simplified Boolean expression for each output as a
function of the input variable.
4. Implement with logic diagram.
Logic Circuits
• Design Constraints
– In designing a combinational circuit certain constraints are to
be considered.
• Minimum no. of gates must be used.
• Minimum no. of inputs must be given to the gates.
• Circuit should have minimum no. of interconnections.
• The propagation time of the signals through the gate should be
minimum.
Adders
• Binary adder–subtractor
– A combinational circuit that performs the arithmetic operations
of addition and subtraction with binary numbers.
– Half Adder
– Full Adder
– Half Subtractor
– Full Subtractor
Half Adder
• Half adder
– This circuit needs two binary inputs and two binary outputs.
– Step 1: Derive block diagram
• The input variables designate the augend and addend bits
• The output variables produce the sum and carry.
• Assign symbols A and B to the two inputs and Sum Carry to the
outputs.
Half Adder
• Half adder
– Step: 2 Derive the truth table
Sum AB AB A B
Half Adder
• Half adder
– Step: 3 Obtain minimized Boolean equation
Carry AB
xi s
yi Full Adder
ci+1
ci
Full Adder
• Design Example – Full Adder
– Step 2: Derivation of truth table that defines the relationship
between the inputs and outputs
0 0 0 0 0
0 0 1 0 1
0 1 0 0 1
0 1 1 1 0
1 0 0 0 1
1 0 1 1 0
1 1 0 1 0
1 1 1 1 1
xi Full Adder
• Design Example – Full Adder
– 3: Obtaining simplified Boolean expression for each output as
a function of the input variable
xiyi xiyi
ci ci
Full Adder
• Design Example – Full Adder
– 4: Implementation with logic diagram
xi
si
yi
ci
ci+1
Full Adder
• Design Example – Full Adder
– 4: Implementation with logic diagram
si
Full Adder
• Using two half adders
– The half adder adds two input bits and generates a carry and sum, which are
the two outputs of a half adder.
– With the addition of an OR gate to combine their carry outputs, two half
adders can be combined to make a full adder.
xi
yi si
ci+1
ci
Session Conclusion
• In this lecture we have discussed
– Design and implementation of half adder and full adder
circuits
Review Questions
1. What are combinational logic circuits?
2. What are sequential logic circuits?
3. What is half adder?
4. What is full adder?
5. Design and implement half adder using logic gates.
6. Design and implement full adder using logic gates.
References
1. M. Morris Mano and Michael D. Ciletti, “Digital Design”, 5th
Edition, Pearson, 2014
2. S.Salivahanan and S.Arivazhagan“Digital Electronics”, 5th Edition,
Oxford University Press 2017.
3. Charles H.Roth. “Fundamentals of Logic Design”, 6th Edition,
Thomson Learning, 2013.
4. Thomas L. Floyd, “Digital Fundamentals”, 10th Edition, Pearson
Education Inc, 2011
5. Anil K.Maini “Digital Electronics”, Wiley, 2014.
6. A.Anand Kumar “Fundamentals of Digital Circuits”, 4th Edition, PHI
Learning Private Limited, 2016.
7. Soumitra Kumar Mandal “ Digital Electronics”, McGraw Hill
Education Private Limited, 2016.