Claims
- 1. Device for the digital performance of an operation for the division of a dividend by a divisor according to a method of the type with non-restoration of partial remainders, comprising:
- an arithmetic and logic unit to carry out the computation of the partial remainders,
- a circuit for the detection of null partial remainders during the division,
- an accumulator that is initialized with the dividend and that then contains, for each division step, the remainder on the most significant bits and the quotient on the least significant bits,
- a condition register (RC) containing information bits on the last arithmetic or logic operation performed,
- a source register (Reg) at the right-hand operand input (Op.sub.1) of the arithmetic and logic unit to contain the n bits of the divisor
- wherein the device comprises a shift register at the left-hand operand input (Op.sub.2) of the arithmetic and logic unit to obtain a leftward shift by one position of the contents of the accumulator and a multiplexer (2) to provide, at the first step of computation of the quotient (DIVS), a bit for the comparison of the signs of the divisor and of the dividend (CS.sub.1), stored in a bit (CS) of the condition register and representing the sign bit of the quotient, and to provide, as the least significant bit (g.sub.0) of the left-hand operand at the following steps of computation of the quotient (DIVQ), a complemented quotient bit (NQ) computed at the preceding step i-1 and memorized in the condition register, that represents the least significant bit of the quotient at the step i of the computation of the quotient, and wherein at each step of computation of the quotient, a zero detection bit computed by the circuit for the detection of null partial remainders is updated in a bit (Z) of the condition register.
- 2. Device according to claim 1, wherein the circuit for the detection of null partial remainders comprises a first combinational circuit to compute a zero detection bit at each division step i to re-update a bit (Z) of the condition register, in such a way that this bit computed at the step i is equal to 1 if all the bits b.sub.16 to b.sub.31 and the bit b.sub.15 of the result contained in the accumulator are null or if the detection bit computed at the preceding step i-1 and memorized (Z) in the condition register and the bit b.sub.15 are null.
- 3. Device according to claim 2, comprising a circuit for the correction of the quotient that comprises a first combinational circuit to compute a correction bit (Cs.sub.2) of the quotient, in such a way that this bit (Cs.sub.2) is equal to 1 if the divisor is negative (Sdiv=1) and there has been a detection of an entirely null remainder (Z=1) or if there has not been any entirely null remainder detected (|Z=1) but the divisor and the dividend have different signs (CS=CS.sub.1 =1) and a multiplexer (MUX) to apply the error correction bit as an input carry bit (Cin) to the arithmetic and logic unit.
- 4. Device according to claim 3, wherein the correction bit is then memorized in a bit (CS) of the condition register and wherein a bit indicating whether all the bits b0 to b15 of the corrected quotient are null is memorized in the condition register to establish the way in which the partial remainder must be corrected.
Priority Claims (1)
Number |
Date |
Country |
Kind |
94 06214 |
May 1994 |
FRX |
|
Parent Case Info
This application is a continuation of application Ser. No. 08/737,814, filed Nov. 19, 1996, ABD, which is 371 of PCT/FR95/00655 filed on May 18, 1995.
US Referenced Citations (10)
Non-Patent Literature Citations (2)
Entry |
International Search Report, from PCT/FR95/00655, filed May 18, 1995. |
Non-Recovery Type Divider, patent abstract of Japan, published Jun. 25, 1990. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
737814 |
|
|