






























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!































Chapter 4: Combinational Logic NOTE: For more examples and detailed description of the material in the lecture notes, please refer to the main textbook: Digital Design 3rd Edition, By Morris Mano, Publisher Prentice Hall, 3rd Edition All examples used in the lecture notes are from the above reference.
Combinational Circuits
Combinational n inputs circuit m outputs
1 3 2
3 2 1
2
1
2
F 1 (^) = T 3 + T 2 and F 2 (^) = A. B + A. C + B. C for different combinations of the input variables as follows:
Binary Adder-Subtractor
x y C S 0 0 0 0 0 1 0 1 1 0 0 1 1 1 1 0
C x y
x y
S x y xy
.
x y ā x ā y x y
x y S
C
x y z C S 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
yz x x ā
x
z ā z z ā
y ā y
Subscript i : 3 2 1 0 Input Carry 0 1 1 0 Ci Augend 1 0 1 1 Ai Addend 0 0 1 1 B B i Sum 1 1 1 0 Si Output Carry 0 0 1 1 Ci +
so the implementation of the corresponding circuit using the method of Chapter 3 would require a truth table with rows (if we ignore the input carry since it must be zero, we will have 256 rows).
A (^) i Pi Bi
Ci
Ci +
Si
Gi
i i i
i i i G A B
i i i i
i i i C G PC
as follows:
Ci + 1 C 0
A plus B.
Carries: 0 1 +70 0 1000110 +80 0 1010000 +150 1 0010110
Carries: 1 0 -70 1 0111010 -80 1 0110000 -150 0 1101010
Carry: 1 70 1000110 80 1010000 150 0010110
Decimal Adder
Output carry C
K 4-bit binary adder Z 8 Z 4 Z 2 Z 1
Addend Augend
4-bit binary adder
Carry in
Binary Multiplier
B B 1 B B 0 A (^) 1 A 0 A (^) 0. B (^) 1 A (^) 0. B 0 A (^) 1. B (^) 1 A (^) 1. B 0 C (^) 3 C (^) 2 C (^) 1 C 0
Magnitude Comparator
3 2 1 0
3 2 1 0 B BBB B
x (^) i = Ai. Bi + Ai '. Bi ' for i = 0 , 1 , 2 , 3
3 ' 3 3 ' 2 2 3 2 1 ' 1 3 2 1 0 ' 0
3 3 ' 3 2 2 ' 3 2 1 1 ' 3 2 1 0 0 '
3 2 1 0
< ā + + + =
A B A B x A B x x A B x x x A B
A B A B x A B x x A B x x x A B
A B x x x x
x i
x 2
x 3
x 1
x 0
Decoders