JPH0667852A - Divider - Google Patents

Divider

Info

Publication number
JPH0667852A
JPH0667852A JP4217664A JP21766492A JPH0667852A JP H0667852 A JPH0667852 A JP H0667852A JP 4217664 A JP4217664 A JP 4217664A JP 21766492 A JP21766492 A JP 21766492A JP H0667852 A JPH0667852 A JP H0667852A
Authority
JP
Japan
Prior art keywords
quotient
divider
digit
binary
redundant binary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4217664A
Other languages
Japanese (ja)
Inventor
Motonobu Tonomura
元伸 外村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP4217664A priority Critical patent/JPH0667852A/en
Publication of JPH0667852A publication Critical patent/JPH0667852A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide an efficient divider for executing the scaling conversion of a normalized divisor range by using a redundant binary adder for partial residual calculation, and determining a quotient by the two upper digits of a partial residual value. CONSTITUTION:The divider is provided with a carry look ahead adder for executing the scaling conversion of the range of a divisor X into 1<=X<3/2, a redundant binary adder having no carry propagration (-1, 0, +1) in partial residual calculation, a circuit for controlling addition by determining a quatient by the two upper digits of a partial residual value, and a circuit 5 for converting a quotient from a redundant binary value into a binary value. Although 10 logical steps are used for the determination of one digit of a quotient in a convensional divider, the determination can be attained only by 7 steps in this divider, and since the conversion of a redundant binary value into a binary value can be efficiently executed, performance can be improved 30% or more.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、計算機システムの算術
演算制御方式に係り、特に除算を高速に実現するのに好
適な除算器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an arithmetic operation control system for a computer system, and more particularly to a divider suitable for realizing high speed division.

【0002】[0002]

【従来の技術】一般に、除算は、1桁単位に商が決定さ
れ、その商決定にもとづいて部分剰余が計算され、次の
演算ステップでは、この部分剰余値が1桁シフトされ、
それにもとづいて次の桁の商が決定され、という具合
に、繰り返し演算が実行される。この1桁単位に商を決
定して行く方法は、基数2の除算法と呼ばれている。こ
れを高速に実現する方法として、部分剰余計算に冗長2
進数と呼ばれる{+1,0,−1}の表現を利用する冗
長2進加算器を設けて、桁上げ伝播のない加算を行う方
法が考案されている(谷口隆志、枝松壽一、西山保、國
信茂郎、高木直史:冗長2進表現を用いた高速乗除算
器、電子情報通信学会技術研究報告ICD88−39、
1−6ページ、1988年)。
2. Description of the Related Art Generally, in division, a quotient is determined in units of one digit, a partial remainder is calculated based on the quotient determination, and in the next operation step, the partial remainder value is shifted by one digit.
Based on that, the quotient of the next digit is determined, and so on, and the iterative operation is executed. This method of determining the quotient in units of one digit is called a radix-2 division method. As a method for achieving this at high speed, redundancy is added to the partial remainder calculation.
A method has been devised in which a redundant binary adder that uses the expression of {+1, 0, -1} called a decimal number is provided to perform addition without carry propagation (Takashi Taniguchi, Toichi Edamatsu, Yasushi Nishiyama, Kunio). Nobushigero, Takagi Naofumi: High-speed multiplier / divider using redundant binary representation, IEICE Technical Report ICD88-39,
1-6, 1988).

【0003】[0003]

【発明が解決しようとする課題】この方法では、商を決
定するのに部分剰余値の最上位3桁分を参照する必要が
ある。回路の論理段数(2入力AND、ORまたはEO
R相当を1段として数える)にして、4段分である。ま
た、商を決定した後、冗長2進加算器を使用して部分剰
余を計算する部分には論理段数にして6段分が必要であ
る。従って、商1桁を決定するためには、回路の総論理
段数として10段分が必要である。しかし、従来のよう
に、除数Xを1/2≦X<1(表記的には、[1/2,
1)=O.1・・・と書く)の範囲に正規化しているか
ぎり、商決定のための部分剰余値の参照を3桁より小さ
くすることは原理的にできない。
In this method, it is necessary to refer to the highest three digits of the partial remainder value to determine the quotient. Number of logical stages of circuit (2-input AND, OR or EO
(R equivalent is counted as one stage), which is four stages. Further, after the quotient is determined, the redundant binary adder is used to calculate the partial remainder, which requires 6 logical stages. Therefore, in order to determine one digit of the quotient, 10 stages are required as the total number of logic stages of the circuit. However, the divisor X is 1/2 ≦ X <1 (notationally, [1/2,
1) = O. In principle, it is impossible to make the reference of the partial remainder value for determining the quotient smaller than 3 digits unless it is normalized in the range of (1 ...).

【0004】また、この方法により決定された商は、冗
長2進数で表現されているために、最終的には、通常の
2進数に変換する必要がある。この操作は簡単で、+1
で表現されている桁成分と−1で表現されている桁成分
とに分けて、通常の2進加算器で前者から後者を減算す
ればよい。そのため、冗長2進→2進変換器は、前記引
用文献も含めた大抵の文献では、通常の2進加算器で容
易に構成できるとして直接構成するようなことはしてい
ない。しかし、冗長2進→2進変換器を直接構成すれば
もっと簡単になる。
Further, since the quotient determined by this method is represented by a redundant binary number, it is necessary to finally convert it into a normal binary number. This operation is easy, +1
The digit component represented by (1) and the digit component represented by -1 may be divided, and the latter may be subtracted from the former by a normal binary adder. Therefore, in most of the documents including the cited document, the redundant binary-to-binary converter is not directly configured because it can be easily configured by a normal binary adder. However, it will be easier if the redundant binary-to-binary converter is directly constructed.

【0005】従って、本発明の目的とするところは、商
を決定するのに必要な部分剰余値の参照桁数を3桁より
も少なくする除数の範囲条件を求めることにより、商決
定の論理を簡単にし、回路の論理段数を削減することに
より、また商の冗長2進→2進変換器を直接構成するこ
とにより高速な除算器を提供することにある。
Therefore, the object of the present invention is to determine the quotient decision logic by determining the range condition of the divisor which makes the reference digit number of the partial remainder value necessary for determining the quotient less than three digits. It is to provide a high-speed divider by simplifying and reducing the number of logic stages of the circuit and by directly configuring a redundant binary to binary converter of a quotient.

【0006】[0006]

【課題を解決するための手段】3桁より少ない部分剰余
値の参照で商を決定することができるための条件を求め
た結果、除数の範囲は[1,3/2)=1.0・・・で
あり、2桁の参照であることが解明された。従って、除
数をこの範囲に収まるように変換する。具体的には、正
規化されている除数X=0.1・・・から、小数点以下
2桁目の結果を参照し、もし0ならば、除数Xを2倍す
ることにより、すなわち、2X=1.0・・・にする。
もし1ならば、桁上げ先見付き加算器によって除数Xと
(1/2)Xを加算することにより、すなわち、X+
(1/2)X=1.0・・・にする。このとき、同時に
被除数Yに対しても同じ変換をかければ、商の値は変ら
ないので、正しく商が求まることになる。
[Means for Solving the Problems] As a result of obtaining a condition for determining a quotient by referring to a partial remainder value having less than three digits, the range of divisor is [1,3 / 2) = 1.0. .., which was clarified to be a two-digit reference. Therefore, the divisor is converted so that it falls within this range. Specifically, from the normalized divisor X = 0.1 ..., refer to the second digit after the decimal point, and if 0, double the divisor X, that is, 2X = Set to 1.0 ...
If 1, then add divisor X and (1/2) X by carry lookahead adder, ie X +
(1/2) X = 1.0 ... At this time, if the same conversion is applied to the dividend Y at the same time, the value of the quotient does not change, so that the quotient is correctly obtained.

【0007】また、商の冗長2進→2進変換器は、+1
で表現されている桁成分と−1で表現されている桁成分
は互いに排他的であるという性質を利用して、通常の2
進加算器よりも簡単化する。さらに、商は1桁単位の演
算ステップで逐次求められていくので、前演算ステップ
のゲートのスイッチング動作はすでに決定されていると
いうことに注目することにより、通常の回路の動作速度
よりも速くなることを示す。
Also, the quotient redundant binary → binary converter is +1.
The digit component represented by and the digit component represented by -1 are mutually exclusive by using the property that they are mutually exclusive.
Simpler than a base adder. Further, since the quotient is sequentially obtained in the operation step of one digit unit, it should be noted that the switching operation of the gate in the previous operation step has already been decided, so that it becomes faster than the operation speed of the normal circuit. Indicates that.

【0008】[0008]

【作用】本発明によれば、除数の範囲を[1,3/2)
に収めるという余分な変換が必要になるが、通常の除算
では、ゼロで除算することを防ぐために、ゼロ・オペラ
ンドの検出を行うことや除数と被除数の桁合わせするな
どの前処理が必要であるので、この前処理と並列に除数
の範囲変換を実行することができ、まったくオーバヘッ
ドとならないために高速な除算器が実現できる。
According to the present invention, the range of the divisor is [1,3 / 2)
However, in order to prevent division by zero, normal division requires preprocessing such as detection of zero operands and alignment of the divisor and dividend. Therefore, the range conversion of the divisor can be executed in parallel with this preprocessing, and since there is no overhead at all, a high-speed divider can be realized.

【0009】[0009]

【実施例】本発明の基数2の除算器の基本構成の実施例
を、図1に示す。一般に、浮動小数点演算では、指数
部、符号部、仮数部に分かれているが、本実施例では、
最も処理が重く、本質的な仮数部の処理のみを説明する
ことにする。その他の部分は、処理がそんなに重くない
ので本質的ではない。また、固定小数点演算や整数演算
へ応用するには、桁合わせ処理が必要になるが、これも
別途考慮すればよいので本質的ではない。
FIG. 1 shows an embodiment of the basic configuration of a radix-2 divider according to the present invention. Generally, in a floating point operation, it is divided into an exponent part, a sign part, and a mantissa part.
Only the processing of the mantissa, which is the heaviest processing and is essential, will be described. The other parts are not essential as the processing is not so heavy. In addition, digit alignment processing is required for application to fixed-point arithmetic or integer arithmetic, but this is not essential because it may be considered separately.

【0010】被除数をY、除数をXとする。そして被除
数Yと除数Xの格納レジスタをそれぞれ10、20とす
る。これらは、後に説明するスケーリング操作が施され
て、それぞれY’11、X’21に変換される。Y’と
X’の値にもとづいて、1桁単位に商が決定され(回路
30)、冗長2進加算器を使って部分剰余計算が桁上げ
伝播なしに実行される(回路40)。そして、部分剰余
計算結果は1桁シフトされ、以下同様に、次々の桁の商
が決定されていく。これらの演算回路30,31,・・
・;40,41,・・・は、図1に示すように、配列状
に配置される。最後に、決定された各桁の商q(0),
・・・,q(n−1)は冗長2進数で表現されているの
で、冗長2進→2進変換器50によって通常の2進数に
変換されて、最終的な商が求まる。
Let Y be the dividend and X be the divisor. The storage registers for the dividend Y and the divisor X are set to 10 and 20, respectively. These are converted into Y′11 and X′21, respectively, by performing a scaling operation described later. The quotient is determined for each digit based on the values of Y'and X '(circuit 30), and the partial remainder calculation is performed without carry propagation using the redundant binary adder (circuit 40). Then, the partial remainder calculation result is shifted by one digit, and the quotient of each digit is determined in the same manner. These arithmetic circuits 30, 31, ...
.., 40, 41, ... Are arranged in an array as shown in FIG. Finally, the determined quotient q (0) of each digit,
.., q (n-1) are represented by redundant binary numbers, and thus are converted into normal binary numbers by the redundant binary-to-binary converter 50 to obtain the final quotient.

【0011】以下、図1の乗算器の回路動作を、より詳
細に説明する。
The circuit operation of the multiplier shown in FIG. 1 will be described below in more detail.

【0012】まず、被除数Yと除数Xはともに正規化さ
れていて、0.1・・・のかたちをしているものとす
る。これらは、表1に示すように、除数Xの範囲を
[1,3/2)に収めるというスケーリング操作によっ
てそれぞれY’11、X’21に変換される。
First, it is assumed that the dividend Y and the divisor X are both normalized and have a shape of 0.1 ... As shown in Table 1, these are converted into Y′11 and X′21, respectively, by a scaling operation of keeping the range of the divisor X within [1,3 / 2].

【0013】[0013]

【表1】 [Table 1]

【0014】すなわち、図2および図3に示すように、
小数点以下2桁目の値がもし0ならば、除数Xを2倍に
して、2X=1.0・・・のかたちにする。もし1なら
ば、除数Xとその1/2の値を桁上げ先見付き加算器1
2,22で加算し、X+(1/2)X=1.0・・・の
かたちにする。この変換をMとし、X’=MX、Y’=
MY、商をQとすると、 Q=Y/X=(MY)/(MX)=Y’/X’ ・・・(数1) なる関係にあるので、スケーリング操作によっても正し
く商が求まることがわかる。
That is, as shown in FIGS. 2 and 3,
If the value of the second digit after the decimal point is 0, the divisor X is doubled to form 2X = 1.0. If it is 1, the value of divisor X and its half is carried to adder with carry forward 1
Add 2 and 22 to form X + (1/2) X = 1.0 ... Let this conversion be M, X '= MX, Y' =
Assuming that MY and the quotient are Q, Q = Y / X = (MY) / (MX) = Y ′ / X ′ (Equation 1), so that the quotient can be correctly obtained by the scaling operation. Recognize.

【0015】基数2の除算は、漸化式 R(i+1)=2・(R(i)−q(i)・X’) ・・・(数2) によって繰り返し実行される。ここで、iは演算の繰り
返しステップ数を表し、小数点以下i桁目の商を決定す
る演算に係わるものであることを示す。R(i)はiス
テップ目の部分剰余計算を行う前の部分剰余値であり、
この値にもとづいて小数点以下i桁目の商が決定され
る。特に、R(0)=Y’である。そして、部分剰余が
冗長2進加算器を使って桁上げ伝播なしで求められる。
その部分剰余結果が2倍(1桁シフト)されて、次の演
算ステップi+1で使われる部分剰余値R(i+1)に
なる。
The radix-2 division is repeatedly executed by the recurrence formula R (i + 1) = 2 (R (i) -q (i) X ') (Equation 2). Here, i represents the number of repeating steps of the calculation, and indicates that it is related to the calculation for determining the quotient at the i-th digit after the decimal point. R (i) is the partial remainder value before performing the partial remainder calculation at the i-th step,
Based on this value, the quotient of the i-th decimal place is determined. In particular, R (0) = Y '. Then, the partial remainder is obtained using the redundant binary adder without carry propagation.
The partial remainder result is doubled (shifted by one digit) to become the partial remainder value R (i + 1) used in the next calculation step i + 1.

【0016】次に、部分剰余値R(i)の上位2桁から
商q(i)を決定し、図4に示す冗長2進加算器80の
加算を制御する信号出力の割当てを表2に示す。
Next, the quotient q (i) is determined from the upper two digits of the partial remainder value R (i), and the signal output allocation for controlling the addition of the redundant binary adder 80 shown in FIG. 4 is shown in Table 2. Show.

【0017】[0017]

【表2】 [Table 2]

【0018】これは除数Xをスケーリング操作してX’
=[1,3/2)の範囲に収めることによって求められ
たものである。加算制御信号の出力には、qcとqvが
あり、qcはいわば絶対値qvの符号信号である。これ
により、冗長2進数で表される商q(i)を2個の2値
信号で表すことができる。この表2によれば、商q
(i)の値がゼロでも、加算制御信号qcの出力値が1
の場合があるので、冗長2進加算器80には1が入力さ
れる場合があることが示されている。その理由は、ゼロ
値を加算する場合には、2の補数表現では2通りの方法
があり、本発明ではこれらをうまく使い分けていること
を示している。すなわち、最上位2桁目と3桁目の間に
小数点があり、最上位1桁目は2の補数表現のための符
号ビットであるとするとゼロ値は次の2通りの表現がで
きる。
This is a scaling operation of the divisor X to X '.
= [1,3 / 2). There are qc and qv in the output of the addition control signal, and so to speak, qc is a code signal of the absolute value qv. Thereby, the quotient q (i) represented by the redundant binary number can be represented by two binary signals. According to this table 2, the quotient q
Even if the value of (i) is zero, the output value of the addition control signal qc is 1
Therefore, 1 may be input to the redundant binary adder 80. The reason is that when adding a zero value, there are two methods in the two's complement representation, and the present invention uses them properly. That is, if there is a decimal point between the second highest digit and the third highest digit, and the highest first digit is the sign bit for the 2's complement expression, the zero value can be expressed in the following two ways.

【0019】(1) 0=00.0・・・00 または (2) 0=11.1・・・11+00.0・・・01 (すなわち、ゼロの反転+1はまたゼロである) このような使い分けによって、制御論理が簡単化され、
商の決定回路60は図4に示すように、論理段数2段で
構成され、従来の4段の半分になる。図4の商決定回路
60には部分剰余値R(i)の上位2桁が入力される
が、記号r0-,r0+はそれぞれ最上位2桁目(小数点0桁
目)の−1表現成分、+1表現成分の値が入力されるこ
とを示している。また、記号r1-,r1+はそれぞれ最上位
3桁目(小数点以下1桁目)の−1表現成分、+1表現
成分の値が入力されることを示している。さらに、記号
rj-,rj+はそれぞれ小数点以下j桁目の−1表現成分、
+1表現成分の値が冗長2進加算器80に入力されるこ
とを示している。小数点以下j桁目の冗長2進加算器8
0の部分剰余計算結果は、記号r'j-,r'j+で示される。
冗長2進加算器80には、小数点以下(j+1)桁目の
桁上げc-out(j+1)が入力されるが、それより上位への桁
上げ伝播は生じていない。同様に、小数点以下j桁目の
桁上げc-out(j)が出力される。記号x'(j)はスケーリン
グされた除数X’の小数点以下j桁目の値が入力される
ことを示している。
(1) 0 = 00.0 ... 00 or (2) 0 = 11.1 ... 11 + 00.0 ... 01 (that is, inversion of zero + 1 is also zero) Control logic is simplified by proper use,
As shown in FIG. 4, the quotient determination circuit 60 is composed of two logic stages, which is half of the conventional four stages. The upper two digits of the partial remainder value R (i) are input to the quotient determination circuit 60 of FIG. 4, and the symbols r0- and r0 + are respectively the -1 expression component of the second highest digit (0th decimal point), It indicates that the value of the +1 expression component is input. The symbols r1- and r1 + indicate that the values of the -1 expression component and the +1 expression component of the third highest digit (first digit after the decimal point) are input, respectively. Furthermore, the sign
rj- and rj + are the -1 expression components at the jth digit after the decimal point,
It is shown that the value of the +1 expression component is input to the redundant binary adder 80. Redundant binary adder 8th digit after the decimal point
The partial remainder calculation result of 0 is indicated by the symbols r'j-, r'j +.
The carry c-out (j + 1) at the (j + 1) th place after the decimal point is input to the redundant binary adder 80, but carry propagation to the higher order is not generated. Similarly, the carry c-out (j) at the jth digit after the decimal point is output. The symbol x '(j) indicates that the value of the scaled divisor X', which is the jth digit after the decimal point, is input.

【0020】最後に、決定された商q(0).q(1)
・・・q(n−1)は、冗長2進数表現であるため、冗
長2進→2進変換器50によって通常の2進数に変換さ
れて、最終的な商Qが求まる。4桁の冗長2進数、(qj
-,qj+),(q(j+1)-,q(j+1)+),(q(j+2)-,q(j+2)+),(q(j+3)
-,q(j+3)+)が通常の2進数qj,q(j+1),q(j+2),q(j+3)に
変換される例を図5に示す。最右側の記号+,-はそれぞ
れ−1表現成分、+1表現成分の値に関係していること
を示している。この変換器の原理は、まず、各桁では、
−1表現成分と+1表現成分の値は互いに排他的である
という性質を利用して論理を簡略化している。そして、
ある桁から上位桁の+1表現成分の値がゼロならば、下
位桁からの−1表現成分の値が伝播するという性質を利
用して論理を構成している。すなわち、ある桁に−1表
現成分の値が1のものがる場合、これを桁借り生成信号
gとして出す。また、ある桁の+1表現成分の値がゼロ
のときは、桁借り伝播信号pとして出す。除算の場合、
今まで説明してきたように、商は1桁単位に上位桁から
下位桁に向かって逐次決定されていく。ここで、図6に
示すように、パス・トランジスタを使った基本論理回路
90によって回路50の論理回路を構成すれば、回路9
0のゲートのスイッチングの役割をしているA入力(回
路50では上位側入力に相当する)の方が先に動作して
いると仮定すれば、入力B(回路50では下位側入力に
相当する)の動作がその後に定まっても、Bの入力信号
は瞬時にゲートを通過するだけなので回路50は高速に
動作することになる。従って、商を冗長2進→2進変換
する場合にかぎって、通常の場合と違って桁上げ伝播は
生じない。
Finally, the determined quotient q (0). q (1)
Since q (n-1) is a redundant binary number expression, it is converted to a normal binary number by the redundant binary-to-binary converter 50 to obtain the final quotient Q. 4-digit redundant binary number, (qj
-, qj +), (q (j + 1)-, q (j + 1) +), (q (j + 2)-, q (j + 2) +), (q (j + 3)
FIG. 5 shows an example in which-, q (j + 3) +) is converted into ordinary binary numbers qj, q (j + 1), q (j + 2), q (j + 3). The rightmost symbols + and-indicate that they are related to the values of the -1 expression component and the +1 expression component, respectively. The principle of this converter is that at each digit,
The logic is simplified by utilizing the property that the values of the −1 expression component and the +1 expression component are mutually exclusive. And
The logic is constructed by utilizing the property that if the value of the +1 expression component from a certain digit to the higher digit is zero, the value of the -1 expression component from the lower digit propagates. That is, when a certain digit has a value of the −1 expression component of 1, this is output as a borrow generation signal g. Further, when the value of the +1 expression component of a certain digit is zero, it is output as a digit borrow propagation signal p. For division,
As described above, the quotient is sequentially determined from the upper digit to the lower digit in units of one digit. Here, as shown in FIG. 6, if the logic circuit of the circuit 50 is configured by the basic logic circuit 90 using pass transistors, the circuit 9
Assuming that the A input (corresponding to the upper side input in the circuit 50), which plays the role of switching the gate of 0, operates earlier, the input B (corresponding to the lower side input in the circuit 50). Even if the operation of) is determined thereafter, the circuit 50 operates at high speed because the input signal of B simply passes through the gate instantaneously. Therefore, carry propagation does not occur unlike in the normal case only when the quotient is converted from redundant binary to binary.

【0021】[0021]

【発明の効果】本発明によれば、従来、商1桁あたりの
決定において、論理段数10段を必要としていたのに対
して、7段で実現でき、また冗長2進→2進変換が効率
化されるなどのため、30パーセント以上の性能向上を
提供できるという効果がある。
According to the present invention, the number of logic stages is conventionally required to be 10 in determining a quotient per digit, but it can be realized with 7 stages, and redundant binary → binary conversion is efficient. Therefore, there is an effect that performance improvement of 30% or more can be provided.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例による基数2の除算器の構成図
である。
FIG. 1 is a configuration diagram of a radix-2 divider according to an embodiment of the present invention.

【図2】スケーリング変換をゼロ検出回路と並列に実行
させ、スケーリング変換のオーバヘッドをなくす方法の
説明図である。
FIG. 2 is an explanatory diagram of a method of executing scaling conversion in parallel with a zero detection circuit to eliminate overhead of scaling conversion.

【図3】スケーリング変換を制御するセレクタ回路であ
る。
FIG. 3 is a selector circuit that controls scaling conversion.

【図4】任意ステップの商決定とある桁の部分剰余を計
算する回路である。
FIG. 4 is a circuit for calculating a quotient at an arbitrary step and calculating a partial remainder of a certain digit.

【図5】冗長2進変換する回路である。FIG. 5 is a circuit for performing redundant binary conversion.

【図6】パス・トランジスタを使って論理回路を構成す
る場合の基本回路である。
FIG. 6 is a basic circuit for forming a logic circuit using pass transistors.

【符号の説明】[Explanation of symbols]

1・・・ゼロ除算検出信号,2・・・スケーリング変換のセレ
クタ回路,10・・・被除数Y格納レジスタ,20・・・除数
X格納レジスタ,11・・・スケーリング変換された被除
数Y’格納レジスタ,12,22・・・桁上げ先見付き加
算器,21・・・スケーリング変換された除数X’格納レ
ジスタ,30,31,32,33・・・商決定回路,4
0,41,42・・・部分剰余計算回路,50・・・冗長2進
→2進変換回路,60・・・商決定回路,80・・・任意桁の
部分剰余計算回路,90・・・パス・トランジスタを使っ
て構成した基本論理回路,∨・・・論理和,∧・・・論理積,
¬論理否定.
1 ... Zero division detection signal, 2 ... Scaling conversion selector circuit, 10 ... Divisor Y storage register, 20 ... Divisor X storage register, 11 ... Scaling converted dividend Y'storage register , 12, 22 ... Adder with carry look ahead, 21 ... Scaling-converted divisor X'storage register, 30, 31, 32, 33 ... Quotation decision circuit, 4
0, 41, 42 ... Partial remainder calculation circuit, 50 ... Redundant binary-to-binary conversion circuit, 60 ... Quotient decision circuit, 80 ... Partial remainder calculation circuit for arbitrary digits, 90 ... Basic logic circuit constructed by using pass transistors, ∨ ・ ・ ・ OR, ∧ ・ ・ ・ AND,
¬ Logical negation.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】部分剰余計算に冗長2進数と呼ばれる{+
1,0,−1}の表現を利用する冗長2進加算器を設
け、除数Xを1≦X<3/2の範囲にスケーリング変換
し、部分剰余値の上位2桁のみを参照することによって
商決定を簡単にすることを特徴とする基数2の除算器。
1. A redundant binary number called {+ in partial remainder calculation.
By providing a redundant binary adder using the expression of 1,0, −1}, scaling conversion of the divisor X to a range of 1 ≦ X <3/2, and referring to only the upper two digits of the partial remainder value A radix-2 divider that simplifies quotient decisions.
【請求項2】ゼロ除算検出などの前処理部分と並列にス
ケーリング変換を実行することを特徴とする請求項1に
記載の基数2の除算器。
2. A radix-2 divider according to claim 1, wherein the scaling transform is executed in parallel with a preprocessing part such as zero division detection.
【請求項3】部分剰余にゼロ値を加算する場合に、加数
の2の補数表現により、(1)オール0パターンと
(2)オール1パターン+1、すなわち、オール0パタ
ーンの反転+1を使い分け、商決定の論理を簡単にする
ことを特徴とする請求項1に記載の基数2の除算器。
3. When a zero value is added to the partial remainder, (1) all 0 pattern and (2) all 1 pattern + 1, that is, inversion of all 0 pattern + 1 are used separately by the two's complement representation of the addend. The radix-2 divider of claim 1, wherein the quotient decision logic is simplified.
【請求項4】冗長2進数表現では、同じ桁内に−1表現
成分と+1表現成分が同時に出現することがないという
性質を利用した冗長2進→2進変換器を設けて、冗長2
進数で表現されている商を通常の2進数に効率的に変換
することを特徴とする請求項1に記載の基数2の除算
器。
4. In the redundant binary number representation, a redundant binary → binary converter is provided, which utilizes the property that the −1 expression component and the +1 expression component do not appear simultaneously in the same digit.
The radix-2 divider according to claim 1, wherein the quotient expressed in a base number is efficiently converted into a normal binary number.
【請求項5】請求項4に記載の冗長2進→2進変換器の
回路において、パス・トランジスタを使って論理回路を
構成し、ゲート動作の伝播遅延なしに高速に実行するこ
とを特徴とする請求項1に記載の基数2の除算器。
5. The circuit of the redundant binary-to-binary converter according to claim 4, wherein a logic circuit is constructed by using a pass transistor, and is executed at high speed without propagation delay of gate operation. The radix-2 divider according to claim 1.
JP4217664A 1992-08-17 1992-08-17 Divider Pending JPH0667852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4217664A JPH0667852A (en) 1992-08-17 1992-08-17 Divider

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4217664A JPH0667852A (en) 1992-08-17 1992-08-17 Divider

Publications (1)

Publication Number Publication Date
JPH0667852A true JPH0667852A (en) 1994-03-11

Family

ID=16707788

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4217664A Pending JPH0667852A (en) 1992-08-17 1992-08-17 Divider

Country Status (1)

Country Link
JP (1) JPH0667852A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11117194B2 (en) 2017-03-15 2021-09-14 Applied Materials, Inc. Additive manufacturing having energy beam and lamp array
US11235274B2 (en) 2011-06-30 2022-02-01 Donaldson Company, Inc. Filter systems; components; features; and, methods of assembly and use
US11318405B2 (en) 2016-06-17 2022-05-03 Donaldson Company, Inc. Air cleaner assemblies and methods of use

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11235274B2 (en) 2011-06-30 2022-02-01 Donaldson Company, Inc. Filter systems; components; features; and, methods of assembly and use
US11318405B2 (en) 2016-06-17 2022-05-03 Donaldson Company, Inc. Air cleaner assemblies and methods of use
US11117194B2 (en) 2017-03-15 2021-09-14 Applied Materials, Inc. Additive manufacturing having energy beam and lamp array

Similar Documents

Publication Publication Date Title
US7395304B2 (en) Method and apparatus for performing single-cycle addition or subtraction and comparison in redundant form arithmetic
US4999803A (en) Floating point arithmetic system and method
Wahba et al. Area efficient and fast combined binary/decimal floating point fused multiply add unit
Timarchi et al. Arithmetic circuits of redundant SUT-RNS
KR100465371B1 (en) apparatus and method for design of the floating point ALU performing addition and round operations in parallel
WO1999040508A1 (en) Fast adder/subtractor for signed floating point numbers
JP3436994B2 (en) Shift device
Erle et al. Decimal floating-point multiplication
Yan et al. An energy-efficient multiplier with fully overlapped partial products reduction and final addition
US20200183650A1 (en) Radix-1000 decimal floating-point numbers and arithmetic units using a skewed representation of the fraction
KR100627993B1 (en) Three input split-adder
JP2857505B2 (en) Division device
JPH0667852A (en) Divider
Mohan et al. Evaluation of Mixed-Radix Digit Computation Techniques for the Three Moduli RNS {2 n− 1, 2 n, 2 n+ 1− 1}
San et al. Hardware implementation of floating-point operating devices by using IEEE-754 binary arithmetic standard
JPH063578B2 (en) Processor
JPH0667853A (en) Divider
JPH0251732A (en) Floating point computing element
JP2518532B2 (en) Subtractor shift type divider
JPH061437B2 (en) Processor
Dawid et al. Bit-level systolic carry-save array division
Veeramachaneni et al. A novel carry-look ahead approach to a unified bcd and binary adder/subtractor
Chawla et al. Hardware efficient reconfigurable arithmetic unit
SHIRISHA et al. A Fast Binary to BCD Conversion for Binary/Decimal Multi-Operand Adder
JPH0614318B2 (en) Processor