Lecture Combinational Logic
Lecture Combinational Logic
By : Ali Mustafa
Contents
• Adder
• Subtractor
• Multiplier
• Comparator
• Decoder
• Encoder
• Multiplexer
How to Analyze any combinational
circuit like this?
Analysis Procedure
• To obtain the output Boolean functions from a
logic diagram:
1.Label all gate outputs that are a function of input
variables.
• Arithmetic circuits
–Half Adder
–Full Adder
–Binary Adder/Subtractor
–Binary Multiplier
• Magnitude Comparator
What's the example of Arithmetic
Circuit?
0 0 0 0 0
0 0 0 0 0 0 1 1 1
0 1 0 1 1
0 1 1 1
0 1 1 0 1
1 0 0 1 0
1 0 1 0
1 0 1 0 0
1 1 0 0 1 1 0 0 0
1 1 1 1 1
• FULL SUBTRACTOR
• D = A’B’C + A’BC’ + AB’C’ + ABC
• B = A’C + A’B + BC
4- Bit Subtractor
Assignment # 3
• 3 x 4 Bit Multiplier
Magnitude Comparator