Multiplication Division Using Digital Circuits
Multiplication Division Using Digital Circuits
Goutam Saha
Indian Institute of Technology Kharagpur
Binary Multiplication
Binary Division
x3 y0 x2 y0 x1 y0 x0 y0
x3 x2 x1 x0
y1 y0 x3 y1 x2 y1 x1 y1 x0 y1
-------------------
x3y0 x2y0 x1y0 x0y0 0
x3y1 x2y1 x1y1 x0y1 F.A. F.A. F.A. H.A.
------------------------------------------------------
m5 m4 m3 m2 m1 m0
m5 m4 m3 m2 m1 m0
4-bit x 4-bit Multiplication x3x2x1x0 : 1101
Example:
x3 y0 x2 y0 x1 y0 x0 y0 y3y2y1y0 : 1011
x3 y1 x2 y1 x1 y1 x0 y1
01 11 10 01 1 1st row adder
0
10 00 00 10 1 2nd row adder
F.A. F.A. F.A. H.A.
x3 y2 x2 y2 x1 y2 x0 y2 01 11 00 01 1 3rd row adder
1 0 0 0 1
F.A. F.A. F.A. H.A.
x3 y3 x2 y3 x1 y3 x0 y3 Result: 10001111
m7 m6 m5 m4 m3 m2 m1 m0
Binary Division 1001
. 0 0 0 0 0
0 0 1 1 1
S Y
bout (x – y) Full bin 0 1 0 1 0 Unit
0 D0
Subtractor 0 1 1 0 0 Cell
1 D1
1 0 0 1 1
0 1 1 0 1 0 1 Y = S’.D0 + S.D1
. S
2-to-1
Multiplexer
1 1 0 0 0 2-to-1
Multiplexer
1 1 1 1 1
q1 . 0
d3 d2 d1 D0 d0
0
use half-subtractor.
r3 r2 r1 r0
References:
Donald P. Leach, Albert P. Malvino, and Goutam Saha, Digital Principles &
Applications 8e, McGraw Hill
Lloris Ruiz A., Castillo Morales E., Parrilla Roure L., García Ríos A. Number
Systems. In: Algebraic Circuits. Intelligent Systems Reference Library, vol 66. Springer,
Berlin, Heidelberg
Conclusion:
• Product from binary multiplication of two 1-bit number is
obtained from logical AND operation of the numbers.
• Binary multiplication of more than 1-bit numbers can be
obtained by getting partial products of and adding them
after appropriate shift.
• A combinatorial circuit based multiplier circuit using cell
array performs the shift within the arrangement.
• Binary division of numbers give two binary outputs:
quotient and remainder. It involves subtraction of divisor
after appropriate shift.
• A combinatorial circuit based divider circuit using cell
array performs the shift within the arrangement.
• The shift operation can be done by sequential logic circuit.
There are other approaches to perform binary
multiplication and division.