JP3089377B2 - Normalized floating point multiplier - Google Patents

Normalized floating point multiplier

Info

Publication number
JP3089377B2
JP3089377B2 JP04302882A JP30288292A JP3089377B2 JP 3089377 B2 JP3089377 B2 JP 3089377B2 JP 04302882 A JP04302882 A JP 04302882A JP 30288292 A JP30288292 A JP 30288292A JP 3089377 B2 JP3089377 B2 JP 3089377B2
Authority
JP
Japan
Prior art keywords
circuit
multiplication
shift signal
ahead
carry
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.)
Expired - Fee Related
Application number
JP04302882A
Other languages
Japanese (ja)
Other versions
JPH06131161A (en
Inventor
俊介 立石
康雄 酒寄
Original Assignee
日本電気エンジニアリング株式会社
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 日本電気エンジニアリング株式会社 filed Critical 日本電気エンジニアリング株式会社
Priority to JP04302882A priority Critical patent/JP3089377B2/en
Publication of JPH06131161A publication Critical patent/JPH06131161A/en
Application granted granted Critical
Publication of JP3089377B2 publication Critical patent/JP3089377B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明はディジタルで正規化され
た2の補数形式の浮動小数点信号の乗算を行なう正規化
浮動小数点乗算回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a normalized floating-point multiplication circuit for multiplying digitally normalized floating-point signals of two's complement format.

【0002】[0002]

【従来の技術】図3は従来の正規化浮動小数点乗算回路
の一例を示したブロック図である。
2. Description of the Related Art FIG. 3 is a block diagram showing an example of a conventional normalized floating point multiplication circuit.

【0003】同図に示した従来の正規化浮動小数点乗算
回路は、仮数部(符号を含む)101,指数部103か
ら構成される正規化された2の補数形式の浮動小数点信
号と、仮数部(符号を含む)102,指数部104から
構成される正規化された2の補数形式の浮動小数点信号
との乗算を行なうものである。
The conventional normalized floating point multiplication circuit shown in FIG. 1 comprises a normalized two's complement floating point signal comprising a mantissa part (including a sign) 101 and an exponent part 103, and a mantissa part. (Including a sign) 102 and an exponent 104 are multiplied with a normalized two's complement floating point signal.

【0004】同図に示すように、従来の正規化浮動小数
点乗算回路は、乗数として入力された仮数部101と被
乗数として入力された仮数部102との乗算を行なう乗
算回路1と、指数部103,104の加算を行なう加算
回路2と、乗算回路1の乗算結果107を正規化するた
めのシフト信号108を発生するシフト信号発生回路3
と、乗算回路1の乗算結果107をシフト信号108に
従ってシフトすることにより正規化し、仮数部演算結果
109を出力する正規化処理回路4と、加算回路2の加
算結果110からシフト信号108が示すシフト数を減
算し、正規化処理後の指数部の値を示す指数部演算結果
111を出力する減算回路5とから構成されている。
As shown in FIG. 1, a conventional normalized floating-point multiplication circuit includes a multiplication circuit 1 for multiplying a mantissa part 101 input as a multiplier and a mantissa part 102 input as a multiplicand, and an exponent part 103. , 104 and a shift signal generating circuit 3 for generating a shift signal 108 for normalizing the multiplication result 107 of the multiplication circuit 1
And a normalization processing circuit 4 that normalizes the multiplication result 107 of the multiplication circuit 1 by shifting it according to the shift signal 108 and outputs a mantissa operation result 109, and a shift indicated by the shift signal 108 based on the addition result 110 of the addition circuit 2. A subtraction circuit 5 that subtracts the number and outputs an exponent part operation result 111 indicating the value of the exponent part after the normalization processing.

【0005】乗算回路1はエンコーダ11と、部分積生
成加算回路12と、加算回路13とから構成されてい
る。
The multiplication circuit 1 includes an encoder 11, a partial product generation and addition circuit 12, and an addition circuit 13.

【0006】エンコーダ11は乗数として仮数部101
が入力されると、ブース(Booth)のアルゴリズム
に従った処理を行ない、乗数2ビットに対して1つの部
分積を生成するための操作方法を部分積生成加算回路1
2に通知する。
The encoder 11 has a mantissa 101 as a multiplier.
Is input, a process according to Booth's algorithm is performed, and an operation method for generating one partial product for a multiplier of 2 bits is performed by the partial product generation and addition circuit 1.
Notify 2.

【0007】エンコーダ11の処理を詳しく説明する
と、乗数Y(ビットY1 〜Y6 の6ビットから構成され
ているとする)が入力されると、図4に示すように、乗
数YをLSB側から2ビットずつ区切り、それぞれの2
ビットYi+2,i+1 と、その前の1ビットYi とを組に
する。そして、各組に対して図5に示すブースのアルゴ
リズムを適用し、部分積生成加算回路12に乗数2ビッ
トに対して1つの部分積を生成するための操作方法を通
知する。
The processing of the encoder 11 will be described in detail. When a multiplier Y (supposed to be composed of 6 bits Y 1 to Y 6 ) is input, as shown in FIG. Are separated by 2 bits from
The bits Y i + 2 and Y i + 1 are paired with the preceding one bit Y i . Then, the Booth algorithm shown in FIG. 5 is applied to each pair, and the partial product generation and addition circuit 12 is notified of an operation method for generating one partial product for a multiplier of 2 bits.

【0008】例えば、Y1 =1, 2 =0, 3 =0,
4 =1, 5 =1, 6 =0であるとすると、ビット
1,2 に対してはYi+2 =0, i+1 =1, i =0
であるので、ビットY1,2 に対する第1部分積を生成
する操作方法として「被乗数Xの値を部分積Zi にす
る」ことを部分積生成加算回路12に通知し、ビットY
3,4 に対してはYi+2 =1, i+1 =0, i =0で
あるので、ビットY3,4 に対する第2部分積を生成す
る操作方法として「被乗数Xを左に1ビットシフトし、
その値の2の補数を部分積Zi にする」ことを部分積生
成加算回路12に通知し、ビットY5,6 に対してはY
i+2 =0, i+1 =1, i =1であるので、ビットY
5,6 に対する第3部分積を生成する操作方法として
「被乗数Xを左に1ビットシフトし、部分積Zi にす
る」ことを部分積生成回路12に通知する。
For example, Y 1 = 1 , Y 2 = 0 , Y 3 = 0 ,
Assuming that Y 4 = 1 , Y 5 = 1 , and Y 6 = 0, Y i + 2 = 0 , Y i + 1 = 1 , and Y i = 0 for bits Y 1 and Y 2 .
Therefore, the operation method for generating the first partial product for the bits Y 1 and Y 2 is to notify the partial product generation and addition circuit 12 that “the value of the multiplicand X will be a partial product Z i ”, and the bit Y
3, since for the Y 4 are Y i + 2 = 1, Y i + 1 = 0, Y i = 0, "multiplicand as an operation method for generating a second partial product for bit Y 3, Y 4 X Shift one bit to the left,
To the partial product generation and addition circuit 12 to make the two's complement of that value into a partial product Z i , and to the bits Y 5 and Y 6 ,
Since i + 2 = 0 , Y i + 1 = 1 , and Y i = 1, the bit Y
5, as an operation method for generating a third partial product for Y 6 "by one bit shifting the multiplicand X to the left, to partial product Z i" notifies the partial product generating circuit 12 that.

【0009】部分積生成加算回路12はエンコーダ11
からの指示に従って部分積を生成すると共に、生成した
部分積を加算し、和ベクトル105と桁上げベクトル1
06とを出力する。
The partial product generation and addition circuit 12 includes an encoder 11
Generates a partial product in accordance with the instruction from, and adds the generated partial products to form a sum vector 105 and a carry vector 1.
06 is output.

【0010】加算回路13は部分積生成加算回路12か
ら出力された和ベクトル105と桁上げベクトル106
とを加算し、加算結果を乗算回路1の乗算結果107と
して出力する。
The adder circuit 13 includes a sum vector 105 and a carry vector 106 output from the partial product generator / adder circuit 12.
And outputs the addition result as the multiplication result 107 of the multiplication circuit 1.

【0011】シフト信号発生回路3は乗算結果107の
符号ビットが“0”の場合、即ち乗算結果が正の場合
は、乗算結果107の小数点第1位が“0”であれば1
ビットのシフトを示すシフト信号108を出力し、
“1”であればシフトを行なわないことを示すシフト信
号108を出力する。また、乗算結果107の符号ビッ
トが“1”の場合、即ち乗算結果が負の場合は、乗算結
果107の小数点第1位が“1”であれば1ビットのシ
フトを示すシフト信号108を出力し、“0”であれば
シフトを行なわないことを示すシフト信号108を出力
する。
If the sign bit of the multiplication result 107 is "0", that is, if the multiplication result is positive, the shift signal generation circuit 3 outputs 1 if the first decimal place of the multiplication result 107 is "0".
Outputting a shift signal 108 indicating a bit shift;
If "1", a shift signal 108 indicating that no shift is performed is output. If the sign bit of the multiplication result 107 is “1”, that is, if the multiplication result is negative, a shift signal 108 indicating a one-bit shift is output if the first decimal place of the multiplication result 107 is “1”. If "0", a shift signal 108 indicating that no shift is performed is output.

【0012】正規化処理回4は乗算回路1から加えられ
た乗算結果107をシフト信号108に従ってシフトす
ることにより正規化し、その結果を仮数部演算結果10
9として出力する。
In the normalization process 4, the multiplication result 107 added from the multiplication circuit 1 is normalized by shifting it according to the shift signal 108, and the result is converted to the mantissa operation result 10
9 is output.

【0013】また、指数部103,104が加えられた
加算回路2は両者を加算し、加算結果110を出力す
る。
The addition circuit 2 to which the exponents 103 and 104 are added adds the two, and outputs an addition result 110.

【0014】減算回路5は加算回路2の加算結果110
からシフト信号108が示すシフト数を減算し、減算結
果を指数部演算結果111として出力する。
The subtraction circuit 5 calculates the addition result 110 of the addition circuit 2.
Is subtracted from the shift number indicated by the shift signal 108, and the result of the subtraction is output as the exponent part operation result 111.

【0015】[0015]

【発明が解決しようとする課題】図3に示した従来の正
規化浮動小数点乗算回路は、乗算回路1の乗算結果10
7を用いて正規化のためのシフト信号108を生成する
ようにしており、乗算回路1での演算が完了しなけれ
ば、シフト信号108を生成することができないため、
演算速度を高速化することが難しいという問題があっ
た。
The conventional normalized floating-point multiplication circuit shown in FIG.
7, the shift signal 108 for normalization is generated, and the shift signal 108 cannot be generated unless the operation in the multiplication circuit 1 is completed.
There is a problem that it is difficult to increase the calculation speed.

【0016】本発明の目的は、正規化浮動小数点乗算回
路の演算速度を向上させることにある。
An object of the present invention is to improve the operation speed of a normalized floating point multiplication circuit.

【0017】[0017]

【課題を解決するための手段】本発明は上記目的を達成
するため、2の補数形式の浮動小数点信号の乗算を行な
う正規化浮動小数点乗算回路に於いて、被乗数となる仮
数部と乗数となる仮数部とを入力して部分積を生成し、
生成した部分積を加算して和ベクトル及び桁上げベクト
ルを生成し、生成した和ベクトルと桁上げベクトルとを
加算して加算結果を乗算結果として出力する乗算回路
と、該乗算回路が生成した和ベクトル,桁上げベクトル
と前記被乗数,乗数となる仮数部の符号ビットとを入力
し、前記乗算回路の乗算結果の符号及び小数点第1位の
値を先見するシフト信号先見回路と、該シフト信号先見
回路が先見した符号及び小数点第1位の値に基づいて正
規化のためのシフト信号を生成するシフト信号発生回路
と、該シフト信号発生回路が生成したシフト信号に基づ
いて前記演算回路の演算結果を正規化する正規化処理回
路と、前記被乗数となる仮数部に対応する指数部と前記
乗数となる仮数部に対応する指数部との加算を行なう加
算回路と、該加算回路の加算結果と前記シフト信号が示
すシフト数との減算を行なう減算回路とを設けたもので
ある。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a normalized floating-point multiplication circuit for multiplying a floating-point signal in 2's complement format, in which a mantissa as a multiplicand and a multiplier are provided. Generate a partial product by inputting the mantissa and
A multiplication circuit that adds the generated partial products to generate a sum vector and a carry vector, adds the generated sum vector and the carry vector, and outputs an addition result as a multiplication result, and a sum generated by the multiplication circuit. A shift signal look-ahead circuit for inputting a vector, a carry vector, a sign bit of a mantissa part to be the multiplicand and a multiplier, and foreseeing a sign of a multiplication result of the multiplication circuit and a value of a first decimal place; A shift signal generating circuit for generating a shift signal for normalization based on a sign and a value of the first decimal place which the circuit has seen, and an operation result of the operation circuit based on the shift signal generated by the shift signal generating circuit A normalization processing circuit for normalizing, an addition circuit for adding an exponent part corresponding to the mantissa part serving as the multiplicand and an exponent part corresponding to the mantissa part serving as the multiplier, and an addition circuit. It is provided with a result of the addition and the subtraction circuit performing subtraction between the shift number indicating a shift signal.

【0018】[0018]

【作用】乗算回路は被乗数となる仮数部と乗数となる仮
数部とを入力して部分積を生成し、生成した部分積を加
算して和ベクトルと桁上げベクトルとを生成する。更
に、乗算回路は和ベクトルと桁上げベクトルとを加算
し、加算結果を乗算回路の乗算結果として出力する。
The multiplication circuit inputs a mantissa part to be a multiplicand and a mantissa part to be a multiplier, generates a partial product, and adds the generated partial products to generate a sum vector and a carry vector. Further, the multiplication circuit adds the sum vector and the carry vector, and outputs the addition result as a multiplication result of the multiplication circuit.

【0019】シフト信号先見回路は被乗数,乗数となる
仮数部の符号ビットと、乗算処理の処理途中の値である
和ベクトル,桁上げベクトルとを入力し、乗算回路の乗
算結果の符号及び小数点第1位の値を先見する。
The shift signal look-ahead circuit inputs a sign bit of a mantissa part as a multiplicand and a multiplier, a sum vector and a carry vector which are values in the middle of a multiplication process, and outputs a sign and a decimal point of a multiplication result of the multiplication circuit. Foresee the value of the first place.

【0020】シフト信号発生回路はシフト信号先見回路
が先見した符号及び小数点第1位の値に基づいて正規化
のためのシフト信号を生成する。
The shift signal generation circuit generates a shift signal for normalization based on the sign and the value of the first decimal place which the shift signal look-ahead circuit looks ahead.

【0021】正規化処理回路はシフト信号発生回路が生
成したシフト信号に基づいて乗算回路の乗算結果を正規
化する。
The normalization processing circuit normalizes the multiplication result of the multiplication circuit based on the shift signal generated by the shift signal generation circuit.

【0022】また、被乗数,乗数となる仮数部に対応す
る指数部は加算回路で加算された後、減算回路に加えら
れ、ここでシフト信号が示すシフト数が減算される。
The exponent corresponding to the mantissa as the multiplicand and the multiplier is added by the adder and then added to the subtractor, where the shift number indicated by the shift signal is subtracted.

【0023】[0023]

【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0024】図1は本発明の実施例のブロック図であ
り、図3と同一符号は同一部分を表している。
FIG. 1 is a block diagram of an embodiment of the present invention. The same reference numerals as in FIG. 3 denote the same parts.

【0025】本実施例の正規化浮動小数点乗算回路は図
3に示した従来の正規化浮動小数点乗算回路にシフト信
号先見回路6を付加した構成となっている。
The normalized floating-point multiplication circuit of this embodiment has a configuration in which a shift signal look-ahead circuit 6 is added to the conventional normalized floating-point multiplication circuit shown in FIG.

【0026】シフト信号先見回路6は図2に示すよう
に、桁上げ先見回路61と、加算回路62と、排他的論
理和回路63とから構成されている。
As shown in FIG. 2, the shift signal look-ahead circuit 6 includes a carry look-ahead circuit 61, an adder circuit 62, and an exclusive OR circuit 63.

【0027】桁上げ先見回路61には部分積生成加算回
路12から出力される和ベクトル105及び桁上げベク
トル106の小数点第2位以下に対応するビット105
−(n−2)〜105−1,106−(n−2)〜10
6−1が加えられており、小数点第1位に対して桁上げ
が必要な場合はその出力信号である桁上げ出力信号61
−1を“1”とし、必要がない場合は“0”とする。
The carry look-ahead circuit 61 has bits 105 corresponding to the second and lower decimal places of the sum vector 105 and the carry vector 106 output from the partial product generation and addition circuit 12.
-(N-2) -105-1,106- (n-2) -10
6-1 is added, and when a carry is necessary for the first decimal place, a carry output signal 61 which is an output signal thereof.
−1 is set to “1”, and if not necessary, set to “0”.

【0028】加算回路62には和ベクトル105及び桁
上げベクトル106の小数点第1位に対応するビット1
05−(n−1),106−(n−1)及び桁上げ先見
回路61から出力される桁上げ出力信号61−1が加え
られており、それらを加算することにより、乗算回路1
の乗算結果107の小数点第1位の値を示すビット6−
2を出力する。尚、和ベクトル105,桁上げベクトル
106の最上位ビット(符号ビット)はシフト信号先見
回路6に於いては使用されない。
The addition circuit 62 has a bit 1 corresponding to the first decimal place of the sum vector 105 and the carry vector 106.
05- (n-1), 106- (n-1) and the carry output signal 61-1 output from the carry look-ahead circuit 61, and by adding them, the multiplication circuit 1
Bit 6 indicating the value of the first decimal place of the multiplication result 107 of
2 is output. Note that the most significant bit (sign bit) of the sum vector 105 and the carry vector 106 is not used in the shift signal look-ahead circuit 6.

【0029】排他的論理和回路63には仮数部101,
102の符号ビット101−1,102−1が加えられ
ており、両者の排他的論理和をとることにより、乗算結
果107の符号を示す符号ビット6−1を出力する。
The exclusive OR circuit 63 has a mantissa 101,
The code bits 101-1 and 102-1 of 102 are added, and the exclusive OR of the two is obtained to output a code bit 6-1 indicating the sign of the multiplication result 107.

【0030】次に本実施例の動作を説明する。Next, the operation of this embodiment will be described.

【0031】乗算回路1は仮数部101,102が加え
られると、前述したと同様の動作を行ない、乗算結果1
07を出力する。
When the mantissa parts 101 and 102 are added, the multiplication circuit 1 performs the same operation as described above, and the multiplication result 1
07 is output.

【0032】シフト信号先見回路6には乗算回路1から
乗算結果107が出力される前に、乗算途中の値である
和ベクトル105,桁上げベクトル106と仮数部10
1,102の符号ビット101−1,102−1とが加
えられる。
Before the multiplication circuit 107 outputs the multiplication result 107 to the shift signal look-ahead circuit 6, the sum vector 105, the carry vector 106 and the mantissa part 10 which are values during the multiplication are output.
1, 102 sign bits 101-1 and 102-1 are added.

【0033】シフト信号先見回路6内の排他的論理和回
路63は符号ビット101−1,102−1が加えられ
ると、両者の排他的論理和をとり、乗算結果107の符
号を示す符号ビット6−1を出力する。
When the sign bits 101-1 and 102-1 are added, the exclusive OR circuit 63 in the shift signal look-ahead circuit 6 takes the exclusive OR of the two and outputs the sign bit 6 indicating the sign of the multiplication result 107. Outputs -1.

【0034】また、シフト信号先見回路6内の桁上げ先
見回路61は和ベクトル105,桁上げベクトル106
の小数点第2位以下に対応するビット105−(n−
2)〜105−1,106−(n−2)〜106−1が
加えられると、小数点第1位に対する桁上げの有無を示
す桁上げ信号61−1を出力する。
The carry look-ahead circuit 61 in the shift signal look-ahead circuit 6 includes a sum vector 105 and a carry vector 106.
Bit 105- (n-
2) When 105-1 and 106- (n-2) to 106-1 are added, a carry signal 61-1 indicating the presence or absence of a carry to the first decimal place is output.

【0035】加算回路62は和ベクトル105,桁上げ
ベクトル106の小数点第1位に対応するビット105
−(n−1),106−(n−1)及び桁上げ出力信号
61−1が加えられると、それらを加算して乗算回路1
の小数点第1位の乗算結果107を示すビット6−2を
出力する。
The adder circuit 62 outputs a bit 105 corresponding to the first decimal place of the sum vector 105 and the carry vector 106.
When-(n-1), 106- (n-1) and the carry output signal 61-1 are added, they are added and the multiplication circuit 1 is added.
Output the bit 6-2 indicating the multiplication result 107 of the first decimal place of.

【0036】シフト信号発生回路3はシフト信号先見回
路6から乗算結果107の符号,小数点第1位の値を示
すビット6−1,6−2が出力されると、それらに基づ
いて正規化のためのシフト数を示すシフト信号108を
生成し、出力する。即ち、シフト信号発生回路3は乗算
結果107の符号を示すビット6−1が“0”の場合、
即ち乗算結果107が正の場合は、ビット6−2が
“0”であれば1ビットのシフトを示すシフト信号10
8を出力し、“1”であればシフトを行なわないことを
示すシフト信号108を出力する。また、乗算結果10
7の符号を示すビットが“1”の場合、即ち乗算結果1
07が負の場合はビット6−2が“1”であれば1ビッ
トのシフトを示すシフト信号108を出力し、“0”で
あればシフトを行なわないことを示すシフト信号108
を出力する。
When the shift signal look-up circuit 6 outputs the sign of the multiplication result 107 and the bits 6-1 and 6-2 indicating the value of the first decimal place from the shift signal look-ahead circuit 6, the shift signal generation circuit 3 performs normalization based on these. A shift signal 108 indicating the number of shifts is generated and output. That is, when the bit 6-1 indicating the sign of the multiplication result 107 is “0”, the shift signal generation circuit 3
That is, when the multiplication result 107 is positive, if the bit 6-2 is “0”, the shift signal 10 indicating a one-bit shift
8 is output, and if "1", a shift signal 108 indicating that no shift is performed is output. Also, the multiplication result 10
7 is “1”, that is, the multiplication result 1
When 07 is negative, a shift signal 108 indicating a one-bit shift is output if bit 6-2 is "1", and a shift signal 108 indicating no shift is performed if bit 6-2 is "0".
Is output.

【0037】このシフト信号108に従って正規化処理
回路4,減算回路5は前述したと同様の動作を行なう。
In accordance with the shift signal 108, the normalization processing circuit 4 and the subtraction circuit 5 perform the same operations as described above.

【0038】このように、本実施例は、シフト信号先見
回路6に於いて乗算回路1の乗算途中の値である和ベク
トル105,桁上げベクトル106を使用して乗算結果
107の符号,小数点第1位の値を示すビット6−1,
6−2を生成し、出力しているので、乗算回路1の乗算
結果107に基づいてシフト信号108を生成していた
従来回路に比較してシフト信号108を早い時期に生成
することができる。この結果、正規化処理回路4に於け
る正規化処理も従来回路に比較して早い時期に行なうこ
とが可能になり、正規化浮動小数点乗算回路の処理速度
を向上させることが可能になる。
As described above, this embodiment uses the sum vector 105 and the carry vector 106 which are values in the middle of multiplication by the multiplication circuit 1 in the shift signal look-ahead circuit 6 to sign and multiply the decimal point of the multiplication result 107. Bit 6-1 indicating the value of the first place
Since 6-2 is generated and output, the shift signal 108 can be generated earlier than in a conventional circuit that generates the shift signal 108 based on the multiplication result 107 of the multiplication circuit 1. As a result, the normalization processing in the normalization processing circuit 4 can be performed earlier than in the conventional circuit, and the processing speed of the normalized floating-point multiplication circuit can be improved.

【0039】[0039]

【発明の効果】以上説明したように、本発明は、仮数部
の符号ビットと乗算回路の演算途中の値である和ベクト
ル,桁上げベクトルとに基づいて乗算回路の乗算結果の
符号及び小数点第1位の値を先見するシフト信号先見回
路を設け、シフト信号先見回路が先見した符号,小数点
第1位の値に基づいてシフト信号を生成するようにした
ものであるので、乗算回路の乗算結果に基づいてシフト
信号を生成していた従来の正規化浮動小数点乗算回路に
比較して正規化処理に要する時間を短縮させ、全体とし
て正規化浮動小数点乗算回路の処理速度を高速化するこ
とができる効果がある。
As described above, according to the present invention, the sign and the decimal point of the multiplication result of the multiplication circuit are calculated based on the sign bit of the mantissa and the sum vector and the carry vector which are values in the middle of the operation of the multiplication circuit. A shift signal look-ahead circuit for looking ahead to the first place value is provided, and the shift signal look-ahead circuit generates a shift signal based on the look-ahead sign and the value of the first decimal place. The time required for the normalization processing can be reduced as compared with a conventional normalized floating-point multiplication circuit that has generated a shift signal based on the above, and the processing speed of the normalized floating-point multiplication circuit as a whole can be increased. effective.

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

【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】シフト信号先見回路6の構成例を示すブロック
図である。
FIG. 2 is a block diagram showing a configuration example of a shift signal look-ahead circuit 6.

【図3】従来例のブロック図である。FIG. 3 is a block diagram of a conventional example.

【図4】エンコーダ11の動作を説明するための図であ
る。
FIG. 4 is a diagram for explaining the operation of the encoder 11.

【図5】ブースのアルゴリズムを示した図である。FIG. 5 is a diagram showing a Booth algorithm.

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

1…乗算回路 11…エンコーダ 12…部分積生成加算回路 13…加算回路 2…加算回路 3…シフト信号発生回路 4…正規化処理回路 5…減算回路 6…シフト信号先見回路 61…桁上げ先見回路 62…加算回路 63…排他的論理和回路 DESCRIPTION OF SYMBOLS 1 ... Multiplication circuit 11 ... Encoder 12 ... Partial product generation addition circuit 13 ... Addition circuit 2 ... Addition circuit 3 ... Shift signal generation circuit 4 ... Normalization processing circuit 5 ... Subtraction circuit 6 ... Shift signal look-ahead circuit 61 ... Carry look-ahead circuit 62 ... Addition circuit 63 ... Exclusive OR circuit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 7/52 310 G06F 7/00 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 7/52 310 G06F 7/00

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 2の補数形式の浮動小数点信号の乗算を
行なう正規化浮動小数点乗算回路に於いて、 被乗数となる仮数部と乗数となる仮数部とを入力して部
分積を生成し、生成した部分積を加算して和ベクトル及
び桁上げベクトルを生成し、生成した和ベクトルと桁上
げベクトルとを加算して加算結果を乗算結果として出力
する乗算回路と、 該乗算回路が生成した和ベクトル,桁上げベクトルと前
記被乗数,乗数となる仮数部の符号ビットとを入力し、
前記乗算回路の乗算結果の符号及び小数点第1位の値を
先見するシフト信号先見回路と、 該シフト信号先見回路が先見した符号及び小数点第1位
の値に基づいて正規化のためのシフト信号を生成するシ
フト信号発生回路と、 該シフト信号発生回路が生成したシフト信号に基づいて
前記演算回路の演算結果を正規化する正規化処理回路
と、 前記被乗数となる仮数部に対応する指数部と前記乗数と
なる仮数部に対応する指数部との加算を行なう加算回路
と、 該加算回路の加算結果と前記シフト信号が示すシフト数
との減算を行なう減算回路とを備えたことを特徴とする
正規化浮動小数点乗算回路。
1. A normalized floating-point multiplication circuit for multiplying a two's complement floating-point signal by inputting a mantissa part as a multiplicand and a mantissa part as a multiplier to generate a partial product, A multiplication circuit that generates a sum vector and a carry vector by adding the calculated partial products, adds the generated sum vector and the carry vector, and outputs an addition result as a multiplication result, and a sum vector generated by the multiplication circuit. , The carry vector and the sign bit of the mantissa part to be the multiplicand and the multiplier,
A shift signal look-ahead circuit for foreseeing the sign and the value of the first decimal place of the multiplication result of the multiplication circuit; and a shift signal for normalization based on the sign and the value of the first decimal place for which the shift signal look-ahead circuit looks ahead A shift signal generation circuit that generates the following: a normalization processing circuit that normalizes the operation result of the operation circuit based on the shift signal generated by the shift signal generation circuit; and an exponent part corresponding to the mantissa part serving as the multiplicand. An adder circuit for adding an exponent part corresponding to the mantissa part serving as the multiplier, and a subtractor circuit for subtracting the addition result of the adder circuit from the shift number indicated by the shift signal. Normalized floating point multiplier.
【請求項2】 前記シフト信号先見回路は、 前記被乗数,乗数となる仮数部の符号ビットの排他的論
理和をとることにより前記乗算回路の乗算結果の符号を
先見する排他的論理和回路と、 前記和ベクトル,桁上げベクトルの小数点第2位以下に
対応するビットを入力し、小数点第1位に対する桁上げ
の有無を示す信号を出力する桁上げ先見回路と、 前記和ベクトル,桁上げベクトルの小数点第1位に対応
するビットと、前記桁上げ先見回路の出力信号とを加算
することにより前記乗算回路の乗算結果の小数点第1位
の値を先見する加算回路とから構成されることを特徴と
する請求項1記載の正規化浮動小数点乗算回路。
2. The shift signal look-ahead circuit, wherein an exclusive-OR circuit for foreseeing the sign of the multiplication result of the multiplication circuit by taking the exclusive-OR of the sign bit of the mantissa part to be the multiplicand and the multiplier; A carry look-ahead circuit for inputting a bit corresponding to the second decimal place or less of the sum vector and the carry vector and outputting a signal indicating whether or not the carry to the first decimal place is present; An adder circuit for adding the bit corresponding to the first decimal place and the output signal of the carry look-ahead circuit to look ahead to the value of the first decimal place of the multiplication result of the multiplication circuit. 2. The normalized floating point multiplication circuit according to claim 1, wherein
JP04302882A 1992-10-15 1992-10-15 Normalized floating point multiplier Expired - Fee Related JP3089377B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04302882A JP3089377B2 (en) 1992-10-15 1992-10-15 Normalized floating point multiplier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04302882A JP3089377B2 (en) 1992-10-15 1992-10-15 Normalized floating point multiplier

Publications (2)

Publication Number Publication Date
JPH06131161A JPH06131161A (en) 1994-05-13
JP3089377B2 true JP3089377B2 (en) 2000-09-18

Family

ID=17914243

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04302882A Expired - Fee Related JP3089377B2 (en) 1992-10-15 1992-10-15 Normalized floating point multiplier

Country Status (1)

Country Link
JP (1) JP3089377B2 (en)

Also Published As

Publication number Publication date
JPH06131161A (en) 1994-05-13

Similar Documents

Publication Publication Date Title
US5148386A (en) Adder-subtracter for signed absolute values
JPH01169531A (en) Fast binary/decimal arithmetic logical computing apparatus and computing of binary coded decimal number
JP2608165B2 (en) Method and apparatus for multiplying a real-time two's complement code in a digital signal processing system
US20050210094A1 (en) Method and system to implement an improved floating point adder with integrated adding and rounding
JP3089377B2 (en) Normalized floating point multiplier
JP2511527B2 (en) Floating point arithmetic unit
US6684236B1 (en) System of and method for efficiently performing computations through extended booth encoding of the operands thereto
JPH04355827A (en) Square root extracting operation device
US5485413A (en) Multiplier utilizing the booth algorithm
Neto et al. Decimal addition on FPGA based on a mixed BCD/excess-6 representation
JPH0511980A (en) Overflow detecting method and circuit
JPH0540605A (en) Floating point multiplier
JP3190826B2 (en) Product-sum operation unit
JP2901463B2 (en) Addition device
JP3517162B2 (en) Division and square root arithmetic unit
JPH11312076A (en) Decimal arithmetic unit
JPH10333885A (en) Multiplying circuit
JP2685466B2 (en) Address calculator
JP2761145B2 (en) Square root arithmetic unit
JP3461252B2 (en) Multiplication method
JP2996024B2 (en) Multiplication circuit
JP3130797B2 (en) Product-sum operation processing method and apparatus
JP3153656B2 (en) Multiplier
JPH0222734A (en) Square operating circuit
JPH07175635A (en) Arithmetic unit and data processor using the same

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070721

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080721

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080721

Year of fee payment: 8

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080721

Year of fee payment: 8

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090721

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees