Professional Documents
Culture Documents
DESIGN (AM)
FALL 20
COURSE INSTRUCTOR: AQEEL TAHIR
DESIGNING OF COMBINATIONAL LOGIC
CIRCUITS
• The basic objective of the slides is to understand the working & designing of the
following combinational logic circuits:
a) Half Adder
b) Half Subtractor
c) Full Adder
d) (m,n) Adders
HALF ADDER
HALF ADDER
• Half adder is the first and the most basic logic circuit we are going to design.
• Half adder is used to add two bits (NOT THE TWO NUMBERS).
• Number Adders will be designed later on.
• Before start designing half adder, first see how the digital bits are added.
• Remember the concept of binary addition COPIED from decimal addition.
DECIMAL ADDITION:
• Since, there are now two bits output, means there A B Cout SUM
Exclusive OR Logic
Circuit
HALF SUBTRACTOR
HALF SUBTRACTOR
• Like Half adder, Half Subtract is also one of the most basic logic circuit we are going to
design.
• Half subtractor is used to Subtract two bits (NOT THE TWO NUMBERS).
• Before start designing half subtractor, first see how the digital bits are subtracted.
• Remember the concept of binary subtraction is COPIED from decimal subtraction.
DECIMAL SUBTRACTION:
COUT = AB + AC + BC SUM = A B C
Cout mj SUM mj
0 0
0 1 m1
0 1 m2
1 m3 0
0 1 m4
1 m5 0
1 m6 0
1 m7 1 m7
FULL ADDER CIRCUIT
(M , N) ADDERS
(M, N) ADDERS:
m = Total No’s.
n = # of bits in each number.
• It means (2, 2) Adder means we are going to design such adders which will now ADD TWO NUMBERS
and each number is of 2 bits.
• i.e. now, we are moving one step ahead and making adders which are going to ADD NUMBERS.
Whereas previously, we make adders to add bits.
• REMEMBER: For designing of a logic circuit, sometimes we have to go for logical functions and
sometimes we have to implement the logic circuit with the help of Logical Operation Map (Algorithm).
(2, 2) ADDER:
• With the same concept/ similar approach (by implementing the logical Maps), we can
design adders with any configurations such as:
• (2, 3) Adders
• (3, 2) Adders
• (3, 3) Adders & so on…..