Wa0013.
Wa0013.
Presentation on
FIXED POINT DIVISION USING
NON-RESTORING ALGORITHM
Name : Soumili Sahu
Roll No. : 10201622071
Department : Electrical Engineering
Subject : Computer Organisation
Subject Code : OE-EE-501C
Semester : Fifth
Year : Third
TABLE OF
CONTENTS
Introduction
Example
Implementation Considerations
Divisor:(3)10= (0011)2
For fixed-point division, we assume the numbers are represented with a binary point after the integer
part. For simplicity, we'll use a 4-bit binary representation here.
Initialize Variables:
Dividend (D): (1101)2
Initial Setup:
Combine the remainder and dividend to form the initial value: R=(0000)2
and D=(1101)2
Shift left R and add the dividend: R=(1101)2
Division Iterations:
Iteration 1: Iteration 2:
Check if R(1101) is greater than or equal to S(0011) Check if R (0101) is greater than or equal to S(0011)
Since it is, subtract S from R: Since it is, subtract S from R:
R=1101−0011 R=0101−0011
=1010 =0011
Set the most significant bit of quotient (Q) to 1 (Q = 1) Set the next bit of quotient to 1 (Q = 11)
Final Correction:
After all iterations, check if R is negative.
In this example, R is positive, so no correction is needed.
Result:
Quotient (Q): (1111) (which is (4)in decimal representation)
2 10
Lower Resource Uses fewer computational resources, making it ideal for power-efficient
and embedded systems.
Consumption:
DISADVANTAGES OF NON-
RESTORING DIVISION
Limited Precision: Non-restoring division can introduce small errors in
low-precision fixed-point operations, making it less suitable for highly
precise calculations.
More Iterations: In some cases, the number of iterations can be greater
than in other division algorithms, slightly reducing its efficiency.
Not Ideal for All Architectures: While efficient for certain hardware
designs, it may not always be the best choice for systems with specific
architectural constraints or high floating-point accuracy requirements.
Complex Final Correction: If the final remainder is negative, an
additional correction step is required, adding complexity to the
process.
Less Suitable for Floating-Point Division: The algorithm is optimized
for fixed-point arithmetic and may not perform as well with floating-
point numbers, where precision and handling of larger ranges are
required.
IMPLEMENTATION
CONSIDERATIONS
Number Representation Overflow and Underflow
In summary, the non-restoring division algorithm strikes a balance between speed, simplicity,
and efficiency, making it an effective choice for many fixed-point division tasks. Its
advantages in terms of hardware implementation and parallel processing capabilities make it
a compelling option for modern digital systems, though careful consideration is required to
address its limitations.
References : https://en.m.wikipedia.org/wiki/Division_algorithm
https://www.javatpoint.com/non-restoring-division-algorithm-for-
unsigned-integer
https://www.geeksforgeeks.org/implementation-of-non-restoring-
division-algorithm-for-unsigned-integer/
THANK
YOU!