15.01.2013 Views

U. Glaeser

U. Glaeser

U. Glaeser

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FIGURE 9.16 Binary SRT division.<br />

The basic scheme is shown in Fig. 9.16. Block 1 initializes the algorithm. In steps 3 and 5, Pk is compared<br />

to ±.5. If Pk ≥ .5, in step 4 the quotient digit is set to 1 and Pk+1 = 2Pk − D. If Pk ≤ −.5, in step 6 the quotient<br />

digit is set to 1 and Pk+1 = 2Pk + D. If the value of Pk is between −.5 and .5, step 7 sets Pk+1 = 2Pk. Finally,<br />

step 8 tests whether all bits of the quotient have been formed and goes to step 2 if more need to be<br />

computed. Each pass through steps 2–8 forms one digit of the quotient. As shown on Fig. 9.16, each pass<br />

through steps 2–8 requires one or two comparisons in steps 3 and 5, and may require an addition (in<br />

step 4 or step 6). Thus computing an n-bit quotient will involve up to n additions and from n to 2n<br />

comparisons.<br />

Higher Radix SRT Divider<br />

The higher radix SRT division process is similar to the binary SRT algorithms. Radix 4 is the most<br />

common higher radix SRT division algorithm with either a minimally redundant digit sets of {2, 1, 0, 1, 2}<br />

or the maximally redundant digit sets of {3, 2, 1, 0, 1, 2, 3}.<br />

The operation of the algorithm is similar to<br />

the binary SRT algorithm shown on Fig. 9.16, except that Pk and Q are applied to a look up table or a<br />

programmable logic array (PLA) to determine the quotient digit. A research monograph provides a<br />

detailed treatment of SRT division [18].<br />

Newton–Raphson Divider<br />

A second division technique uses a form of Newton–Raphson iteration to derive a quadratically convergent<br />

approximation to the reciprocal of the divisor which is then multiplied by the dividend to produce<br />

the quotient. In systems which include a fast multiplier, this process is often faster than conventional<br />

division [19].<br />

© 2002 by CRC Press LLC<br />

4. q n-k-1 = -1<br />

P k+1 = 2P k + D<br />

LE<br />

1. P 0 = N<br />

k = -1<br />

2. k = k + 1<br />

3.<br />

P k : .5<br />

5.<br />

LT<br />

P k : -.5<br />

8.<br />

K : n-1<br />

GE<br />

Q = N/D<br />

GE<br />

GT<br />

LT<br />

4. q n-k-1 = 1<br />

P k+1 = 2P k − D<br />

7. q n-k-1 = 0<br />

P k+1 = 2P k

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!