JP2000305752A - Divider - Google Patents

Divider

Info

Publication number
JP2000305752A
JP2000305752A JP11108674A JP10867499A JP2000305752A JP 2000305752 A JP2000305752 A JP 2000305752A JP 11108674 A JP11108674 A JP 11108674A JP 10867499 A JP10867499 A JP 10867499A JP 2000305752 A JP2000305752 A JP 2000305752A
Authority
JP
Japan
Prior art keywords
circuit
dividend
divisor
output
normalized
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.)
Withdrawn
Application number
JP11108674A
Other languages
Japanese (ja)
Inventor
Masato Tatsuoka
真人 立岡
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP11108674A priority Critical patent/JP2000305752A/en
Publication of JP2000305752A publication Critical patent/JP2000305752A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce physical quantity, to reduce a mounting area, to reduce the number of cycles necessary for division, and to quicken division in a divider which operates the division of a binary number. SOLUTION: This divider is provided with a pre-processing part 3 which executes the normalization of a dividend RR, the normalization of a divisor DD, the multiplication of a normalized divisor D by three, and the calculation of a difference SC between normalizing shift amounts necessary for the normalization of the dividend RR and normalizing shift amounts necessary for the normalization of the divisor DD, and a dividing part 4 which calculates this following formula; a normalized dividend R ÷ the normalized divisor D by using redundant binary expression with a code with a radix as 4, and outputs a quotient Q by dividing the quotient Q into a positive number value QP and a negative number value QM, and a post-processing part 5 which inputs the positive number value QP and the negative number value QM and the normalizing shift amounts SC, and certifies a quotient QQ calculated by this following formula; the dividend RR ÷ the divisor DD.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、基数を4とする符
号付冗長2進表現を使用して2進数の除算を行う除算器
に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a divider for dividing a binary number using a signed redundant binary representation having a radix of 4.

【0002】[0002]

【従来の技術】従来、2進数の除算を行う除算器とし
て、例えば、ニュートン・ラプソン法を用いて除数の逆
数を算出し、この除数の逆数と被除数の積から商を求め
る収束型の除算器や、引き戻し法を使用した回復型の除
算器などが知られている。
2. Description of the Related Art Conventionally, as a divider for dividing a binary number, for example, a reciprocal of a divisor is calculated by using the Newton-Raphson method, and a convergence type divider for obtaining a quotient from a product of the reciprocal of the divisor and a dividend. Also, a recovery type divider using a pull-back method is known.

【0003】[0003]

【発明が解決しようとする課題】ニュートン・ラプソン
法を使用した収束型の除算器は、商予測のためのROM
と、精度を上げるための乗算器及び加算器が必要であ
り、これだけで物量が多くなってしまうという問題点を
有していると共に、除算に多くのサイクルが必要とな
り、高速化を図ることができないという問題点を有して
いた。
A convergence type divider using the Newton-Raphson method is a ROM for quotient prediction.
In addition, a multiplier and an adder for improving the accuracy are required, and this alone has a problem that the physical quantity is increased.In addition, a large number of cycles are required for the division, and the speed can be increased. There was a problem that it was not possible.

【0004】また、引き戻し法を使用した回復型の除算
器は、加算器と比較器とで構成することができ、物量が
少なくて済むが、求める商のビット分だけサイクル数が
必要となり、高速化を図ることができないという問題点
を有していた。
A recovery type divider using the pull-back method can be composed of an adder and a comparator, and requires a small amount of data. There was a problem that it could not be achieved.

【0005】本発明は、かかる点に鑑み、物量が少な
く、実装面積の縮小化を図ることができると共に、除算
に必要なサイクル数を少なくし、除算の高速化を図るこ
とができるようにした除算器を提供することを目的とす
る。
[0005] In view of the above, the present invention has a small physical quantity, can reduce the mounting area, can reduce the number of cycles required for division, and can speed up the division. It is intended to provide a divider.

【0006】[0006]

【課題を解決するための手段】本発明の除算器は、基数
を4とする符号付冗長2進表現を使用して、2進数の被
除数を2進数の除数で除算する除算部を備えているとい
うものである。
SUMMARY OF THE INVENTION A divider according to the present invention includes a divider for dividing a binary dividend by a binary divisor using a signed redundant binary representation having a radix of 4. That is.

【0007】本発明の除算器によれば、基数を4とする
符号付冗長2進表現を使用して、2進数の被除数を2進
数の除数で除算する除算部を備えているので、収束型の
除算器のように商予測のためのROMや、精度を上げる
ための乗算器及び加算器を必要とせず、また、引き戻し
法を使用した回復型の除算器に比較して、段接続すべき
基本除算回路列の数を半減することができる。
According to the divider of the present invention, the division unit for dividing the dividend of a binary number by the divisor of a binary number using a signed redundant binary representation with a radix of 4 is provided. It does not require a ROM for quotient prediction as in the case of the divider, a multiplier and an adder for increasing the accuracy, and should be connected in stages compared to a recovery type divider using the pullback method. The number of basic division circuit rows can be halved.

【0008】[0008]

【発明の実施の形態】以下、図1〜図25を参照して、
本発明の一実施形態について、本発明を固定小数点除算
器に適用した場合を例にして説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to FIGS.
One embodiment of the present invention will be described with an example in which the present invention is applied to a fixed-point divider.

【0009】図1は本発明の一実施形態の要部を示す回
路図である。図1中、1は被除数RRを格納する8ビッ
ト構成の被除数レジスタ、2は除数DDを格納する8ビ
ット構成の除数レジスタである。
FIG. 1 is a circuit diagram showing a main part of an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes an 8-bit dividend register for storing a dividend RR, and reference numeral 2 denotes an 8-bit divisor register for storing a divisor DD.

【0010】また、3は被除数RRを0.5≦RR<1
となるように正規化してなる正規化被除数Rの生成、除
数DDを0.5≦DD<1となるように正規化してなる
正規化除数Dの生成、正規化除数Dを3倍してなる正規
化除数3倍値3Dの生成、及び、被除数RRの正規化に
必要とした正規化シフト量SAと除数DDの正規化に必
要とした正規化シフト量SBとの差SC(=SA−S
B)の算出などを行う前処理部である。
[0010] Further, 3 indicates that the dividend RR is 0.5 ≦ RR <1.
A normalized dividend R is generated by normalizing so that the divisor DD is normalized so that 0.5 ≦ DD <1, and a normalized divisor D is tripled. The difference SC (= SA−S) between the normalized shift amount SA required for generating the normalized divisor triple value 3D and for normalizing the dividend RR and the normalized shift amount SB required for normalizing the divisor DD.
This is a preprocessing unit that performs calculation of B) and the like.

【0011】また、4は正規化被除数Rを被除数、正規
化除数Dを除数とする除算を、基数を4とする符号付冗
長2進表現を使用して行い、その商Qを、正数値QPと
負数値QMとに分離して出力する除算部である。
Reference numeral 4 denotes a division using a normalized dividend R as a dividend and a normalization divisor D as a divisor using a signed redundant binary expression with a radix of 4 and the quotient Q as a positive value QP And a division unit that separates and outputs a negative value QM.

【0012】ここに、基数を4とする符号付冗長2進表
現は、数4に示すように表現されるものであり、各桁の
係数xi が取り得る値は、−310、−210、−110、0
10、110、210、310のいずれかである。
[0012] Here, signed redundant binary representation to 4 the radix is intended to be expressed as shown in Equation 4, the coefficient x i possible value of each digit, -3 10 -2 10 , -1 10 , 0
10 , 1 10 , 2 10 , or 3 10 .

【0013】[0013]

【数4】 (Equation 4)

【0014】なお、本明細書及び図面では、2進数の負
数は角括弧[ ]で囲んで表現するものとする。したが
って、たとえば、−310は[11]2 又は[1][1]2
−2 10は[10]2 又は[1]02 、−110は[01]2
又は0[1]2 、010は002、110は012 、210は1
2 、310は112と表現され、また、たとえば、0.6
2510は0.1012 、0.11[1]2 、1.[1]012
等で表現されることになる。
In this specification and the drawings, a binary negative
Numbers are expressed in square brackets []. But
For example, -3TenIs [11]TwoOr [1] [1]Two,
-2 TenIs [10]TwoOr [1] 0Two, -1TenIs [01]Two
Or 0 [1]Two, 0TenIs 00Two, 1TenIs 01Two, 2TenIs 1
0Two, 3TenIs 11TwoAnd, for example, 0.6
25TenIs 0.101Two , 0.11 [1]Two , 1. [1] 01Two
And so on.

【0015】また、図1中、5は正規化被除数Rを被除
数、正規化除数Dを除数とする除算の商Qを構成する正
数値QP、負数値QM及び前処理部3から出力される正
規化シフト量差SCを入力して、被除数RRを除数DD
で除算してなる商QQを確定する後処理部、6は後処理
部5から出力される商QQを格納する8ビット構成の商
レジスタである。
In FIG. 1, reference numeral 5 denotes a positive value QP, a negative value QM, and a normal value output from the preprocessing unit 3, which form a quotient Q of a division using the normalized dividend R as a dividend and the normalized divisor D as a divisor. Is input to the dividend RR and the divisor DD.
A post-processing unit 6 for determining a quotient QQ obtained by dividing by is a 8-bit quotient register for storing the quotient QQ output from the post-processing unit 5.

【0016】図2は前処理部3の構成を示す回路図であ
る。図2中、7は被除数RRを入力して被除数RRを正
規化してなる正規化被除数Rを生成する正規化被除数生
成部、8は正規化被除数生成部7から出力される正規化
被除数Rを格納する8ビット構成の正規化被除数レジス
タである。
FIG. 2 is a circuit diagram showing the configuration of the preprocessing unit 3. In FIG. 2, reference numeral 7 denotes a normalized dividend generating unit that receives the dividend RR and generates a normalized dividend R by normalizing the dividend RR, and 8 stores the normalized dividend R output from the normalized dividend generating unit 7. This is an 8-bit normalized dividend register.

【0017】また、9は除数DDを入力して除数DDを
正規化してなる正規化除数Dを生成する正規化除数生成
部、10は正規化除数生成部9から出力される正規化除
数Dを格納する8ビット構成の正規化除数レジスタであ
る。
Reference numeral 9 denotes a normalized divisor generating unit that receives the divisor DD and generates a normalized divisor D by normalizing the divisor DD. 10 denotes a normalized divisor D output from the normalized divisor generating unit 9. An 8-bit normalized divisor register to be stored.

【0018】また、11は正規化除数生成部9から出力
される正規化除数Dを入力して正規化除数Dを3倍して
なる正規化除数3倍値3Dを生成する正規化除数3倍値
生成部、12は正規化除数3倍値生成部11から出力さ
れる正規化除数3倍値3Dを格納する10ビット構成の
正規化除数3倍値レジスタである。
Numeral 11 denotes a normalized divisor triple which receives the normalized divisor D output from the normalized divisor generator 9 and generates a normalized divisor triple value 3D obtained by multiplying the normalized divisor D by three. The value generator 12 is a 10-bit normalized divisor triple value register that stores the normalized divisor triple value 3D output from the normalized divisor triple value generator 11.

【0019】また、13は正規化被除数生成部7におい
て被除数RRの正規化に必要とした被除数RRの正規化
シフト量SAと、正規化除数生成部9において除数DD
の正規化に必要とした除数DDの正規化シフト量SBと
の差SCを商QQを確定する場合の小数点位置情報とし
て算出する正規化シフト量差算出部、14は正規化シフ
ト量差算出部13から出力される正規化シフト量差SC
を格納する3ビット構成の正規化シフト量差レジスタで
ある。
Reference numeral 13 denotes a normalized shift amount SA of the dividend RR required for normalization of the dividend RR in the normalized dividend generator 7 and a divisor DD in the normalized divisor generator 9.
A normalized shift amount difference calculator for calculating a difference SC between the divisor DD and the normalized shift amount SB required for normalization as decimal point position information when the quotient QQ is determined, and 14 is a normalized shift amount difference calculator. 13 is a normalized shift amount difference SC
Is a three-bit normalized shift amount difference register.

【0020】図3は正規化被除数生成部7の構成を示す
回路図である。図3中、15は被除数RRの小数点の位
置を検出して被除数RRを正規化するに必要な正規化シ
フト量SAを算出する正規化シフト量算出回路、16は
正規化シフト量算出回路15から出力される正規化シフ
ト量SAに基づいて被除数RRをシフトして正規化被除
数Rを生成する左シフタである。
FIG. 3 is a circuit diagram showing a configuration of the normalized dividend generation unit 7. In FIG. 3, reference numeral 15 denotes a normalized shift amount calculating circuit that detects the position of the decimal point of the dividend RR and calculates a normalized shift amount SA required to normalize the dividend RR. The left shifter shifts the dividend RR based on the output normalized shift amount SA to generate a normalized dividend R.

【0021】図4は正規化除数生成部9の構成を示す回
路図である。図4中、17は除数DDの小数点の位置を
検出して除数DDを正規化するに必要な正規化シフト量
SBを算出する正規化シフト量算出回路、18は正規化
シフト量算出回路17から出力される正規化シフト量S
Bに基づいて除数DDをシフトして正規化除数Dを生成
する左シフタである。
FIG. 4 is a circuit diagram showing the configuration of the normalized divisor generating unit 9. In FIG. 4, reference numeral 17 denotes a normalized shift amount calculating circuit for detecting a position of a decimal point of the divisor DD and calculating a normalized shift amount SB necessary for normalizing the divisor DD. Output normalized shift amount S
This is a left shifter that generates a normalized divisor D by shifting the divisor DD based on B.

【0022】図5は正規化除数3倍値生成部11の構成
を示す回路図である。図5中、19は正規化除数D(=
D7D6・・・D0)を左に1ビットだけシフトし、最
下位ビットに“0”を挿入して正規化除数2倍値2D
(=D7D6・・・D00)を生成するワイヤ・1ビッ
ト左シフタ、20はワイヤ・1ビット左シフタ19から
出力される正規化除数2倍値2Dと正規化除数Dとを加
算して正規化除数3倍値3Dを生成する9ビット加算器
である。
FIG. 5 is a circuit diagram showing the configuration of the normalized divisor triple value generation unit 11. In FIG. 5, 19 is a normalized divisor D (=
D7D6... D0) is shifted to the left by one bit, and “0” is inserted into the least significant bit to obtain a normalized divisor double value 2D
(= D7D6... D00) A wire / one-bit left shifter, and 20 is a normalized value obtained by adding the normalized divisor double value 2D output from the wire / one-bit left shifter 19 and the normalized divisor D. This is a 9-bit adder that generates a divisor triple value 3D.

【0023】図6は正規化シフト量差算出部13の構成
を示す回路図である。図6中、21は正規化被除数生成
部7において被除数RRの正規化に必要とした正規化シ
フト量SAを被減数とし、正規化除数生成部9において
除数DDの正規化に必要とした正規化シフト量SBを減
数とする減算を行い、正規化シフト量差SC(=SA−
SB)を算出する3ビット減算器である。
FIG. 6 is a circuit diagram showing the configuration of the normalized shift amount difference calculating section 13. In FIG. 6, reference numeral 21 denotes a normalized shift amount SA required for normalizing the dividend RR in the normalized dividend generating unit 7 as a minuend, and a normalized shift amount required for normalizing the divisor DD in the normalized divisor generating unit 9. A subtraction is performed by subtracting the amount SB, and the normalized shift amount difference SC (= SA−
SB) for calculating SB).

【0024】図7は除算部4の構成を示す回路図であ
る。図7中、23は正規化除数D(=D7D6・・・D
0)を左に1ビットだけシフトして、29 の桁(ビット
9)及び20 の桁(ビット0)にそれぞれ“0”を挿入
してなる10ビット構成の正規化除数2倍値2D(=0
D7D6・・・D00)を生成するワイヤ・1ビット左
シフタである。
FIG. 7 is a circuit diagram showing a configuration of the division unit 4. In FIG. 7, reference numeral 23 denotes a normalized divisor D (= D7D6... D
0) shifted by 1 bit to the left, 2 9 digit (bit 9) and 2 0 digit (bit 0) to the normalized divisor twice value 2D of the inserted formed by 10 bits constituting each "0" (= 0
D7D6... D00).

【0025】また、24は正規化被除数Rを被除数、正
規化除数Dを除数とする除算を行う基本除算回路列段接
続部、25は基本除算回路列段接続部24の後述する基
本除算回路列から出力される被除数(除算結果)の一部
を入力して、正規化被除数Rを被除数、正規化除数Dを
除数とする除算の商Qの小数点以下の部分を算出する商
算出部である。
Reference numeral 24 denotes a basic division circuit column connection unit for performing division using the normalized dividend R as a dividend and a normalization divisor D as a divisor. Reference numeral 25 denotes a basic division circuit column of the basic division circuit column stage connection unit 24 which will be described later. This is a quotient calculation unit that inputs a part of the dividend (division result) output from, and calculates the fractional part of the quotient Q of the division using the normalized dividend R as the dividend and the normalized divisor D as the divisor.

【0026】また、26は商算出部25から出力される
商Qの小数点以下の部分を正数値と負数値とに分離し、
商Qを構成する正数値QPと負数値QMとを分離して格
納する商分離格納部、27は基本除算回路列段接続部2
4の除算制御及び商分離格納部26の商分離格納制御を
行う除算・商分離格納制御部である。
26 separates the fractional part of the quotient Q output from the quotient calculator 25 into a positive value and a negative value,
A quotient separation storage unit that separates and stores a positive value QP and a negative value QM that constitute the quotient Q. Reference numeral 27 denotes a basic division circuit column connection unit 2
4 is a division / quotient separation / storage control unit that performs division control and quotient separation / storage control of the quotient separation / storage unit 26.

【0027】図8は基本除算回路列段接続部24の構成
を示す回路図である。図8中、28−1〜28−5は基
本除算回路列であり、基本除算回路列28−1は、正規
化被除数Rを被減数R7R6・・・R0、正規化除数D
を減数D7D6・・・D0として減算を行うものであ
る。
FIG. 8 is a circuit diagram showing the configuration of the basic division circuit column stage connection unit 24. In FIG. 8, reference numerals 28-1 to 28-5 denote basic division circuit rows, and the basic division circuit row 28-1 converts a normalized dividend R into a minuend R7R6... R0, a normalized divisor D
Are subtracted as D7D6... D0.

【0028】また、基本除算回路列28−2は基本除算
回路列28−1から出力される被除数R'7R'6・・・
R'0を上位8ビットとし、下位2ビットを00とする
被除数R'7R'6・・・R'000を被加減数R9R8
・・・R0とし、正規化除数D、正規化除数2倍値2
D、正規化除数3倍値3D又はゼロの中から選択した除
数を加減数D9D8・・・D0として加減算を行うもの
である。
The basic division circuit row 28-2 is composed of dividends R'7R'6... Output from the basic division circuit row 28-1.
The dividends R'7R'6... R'000, where R'0 is the upper 8 bits and lower 2 bits are 00, are the addends and subtractions R9R8.
... R0, normalized divisor D, normalized divisor double value 2
D, a divisor selected from the normalized divisor triple value 3D or zero is added and subtracted as D9D8... D0 to perform addition and subtraction.

【0029】また、基本除算回路列28−3〜28−5
は、前段の基本除算回路列から出力される被除数R'9
R'8・・・R'0中の下位8ビットR'7R'6・・・
R'0を上位8ビットとし、下位2ビットを00とする
被除数R'7R'6・・・R'000を被加減数R9R8
・・・R0とし、正規化除数D、正規化除数2倍値2
D、正規化除数3倍値3D又はゼロの中から選択した除
数を加減数D9D8・・・D0として加減算を行うもの
である。
The basic division circuit rows 28-3 to 28-5
Is the dividend R′9 output from the preceding basic division circuit row.
R'8 ... Lower 8 bits in R'0 R'7R'6 ...
The dividends R'7R'6... R'000, where R'0 is the upper 8 bits and lower 2 bits are 00, are the addends and subtractions R9R8.
... R0, normalized divisor D, normalized divisor double value 2
D, a divisor selected from the normalized divisor triple value 3D or zero is added and subtracted as D9D8... D0 to perform addition and subtraction.

【0030】基本除算回路列28−1においては、減算
による中間値たる中間差及び中間桁上げの算出と、中間
差及び中間桁上げからの被除数の算出とが行われ、基本
除算回路列28−2〜28−5においては、加算による
中間値たる中間和又は減算による中間値たる中間差及び
中間桁上げの算出と、中間和又は中間差及び中間桁上げ
からの被除数の算出とが行われる。
In the basic division circuit row 28-1, calculation of an intermediate difference and an intermediate carry, which are intermediate values by subtraction, and calculation of a dividend from the intermediate difference and the intermediate carry are performed. In 2 to 28-5, the calculation of the intermediate sum as the intermediate value by addition or the intermediate difference and the intermediate carry by subtraction, and the calculation of the dividend from the intermediate sum or the intermediate difference and the intermediate carry are performed.

【0031】ここに、減算による中間値たる中間差の算
出は、表4に示す演算規則に基づいて行われ、加算によ
る中間値たる中間和の算出は、表5に示す演算規則に基
づいて行われるが、表4に示す演算規則は、表4に示す
演算規則に含まれているので、基本除算回路列28−1
〜28−5には、表5に示す演算規則に基づいて中間和
及び中間桁上げを算出する中間値・中間桁上げ算出回路
を設ければ良いことになる。
Here, the calculation of the intermediate difference as an intermediate value by subtraction is performed based on the calculation rules shown in Table 4, and the calculation of the intermediate sum as the intermediate value by addition is performed based on the calculation rules shown in Table 5. However, since the operation rules shown in Table 4 are included in the operation rules shown in Table 4, the basic division circuit column 28-1
28 to 5-5 may be provided with an intermediate value / intermediate carry calculation circuit for calculating an intermediate sum and an intermediate carry based on the arithmetic rules shown in Table 5.

【0032】[0032]

【表4】 [Table 4]

【0033】[0033]

【表5】 [Table 5]

【0034】また、中間和又は中間差及び中間桁上げか
らの被除数の算出は、表6に示す演算規則に基づいて行
われる。なお、Kn−1は中間和又は中間差、Cn−1
は中間桁上げ、R'n−1は被除数である。
Further, the calculation of the dividend from the intermediate sum or the intermediate difference and the intermediate carry is performed based on the operation rules shown in Table 6. Here, Kn-1 is an intermediate sum or an intermediate difference, and Cn-1.
Is an intermediate carry, and R'n-1 is a dividend.

【0035】[0035]

【表6】 [Table 6]

【0036】図9は基本除算回路列28−1の構成を示
す回路図である。図9中、33−h(但し、h=7、
6、・・・0である。)は被除数Rhと除数DhとをN
AND処理するNAND回路、34〜37は中間値・中
間桁上げ回路をなす基本A回路、Khは中間差、C8、
C6、C4、C2は中間桁上げである。
FIG. 9 is a circuit diagram showing a configuration of the basic division circuit row 28-1. In FIG. 9, 33-h (where h = 7,
6,... 0. ) Represents the dividend Rh and the divisor Dh by N
NAND circuit for performing AND processing, 34 to 37 are basic A circuits forming an intermediate value / intermediate carry circuit, Kh is an intermediate difference, C8,
C6, C4 and C2 are intermediate carry.

【0037】また、38〜41は被除数算出回路をなす
基本B回路、KShは中間差Khの符号信号、RS'h
は基本A回路34〜37から出力される被除数R'hの
符号信号、42−hは基本B回路から出力される被除数
R'hと符号信号RS'hとをNAND処理して基本除算
回路列28−1から出力すべき符号信号RS'hを生成
するNAND回路である。
Reference numerals 38 to 41 denote basic B circuits constituting a dividend calculation circuit, KSh denotes a code signal of an intermediate difference Kh, and RS'h
Is a code signal of the dividend R'h output from the basic A circuits 34 to 37, and 42-h is a basic division circuit sequence by performing a NAND process on the dividend R'h and the code signal RS'h output from the basic B circuit. 28-1 is a NAND circuit that generates a code signal RS'h to be output from 28-1.

【0038】なお、NAND回路33−7、33−6、
42−7、42−6と基本A回路34と基本B回路38
とで基本除算回路が構成され、NAND回路33−5、
33−4、42−5、42−4と基本A回路35と基本
B回路39とで基本除算回路が構成され、NAND回路
33−3、33−2、42−3、42−2と基本A回路
36と基本B回路40とで基本除算回路が構成され、N
AND回路33−1、33−0、42−1、42−0と
基本A回路37と基本B回路41とで基本除算回路が構
成されている。
The NAND circuits 33-7, 33-6,
42-7, 42-6, basic A circuit 34, and basic B circuit 38
And a basic division circuit are configured, and the NAND circuit 33-5,
33-4, 42-5, and 42-4, the basic A circuit 35, and the basic B circuit 39 form a basic division circuit, and the NAND circuits 33-3, 33-2, 42-3, and 42-2 and the basic A circuit A basic division circuit is composed of the circuit 36 and the basic B circuit 40.
The AND circuits 33-1, 33-0, 42-1 and 42-0, the basic A circuit 37 and the basic B circuit 41 constitute a basic division circuit.

【0039】図10は基本A回路34〜37の構成を示
す回路図である。これら基本A回路34〜37は、数5
に示す演算を実行するものであり、表5に示す演算のう
ち、正の場合の演算に必要なものである。
FIG. 10 is a circuit diagram showing a configuration of the basic A circuits 34 to 37. These basic A circuits 34 to 37 are represented by the following equation (5).
Are executed for the operation in the positive case among the operations shown in Table 5.

【0040】[0040]

【数5】 (Equation 5)

【0041】図10中、43は被除数Rn−1(但し、
n=8、5、3、1である。)と除数Dn−1とをEO
R(排他的論理和)処理するEOR回路、44は被除数
Rn−1と除数Dn−1とをNAND処理するNAND
回路、45はNAND回路44の出力を反転するインバ
ータ、46は被除数Rnと除数DnとをEOR処理する
EOR回路、47はインバータ45の出力とEOR回路
46の出力とをEOR処理するEOR回路である。
In FIG. 10, reference numeral 43 denotes a dividend Rn-1 (however,
n = 8, 5, 3, 1. ) And the divisor Dn-1 are EO
An EOR circuit 44 for performing an R (exclusive OR) process, a NAND 44 for performing a NAND process on the dividend Rn-1 and the divisor Dn-1
A circuit, 45, an inverter for inverting the output of the NAND circuit 44, 46, an EOR circuit for EORing the dividend Rn and the divisor Dn, and 47, an EOR circuit for EORing the output of the inverter 45 and the output of the EOR circuit 46; .

【0042】また、48は被除数Rnと除数DnとをN
AND処理するNAND回路、49は被除数Rnと除数
DnとをNOR処理するNOR回路、50はNOR回路
49の出力とNAND回路44の出力とをOR処理する
OR回路、51はNAND回路48とOR回路50の出
力とをNAND処理するNAND回路である。
The reference numeral 48 represents the dividend Rn and the divisor Dn as N.
NAND circuit for AND processing, 49 is a NOR circuit for NOR processing the dividend Rn and divisor Dn, 50 is an OR circuit for ORing the output of the NOR circuit 49 and the output of the NAND circuit 44, 51 is the NAND circuit 48 and the OR circuit This is a NAND circuit that performs a NAND process on the output of F.50.

【0043】また、52は被除数Rn−1と除数Dn−
1とをEOR処理するEOR回路、53は被除数Rnと
除数DnとをEOR処理するEOR回路、54はEOR
回路52、53の出力をNAND処理するNAND回路
である。
Reference numeral 52 denotes a dividend Rn-1 and a divisor Dn-
EOR circuit for performing EOR processing on 1; 53, an EOR circuit for performing EOR processing on the dividend Rn and the divisor Dn;
This is a NAND circuit that performs NAND processing on the outputs of the circuits 52 and 53.

【0044】また、55はEOR回路43の出力又は
“1”を中間差Kn−1として出力するセレクタであ
り、NAND回路54の出力に制御され、NAND回路
54の出力=“0”の場合には、“1”を選択し、NA
ND回路54の出力=“1”の場合には、EOR回路4
3の出力を選択するものである。
Reference numeral 55 denotes a selector which outputs the output of the EOR circuit 43 or "1" as the intermediate difference Kn-1. The selector 55 is controlled by the output of the NAND circuit 54, and outputs when the output of the NAND circuit 54 is "0". Selects “1” and selects NA
When the output of the ND circuit 54 is “1”, the EOR circuit 4
The third output is selected.

【0045】また、56はEOR回路47の出力又は
“0”を中間差Knとして出力するセレクタであり、N
AND回路54の出力に制御され、NAND回路54の
出力=“0”の場合には“0”を選択し、NAND回路
54の出力=“1”の場合には、EOR回路47の出力
を選択するものである。
A selector 56 outputs the output of the EOR circuit 47 or "0" as the intermediate difference Kn.
Controlled by the output of the AND circuit 54, when the output of the NAND circuit 54 is "0", "0" is selected, and when the output of the NAND circuit 54 is "1", the output of the EOR circuit 47 is selected. Is what you do.

【0046】また、57はNAND回路51の出力又は
“1”を中間桁上げGn+1として出力するセレクタで
あり、NAND回路54の出力に制御され、NAND回
路54の出力=“0”の場合には“1”を選択し、NA
ND回路54の出力=“1”の場合には、NAND回路
51の出力を選択するものである。
A selector 57 outputs the output of the NAND circuit 51 or "1" as an intermediate carry Gn + 1. The selector 57 is controlled by the output of the NAND circuit 54, and when the output of the NAND circuit 54 is "0". Select “1” and select NA
When the output of the ND circuit 54 is “1”, the output of the NAND circuit 51 is selected.

【0047】図11は基本B回路38〜41の構成を示
す回路図である。これら基本B回路38〜41は、数6
に示す演算を実行するものであり、表6に示す演算を行
うのに必要な回路である。
FIG. 11 is a circuit diagram showing the structure of the basic B circuits 38 to 41. These basic B circuits 38 to 41 are given by
This is a circuit necessary for performing the operations shown in Table 6.

【0048】[0048]

【数6】 (Equation 6)

【0049】図11中、58は中間差Kn−1を反転す
るインバータ、59はインバータ58の出力と中間桁上
げGn−1とをEOR処理して被除数R'n−1を出力
するEOR回路である。
In FIG. 11, reference numeral 58 denotes an inverter for inverting the intermediate difference Kn-1; 59, an EOR circuit for EOR-processing the output of the inverter 58 and the intermediate carry Gn-1 to output a dividend R'n-1. is there.

【0050】また、60は中間桁上げGn−1を反転す
るインバータ、61は符号信号KSn−1とインバータ
60の出力とをNAND処理して符号信号RS'n−1
を出力するNAND回路である。
Reference numeral 60 denotes an inverter for inverting the intermediate carry Gn-1. Reference numeral 61 denotes a NAND processing of the sign signal KSn-1 and the output of the inverter 60 to perform a sign signal RS'n-1.
Are output from the NAND circuit.

【0051】また、62は中間差Knを反転するインバ
ータ、63は符号信号KSn−1を反転するインバー
タ、64は中間桁上げGn−1とインバータ63の出力
と中間値Kn−1とをNAND処理するNAND回路、
65はインバータ62の出力とNAND回路64の出力
とをEOR処理して被除数R'nを出力するEOR回路
である。
Further, 62 is an inverter for inverting the intermediate difference Kn, 63 is an inverter for inverting the sign signal KSn-1, and 64 is NAND processing of the intermediate carry Gn-1 and the output of the inverter 63 and the intermediate value Kn-1. NAND circuit,
Reference numeral 65 denotes an EOR circuit that performs an EOR process on an output of the inverter 62 and an output of the NAND circuit 64 and outputs a dividend R′n.

【0052】また、66はNAND回路64の出力と符
号信号KSnとをNAND処理するNAND回路、67
はNAND回路66の出力を反転して符号信号RS'n
を出力するインバータである。
Reference numeral 66 denotes a NAND circuit for performing NAND processing on the output of the NAND circuit 64 and the sign signal KSn;
Inverts the output of the NAND circuit 66 to generate the sign signal RS'n.
Is an inverter that outputs.

【0053】図12は基本除算回路列28−2〜28−
5の構成を示す回路図である。図12中、68−u(但
し、uは9、8・・・0であるが、u=7、6・・・1
の部分は図示を省略している。)は除数選択信号sel
−D1、sel−D2、sel−D3により選択動作を
制御され、ビットuの正規化除数Du、ビットuの正規
化除数2倍値2Du又はビットuの正規化除数3倍値3
Duを選択する除数選択用セレクタ、69は並列加減算
基本回路列である。
FIG. 12 shows a basic division circuit row 28-2 to 28-.
5 is a circuit diagram showing a configuration of FIG. In FIG. 12, 68-u (where u is 9, 8,... 0, but u = 7, 6,.
Is omitted from the drawing. ) Is the divisor selection signal sel
The selection operation is controlled by -D1, sel-D2, and sel-D3, and the normalized divisor Du of the bit u, the normalized divisor 2 times the bit u 2Du, or the normalized divisor 3 times the bit u 3
A selector for selecting a divisor for selecting Du, and 69 is a parallel addition / subtraction basic circuit sequence.

【0054】図13は除数選択用セレクタ68−uの構
成を示す回路図である。図13中、70は正規化除数D
uと除数選択信号sel−D1とをNAND処理するN
AND回路、71は正規化除数2倍値2Duと除数選択
信号sel−D2とをNAND処理するNAND回路、
72は正規化除数3倍値3Duと除数選択信号sel−
D3とをNAND処理するNAND回路、73はNAN
D回路70、71、72の出力をNAND処理するNA
ND回路である。なお、表7は、除数選択信号sel−
D1、sel−D2、sel−D3と、NAND回路7
3の出力との関係を示している。
FIG. 13 is a circuit diagram showing the structure of the divisor selection selector 68-u. In FIG. 13, 70 is a normalized divisor D
N that performs NAND processing on u and the divisor selection signal sel-D1
An AND circuit 71 for performing NAND processing on the normalized divisor double value 2Du and the divisor selection signal sel-D2;
Reference numeral 72 denotes a normalized divisor triple value 3Du and a divisor selection signal sel-.
NAND circuit for performing NAND processing with D3, 73 is NAN
NA for NANDing outputs of D circuits 70, 71, 72
This is an ND circuit. Table 7 shows the divisor selection signal sel-
D1, sel-D2, sel-D3, and NAND circuit 7
3 shows the relationship with the output.

【0055】[0055]

【表7】 [Table 7]

【0056】図14は並列加減算基本回路列69の構成
を示す回路図である。図14中、74−u(但し、u=
6〜2の部分は図示を省略している。)は被除数Ruと
除数DuとをNAND処理するNAND回路、75−u
(但し、u=6〜2の部分は図示を省略している。)は
加算/減算信号pm_に制御され、NAND回路74−
uの出力又は除数Duを選択するセレクタである。
FIG. 14 is a circuit diagram showing a configuration of the parallel addition / subtraction basic circuit sequence 69. In FIG. 14, 74-u (where u =
Illustrations of parts 6 and 2 are omitted. ) Is a NAND circuit for performing NAND processing on the dividend Ru and the divisor Du, and 75-u
(However, the portion of u = 6 to 2 is not shown.) Is controlled by the addition / subtraction signal pm_, and the NAND circuit 74-
A selector for selecting the output of u or the divisor Du.

【0057】また、76−t(但し、t=4、3、2、
1、0であるが、t=3、2、1の部分は図示を省略し
ている。)は中間値・中間桁上げ回路をなす基本C回
路、77−t(但し、t=3、2、1の部分は図示を省
略している。)は被除数算出回路をなす基本B回路であ
る。
Also, 76-t (where t = 4, 3, 2,
Although 1, 0, the portion of t = 3, 2, 1 is not shown. ) Is a basic C circuit forming an intermediate value / intermediate carry circuit, and 77-t (however, t = 3, 2, 1 is omitted from the drawing) is a basic B circuit forming a dividend calculation circuit. .

【0058】また、78−u(但し、u=6〜2の部分
は図示を省略している。)は基本B回路から出力される
被除数Ruと除数DuとをNAND処理するNAND回
路、79−u(但し、u=6〜2の部分は図示を省略し
ている。)は加算/減算信号pm_に制御され、基本B
回路から出力される除数DuとNAND回路78−uの
出力とをNAND処理して除数Duを出力するセレクタ
である。
Reference numeral 78-u (where u = 6 to 2 is not shown) denotes a NAND circuit for performing NAND processing on the dividend Ru and the divisor Du output from the basic B circuit. u (where u = 6 to 2 is not shown) is controlled by the addition / subtraction signal pm_, and the basic B
This is a selector that performs a NAND process on the divisor Du output from the circuit and the output of the NAND circuit 78-u to output the divisor Du.

【0059】また、NAND回路74−9〜74−0、
78−9〜78−0は、減算を行う場合に必要な回路で
あり、後述するように、減算時には、加算/減算信号p
m_=“0”、加算時には、加算/減算信号pm_=
“1”となる。
The NAND circuits 74-9 to 74-0,
Reference numerals 78-9 to 78-0 denote circuits necessary for performing the subtraction. As will be described later, the addition / subtraction signal p is used during the subtraction.
m _ = “0”, and the addition / subtraction signal pm_ =
It becomes “1”.

【0060】図15は基本C回路76−4〜76−0の
構成を示す回路図である。図15中、80は基本A回
路、81は基本D回路、82は符号信号RSm−1(但
し、mは9、7、5、3、1である。)、RSmをNA
ND処理するNAND回路である。
FIG. 15 is a circuit diagram showing the structure of the basic C circuits 76-4 to 76-0. In FIG. 15, 80 is a basic A circuit, 81 is a basic D circuit, 82 is a code signal RSm-1 (where m is 9, 7, 5, 3, 1), and RSm is an NA.
This is a NAND circuit that performs ND processing.

【0061】また、83は基本A回路80から出力され
る中間和又は中間差Km−1又は基本D回路81から出
力される中間和又は中間差Km−1を選択するセレクタ
であり、NAND回路82の出力に制御され、NAND
回路82の出力=“1”の場合には、基本A回路80か
ら出力される中間和又は中間差Km−1を選択し、NA
ND回路82の出力=“0”の場合には、基本D回路8
1から出力される中間和又は中間差Km−1を選択する
ものである。
A selector 83 selects the intermediate sum or intermediate difference Km-1 output from the basic A circuit 80 or the intermediate sum or intermediate difference Km-1 output from the basic D circuit 81. Is controlled by the output of
When the output of the circuit 82 is “1”, the intermediate sum or the intermediate difference Km−1 output from the basic A circuit 80 is selected, and NA
When the output of the ND circuit 82 is “0”, the basic D circuit 8
The intermediate sum or the intermediate difference Km-1 output from 1 is selected.

【0062】また、84は“0”又は基本D回路81か
ら出力される符号信号KSm−1を選択するセレクタで
あり、NAND回路82の出力に制御され、NAND回
路82の出力=“1”の場合には“0”を選択し、NA
ND回路82の出力=“0”の場合には、基本D回路8
1から出力される符号信号KSm−1を選択するもので
ある。
A selector 84 selects "0" or a code signal KSm-1 outputted from the basic D circuit 81. The selector 84 is controlled by the output of the NAND circuit 82, and the output of the NAND circuit 82 is "1". In this case, select "0"
When the output of the ND circuit 82 is “0”, the basic D circuit 8
1 is to select the code signal KSm-1 output from 1.

【0063】また、85は基本A回路80から出力され
る中間和又は中間差Km又は基本D回路81から出力さ
れる中間和又は中間差Kmを選択するセレクタであり、
NAND回路82の出力に制御され、NAND回路82
の出力=“1”の場合には、基本A回路80から出力さ
れる中間和又は中間差Kmを選択し、NAND回路82
の出力=“0”の場合には、基本D回路81から出力さ
れる中間和又は中間差Kmを選択するものである。
A selector 85 selects the intermediate sum or intermediate difference Km output from the basic A circuit 80 or the intermediate sum or intermediate difference Km output from the basic D circuit 81.
The NAND circuit 82 is controlled by the output of the NAND circuit 82
Is "1", the intermediate sum or intermediate difference Km output from the basic A circuit 80 is selected, and the NAND circuit 82 is selected.
Is "0", the intermediate sum or the intermediate difference Km output from the basic D circuit 81 is selected.

【0064】また、86は“0”又は基本D回路81か
ら出力される符号信号KSm−1を選択するセレクタで
あり、NAND回路82の出力に制御され、NAND回
路82の出力=“1”の場合には“0”を選択し、NA
ND回路82の出力=“0”の場合には、基本D回路8
1から出力される符号信号KSmを選択するものであ
る。
Reference numeral 86 denotes a selector for selecting "0" or the code signal KSm-1 output from the basic D circuit 81. The selector 86 is controlled by the output of the NAND circuit 82 and outputs "1" when the output of the NAND circuit 82 is "1". In this case, select "0"
When the output of the ND circuit 82 is “0”, the basic D circuit 8
This selects the code signal KSm output from 1.

【0065】また、87は基本A回路80から出力され
る中間桁上げGm+1又は基本D回路81から出力され
る中間桁上げGm+1を選択するセレクタであり、NA
ND回路82の出力に制御され、NAND回路82の出
力=“1”の場合には、基本A回路80から出力される
中間桁上げGm+1を選択し、NAND回路82の出力
=“0”の場合には、基本D回路81から出力される中
間桁上げGm+1を選択するものである。
A selector 87 selects an intermediate carry Gm + 1 output from the basic A circuit 80 or an intermediate carry Gm + 1 output from the basic D circuit 81.
Controlled by the output of the ND circuit 82, when the output of the NAND circuit 82 is "1", the intermediate carry Gm + 1 output from the basic A circuit 80 is selected, and when the output of the NAND circuit 82 is "0". Selects the intermediate carry Gm + 1 output from the basic D circuit 81.

【0066】図16は基本D回路81の構成を示す回路
図であり、基本D回路81は、数7に示す演算を行うも
のであり、表5に示す演算のうち、負の場合の演算に必
要なものである。
FIG. 16 is a circuit diagram showing the configuration of the basic D circuit 81. The basic D circuit 81 performs the operation shown in Expression 7, and performs the operation shown in Table 5 when the operation is negative. It is necessary.

【0067】[0067]

【数7】 (Equation 7)

【0068】図16中、88は被除数Rm−1と除数D
m−1とをEOR処理して中間和又は中間差Km−1を
出力するEOR回路、89はEOR回路88の出力を反
転するインバータ、90は符号信号RSm−1を反転す
るインバータ、91はインバータ89、90の出力をN
AND処理して符号信号KSm−1を出力するNAND
回路である。
In FIG. 16, reference numeral 88 denotes a dividend Rm-1 and a divisor D
An EOR circuit that outputs an intermediate sum or an intermediate difference Km-1 by performing EOR processing on m-1 and an inverter 89 that inverts the output of the EOR circuit 88, an inverter 90 that inverts the sign signal RSm-1, and an inverter 91 The output of 89 and 90 is N
NAND for performing AND processing and outputting code signal KSm-1
Circuit.

【0069】また、92は被除数Rm−1と除数Dm−
1と符号信号RSm−1とをNAND処理するNAND
回路、93は被除数Rmと除数DmとをEOR処理する
EOR回路である。
Reference numeral 92 denotes a dividend Rm-1 and a divisor Dm-
1 for performing NAND processing on 1 and the sign signal RSm-1
A circuit 93 is an EOR circuit that performs EOR processing on the dividend Rm and the divisor Dm.

【0070】また、94はEOR回路93の出力又は除
数Dmを選択して中間和又は中間差Kmを出力するセレ
クタであり、NAND回路92の出力により制御され、
NAND回路92の出力=“0”の場合にはEOR回路
93の出力を選択し、NAND回路92の出力=“1”
の場合には除数Dmを選択するものである。
A selector 94 selects the output of the EOR circuit 93 or the divisor Dm and outputs an intermediate sum or an intermediate difference Km. The selector 94 is controlled by the output of the NAND circuit 92.
When the output of the NAND circuit 92 is "0", the output of the EOR circuit 93 is selected, and the output of the NAND circuit 92 is "1".
In this case, the divisor Dm is selected.

【0071】また、95はNAND回路92の出力と符
号信号RSmとをNAND処理して符号信号KSmを出
力するNAND回路、96は被除数Rmと除数Dmとを
NAND処理するNAND回路、97はNAND回路9
6の出力を反転して中間桁上げGm+1を出力するイン
バータである。
Reference numeral 95 denotes a NAND circuit for performing NAND processing on the output of the NAND circuit 92 and the sign signal RSm to output a sign signal KSm, reference numeral 96 denotes a NAND circuit for performing NAND processing on the dividend Rm and the divisor Dm, and reference numeral 97 denotes a NAND circuit. 9
6 is an inverter that inverts the output of No. 6 and outputs an intermediate carry Gm + 1.

【0072】図17は商算出部25及び除算・商分離格
納制御部27の構成を示す回路図である。図17中、商
算出部25において、98は基本除算回路列28−1か
ら出力される被除数R'7〜R'0のうち、R'7〜R'5
を入力して、除算部4から出力すべき商Qのうち、2-1
の桁の値q9及び2-2の桁の値q8を算出する部分商算
出回路である。
FIG. 17 is a circuit diagram showing the configuration of the quotient calculation unit 25 and the division / quotient separation / storage control unit 27. In FIG. 17, in the quotient calculation unit 25, reference numeral 98 denotes R'7 to R'5 among the dividends R'7 to R'0 output from the basic division circuit row 28-1.
And the quotient Q to be output from the division unit 4 is 2 −1
Digit values q9 and 2 -2 digit value q8 is a partial quotient calculation circuit for calculating a.

【0073】また、99は基本除算回路列28−2から
出力される被除数R'9〜R'0のうち、R'7〜R'5を
入力して、除算部4から出力すべき商Qのうち、2-3
桁の値q7及び2-4の桁の値q6を算出する部分商算出
回路である。
Reference numeral 99 denotes a quotient Q to be output from the division unit 4 by inputting R'7 to R'5 among the dividends R'9 to R'0 output from the basic division circuit row 28-2. of a partial quotient calculation circuit for calculating a 2-3 digit value q7 and 2-4 digit value q6.

【0074】また、100は基本除算回路28−3から
出力される被除数R'9〜R'0のうち、R'7〜R'5を
入力して、除算部4から出力すべき商Qのうち、2-5
桁の値q5及び2-6の桁の値q4を算出する部分商算出
回路である。
Further, reference numeral 100 designates R'7 to R'5 among the dividends R'9 to R'0 output from the basic division circuit 28-3 and inputs the quotient Q to be output from the division unit 4. among a partial quotient calculation circuit for calculating the 2 -5 digit values q5 and 2-6 digit values q4.

【0075】また、101は基本除算回路列28−4か
ら出力される被除数R'9〜R'0のうち、R'7〜R'5
を入力して、除算部4から出力すべき商Qのうち、2-7
の桁の値q3及び2-8の桁の値q2を算出する部分商算
出回路である。
Reference numeral 101 denotes R'7 to R'5 among the dividends R'9 to R'0 output from the basic division circuit row 28-4.
Of the quotient Q to be output from the division unit 4, 2 −7
Is a partial quotient calculation circuit for calculating the value q3 of the digit of and the value q2 of the digit of 2 -8 .

【0076】また、102は基本除算回路列28−5か
ら出力される被除数R'9〜R'0のうち、R'7〜R'5
を入力して、除算部4から出力すべき商Qのうち、2-9
の桁の値q1及び2-10 の桁の値q0を算出する部分商
算出回路である。
Reference numeral 102 denotes R'7 to R'5 of the dividends R'9 to R'0 output from the basic division circuit row 28-5.
Of the quotient Q to be output from the division unit 4, 2 −9
Is a partial quotient calculation circuit that calculates the value q1 of the digit of and the value q0 of the digit of 2 -10 .

【0077】また、103は基本除算回路列28−1か
ら出力される被除数R'7〜R'0のうち、R'7〜R'5
を入力して基本除算回路列28−2に供給する除数選択
信号sel−D1、sel−D2、sel−D3を生成
する除数選択信号生成回路である。
Reference numeral 103 denotes R'7 to R'5 among the dividends R'7 to R'0 output from the basic division circuit row 28-1.
And a divisor selection signal generation circuit that generates divisor selection signals sel-D1, sel-D2, and sel-D3 to be supplied to the basic division circuit row 28-2.

【0078】また、104は基本除算回路列28−2か
ら出力される被除数R'9〜R'0のうち、R'7〜R'5
を入力して基本除算回路列28−3に供給する除数選択
信号sel−D1、sel−D2、sel−D3を生成
する除数選択信号生成回路である。
Reference numeral 104 denotes R'7 to R'5 among the dividends R'9 to R'0 output from the basic division circuit row 28-2.
And a divisor selection signal generation circuit that generates divisor selection signals sel-D1, sel-D2, and sel-D3 to be supplied to the basic division circuit row 28-3.

【0079】また、105は基本除算回路列28−3か
ら出力される被除数R'9〜R'0のうち、R'7〜R'5
を入力して基本除算回路列28−4に供給する除数選択
信号sel−D1、sel−D2、sel−D3を生成
する除数選択信号生成回路である。
The reference numeral 105 designates R'7 to R'5 among the dividends R'9 to R'0 output from the basic division circuit row 28-3.
Is a divisor selection signal generation circuit that generates divisor selection signals sel-D1, sel-D2, and sel-D3 to be supplied to the basic division circuit row 28-4.

【0080】また、106は基本除算回路列28−4か
ら出力される被除数R'9〜R'0のうち、R'7〜R'5
を入力して基本除算回路列28−5に供給する除数選択
信号sel−D1、sel−D2、sel−D3を生成
する除算選択信号生成回路である。
Reference numeral 106 denotes R'7 to R'5 among the dividends R'9 to R'0 output from the basic division circuit row 28-4.
Is a division selection signal generation circuit that generates divisor selection signals sel-D1, sel-D2, and sel-D3 to be supplied to the basic division circuit row 28-5.

【0081】また、107は基本除算回路列28−1か
ら出力される符号信号RS'9〜RS'0のうち、RS'7
〜RS'5を入力して加算/減算信号pm、pm_を生
成し、加算/減算信号pm_を基本除算回路列28−2
に供給すると共に、加算/減算信号pmを商分離格納部
26に供給する加算/減算信号生成回路である。なお、
加算/減算信号生成回路107から商分離格納部26に
供給する加算/減算信号pmをpm98と記載する。
Reference numeral 107 denotes RS'7 of the code signals RS'9 to RS'0 output from the basic division circuit row 28-1.
To RS'5 to generate addition / subtraction signals pm and pm_, and to add the addition / subtraction signal pm_ to the basic division circuit row 28-2.
, And supplies the addition / subtraction signal pm to the quotient separation storage unit 26. In addition,
The addition / subtraction signal pm supplied from the addition / subtraction signal generation circuit 107 to the quotient separation storage unit 26 is referred to as pm98.

【0082】また、108は基本除算回路列28−2か
ら出力される符号信号RS'9〜RS'0のうち、RS'7
〜RS'5を入力して加算/減算信号pm、pm_を生
成し、加算/減算信号pm_を基本除算回路列28−3
に供給すると共に、加算/減算信号pmを商分離格納部
26に供給する加算/減算信号生成回路である。なお、
加算/減算信号生成回路108から商分離格納部26に
供給する加算/減算信号pmをpm76と記載する。
Reference numeral 108 denotes RS'7 of the code signals RS'9 to RS'0 output from the basic division circuit row 28-2.
To RS'5 to generate addition / subtraction signals pm, pm_, and to add / subtract the addition / subtraction signal pm_ to the basic division circuit row 28-3.
, And supplies the addition / subtraction signal pm to the quotient separation storage unit 26. In addition,
The addition / subtraction signal pm supplied from the addition / subtraction signal generation circuit 108 to the quotient separation storage unit 26 is referred to as pm76.

【0083】また、109は基本除算回路列28−3か
ら出力される符号信号RS'9〜RS'0のうち、RS'7
〜RS'5を入力して加算/減算信号pm、pm_を生
成し、加算/減算信号pm_を基本除算回路列28−4
に供給すると共に、加算/減算信号pmを商分離格納部
26に供給する加算/減算信号生成回路である。なお、
加算/減算信号生成回路109から商分離格納部26に
供給する加算/減算信号pmをpm54と記載する。
Reference numeral 109 denotes RS'7 of the code signals RS'9 to RS'0 output from the basic division circuit row 28-3.
To RS'5 to generate addition / subtraction signals pm and pm_, and to add the addition / subtraction signal pm_ to the basic division circuit row 28-4.
, And supplies the addition / subtraction signal pm to the quotient separation storage unit 26. In addition,
The addition / subtraction signal pm supplied from the addition / subtraction signal generation circuit 109 to the quotient separation storage unit 26 is referred to as pm54.

【0084】また、110は基本除算回路列28−4か
ら出力される符号信号RS'9〜RS'0のうち、RS'7
〜RS'5を入力して加算/減算信号pm、pm_を生
成し、加算/減算信号pm_を基本除算回路列28−5
に供給すると共に、加算/減算信号pmを商分離格納部
26に供給する加算/減算信号生成回路である。なお、
加算/減算信号生成回路110から商分離格納部26に
供給する加算/減算信号pmをpm32と記載する。
Reference numeral 110 denotes RS'7 of the code signals RS'9 to RS'0 output from the basic division circuit row 28-4.
~ RS'5 to generate addition / subtraction signals pm, pm_, and to add / subtract the addition / subtraction signal pm_ to the basic division circuit row 28-5.
, And supplies the addition / subtraction signal pm to the quotient separation storage unit 26. In addition,
The addition / subtraction signal pm supplied from the addition / subtraction signal generation circuit 110 to the quotient separation storage unit 26 is referred to as pm32.

【0085】また、111は基本除算回路列28−5か
ら出力される符号信号RS'9〜RS'0のうち、RS'7
〜RS'5を入力して加算/減算信号pmを生成し、加
算/減算信号pmを商分離格納部26に供給する加算/
減算信号生成回路である。なお、加算/減算信号生成回
路111から商分離格納部26に供給する加算/減算信
号pmをpm10と記載する。
Reference numeral 111 denotes RS'7 of the code signals RS'9 to RS'0 output from the basic division circuit row 28-5.
~ RS'5 to generate an addition / subtraction signal pm, and supply the addition / subtraction signal pm to the quotient separation storage unit 26.
This is a subtraction signal generation circuit. Note that the addition / subtraction signal pm supplied from the addition / subtraction signal generation circuit 111 to the quotient separation storage unit 26 is referred to as pm10.

【0086】図18は部分商算出回路98〜102の構
成を示す回路図である。図18中、112は被除数R'
7、R'6をNAND処理するNAND回路、113は
NAND回路112の出力を反転して部分商qmを出力
するインバータである。
FIG. 18 is a circuit diagram showing a configuration of the partial quotient calculation circuits 98 to 102. In FIG. 18, 112 is the dividend R ′
7, a NAND circuit for performing NAND processing on R'6, and an inverter 113 for inverting the output of the NAND circuit 112 and outputting a partial quotient qm.

【0087】また、114は被除数R'6を反転するイ
ンバータ、115はインバータ114の出力と被除数
R'5とをAND処理するAND回路、116はAND
回路115の出力と被除数R'7とをNOR処理するN
OR回路、117はNOR回路116の出力を反転して
部分商qm−1を出力するインバータである。
An inverter 114 inverts the dividend R′6, an AND circuit 115 performs an AND operation on the output of the inverter 114 and the dividend R′5, and 116 denotes an AND circuit.
N for NOR-processing the output of circuit 115 and dividend R'7
The OR circuit 117 is an inverter that inverts the output of the NOR circuit 116 and outputs a partial quotient qm-1.

【0088】なお、表8は、被除数R'7、R'6、R'
5と部分商qm、qm−1との関係を示しており、qm
=R'7+R'6、qm−1=R'7+/R'6*R'5と
野関係となっている。
Table 8 shows the dividends R'7, R'6, R '
5 and the partial quotients qm and qm-1.
= R'7 + R'6 and qm-1 = R'7 + / R'6 * R'5.

【0089】[0089]

【表8】 [Table 8]

【0090】図19は除数選択信号生成回路103〜1
06の構成を示す回路図である。図19中、118は被
除数R'6を反転するインバータ、119は被除数R'7
を反転するインバータ、120は被除数R'5とインバ
ータ118、119の出力とをNAND処理するNAN
D回路、121は被除数R'6とインバータ119の出
力とをNAND処理するNAND回路である。
FIG. 19 shows the divisor selection signal generation circuits 103-1.
It is a circuit diagram which shows the structure of 06. In FIG. 19, reference numeral 118 denotes an inverter for inverting the dividend R′6, and 119 denotes a dividend R′7.
Is an NAN that NANDs the dividend R′5 and the outputs of the inverters 118 and 119.
The D circuit 121 is a NAND circuit that performs NAND processing on the dividend R′6 and the output of the inverter 119.

【0091】また、122はNAND回路120の出力
を反転して除数選択信号sel−D1を出力するインバ
ータ、123はNAND回路121の出力を反転して除
数選択信号sel−D2を出力するインバータ、124
はインバータ119の出力を反転して除数選択信号se
l−D3を出力するインバータである。なお、表9は被
除数R'7、R'6、R'5と除数選択信号sel−D
1、sel−D2、sel−D3との関係を示してい
る。
Reference numeral 122 denotes an inverter that inverts the output of the NAND circuit 120 and outputs a divisor selection signal sel-D1, 123 denotes an inverter that inverts the output of the NAND circuit 121 and outputs a divisor selection signal sel-D2, and 124
Inverts the output of the inverter 119 and outputs the divisor selection signal se
This is an inverter that outputs 1-D3. Table 9 shows the dividends R'7, R'6, R'5 and the divisor selection signal sel-D.
1, sel-D2 and sel-D3 are shown.

【0092】[0092]

【表9】 [Table 9]

【0093】図20は加算/減算信号生成回路107〜
111の構成を示す回路図である。図20中、125は
符号信号RS'7、RS'6、RS'5をNOR処理して
加算/減算信号pm_を出力するNOR回路、126は
加算/減算信号pm_を反転して加算/減算信号pmを
出力するインバータである。
FIG. 20 shows the addition / subtraction signal generation circuits 107 to
FIG. 3 is a circuit diagram illustrating a configuration of a second embodiment. 20, reference numeral 125 denotes a NOR circuit that performs NOR processing on the code signals RS'7, RS'6, and RS'5 and outputs an addition / subtraction signal pm_. Reference numeral 126 denotes an addition / subtraction signal obtained by inverting the addition / subtraction signal pm_. It is an inverter that outputs pm.

【0094】なお、表10は、符号信号RS'7、RS'
6、RS'5と加算/減算信号pm、pm_と、加算/
減算の状態との関係を示している。但し、加算/減算信
号生成回路111は、加算/減算信号pm_を出力しな
い。
Table 10 shows that the code signals RS'7, RS '
6, RS'5 and addition / subtraction signals pm, pm_,
This shows the relationship with the state of subtraction. However, the addition / subtraction signal generation circuit 111 does not output the addition / subtraction signal pm_.

【0095】[0095]

【表10】 [Table 10]

【0096】図21は商分離格納部26の構成を示す回
路図である。図21中、127はビット0(20 の桁)
〜ビット−10(2-10 の桁)からなる商Qを構成する
正数値QPを格納する11ビット構成の正数値レジスタ
であり、この正数値レジスタ127のビット0の部分
は、基本除算回路28−1では、必ず正規化被除数R−
正規化除数Dなる演算が行われるので、“1”に固定さ
れており、ビット−1〜ビット−10の部分に商Qの正
数値QPのうち、小数値以下の正数値q9〜q0が格納
される。
FIG. 21 is a circuit diagram showing the configuration of the quotient separation storage unit 26. In Figure 21, 127 is bit 0 (2 0 digit)
This is an 11-bit positive value register for storing a positive value QP constituting a quotient Q consisting of .about.bit -10 (2-10 digits). The bit 0 of the positive value register 127 is a basic division circuit 28. -1, the normalized dividend R-
Since the operation of the normalized divisor D is performed, it is fixed to "1", and positive bits q9 to q0 smaller than the decimal value of the positive value QP of the quotient Q are stored in bits -1 to -10. Is done.

【0097】また、128は商Qを構成する負数値QM
を格納する11ビットの負数値レジスタであり、この負
数値レジスタ128のビット0の部分は、基本除算回路
28−1では、必ず正規化被除数R−正規化除数Dなる
演算が行われるので、“0”に固定されており、ビット
−1〜ビット−10に商Qの負数値QMのうち、小数値
以下の負数値q9〜q0が格納される。
Further, 128 is a negative value QM constituting the quotient Q.
Is stored in the bit 0 of the negative value register 128. In the basic division circuit 28-1, the operation of the normalized dividend R-normalized divisor D is always performed. The fixed value is fixed to 0 ", and negative values q9 to q0 smaller than a decimal value among the negative values QM of the quotient Q are stored in bits -1 to -10.

【0098】また、129−9は部分商算出部98から
出力される部分商q9又は“0”を正数値レジスタ12
7のビット−1に出力するセレクタであり、加算/減算
信号pm98に制御され、加算/減算信号pm98=
“0”の場合には部分商q9を選択し、加算/減算信号
pm98=“1”の場合には“0”を選択するものであ
る。
Further, 129-9 stores the partial quotient q9 or “0” output from the partial quotient calculation section 98 in the positive value register 12
7 is a selector that outputs to bit −1 of 7 and is controlled by an addition / subtraction signal pm98.
When "0", the partial quotient q9 is selected, and when the addition / subtraction signal pm98 = "1", "0" is selected.

【0099】また、129−8は部分商算出部98から
出力される部分商q8又は“0”を正数値レジスタ12
7のビット−2に出力するセレクタであり、加算/減算
信号pm98に制御され、加算/減算信号pm98=
“0”の場合には部分商q8を選択し、加算/減算信号
pm98=“1”の場合には“0”を選択するものであ
る。
129-8 stores the partial quotient q8 or "0" output from the partial quotient calculation section 98 in the positive value register 12
7 is a selector for outputting to bit-2 of the control signal 7 and controlled by an addition / subtraction signal pm98.
When "0", the partial quotient q8 is selected, and when the addition / subtraction signal pm98 = "1", "0" is selected.

【0100】また、129−1は部分商算出部102か
ら出力される部分商q1又は“0”を正数値レジスタ1
27のビット−9に出力するセレクタであり、加算/減
算信号pm10に制御され、加算/減算信号pm10=
“0”の場合には部分商q1を選択し、加算/減算信号
pm10=“1”の場合には“0”を選択するものであ
る。
Reference numeral 129-1 denotes the partial quotient q1 or "0" output from the partial quotient calculation unit 102 in the positive value register 1
This is a selector for outputting to bit -9 of 27, controlled by the addition / subtraction signal pm10, and the addition / subtraction signal pm10 =
When "0", the partial quotient q1 is selected, and when the addition / subtraction signal pm10 = "1", "0" is selected.

【0101】また、129−0は部分商算出部102か
ら出力される部分商q0又は“0”を正数値レジスタ1
27のビット−10に出力するセレクタであり、加算/
減算信号pm10に制御され、加算/減算信号pm10
=“0”の場合には部分商q0を選択し、加算/減算信
号pm10=“1”の場合には“0”を選択するもので
ある。
Further, 129-0 stores the partial quotient q0 or “0” output from the partial quotient calculation unit 102 in the positive value register 1
27 is a selector that outputs 27 bits-10.
Controlled by the subtraction signal pm10, the addition / subtraction signal pm10
When == "0", the partial quotient q0 is selected, and when the addition / subtraction signal pm10 = "1", "0" is selected.

【0102】なお、加算/減算信号pm76に制御さ
れ、部分商算出部99から出力される部分商q7又は
“0”を正数値レジスタ127のビット−3に出力する
セレクタ129−7、及び、加算/減算信号pm76に
制御され、部分商算出部99から出力される部分商q6
又は“0”を正数値レジスタ127のビット−4に出力
するセレクタ129−6は、図示を省略している。
The selector 129-7, which is controlled by the addition / subtraction signal pm76 and outputs the partial quotient q7 or "0" output from the partial quotient calculator 99 to bit-3 of the positive value register 127, and / Partial quotient q6 controlled by the subtraction signal pm76 and output from the partial quotient calculation unit 99
Alternatively, the selector 129-6 that outputs “0” to the bit -4 of the positive value register 127 is not shown.

【0103】また、加算/減算信号pm54に制御さ
れ、部分商算出部100から出力される部分商q5又は
“0”を正数値レジスタ127のビット−5に出力する
セレクタ129−5、及び、加算/減算信号pm54に
制御され、部分商算出部100から出力される部分商q
4又は“0”を正数値レジスタ127のビット−6に出
力するセレクタ129−4も、図示を省略している。
Further, the selector 129-5 which is controlled by the addition / subtraction signal pm54 and outputs the partial quotient q5 or "0" output from the partial quotient calculation unit 100 to the bit -5 of the positive value register 127, and / Partial quotient q controlled by the subtraction signal pm54 and output from the partial quotient calculation unit 100
The selector 129-4 for outputting 4 or "0" to the bit -6 of the positive value register 127 is also not shown.

【0104】また、加算/減算信号pm32に制御さ
れ、部分商算出部101から出力される部分商q3又は
“0”を正数値レジスタ127のビット−7に出力する
セレクタ129−3、及び、加算/減算信号pm32に
制御され、部分商算出部101から出力される部分商q
2又は“0”を正数値レジスタ127のビット−8に出
力するセレクタ129−2も、図示を省略している。
The selector 129-3, which is controlled by the addition / subtraction signal pm32 and outputs the partial quotient q3 or "0" output from the partial quotient calculation unit 101 to bit-7 of the positive value register 127, and / Partial quotient q controlled by subtraction signal pm32 and output from partial quotient calculation section 101
The selector 129-2 for outputting 2 or “0” to the bit -8 of the positive value register 127 is also not shown.

【0105】また、130−4は加算/減算信号pm9
8を反転するインバータ、130−0は加算/減算信号
pm10を反転するインバータであり、加算/減算信号
pm76、pm54、pm32を反転するインバータ1
30−3、130−2、130−1は図示を省略してい
る。
130-4 is an addition / subtraction signal pm9
Inverter 130-0 inverts addition / subtraction signal pm10, and inverter 1 inverts addition / subtraction signal pm76, pm54, pm32.
Illustrations of 30-3, 130-2, and 130-1 are omitted.

【0106】また、131−9は部分商算出部98から
出力される部分商q9又は“0”を負数値レジスタ12
8のビット−1に出力するセレクタであり、インバータ
130−4の出力に制御され、インバータ130−4の
出力=“1”の場合には部分商q9を選択し、インバー
タ130−4の出力=“0”の場合には“0”を選択す
るものである。
131-9 stores the partial quotient q9 or "0" output from the partial quotient calculating section 98 in the negative value register 12
8 is a selector for outputting to bit −1 of 8 and controlled by the output of the inverter 130-4. When the output of the inverter 130-4 is “1”, the partial quotient q9 is selected, and In the case of "0", "0" is selected.

【0107】また、131−8は部分商算出部98から
出力される部分商q8又は“0”を負数値レジスタ12
8のビット−2に出力するセレクタであり、インバータ
130−4の出力に制御され、インバータ130−4の
出力=“1”の場合には部分商q8を選択し、インバー
タ130−4の出力=“0”の場合には“0”を選択す
るものである。
The reference numeral 131-8 designates the partial quotient q8 or "0" output from the partial quotient calculation section 98 as the negative value register 12
8, which is controlled by the output of the inverter 130-4. When the output of the inverter 130-4 is "1", the partial quotient q8 is selected, and the output of the inverter 130-4 = In the case of "0", "0" is selected.

【0108】また、131−1は部分商算出部102か
ら出力される部分商q1又は“0”を負数値レジスタ1
28のビット−9に出力するセレクタであり、インバー
タ130−0の出力に制御され、インバータ130−0
の出力=“1”の場合には部分商q1を選択し、インバ
ータ130−0の出力=“0”の場合には“0”を選択
するものである。
The reference numeral 131-1 denotes the partial quotient q1 or "0" output from the partial quotient calculation unit 102,
This is a selector that outputs to bit-9 of 28, controlled by the output of inverter 130-0,
When the output of the inverter 130-0 is "1", the partial quotient q1 is selected, and when the output of the inverter 130-0 is "0", "0" is selected.

【0109】また、131−0は部分商算出部102か
ら出力される部分商q0又は“0”を負数値レジスタ1
28のビット−10に出力するセレクタであり、インバ
ータ130−0の出力に制御され、インバータ130−
0の出力=“1”の場合には部分商q0を選択し、イン
バータ130−0の出力=“0”の場合には“0”を選
択するものである。
Also, 131-0 stores the partial quotient q0 or “0” output from the partial quotient calculation unit 102 in the negative value register 1
This is a selector for outputting to bit-10 of 28, controlled by the output of inverter 130-0, and
When the output of 0 is "1", the partial quotient q0 is selected, and when the output of the inverter 130-0 is "0", "0" is selected.

【0110】なお、インバータ130−3の出力に制御
され、部分商算出部99から出力される部分商q7又は
“0”を負数値レジスタ128のビット−3に出力する
セレクタ131−7、及び、インバータ130−3の出
力に制御され、部分商算出部99から出力される部分商
q6又は“0”を負数値レジスタ128のビット−4に
出力するセレクタ131−6は、図示を省略している。
The selector 131-7, which is controlled by the output of the inverter 130-3, outputs the partial quotient q7 or "0" output from the partial quotient calculation unit 99 to bit-3 of the negative value register 128, and The selector 131-6, which is controlled by the output of the inverter 130-3 and outputs the partial quotient q6 or "0" output from the partial quotient calculation unit 99 to bit-4 of the negative value register 128, is not shown. .

【0111】また、インバータ130−2の出力に制御
され、部分商算出部100から出力される部分商q5又
は“0”を負数値レジスタ128のビット−5に出力す
るセレクタ131−5、及び、インバータ130−2の
出力に制御され、部分商算出部100から出力される部
分商q4又は“0”を負数値レジスタ128のビット−
6に出力するセレクタ131−4も、図示を省略してい
る。
The selector 131-5, which is controlled by the output of the inverter 130-2 and outputs the partial quotient q5 or "0" output from the partial quotient calculation unit 100 to bit-5 of the negative value register 128, and The partial quotient q4 or “0” output from the partial quotient calculation unit 100 is controlled by the output of the inverter 130-2,
6 is also omitted from the figure.

【0112】また、インバータ130−1の出力に制御
され、部分商算出部101から出力される部分商q3又
は“0”を負数値レジスタ128のビット−7に出力す
るセレクタ131−3、及び、インバータ130−1の
出力に制御され、部分商算出部101から出力される部
分商q2又は“0”を負数値レジスタ128のビット−
8に出力するセレクタ131−2も、図示を省略してい
る。
A selector 131-3 controlled by the output of the inverter 130-1 to output the partial quotient q3 or "0" output from the partial quotient calculation unit 101 to bit-7 of the negative value register 128, and The partial quotient q2 or “0” output from the partial quotient calculation unit 101 is controlled by the output of the inverter
8 is also omitted from the illustration.

【0113】図22は後処理部5の構成を示す回路図で
ある。図22中、132は前処理部3の正規化シフト量
差レジスタ14から出力される正規化シフト量差SCを
格納する3ビット構成の正規化シフト量差レジスタであ
る。
FIG. 22 is a circuit diagram showing a configuration of post-processing section 5. In FIG. 22, reference numeral 132 denotes a 3-bit normalized shift amount difference register for storing the normalized shift amount difference SC output from the normalized shift amount difference register 14 of the preprocessing unit 3.

【0114】また、133は除算部4から出力される商
Qを構成する正数値QPから負数値QMを減算して商Q
を算出する11ビット減算器、134は減算器133の
出力QP−QMを正規化シフト量差レジスタ132から
出力される正規化シフト量差SCが示す分だけ右にシフ
トして、被除数RR÷除数DDの商QQを算出する右シ
フタである。
Further, 133 is obtained by subtracting the negative value QM from the positive value QP constituting the quotient Q output from the division unit 4 to obtain a quotient Q.
The 134 shifts the output QP-QM of the subtractor 133 to the right by the amount indicated by the normalized shift amount difference SC output from the normalized shift amount difference register 132, and the dividend RR ÷ divisor It is a right shifter for calculating a quotient QQ of DD.

【0115】このように構成された本発明の一実施形態
においては、被除数RRは、被除数レジスタ1に格納さ
れ、正規化被除数生成部7において正規化され、正規化
被除数生成部7から出力される正規化被除数Rは、正規
化被除数レジスタ8に格納されると共に、除数DDは、
除数レジスタ2に格納され、正規化除数生成部9におい
て正規化され、正規化除数生成部9から出力される正規
化除数Dは、正規化除数レジスタ10に格納される。
In one embodiment of the present invention configured as described above, the dividend RR is stored in the dividend register 1, normalized in the normalized dividend generation unit 7, and output from the normalized dividend generation unit 7. The normalized dividend R is stored in the normalized dividend register 8, and the divisor DD is
The normalized divisor D stored in the divisor register 2 and normalized by the normalized divisor generator 9 and output from the normalized divisor generator 9 is stored in the normalized divisor register 10.

【0116】また、正規化除数生成部9から出力される
正規化除数Dは、正規化除数3倍値生成部11において
3倍にされ、正規化除数3倍値生成部11から出力され
る正規化除数3倍値3Dは、正規化除数3倍値レジスタ
12に格納される。
The normalized divisor D output from the normalized divisor generating unit 9 is tripled in the normalized divisor triple value generating unit 11, and the normalized divisor D output from the normalized divisor triple value generating unit 11 is output. The normalized divisor triple value 3D is stored in the normalized divisor triple value register 12.

【0117】また、正規化シフト量差算出部13におい
ては、正規化被除数生成部7から出力される被除数RR
の正規化に必要とした正規化シフト量SAと、正規化除
数生成部9から出力される除数DDの正規化に必要とし
た正規化シフト量SBとの減算が行われ、正規化シフト
量差SC(=SA−SB)が正規化シフト量差レジスタ
14に格納される。
In the normalized shift amount difference calculator 13, the dividend RR output from the normalized dividend generator 7 is output.
Is subtracted from the normalized shift amount SA required for normalization of the divisor DD and the normalized shift amount SB required for normalization of the divisor DD output from the normalized divisor generating unit 9. SC (= SA−SB) is stored in the normalized shift amount difference register 14.

【0118】ここに、正規化被除数R、正規化除数D及
び正規化除数3倍値3Dは、除算部4に供給され、ワイ
ヤ・1ビット左シフタ23において、正規化除数Dを加
工してなる正規化除数2倍値2Dが生成されると共に、
正規化シフト量差SCは、後処理部5の正規化シフト量
差レジスタ132に格納される。
Here, the normalized dividend R, the normalized divisor D and the normalized divisor triple value 3D are supplied to the divider 4, where the wire / 1-bit left shifter 23 processes the normalized divisor D. A normalized divisor double value 2D is generated, and
The normalized shift amount difference SC is stored in the normalized shift amount difference register 132 of the post-processing unit 5.

【0119】そして、基本除算回路列段接続部24の基
本除算回路列28−1〜28−5において、正規化被除
数Rと、正規化除数D、正規化除数2倍値2D、正規化
除数3倍値3D又はゼロを使用して、 Rj+1 =4Rj −qj ・D なる除算(但し、Rj は入力される被除数、qj は部分
商、Rj+1 は出力される被除数である。)が行われる。
Then, in the basic division circuit columns 28-1 to 28-5 of the basic division circuit column connection section 24, the normalized dividend R, the normalized divisor D, the normalized divisor double value 2D, the normalized divisor 3 Using the multiplication value 3D or zero, the division R j + 1 = 4R j −q j · D (where R j is the input dividend, q j is the partial quotient, and R j + 1 is the output dividend) Is performed).

【0120】そして、商算出部25においては、基本除
算回路列28−1〜28−5から出力される被除数R'
7〜R'5から商Qの小数点以下の部分q9〜q0が算
出され、商分離格納部26においては、商Qの小数点以
下の部分q9〜q0を構成する正数値と負数値とが分離
されて、正数値レジスタ127と負数値レジスタ128
とにそれぞれ格納される。
In the quotient calculation section 25, the dividend R 'output from the basic division circuit rows 28-1 to 28-5 is output.
The fractions q9 to q0 of the quotient Q after the decimal point are calculated from 7 to R'5, and the quotient separation storage unit 26 separates the positive and negative values constituting the fractions q9 to q0 of the quotient Q below the decimal point. The positive value register 127 and the negative value register 128
And are stored respectively.

【0121】そして、後処理部5においては、11ビッ
ト減算器133で、商Qを構成する正数値QPと負数値
QMとの減算が行われ、商Qが基数を2とする通常の2
進数表現とされた後、正規化シフト量差レジスタ132
に格納されている正規化シフト量差SCに基づいて右シ
フタ134で右にシフトされ、被除数RR÷除数DDの
商QQが算出され、この商QQが商レジスタ6に格納さ
れ、除算が終了することになる。
In the post-processing unit 5, the 11-bit subtractor 133 subtracts the positive value QP and the negative value QM constituting the quotient Q.
After being converted to a base number, the normalized shift amount difference register 132
Is shifted to the right by the right shifter 134 based on the normalized shift amount difference SC stored in, the quotient QQ of the dividend RR ÷ the divisor DD is calculated, the quotient QQ is stored in the quotient register 6, and the division ends. Will be.

【0122】図23、図24及び図25は本発明の一実
施形態の動作を具体的に説明するための図であり、 正規化被除数R=0.10011101 正規化除数D=0.11100101 とした場合を例にしている。
FIGS. 23, 24 and 25 are diagrams for specifically explaining the operation of one embodiment of the present invention, where the normalized dividend R = 0.10011101 The normalized divisor D = 0.11100101 The case is taken as an example.

【0123】なお、図23において、135−1は基本
除算回路列28−1から出力される被除数R'7〜R'
0、135−2は基本除算回路列28−2から出力され
る被除数R'9〜R'0、135−3は基本除算回路列2
8−3から出力される被除数R'9〜R'0、135−4
は基本除算回路列28−4から出力される被除数R'9
〜R'0、135−5は基本除算回路列28−5から出
力される被除数R'9〜R'0を示している。
In FIG. 23, reference numeral 135-1 denotes dividends R'7 to R 'output from the basic division circuit row 28-1.
0 and 135-2 are dividends R'9 to R'0 output from the basic division circuit row 28-2, and 135-3 are basic division circuit rows 2
Dividends R'9 to R'0 output from 8-3, 135-4
Is the dividend R'9 output from the basic division circuit row 28-4.
R'0 and 135-5 indicate dividends R'9 to R'0 output from the basic division circuit row 28-5.

【0124】まず、基本除算回路列28−1において
は、 0.10011101(0.R7〜R0)−0.1110
0101(0.D7〜D0)=0.0[1][1] 1100
0(0.R'7〜R'0) なる減算が行われる。
First, in the basic division circuit row 28-1, 0.101101101 (.R7 to R0) -0.1110
0101 (0D7 to D0) = 0.0 [1] [1] 1100
0 (0.R'7 to R'0) is subtracted.

【0125】ここに、R'7=0、R'6=[1] 、R'5
=[1] であるから、 q9=R'7+R'6 =0+1 =1 q8=R'7+/R'6*R'5 =0+0*1 =0 となる。
Here, R'7 = 0, R'6 = [1], R'5
= [1], q9 = R'7 + R'6 = 0 + 1 = 1 q8 = R'7 + / R'6 * R'5 = 0 + 0 * 1 = 0.

【0126】また、この場合、符号信号RS'7=0、
RS'6=1、RS'5=1であるから、 pm=RS'7+RS'6+RS'5 =0+1+1 =1 pm_=/pm =0 となる。
In this case, the code signal RS'7 = 0,
Since RS'6 = 1 and RS'5 = 1, pm = RS'7 + RS'6 + RS'5 = 0 + 1 + 1 = 1 pm.sub .-- // pm = 0.

【0127】このように、q9q8=10、pm=1に
なることから、商分離格納部26においては、正数値レ
ジスタ127のビット−1、ビット−2の部分には00
が格納され、負数値レジスタ128のビット−1、ビッ
ト−2の部分には10が格納されることになる。
As described above, since q9q8 = 10 and pm = 1, in the quotient separation storage unit 26, 00 is stored in the bit-1 and bit-2 portions of the positive value register 127.
Is stored, and 10 is stored in the bit-1 and bit-2 portions of the negative value register 128.

【0128】次に、基本除算回路列28−2において
は、pm_=0であることから、基本除算回路列28−
1から出力された被除数0.0[1][1]11000(0.
R'7〜R'0)を左に2ビットだけシフトして下位2ビ
ットに00を挿入した被除数[1].[1]1100000
(R9〜R0)について加算が行われることになるが、
基本除算回路列28−1から出力された被除数R6'=
[1] であるから、除数として、正規化2倍値2Dが選
択される。
Next, in the basic division circuit column 28-2, since pm_ = 0, the basic division circuit column 28-2
The dividend 0.0 [1] [1] 11000 (0.
R'7 to R'0) are shifted left by 2 bits and 00 is inserted in the lower 2 bits. [1]. [1] 11000000
(R9 to R0) will be added,
The dividend R6 ′ output from the basic division circuit row 28-1 =
Since [1], the normalized double value 2D is selected as the divisor.

【0129】したがって、基本除算回路列28−2にお
いては、 0[1].[1]1100000(R9〜R0)+01.11
001010(D9〜D0)=00.10101010
(00.R'7〜R'0) なる加算が行われる。
Therefore, in the basic division circuit row 28-2, 0 [1]. [1] 1100000 (R9 to R0) +01.11
001010 (D9 to D0) = 0.1010101010
(00.R'7 to R'0) are added.

【0130】ここに、R'7=1、R'6=0、R'5=
1であるから、 q7=R'7+R'6 =1+0 =1 q6=R'7+/R'6*R'5 =1+1*1 =1 となる。
Here, R'7 = 1, R'6 = 0, R'5 =
Since it is 1, q7 = R'7 + R'6 = 1 + 0 = 1 q6 = R'7 + / R'6 * R'5 = 1 + 1 * 1 = 1.

【0131】また、この場合、符号信号RS'7=0、
RS'6=0、RS'5=0であるから、 pm=RS'7+RS'6+RS'5 =0+0+0 =0 pm_=/pm =1 となる。
In this case, the code signal RS'7 = 0,
Since RS'6 = 0 and RS'5 = 0, pm = RS'7 + RS'6 + RS'5 = 0 + 0 + 0 = 0 pm _ = / pm = 1.

【0132】このように、q7q6=11、pm=0に
なることから、商分離格納部26においては、正数値レ
ジスタ127のビット−3、ビット−4の部分には11
が格納され、負数値レジスタ128のビット−3、ビッ
ト−4の部分には00が格納されることになる。
As described above, since q7q6 = 11 and pm = 0, in the quotient separation storage unit 26, 11 is stored in the bit-3 and bit-4 portions of the positive value register 127.
Is stored, and 00 is stored in the bits -3 and -4 of the negative value register 128.

【0133】次に、基本除算回路列28−3において
は、pm_=1であることから、基本除算回路列28−
2から出力された被除数00.10101010(00.
R'7〜R'0)を左に2ビットだけシフトして下位2ビ
ットに00を挿入した被除数10.10101000
(R9〜R0)について減算が行われることになるが、
基本除算回路列28−2から出力された被除数R'7=
1であるから、除数として、正規化3倍値3Dが選択さ
れる。
Next, in the basic division circuit column 28-3, since pm_ = 1, the basic division circuit column 28-3
The dividend output from 2 is 0.0010101010 (00.
R'7 to R'0) are shifted to the left by 2 bits, and 00 is inserted in the lower 2 bits.
(R9 to R0) will be subtracted,
The dividend R′7 output from the basic division circuit column 28-2 =
Since it is 1, the normalized triple value 3D is selected as the divisor.

【0134】したがって、基本除算回路列28−3にお
いては、 10.10101000(R9〜R0)−10.1010
1111(D9〜D0)=00.00000[1][1]
[1] (00.R'7〜R'0) なる減算が行われる。
Therefore, in basic division circuit row 28-3, 10.10101000 (R9 to R0) -10.1010
1111 (D9 to D0) = 0.0000000 [1] [1]
[1] A subtraction of (00.R′7 to R′0) is performed.

【0135】ここに、R'7=0、R'6=0、R'5=
0であるから、 q5=R'7+R'6 =0+0 =0 q4=R'7+/R'6*R'5 =0+1*0 =0 となる。
Here, R'7 = 0, R'6 = 0, R'5 =
Since it is 0, q5 = R'7 + R'6 = 0 + 0 = 0 q4 = R'7 + / R'6 * R'5 = 0 + 1 * 0 = 0.

【0136】また、この場合、符号信号RS'7=0、
RS'6=0、RS'5=0であるから、 pm=RS'7+RS'6+RS'5 =0+0+0 =0 pm_=/pm =1 となる。
In this case, the code signal RS'7 = 0,
Since RS'6 = 0 and RS'5 = 0, pm = RS'7 + RS'6 + RS'5 = 0 + 0 + 0 = 0 pm _ = / pm = 1.

【0137】このように、q5q4=00、pm=0に
なることから、商分離格納部26においては、正数値レ
ジスタ127のビット−5、ビット−6の部分には00
が格納され、負数値レジスタ128のビット−5、ビッ
ト−6の部分には00が格納されることになる。
As described above, since q5q4 = 00 and pm = 0, in the quotient separation storage unit 26, the bits -5 and -6 of the positive value register 127 are set to 00.
Is stored, and 00 is stored in the bits -5 and -6 of the negative value register 128.

【0138】次に、基本除算回路列28−4において
は、pm_=1であることから、基本除算回路列28−
3から出力された被除数00.00000[1][1][1]
(00.R'7〜R'0)を左に2ビットだけシフトした
被除数00.000[1][1][1]00(R9〜R0)に
ついて減算が行われることになるが、基本除算回路列2
8−3から出力された被除数R'7=0、R'6=0、
R'5=0であるから、除数として、00.000000
00が選択される。
Next, since pm_ = 1 in the basic division circuit row 28-4, the basic division circuit row 28-
The dividend output from 3 is 0.0000000 [1] [1] [1]
The subtraction is performed on the dividend 0.000 [1] [1] [1] 00 (R9-R0) obtained by shifting (00.R'7-R'0) two bits to the left. Circuit row 2
The dividend R′7 = 0, R′6 = 0 output from 8-3,
Since R′5 = 0, the divisor is 0.0000000
00 is selected.

【0139】したがって、基本除算回路列28−4にお
いては、 00.000[1][1][1] 00(R9〜R0)−00.
00000000(D9〜D0)=00.000[1]
[1][1] 00(00.R'7〜R'0) なる減算が行われる。
Therefore, in the basic division circuit row 28-4, 0.000 [1] [1] [1] 00 (R9 to R0) −00.
00000000 (D9-D0) = 0.000 [1]
[1] [1] A subtraction of 00 (00.R'7 to R'0) is performed.

【0140】ここに、R'7=0、R'6=0、R'5=
0であるから、 q3=R'7+R'6 =0+0 =0 q2=R'7+/R'6*R'5 =0+1*0 =0 となる。
Here, R'7 = 0, R'6 = 0, R'5 =
Since it is 0, q3 = R'7 + R'6 = 0 + 0 = 0 q2 = R'7 + / R'6 * R'5 = 0 + 1 + 1 * = 0.

【0141】また、この場合、符号信号RS'7=0、
RS'6=0、RS'5=0であるから、 pm=RS'7+RS'6+RS'5 =0+0+0 =0 pm_=/pm =1 となる。
In this case, the code signal RS'7 = 0,
Since RS'6 = 0 and RS'5 = 0, pm = RS'7 + RS'6 + RS'5 = 0 + 0 + 0 = 0 pm _ = / pm = 1.

【0142】このように、q3q2=00、pm=0に
なることから、商分離格納部26においては、正数値レ
ジスタ127のビット−7、ビット−8の部分には00
が格納され、負数値レジスタ128のビット−7、ビッ
ト−8の部分には00が格納されることになる。
As described above, since q3q2 = 00 and pm = 0, in the quotient separation storage unit 26, 00 is stored in the bit-7 and bit-8 portions of the positive value register 127.
Is stored, and 00 is stored in the bits -7 and -8 of the negative value register 128.

【0143】また、基本除算回路列28−5において
は、pm_=1であることから、基本除算回路列28−
4から出力された被除数00.000[1][1][1]00
(R9〜R0)を左に2ビットだけシフトした被除数0
0.0[1] [1][1]0000(R9〜R0)について減
算が行われることになるが、基本除算回路列28−4か
ら出力された被除数R'7=0、R'6=0、R'5=0
であるから、除数として、00.00000000が選
択される。
In the basic division circuit row 28-5, since pm_ = 1, the basic division circuit row 28-5
Dividend output from 4 0.000 [1] [1] [1] 00
Dividend 0 obtained by shifting (R9 to R0) two bits to the left
0.0 [1] [1] [1] Subtraction is performed for 0000 (R9 to R0), but the dividends R′7 = 0 and R′6 = output from the basic division circuit row 28-4. 0, R'5 = 0
Therefore, 0.0000000000 is selected as the divisor.

【0144】したがって、基本除算回路列28−5にお
いては、 00.0[1] [1][1]0000(R9〜R0)−00.
00000000(D9〜D0)=00.0[1][1]
[1]0000(00.R'7〜R'0) なる減算が行われる。
Therefore, in the basic division circuit row 28-5, 0 [1] [1] [1] 0000 (R9 to R0) -00.
00000000 (D9 to D0) = 0.0 [1] [1]
[1] A subtraction of 0000 (00.R'7 to R'0) is performed.

【0145】ここに、R'7=0、R'6=[1] 、R'5
=[1] であるから、 q1=R'7+R'6 =0+1 =1 q0=R'7+/R'6*R'5 =0+0*1 =0 となる。
Here, R'7 = 0, R'6 = [1], R'5
= [1], q1 = R'7 + R'6 = 0 + 1 = 1 q0 = R'7 + / R'6 * R'5 = 0 + 0 * 1 = 0.

【0146】また、この場合、符号信号RS'7=0、
RS'6=1、RS'5=1であるから、 pm=RS'7+RS'6+RS'5 =0+1+1 =1
In this case, the code signal RS'7 = 0,
Since RS'6 = 1 and RS'5 = 1, pm = RS'7 + RS'6 + RS'5 = 0 + 1 + 1 = 1 = 1

【0147】このように、q1q0=00、pm=0に
なることから、商分離部26においては、正数値レジス
タ127のビット−9、ビット−10の部分には00が
格納され、負数値レジスタ128のビット−9、ビット
−10の部分には10が格納されることになる。
As described above, since q1q0 = 00 and pm = 0, in the quotient separating section 26, 00 is stored in the bits -9 and -10 of the positive value register 127, and the negative value register 10 is stored in 128 bits-9 and -10.

【0148】したがって、正数値レジスタ127には、
商Qを構成する正数値QPとして、1.0011000
000が格納され、負数値レジスタ128には、商Qを
構成する負数値として、0.1000000010が格
納されることになるので、後処理部5の11ビット減算
器133においては、Q=QP−QM=1.00110
00000−0.1000000010=0.10101
11110が算出され、商Qについて正規化シフト量差
SCに応じたシフトが行われ、商QQが算出される。
Therefore, the positive value register 127 contains
As a positive value QP constituting the quotient Q, it is 1.00011000
000 is stored in the negative value register 128, and 0.1000000010 is stored as a negative value constituting the quotient Q. Therefore, in the 11-bit subtractor 133 of the post-processing unit 5, Q = QP− QM = 1.10010
00000-0.10000000000 = 0.10101
11110 is calculated, the quotient Q is shifted according to the normalized shift amount difference SC, and the quotient QQ is calculated.

【0149】このように、本発明の一実施形態によれ
ば、基数を4とする符号付冗長2進表現を使用して、正
規化被除数Rを被除数、正規化除数Dを除数とする除算
を行う除算部4を備えるようにしたので、収束型の除算
器のように、商予測のためのROMや、精度を上げるた
めの乗算器及び加算器を必要とせず、また、引き戻し法
を使用した回復型の除算器に比較して、段接続すべき除
算回路の数を半減することができる。したがって、少な
い物量で足り、しかも、少ないサイクル数で除算を行う
ことができるので、実装面積の縮小化と、除算の高速化
とを図ることができる。
As described above, according to one embodiment of the present invention, the division in which the normalized dividend R is the dividend and the normalized divisor D is the divisor is performed using the signed redundant binary representation in which the radix is 4. Since a division unit 4 is provided, a ROM for quotient prediction, a multiplier and an adder for improving accuracy are not required unlike a convergence type divider, and a pull-back method is used. Compared with a recovery type divider, the number of division circuits to be connected in stages can be halved. Therefore, since the division can be performed with a small amount of material and with a small number of cycles, the mounting area can be reduced and the division can be speeded up.

【0150】なお、本発明の一実施形態においては、基
本除算回路列28−1は減算のみを行うように構成した
場合について説明したが、正規化被除数Rが基数を4と
する符号付冗長2進数で表現される場合には、基本除算
回路列28−1を基本除算回路列28−2〜28−5と
同様に加減算を行うことができるように構成することに
より、これに対応することができる。
In the embodiment of the present invention, the case where the basic division circuit row 28-1 is configured to perform only the subtraction has been described. In the case of being expressed in base numbers, it is possible to cope with this by configuring the basic division circuit row 28-1 so that addition and subtraction can be performed in the same manner as the basic division circuit rows 28-2 to 28-5. it can.

【0151】また、本発明の一実施形態においては、本
発明を固定小数点除算器に適用した場合について説明し
たが、その他、本発明は、浮動小数点除算器に適用する
こともできる。
In the embodiment of the present invention, the case where the present invention is applied to a fixed-point divider has been described. In addition, the present invention can be applied to a floating-point divider.

【0152】[0152]

【発明の効果】以上のように、本発明の除算器によれ
ば、基数を4とする符号付冗長2進表現を使用して2進
数の除算を行う除算部を備えるようにしたことにより、
収束型の除算器のように、商予測のためのROMや、精
度を上げるための乗算器及び加算器を必要とせず、ま
た、引き戻し法を使用した回復型の除算器に比較して、
段接続すべき除算回路の数を半減することができるの
で、少ない物量で足り、しかも、少ないサイクル数で除
算を行うことができ、この結果、実装面積の縮小化と除
算の高速化とを図ることができる。
As described above, according to the divider of the present invention, the division unit for dividing a binary number by using a signed redundant binary expression having a radix of 4 is provided.
Unlike a convergence type divider, it does not require a ROM for quotient prediction, a multiplier and an adder for improving accuracy, and is compared with a recovery type divider using a pullback method.
Since the number of division circuits to be connected in stages can be halved, a small quantity is sufficient and the division can be performed with a small number of cycles. As a result, the mounting area is reduced and the division speed is increased. be able to.

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

【図1】本発明の一実施形態の要部を示す回路図であ
る。
FIG. 1 is a circuit diagram showing a main part of an embodiment of the present invention.

【図2】本発明の一実施形態が備える前処理部の構成を
示す回路図である。
FIG. 2 is a circuit diagram illustrating a configuration of a pre-processing unit included in an embodiment of the present invention.

【図3】本発明の一実施形態が備える正規化被除数生成
部の構成を示す回路図である。
FIG. 3 is a circuit diagram illustrating a configuration of a normalized dividend generation unit included in an embodiment of the present invention.

【図4】本発明の一実施形態が備える正規化除数生成部
の構成を示す回路図である。
FIG. 4 is a circuit diagram illustrating a configuration of a normalized divisor generation unit included in an embodiment of the present invention.

【図5】本発明の一実施形態が備える正規化除数3倍値
生成部の構成を示す回路図である。
FIG. 5 is a circuit diagram showing a configuration of a normalized divisor triple value generation unit included in an embodiment of the present invention.

【図6】本発明の一実施形態が備える正規化シフト量算
出部の構成を示す回路図である。
FIG. 6 is a circuit diagram illustrating a configuration of a normalized shift amount calculation unit included in an embodiment of the present invention.

【図7】本発明の一実施形態が備える除算部の構成を示
す回路図である。
FIG. 7 is a circuit diagram illustrating a configuration of a division unit included in an embodiment of the present invention.

【図8】本発明の一実施形態が備える基本除算回路列段
接続部の構成を示す回路図である。
FIG. 8 is a circuit diagram showing a configuration of a basic division circuit column stage connection portion provided in one embodiment of the present invention.

【図9】本発明の一実施形態が備える基本除算回路列の
構成を示す回路図である。
FIG. 9 is a circuit diagram showing a configuration of a basic division circuit column included in an embodiment of the present invention.

【図10】本発明の一実施形態が備える基本A回路の構
成を示す回路図である。
FIG. 10 is a circuit diagram showing a configuration of a basic A circuit included in an embodiment of the present invention.

【図11】本発明の一実施形態が備える基本B回路の構
成を示す回路図である。
FIG. 11 is a circuit diagram illustrating a configuration of a basic B circuit included in an embodiment of the present invention.

【図12】本発明の一実施形態が備える基本除算回路列
の構成を示す回路図である。
FIG. 12 is a circuit diagram showing a configuration of a basic division circuit column included in an embodiment of the present invention.

【図13】本発明の一実施形態が備える除数選択用セレ
クタの構成を示す回路図である。
FIG. 13 is a circuit diagram showing a configuration of a divisor selection selector provided in an embodiment of the present invention.

【図14】本発明の一実施形態が備える並列加減算基本
回路列の構成を示す回路図である。
FIG. 14 is a circuit diagram showing a configuration of a parallel addition / subtraction basic circuit sequence included in an embodiment of the present invention.

【図15】本発明の一実施形態が備える基本C回路の構
成を示す回路図である。
FIG. 15 is a circuit diagram showing a configuration of a basic C circuit included in an embodiment of the present invention.

【図16】本発明の一実施形態が備える基本D回路の構
成を示す回路図である。
FIG. 16 is a circuit diagram illustrating a configuration of a basic D circuit included in an embodiment of the present invention.

【図17】本発明の一実施形態が備える商算出部及び除
算・商分離格納制御部の構成を示す回路図である。
FIG. 17 is a circuit diagram illustrating a configuration of a quotient calculation unit and a division / quotient separation / storage control unit included in an embodiment of the present invention.

【図18】本発明の一実施形態が備える部分商算出回路
の構成を示す回路図である。
FIG. 18 is a circuit diagram illustrating a configuration of a partial quotient calculation circuit included in an embodiment of the present invention.

【図19】本発明の一実施形態が備える除数選択信号生
成回路の構成を示す回路図である。
FIG. 19 is a circuit diagram illustrating a configuration of a divisor selection signal generation circuit included in an embodiment of the present invention.

【図20】本発明の一実施形態が備える加算/減算信号
生成回路の構成を示す回路図である。
FIG. 20 is a circuit diagram illustrating a configuration of an addition / subtraction signal generation circuit included in an embodiment of the present invention.

【図21】本発明の一実施形態が備える商分離格納部の
構成を示す回路図である。
FIG. 21 is a circuit diagram illustrating a configuration of a quotient separation storage unit included in an embodiment of the present invention.

【図22】本発明の一実施形態が備える後処理部の構成
を示す回路図である。
FIG. 22 is a circuit diagram illustrating a configuration of a post-processing unit included in an embodiment of the present invention.

【図23】本発明の一実施形態の動作を具体的に説明す
るための図である。
FIG. 23 is a diagram for specifically explaining the operation of the embodiment of the present invention.

【図24】本発明の一実施形態の動作を具体的に説明す
るための図である。
FIG. 24 is a diagram for specifically explaining the operation of the embodiment of the present invention.

【図25】本発明の一実施形態の動作を具体的に説明す
るための図である。
FIG. 25 is a diagram for specifically explaining the operation of the embodiment of the present invention.

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

(図1) 1 被除数レジスタ 2 除数レジスタ 3 前処理部 4 除算部 5 後処理部 6 商レジスタ (Fig. 1) 1 dividend register 2 divisor register 3 preprocessor 4 divider 5 postprocessor 6 quotient register

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】基数を4とする符号付冗長2進表現を使用
して、2進数の被除数を2進数の除数で除算する除算部
を備えていることを特徴とする除算器。
1. A divider comprising a division unit for dividing a binary dividend by a binary divisor using a signed redundant binary representation having a radix of 4.
【請求項2】前記被除数及び前記除数は、正規化された
正規化被除数及び正規化除数であることを特徴とする請
求項1記載の除算器。
2. The divider according to claim 1, wherein the dividend and the divisor are a normalized normalized dividend and a normalized divisor.
【請求項3】前記除算部は、段接続された第1〜第k
(但し、kは2以上の整数である。)の基本除算回路列
を備え、 前記第1〜第kの基本除算回路列のうち、第j(但し、
jは1〜kの整数である。)の基本除算回路列は、 Rj+1 =4×Rj −qj ×D なる除算(但し、Rj は第jの基本除算回路列が入力す
る被除数、qj は第jの基本除算回路列が出力する部分
商、Dは正規化除数、Rj+1 は第jの基本除算回路列が
出力する被除数である。)を行うように構成されている
ことを特徴とする請求項2記載の除算器。
3. The method according to claim 1, wherein the division unit includes first to k-th stages connected.
(Where k is an integer of 2 or more), and j-th one of the first to k-th basic division circuit rows is provided.
j is an integer of 1 to k. ) Is divided by R j + 1 = 4 × R j −q j × D (where R j is the dividend input to the j-th basic division circuit row, and q j is the j-th basic division) 3. The partial quotient output by the circuit sequence, D is a normalized divisor, and R j + 1 is the dividend output by the j-th basic division circuit sequence.) The divider as described.
【請求項4】前記第1の基本除算回路列は、表1に示す
演算規則(但し、[1]は−12を表現したものであ
り、表2、3においても同様である。)に基づいて、中
間値たる中間差及び中間桁上げを算出する中間値・中間
桁上げ算出回路、又は、表1に示す演算規則に基づい
て、中間値たる中間差及び中間桁上げを算出する中間値
・中間桁上げ算出回路、及び、表2に示す演算規則に基
づいて、中間値たる中間和及び中間桁上げを算出する中
間値・中間桁上げ算出回路と、表3に示す演算規則に基
づいて(但し、Kn−1は中間値、Cn−1は中間桁上
げ、R'n−1は出力する被除数である。)、前記中間
値及び前記中間桁上げから、出力すべき被除数を算出す
る被除数算出回路とを備え、 前記第2〜第kの基本除算回路列は、表1に示す演算規
則に基づいて、中間値たる中間差及び中間桁上げを算出
する中間値・中間桁上げ算出回路、及び、表2に示す演
算規則に基づいて、中間値たる中間和及び中間桁上げを
算出する中間値・中間桁上げ算出回路と、表3に示す演
算規則に基づいて、前記中間値及び前記中間桁上げか
ら、出力すべき被除数を算出する被除数算出回路とを備
えていることを特徴とする請求項3記載の除算器。 【表1】 【表2】 【表3】
Wherein said first basic division circuit column calculation rule shown in Table 1 (provided that a representation of the [1] -1 2, is the same in Tables 2 and 3.) To An intermediate value / intermediate carry calculation circuit that calculates an intermediate difference and an intermediate carry based on the intermediate value, or an intermediate value that calculates an intermediate difference and an intermediate carry based on the calculation rules shown in Table 1. An intermediate carry calculating circuit for calculating an intermediate sum and an intermediate carry, which are intermediate values, based on an arithmetic rule shown in Table 2 and an arithmetic rule shown in Table 3. (Where Kn-1 is an intermediate value, Cn-1 is an intermediate carry, and R'n-1 is a dividend to be output), a dividend for calculating a dividend to be output from the intermediate value and the intermediate carry. And a calculation circuit, wherein the second to k-th basic division circuit rows are arranged in the manner shown in Table 1. An intermediate value / intermediate carry calculation circuit for calculating an intermediate difference and an intermediate carry based on arithmetic rules, and an intermediate sum and an intermediate carry as intermediate values based on the arithmetic rules shown in Table 2. An intermediate value / intermediate carry calculation circuit, and a dividend calculation circuit for calculating a dividend to be output from the intermediate value and the intermediate carry based on the calculation rule shown in Table 3. 4. The divider according to claim 3, wherein: [Table 1] [Table 2] [Table 3]
【請求項5】前記第1の基本除算回路列の中間値・中間
桁上げ算出回路列は、数1に示す演算を行う第1の基本
演算回路、又は、前記第1の基本演算回路及び数2に示
す演算を行う第2の基本演算回路を備え、 前記第1の基本除算回路列の被除数算出回路列は、数3
に示す演算を行う第3の基本演算回路を備えていること
を特徴とする請求項4記載の除算器。 【数1】 【数2】 【数3】 但し、Rn、Rn−1はビットn、ビット(n−1)の
被除数、 RSn、RSn−1は被除数Rn、Rn−1の符号信
号、 Dn、Dn−1はビットn、ビット(n−1)の除数、 Kn、Kn−1はビットn、ビット(n−1)の中間
値、 KSn、KSn−1は中間値Kn、Kn−1の符号信
号、 nは4以上のビット幅 である。
5. The intermediate value / intermediate carry calculation circuit sequence of the first basic division circuit sequence is a first basic operation circuit for performing the operation shown in Expression 1, or the first basic operation circuit and the number 2. A second basic operation circuit for performing the operation shown in FIG. 2 is provided.
5. The divider according to claim 4, further comprising a third basic operation circuit that performs the operation described in (3). (Equation 1) (Equation 2) (Equation 3) Here, Rn and Rn-1 are the bit n and the dividend of the bit (n-1), RSn and RSn-1 are the code signals of the dividend Rn and Rn-1, Dn and Dn-1 are the bit n and the bit (n-1) ), Kn, Kn-1 are bits n, intermediate values of bits (n-1), KSn, KSn-1 are code signals of intermediate values Kn, Kn-1, and n is a bit width of 4 or more.
【請求項6】前記第2〜第kの基本除算回路列の中間値
・中間桁上げ算出回路列は、前記第1の基本演算回路及
び前記第2の基本演算回路を備え、 前記第2〜第kの基本除算回路列の被除数算出回路は、
前記第3の基本演算回路を備えていることを特徴とする
請求項5記載の除算器。
6. The intermediate value / intermediate carry calculation circuit sequence of the second to k-th basic division circuit sequences includes the first basic operation circuit and the second basic operation circuit. The dividend calculation circuit of the k-th basic division circuit row is
6. The divider according to claim 5, further comprising the third basic operation circuit.
【請求項7】前記正規化被除数及び前記正規化除数は、
小数点以下をiビット(但し、iは4以上の整数であ
る。)とするものであり、 前記第jの基本除算回路列から出力される被除数の最下
位ビットをビット0とすると、 前記第jの基本除算回路列から出力される被除数のビッ
ト(i−1)、ビット(i−2)、ビット(i−3)を
使用して、前記第jの基本除算回路列による部分商を算
出する部分商算出回路を備えていることを特徴とする請
求項6記載の除算器。
7. The normalized dividend and the normalized divisor are:
If the decimal point is i bits (where i is an integer of 4 or more), and if the least significant bit of the dividend output from the j-th basic division circuit row is bit 0, the j-th And the bit (i-1), bit (i-2), and bit (i-3) of the dividend output from the basic division circuit sequence of (i) are used to calculate the partial quotient of the j-th basic division circuit sequence. 7. The divider according to claim 6, further comprising a partial quotient calculation circuit.
【請求項8】前記正規化除数を2倍してなる正規化除数
2倍値を生成する正規化除数2倍値生成部と、前記正規
化された除数を3倍してなる正規化除数3倍値を生成す
る除数3倍値生成部とを備え、 前記第1の基本除算回路列は、前記正規化被除数を被減
数とし、前記正規化除数を減数とする減算を行うか、又
は、前記正規化被除数を被加減数とし、前記正規化除数
を加減数とする加減算を行うように構成され、 前記第2〜第kの基本除算回路列は、前段の基本除算回
路列から出力される被除数を被加減数とし、ゼロ、前記
正規化除数、前記正規化除数2倍値又は前記正規化除数
3倍値を被減数とする加減算を行うように構成されてい
ることを特徴とする請求項7記載の除算器。
8. A normalized divisor double value generating unit for generating a normalized divisor double value obtained by doubling the normalized divisor, and a normalized divisor 3 obtained by doubling the normalized divisor. A divisor triple generation unit for generating a double value, wherein the first basic division circuit sequence performs subtraction with the normalized dividend as a minuend and the normalization divisor as a divisor, or The normalized dividend is the addend and subtraction, and the normalization divisor is configured to perform addition and subtraction.The second to k-th basic division circuit trains the dividend output from the preceding basic division circuit train. 8. The method according to claim 7, wherein the addition and subtraction are performed by using zero, the normalized divisor, the normalized divisor double value, or the normalized divisor triple value as the augend. Divider.
【請求項9】前記第(j+1)の基本除算回路列におけ
る加減数として、前記第jの基本除算回路列から出力さ
れる被除数のうち、ビット(i−1)、ビット(i−
2)、ビット(i−3)の被除数に基づいて、ゼロ、前
記正規化除数、前記正規化除数2倍値又は前記正規化除
数3倍値を選択するように構成されていることを特徴と
する請求項8記載の除算器。
9. The adder / subtractor of the (j + 1) -th basic division circuit row among the dividends output from the j-th basic division circuit row, bit (i-1) and bit (i-
2), characterized in that it is configured to select zero, the normalized divisor, the normalized divisor double value or the normalized divisor triple value based on the dividend of bit (i-3). The divider according to claim 8, wherein
【請求項10】前記第jの基本除算回路列から出力され
る被除数のうち、ビット(i−1)、ビット(i−
2)、ビット(i−3)の被除数の符号信号に基づい
て、前記第(j+1)の基本除算回路列を加算回路列又
は減算回路列に設定する制御回路を備えていることを特
徴とする請求項9記載の除算器。
10. The bit (i−1) and the bit (i−1) among the dividends output from the j-th basic division circuit row.
2) A control circuit for setting the (j + 1) -th basic division circuit row to an addition circuit row or a subtraction circuit row based on a code signal of a dividend of bit (i-3). The divider according to claim 9.
JP11108674A 1999-04-16 1999-04-16 Divider Withdrawn JP2000305752A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11108674A JP2000305752A (en) 1999-04-16 1999-04-16 Divider

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11108674A JP2000305752A (en) 1999-04-16 1999-04-16 Divider

Publications (1)

Publication Number Publication Date
JP2000305752A true JP2000305752A (en) 2000-11-02

Family

ID=14490808

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11108674A Withdrawn JP2000305752A (en) 1999-04-16 1999-04-16 Divider

Country Status (1)

Country Link
JP (1) JP2000305752A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011028312A (en) * 2009-07-21 2011-02-10 Fujitsu Ltd Processor, control method thereof, and arithmetic processing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011028312A (en) * 2009-07-21 2011-02-10 Fujitsu Ltd Processor, control method thereof, and arithmetic processing program

Similar Documents

Publication Publication Date Title
EP1058184A2 (en) High radix division
JP2938547B2 (en) Method and device for arithmetic processing
JP2523962B2 (en) Floating point arithmetic unit
EP0158530B1 (en) Nonrestoring divider
EP0356153B1 (en) Radix-2**n divider method and apparatus using overlapped quotient bit selection and concurrent quotient rounding and correction
JP2000259394A (en) Floating point multiplier
US5132925A (en) Radix-16 divider using overlapped quotient bit selection and concurrent quotient rounding and correction
EP0613082A1 (en) 4:2 adder and multiplier circuit employing the same
US5784307A (en) Division algorithm for floating point or integer numbers
US6223197B1 (en) Constant multiplier, method and device for automatically providing constant multiplier and storage medium storing constant multiplier automatic providing program
US5623435A (en) Arithmetic unit capable of performing concurrent operations for high speed operation
JP3276444B2 (en) Division circuit
US5818745A (en) Computer for performing non-restoring division
US5910910A (en) Circuit and method for rapid calculation of quotients and square roots
JPH0317132B2 (en)
JP2000305752A (en) Divider
JP2857505B2 (en) Division device
US6421699B1 (en) Method and system for a speedup of a bit multiplier
US6317772B1 (en) Split remainder divider
JP3028165B2 (en) High radix division control method and high radix divider
JPH10133856A (en) Multiplying method and multiplier with rounding function
JP2777265B2 (en) High radix square root arithmetic unit
JP2532505B2 (en) Multiplication circuit
JP2620660B2 (en) Multiplier
JPH0368415B2 (en)

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060704