JP3523104B2 - Fixed-point multiplier / adder - Google Patents

Fixed-point multiplier / adder

Info

Publication number
JP3523104B2
JP3523104B2 JP03105599A JP3105599A JP3523104B2 JP 3523104 B2 JP3523104 B2 JP 3523104B2 JP 03105599 A JP03105599 A JP 03105599A JP 3105599 A JP3105599 A JP 3105599A JP 3523104 B2 JP3523104 B2 JP 3523104B2
Authority
JP
Japan
Prior art keywords
circuit
data
output
bit shift
adder
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
JP03105599A
Other languages
Japanese (ja)
Other versions
JP2000231476A (en
Inventor
能成 小島
純 若杉
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP03105599A priority Critical patent/JP3523104B2/en
Publication of JP2000231476A publication Critical patent/JP2000231476A/en
Application granted granted Critical
Publication of JP3523104B2 publication Critical patent/JP3523104B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、半導体集積回路に
形成される固定小数点型乗加算器に係り、特に乗算回路
へのデータ帰還ループに関するもので、例えばデジタル
オーディオ機器用のデジタルシグナルプロセッサ(DS
P)に使用されるものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a fixed point type multiplier / adder formed in a semiconductor integrated circuit, and more particularly to a data feedback loop to a multiplication circuit, for example, a digital signal processor (DS) for digital audio equipment.
P) is used.

【0002】[0002]

【従来の技術】一般に、DSPに内蔵される固定小数点
型乗加算器においては、小数点を有するデータの表現形
式として、(1)小数点位置をデータの最下位ビットの
下位側に設定して整数として扱う方式と、(1)小数点
位置をデータの最上位ビットの上位側に設定して純小数
(整数部を持たない実数)として扱う(フラクション表
現)方式が知られており、現在は後者の方式が圧倒的に
採用されている。
2. Description of the Related Art Generally, in a fixed-point type multiplier / adder incorporated in a DSP, as a representation format of data having a decimal point, (1) the decimal point position is set to the lower side of the least significant bit of the data and is expressed as an integer. The handling method and (1) a method of setting the decimal point position to the upper side of the most significant bit of data and handling it as a pure decimal number (a real number without an integer part) is known. Currently, the latter method is used. Is overwhelmingly adopted.

【0003】図5は、従来の固定小数点型乗加算器の一
例を示す。
FIG. 5 shows an example of a conventional fixed point type power adder.

【0004】図5において、INは入力データ、Yは係
数入力データ(被乗数データ)、51は前記入力データ
INと後述する帰還入力データを選択的に出力するセレ
クタ、52は上記セレクタ51の選択出力を格納するデ
ータ格納装置、53は上記データ格納装置52から読み
出された乗数データXと前記被乗数データYとを乗算す
る乗算回路、54は上記乗算回路53の乗算出力が一方
の加算入力となる加算回路、55は上記加算回路54の
加算出力を一時的に保持し、上記加算回路54の他方の
加算入力とするレジスタ、56は上記加算回路54の加
算出力を前記セレクタ51の一方の入力端に帰還させる
際にはそのまま通過させ、上記加算出力を最終的に演算
結果として出力する際には所定ビット数のシフトを行う
シフターである。
In FIG. 5, IN is input data, Y is coefficient input data (multiplicand data), 51 is a selector for selectively outputting the input data IN and feedback input data described later, and 52 is a selective output of the selector 51. , 53 is a multiplication circuit for multiplying the multiplier data X read from the data storage device 52 by the multiplicand data Y, and 54 is a multiplication output of the multiplication circuit 53 as one addition input. An adder circuit 55 is a register for temporarily holding the addition output of the addition circuit 54 and using it as the other addition input of the addition circuit 54. A reference numeral 56 is one input terminal of the selector 51 for using the addition output of the addition circuit 54. This is a shifter that allows the signal to be passed through as it is when it is fed back to, and shifts a predetermined number of bits when the added output is finally output as a calculation result.

【0005】この固定小数点型乗加算器の構成および動
作はよく知られており、ここでは、その詳細な説明は省
略するが、入力データINの下位数ビットしか変化しな
いような微小信号が入力した場合、あるいは、係数入力
データYの係数が小さい場合、あるいは、演算誤差の大
きい帰還がかかった積和演算を行う場合には、演算の途
中で桁落ちが起こり、誤差を含んだ演算結果が出力され
る。
The structure and operation of this fixed-point type multiplier / adder are well known, and although a detailed description thereof is omitted here, a minute signal which changes only the lower several bits of the input data IN is input. If the coefficient of the coefficient input data Y is small, or if the product-sum operation with feedback with a large operation error is applied, a digit loss occurs during the operation and the operation result including the error is output. To be done.

【0006】したがって、この演算結果を用いて演算を
繰り返す場合には、誤差を含んだ数値同士の演算を行う
ことになるので、最終的に多くの誤差を含んだ演算結果
が出力され、演算精度が低下する。
Therefore, when the calculation is repeated using this calculation result, since the calculation is performed between the numerical values including the error, the calculation result including many errors is finally output, and the calculation accuracy is increased. Is reduced.

【0007】つまり、図5に示した固定小数点型乗加算
器を内蔵するDSPにおいては、内部で扱えるデータの
ビット長の制限があり、入力データINの下位ビットの
演算結果が途中で切り捨てられて演算誤差となるので、
内部で扱えるデータのビット長によって演算精度が決ま
る。
That is, in the DSP having the fixed-point type multiplier / adder shown in FIG. 5, the bit length of the data that can be handled internally is limited, and the operation result of the lower bit of the input data IN is truncated in the middle. There will be a calculation error, so
The calculation precision is determined by the bit length of the data that can be handled internally.

【0008】なお、図5中の乗算回路53のハードウエ
ア構成は、基本的には1ビット当り1つのアンドゲート
で構成できる。また、図5中の加算回路54のハードウ
エア構成は、1ビット当り1つの全加算器で構成でき
る。
The hardware configuration of the multiplication circuit 53 in FIG. 5 can basically be configured by one AND gate per bit. The hardware configuration of the adder circuit 54 in FIG. 5 can be configured by one full adder per bit.

【0009】一方、浮動小数点型乗加算器においては、
固定小数点型乗加算器と同様のビット長を扱う場合で
も、仮数部を常に純小数として扱うことができるので、
仮数部、指数部のビット数を十分にとっておけば、演算
による丸め誤差を低減することができ、演算精度が大幅
に改善される。しかし、浮動小数点型乗加算器は、ハー
ドウエアが複雑かつ大規模になり、処理がより複雑にな
る。
On the other hand, in the floating point type multiply adder,
Even when handling the same bit length as the fixed-point type power adder, the mantissa can always be treated as a pure decimal,
If the mantissa part and the exponent part are provided with a sufficient number of bits, the rounding error due to the calculation can be reduced, and the calculation accuracy is significantly improved. However, the floating-point type multiply-adder has a complicated and large-scale hardware and becomes more complicated in processing.

【0010】即ち、浮動小数点型乗加算器における乗算
回路のハードウエア構成は、図6(a)に示すように、
指数部演算用の加算回路61、仮数部演算用の乗算回路
62、加算結果を正規化するための正規化回路63が必
要になる。
That is, as shown in FIG. 6 (a), the hardware configuration of the multiplication circuit in the floating-point type multiply-adder is as follows.
An adder circuit 61 for exponent part calculation, a multiplication circuit 62 for mantissa part calculation, and a normalization circuit 63 for normalizing the addition result are required.

【0011】また、浮動小数点型乗加算器における加算
回路のハードウエア構成は、図6(b)に示すように、
指数部の大小を比較する比較器65、被演算数の桁合わ
せ回路66、加算器67、加算結果を正規化するための
正規化回路68が必要になる。
As shown in FIG. 6B, the hardware configuration of the adder circuit in the floating-point type power adder is as follows.
A comparator 65 for comparing the magnitudes of the exponents, a digit matching circuit 66 for the operands, an adder 67, and a normalization circuit 68 for normalizing the addition result are required.

【0012】一方、図7は、図5に示した固定小数点型
乗加算器を適用した従来のIIR(Infinite Impulse r
esponse ;無限インパルス応答)型のLPF(ロウパス
フィルタ)の一例を示している。
On the other hand, FIG. 7 shows a conventional IIR (Infinite Impulse r) to which the fixed-point type multiply-adder shown in FIG. 5 is applied.
An example of an esponse (infinite impulse response) type LPF (low pass filter) is shown.

【0013】図7において、入力信号INは、係数a0
を持つ第1の係数回路711に入力するとともに第1の
レジスタ721に格納される。この第1のレジスタ72
1の出力は係数a1を持つ第2の係数回路712に入力す
るとともに第2のレジスタ722に格納される。この第
2のレジスタ722の出力は係数a2を持つ第3の係数回
路713に入力する。これらの第1の係数回路711、
第2の係数回路712および第3の係数回路713の出
力は第1の加算回路731に入力されて加算される。
In FIG. 7, the input signal IN has a coefficient a0.
Is input to the first coefficient circuit 711 and is stored in the first register 721. This first register 72
The output of 1 is input to the second coefficient circuit 712 having the coefficient a1 and stored in the second register 722. The output of the second register 722 is input to the third coefficient circuit 713 having the coefficient a2. These first coefficient circuits 711,
The outputs of the second coefficient circuit 712 and the third coefficient circuit 713 are input to the first addition circuit 731 and added.

【0014】この第1の加算回路731の出力は第2の
加算回路732に入力される。この第2の加算回路73
2の出力は第3のレジスタ723に格納され、この第3
のレジスタ723の出力は係数b1を持つ第4の係数回路
714に入力するとともに第4のレジスタ724に格納
される。この第4のレジスタ724の出力は係数b2を持
つ第5の係数回路715に入力する。これらの第4の係
数回路714および第5の係数回路715の出力は帰還
されて前記第2の加算回路732に入力されて前記第1
の加算回路731の出力とともに加算される。そして、
第2の加算回路732の出力は出力信号OUTとして取
り出される。
The output of the first adder circuit 731 is input to the second adder circuit 732. This second adder circuit 73
The output of 2 is stored in the third register 723.
The output of the register 723 is input to the fourth coefficient circuit 714 having the coefficient b1 and stored in the fourth register 724. The output of the fourth register 724 is input to the fifth coefficient circuit 715 having the coefficient b2. The outputs of the fourth coefficient circuit 714 and the fifth coefficient circuit 715 are fed back and input to the second adder circuit 732 to output the first coefficient.
Is added together with the output of the adder circuit 731. And
The output of the second adding circuit 732 is taken out as the output signal OUT.

【0015】上記IIR型のLPFにおいては、1サン
プル周期ずれた入力信号を第1の加算回路731に入力
して累積加算して移動平均をとり、さらに第1の加算回
路731の出力信号と帰還信号を第2の加算回路732
に入力して累積加算することにより、フィルタの次数を
少なくして遮断周波数fc の領域の特性の急峻化を図っ
ている。この場合、遮断周波数fc を低くするために
は、前記係数a1、a2、b1、b2を小さく設定する。
In the IIR type LPF, an input signal shifted by one sample period is input to a first adder circuit 731, cumulative addition is performed to obtain a moving average, and the output signal of the first adder circuit 731 is fed back. The signal is added to the second adder circuit 732.
The order of the filter is reduced by inputting the signal to the input terminal and cumulative addition is performed, so that the characteristics in the region of the cutoff frequency fc are sharpened. In this case, in order to lower the cutoff frequency fc, the coefficients a1, a2, b1 and b2 are set small.

【0016】ところで、現行のデジタルオーディオ機器
用のDSPの演算精度は、通常は図5に示したような固
定小数点型乗加算器を使用することで十分に対応できる
が、この固定小数点型乗加算器を例えば図7に示したI
IR型のLPFに適用した場合に、一部の演算(帰還が
かかっている積和演算を繰り返す演算部分)で演算精度
が不十分になってしまうことがある。
By the way, the operation precision of the DSP for the current digital audio equipment can usually be sufficiently dealt with by using a fixed-point type multiply-adder as shown in FIG. Device shown in FIG.
When applied to an IR type LPF, the calculation accuracy may become insufficient in some calculations (the calculation part that repeats the product-sum calculation in which feedback is applied).

【0017】一方、デジタルオーディオ機器用のDSP
に浮動小数点型乗加算器を使用すると、演算精度は十分
に得られるとしても、ハードウエア構成が冗長になり、
デジタルオーディオ機器のコストが上昇してしまう。
On the other hand, DSP for digital audio equipment
If you use a floating-point type multiply-adder for, the hardware configuration becomes redundant, even if the calculation accuracy is sufficient.
The cost of digital audio equipment increases.

【0018】ここで、遮断周波数fc を例えば50Hz
に設定した二次のIIR型のLPFのインパルス応答特
性について、24ビット固定小数点型乗加算器を使用し
た場合の演算結果を図8中に実線で示しており、対比の
ため、浮動小数点型乗加算器を使用した場合の演算結果
を図8中に点線で示す。
Here, the cutoff frequency fc is set to 50 Hz, for example.
Regarding the impulse response characteristic of the second-order IIR type LPF set to, the calculation result when a 24-bit fixed point type power adder is used is shown by the solid line in FIG. 8. The calculation result when the adder is used is shown by the dotted line in FIG.

【0019】図8の特性から、IIR型のLPFにおい
て、固定小数点型乗加算器を使用した場合の演算精度は
浮動小数点型乗加算器を使用した場合の演算精度よりも
劣っていることが明らかである。
From the characteristics shown in FIG. 8, it is apparent that in the IIR type LPF, the arithmetic precision when using the fixed point type power adder is inferior to the arithmetic precision when using the floating point type power adder. Is.

【0020】[0020]

【発明が解決しようとする課題】上記したように従来の
固定小数点型乗加算器は、ハードウエア構成は簡易であ
るが、内部で扱えるデータのビット長によって演算精度
が決まるので、微小信号が入力した場合とか係数入力デ
ータの係数が小さい場合とか演算誤差の大きい帰還がか
かった積和演算を行う場合には演算精度が低下するとい
う問題があった。
As described above, the conventional fixed-point type multiply-adder has a simple hardware configuration, but since the calculation precision is determined by the bit length of the data that can be handled internally, a minute signal is input. However, there is a problem that the calculation accuracy is lowered when the coefficient of the coefficient input data is small, or when the product-sum calculation in which feedback with a large calculation error is applied is performed.

【0021】本発明は上記の問題点を解決すべくなされ
たもので、ハードウエア構成を殆んど増加させずに、演
算精度を浮動小数点型乗加算器程度に向上させ得る固定
小数点型乗加算器を提供することを目的とする。
The present invention has been made to solve the above problems, and fixed-point type multiplication / addition which can improve the arithmetic precision to the level of a floating-point type multiplication / adder without increasing the hardware configuration. The purpose is to provide a container.

【0022】[0022]

【課題を解決するための手段】本発明の第1の固定小数
点型乗加算器は、入力データと帰還入力データのいずれ
かを選択して出力する入力選択用のセレクタと、前記入
力選択用のセレクタの選択出力である乗数データと係数
入力データである被乗数データの乗算を行う乗算回路
と、前記乗算回路の乗算出力が一方の加算入力となる加
算回路と、前記加算回路の加算出力を一時的に保持して
前記加算回路の他方の加算入力とするデータ保持回路
と、前記加算回路の加算出力を選択的に上位側へビット
シフトさせる左ビットシフト回路と、前記左ビットシフ
ト回路の出力データが書き込まれ、読み出しデータを前
記セレクタの一方の入力端に帰還させるデータ格納装置
とを具備し、前記左ビットシフト回路は、前記加算回路
の加算出力のビット数に所望のヘッドマージンを加えた
ビット数を有することを特徴とする。
A first fixed-point type multiply-adder according to the present invention includes an input selection selector for selecting and outputting either input data or feedback input data, and the input selection selector. A multiplication circuit that multiplies the multiplier data that is the selection output of the selector and the multiplicand data that is the coefficient input data, an addition circuit that has the multiplication output of the multiplication circuit as one addition input, and an addition output of the addition circuit that is temporarily A data holding circuit for holding the same as the other addition input of the addition circuit, a left bit shift circuit for selectively bit-shifting the addition output of the addition circuit to the upper side, and output data of the left bit shift circuit. A data storage device for returning written data and read data to one input terminal of the selector , wherein the left bit shift circuit is the addition circuit.
Add the desired head margin to the number of bits of the addition output of
Characterized in that it have a number of bits.

【0023】[0023]

【0024】本発明の第の固定小数点型乗加算器は、
第1の固定小数点型乗加算器において、前記左ビットシ
フト回路のヘッドマージンと前記被乗数データの値に基
づいて前記左ビットシフト回路の左ビットシフト量を自
動的に制御する制御回路を具備することを特徴とする。
A second fixed point type power adder of the present invention is
The first fixed-point type power adder comprises a control circuit for automatically controlling the left bit shift amount of the left bit shift circuit based on the head margin of the left bit shift circuit and the value of the multiplicand data. Is characterized by.

【0025】本発明の第の固定小数点型乗加算器は、
第1または第2の固定小数点型乗加算器において、前記
左ビットシフト回路の出力データとともにその左ビット
シフト量データを前記データ格納装置に書き込み、最終
的に演算結果を出力する際には前記データ格納装置から
読み出された左ビットシフト量データに基づいて前記加
算回路の加算出力を下位側へビットシフトさせるように
制御することを特徴とする。
A third fixed point type power adder of the present invention is
In the first or second fixed-point type power adder, the left bit shift amount data is written together with the output data of the left bit shift circuit in the data storage device, and the data is output when the operation result is finally output. The addition output of the addition circuit is controlled to bit shift to the lower side based on the left bit shift amount data read from the storage device.

【0026】本発明の第の固定小数点型乗加算器は、
の固定小数点型乗加算器において、前記加算回路の
加算出力が入力し、その出力先の一方として前記左ビッ
トシフト回路を選択する出力先選択用のセレクタと、前
記出力先選択用のセレクタの出力先の他方となり、前記
データ格納装置から読み出された左ビットシフト量デー
タに基づいて前記出力先選択用のセレクタの出力を下位
側へビットシフトさせる右ビットシフト回路とをさらに
具備することを特徴とする。
A fourth fixed point type power adder of the present invention is
In a third fixed point type power adder, a selector for inputting the output of the adder circuit and selecting the left bit shift circuit as one of the output destinations, and a selector for selecting the output destination And a right bit shift circuit which shifts the output of the selector for selecting the output destination to the lower side based on the left bit shift amount data read from the data storage device. Is characterized by.

【0027】[0027]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

【0028】<第1の実施の形態>図1は、本発明の第
1の実施の形態に係る固定小数点型乗加算器を示してい
る。
<First Embodiment> FIG. 1 shows a fixed-point type multiply-adder according to a first embodiment of the present invention.

【0029】図1に示す固定小数点型乗加算器は、入力
データINと帰還入力データFのいずれかを選択して出
力する入力選択用セレクタ11と、前記入力選択用のセ
レクタ11の選択出力である乗数データXと係数入力デ
ータである被乗数データYの乗算を行う乗算回路12
と、前記乗算回路12の乗算出力が一方の加算入力とな
る加算回路13と、前記加算回路13の加算出力データ
Zを一時的に保持して前記加算回路13の他方の加算入
力とするデータ保持回路(レジスタ)14と、前記加算
回路13の加算出力Zが入力された際に選択的に上位側
へビットシフトさせる左ビットシフト回路15と、前記
左ビットシフト回路15の出力データを格納し、読み出
しデータを前記入力選択用セレクタ11の一方の入力端
に帰還させるデータ格納装置16とを具備する。
The fixed-point type multiplier-adder shown in FIG. 1 has an input selection selector 11 for selecting and outputting either the input data IN or the feedback input data F, and a selection output of the input selection selector 11. A multiplication circuit 12 that multiplies certain multiplier data X and multiplicand data Y that is coefficient input data.
And an addition circuit 13 in which the multiplication output of the multiplication circuit 12 is one addition input, and a data holding that temporarily holds the addition output data Z of the addition circuit 13 and uses it as the other addition input of the addition circuit 13. A circuit (register) 14, a left bit shift circuit 15 for selectively bit-shifting to the upper side when the addition output Z of the addition circuit 13 is input, and output data of the left bit shift circuit 15 are stored, And a data storage device 16 for returning read data to one input terminal of the input selection selector 11.

【0030】なお、前記乗算回路12のハードウエア構
成は、基本的には1ビット当り1つのアンドゲートで構
成できる。また、前記加算回路13のハードウエア構成
は、1ビット当り1つの全加算器で構成できる。
The hardware structure of the multiplication circuit 12 can be basically composed of one AND gate per bit. The hardware configuration of the adder circuit 13 can be configured by one full adder per bit.

【0031】さらに、前記左ビットシフト回路15のビ
ットシフト量を制御するための制御回路17が設けられ
ており、この制御回路17は、ビットシフト量の制御プ
ログラムを例えばROMテーブルとか優先機能付きエン
コーダに格納している。
Further, a control circuit 17 for controlling the bit shift amount of the left bit shift circuit 15 is provided. This control circuit 17 stores a control program for the bit shift amount in, for example, a ROM table or an encoder with a priority function. Stored in.

【0032】この制御回路17は、高精度の固定小数点
型演算の場合には左ビットシフト回路15のビットシフ
トを行わせるように制御し、通常の固定小数点型演算の
場合には左ビットシフト回路15のビットシフトを行わ
せずにデータを素通りさせる。
The control circuit 17 controls the left bit shift circuit 15 to perform bit shift in the case of high precision fixed point type operation, and in the case of normal fixed point type operation, the left bit shift circuit. Pass the data through without 15 bit shifting.

【0033】前記データ格納装置16は、例えばDRA
Mとかレジスタが用いられており、前記左ビットシフト
回路15の出力データとその左ビットシフト量を表わす
データが書き込まれる。この際、通常の固定小数点型演
算の場合には、左ビットシフト回路15でのビットシフ
ト量は零である。
The data storage device 16 is, for example, a DRA.
A register such as M is used to write the output data of the left bit shift circuit 15 and the data representing the left bit shift amount. At this time, in the case of a normal fixed-point type operation, the bit shift amount in the left bit shift circuit 15 is zero.

【0034】さらに、本例では、前記加算回路13の加
算出力Zが入力する出力先選択用のセレクタ18と、こ
の出力先選択用のセレクタ18から供給されるデータを
下位側へビットシフトさせる右ビットシフト回路19と
が設けられている。
Further, in this example, the selector 18 for selecting the output destination to which the addition output Z of the adder circuit 13 is input, and the data supplied from the selector 18 for selecting the output destination are bit-shifted to the lower side. A bit shift circuit 19 is provided.

【0035】この場合、上記出力先選択用のセレクタ1
8は、演算が最終的に終了するまでは前記加算出力Zの
出力先として前記左ビットシフト回路15を選択し、演
算が最終的に終了した後は前記加算出力Zの出力先とし
て前記右ビットシフト回路19を選択する。
In this case, the selector 1 for selecting the output destination
8 selects the left bit shift circuit 15 as the output destination of the addition output Z until the operation finally ends, and the right bit as the output destination of the addition output Z after the operation finally ends. The shift circuit 19 is selected.

【0036】なお、前記左ビットシフト回路15は、前
記加算回路13の加算出力Zのビット数に所望の十分な
ヘッドマージン(固定小数点型乗加算器の用途に応じて
決まる)を加えたビット数を有しており、これに対応し
て前記右ビットシフト回路19も前記加算回路13の加
算出力Zのビット数に所望の十分なヘッドマージンを加
えたビット数を有する。
The left bit shift circuit 15 adds the desired number of bits of the addition output Z of the adder circuit 13 with a desired sufficient head margin (determined according to the application of the fixed point type power adder). In response to this, the right bit shift circuit 19 also has a bit number obtained by adding a desired sufficient head margin to the bit number of the addition output Z of the addition circuit 13.

【0037】また、前記加算回路13およびデータ保持
回路14は、高精度の固定小数点型演算の場合に左ビッ
トシフト回路15のビットシフトに伴うオーバフローに
対応し得るだけの十分なヘッドマージンが設けられてい
る。
Further, the adder circuit 13 and the data holding circuit 14 are provided with a sufficient head margin so as to be able to cope with the overflow due to the bit shift of the left bit shift circuit 15 in the case of high precision fixed point type operation. ing.

【0038】次に、上記構成の固定小数点型乗加算器の
動作を説明する。
Next, the operation of the fixed-point type multiply-adder having the above configuration will be described.

【0039】通常の固定小数点型演算を行う場合には、
乗算回路12による乗算動作、加算回路13およびデー
タ保持回路14による累積加算動作、左ビットシフト回
路15、データ格納装置16、入力選択用セレクタ11
を含むデータ帰還ループの動作により、積和演算が行わ
れる。
When performing a normal fixed-point type operation,
The multiplication operation by the multiplication circuit 12, the cumulative addition operation by the addition circuit 13 and the data holding circuit 14, the left bit shift circuit 15, the data storage device 16, the input selection selector 11
The product-sum operation is performed by the operation of the data feedback loop including the.

【0040】この場合、左ビットシフト回路15はデー
タが素通りし、データ格納装置16には左ビットシフト
回路15の出力データ(実データ)が書き込まれる。そ
して、演算終了後には、積和演算後の結果(加算出力
Z)は右ビットシフト回路19で出力バスのビット長に
制限されて最終的な演算結果として出力される。この一
連の動作中、データは常に固定小数点で表現される。
In this case, data is passed through the left bit shift circuit 15, and the output data (actual data) of the left bit shift circuit 15 is written in the data storage device 16. After the operation is completed, the result (addition output Z) after the product-sum operation is limited by the right bit shift circuit 19 to the bit length of the output bus and is output as the final operation result. During this series of operations, data is always represented in fixed point.

【0041】これに対して、高精度の固定小数点型演算
を行う場合には、前記通常の固定小数点型演算の場合と
比べて、帰還ループの動作時に左ビットシフト回路15
で最上位ビットがオーバーフローしない程度(頭打ちし
ない程度)に左ビットシフト動作が行われ、加算回路1
3およびデータ保持回路14でオーバフローに対応した
処理が行われる点が異なる。
On the other hand, when performing high precision fixed-point arithmetic, the left bit shift circuit 15 is operated during the operation of the feedback loop, as compared with the case of the normal fixed-point arithmetic.
, The left bit shift operation is performed to the extent that the most significant bit does not overflow (to the extent that it does not peak), and the adder circuit
3 and the data holding circuit 14 are different in that processing corresponding to overflow is performed.

【0042】この左ビットシフト動作は、データを数倍
することに相当(例えば1ビットのシフトはデータを2
倍することに相当)する。そして、データ格納装置16
は、左ビットシフト回路15の出力データとその左ビッ
トシフト量を表わすデータが書き込まれ、恰も浮動小数
点型演算の仮数部、指数部と同様のデータを格納するも
のと見做せる。このような動作により、擬似的な浮動小
数点型演算が行われる。
This left bit shift operation is equivalent to multiplying the data several times (for example, shifting 1 bit changes the data by 2).
Equivalent to doubling). Then, the data storage device 16
Is written with the output data of the left bit shift circuit 15 and the data representing the left bit shift amount, and can be regarded as storing the same data as the mantissa part and exponent part of the floating point type operation. By such an operation, a pseudo floating point type operation is performed.

【0043】そして、演算終了後には、積和演算後の結
果(加算出力Z)は、前記データ格納装置16に格納さ
れているビットシフト量データおよび前記加算回路13
でのオーバフロー分に基づいて右ビットシフト回路19
で右ビットシフト(割り算に相当する)が行われて元の
桁に戻された後、出力バスのビット長に制限されて最終
的な演算結果として出力される。
After the operation is completed, the result (addition output Z) after the product-sum operation is the bit shift amount data stored in the data storage device 16 and the adder circuit 13.
Right bit shift circuit 19 based on the overflow in
After right bit shifting (corresponding to division) is performed to return to the original digit, the bit length of the output bus is limited and the final operation result is output.

【0044】即ち、上記第1の実施の形態に係る固定小
数点型乗加算器によれば、データ格納装置16を含む積
和演算帰還ループ内に左ビットシフト回路15を設け、
演算前には加算出力Zが帰還するデータの桁を上位側に
シフトさせ、演算終了後には加算出力Zの桁を下位側に
シフトさせて元の位置に戻して取り出すことを特徴とす
る。
That is, according to the fixed point type multiply-adder according to the first embodiment, the left bit shift circuit 15 is provided in the product-sum operation feedback loop including the data storage device 16.
It is characterized in that the digit of the data to be fed back by the addition output Z is shifted to the upper side before the operation, and the digit of the addition output Z is shifted to the lower side after the operation and returned to the original position to be taken out.

【0045】これにより、入力データINの下位ビット
の演算結果が途中で切り捨てられないように制御するこ
とができるので、ハードウエア構成の規模を大幅に増大
させることなく、浮動小数点型乗加算器程度の演算精度
が得られることになる。
As a result, it is possible to control the operation result of the lower bit of the input data IN so that it is not truncated in the middle, so that the scale of the hardware configuration is not significantly increased, and a floating point type multiply-adder is used. The calculation accuracy of is obtained.

【0046】したがって、上記固定小数点型乗加算器を
内蔵するデジタルオーディオ機器用のDSPによれば、
内部で扱えるデータのビット長の制限があるとしても、
演算精度が大幅に向上する。
Therefore, according to the DSP for the digital audio equipment which incorporates the fixed point type multiplier / adder,
Even if there is a limit to the bit length of the data that can be handled internally,
Calculation accuracy is greatly improved.

【0047】<第1の実施の形態の変形例>第1の実施
の形態における出力先選択用のセレクタ18を省略し、
前記加算出力Zを左ビットシフト回路15および右ビッ
トシフト回路19の両方に供給し、最終的な演算結果を
出力する際に右ビットシフト回路19の出力を出力先で
取り込むようにしてもよい。
<Modification of First Embodiment> The selector 18 for selecting the output destination in the first embodiment is omitted,
The addition output Z may be supplied to both the left bit shift circuit 15 and the right bit shift circuit 19, and the output of the right bit shift circuit 19 may be captured at the output destination when the final operation result is output.

【0048】<第1の実施の形態の適用例>図2は、図
1の固定小数点型乗加算器を適用したIIR型LPFの
一例を示している。
<Example of Application of First Embodiment> FIG. 2 shows an example of an IIR type LPF to which the fixed point type multiplier / adder of FIG. 1 is applied.

【0049】図2において、入力信号INは、係数a0
を持つ第1の係数回路211に入力するとともに第1の
レジスタ221に格納される。この第1のレジスタ22
1の出力は係数a1を持つ第2の係数回路212に入力す
るとともに第2のレジスタ222に格納される。この第
2のレジスタ222の出力は係数a2を持つ第3の係数回
路213に入力する。これらの第1の係数回路211、
第2の係数回路212および第3の係数回路213の出
力は第1の加算回路231に入力されて加算される。
In FIG. 2, the input signal IN has a coefficient a0.
Is input to the first coefficient circuit 211 and is stored in the first register 221. This first register 22
The output of 1 is input to the second coefficient circuit 212 having the coefficient a1 and stored in the second register 222. The output of the second register 222 is input to the third coefficient circuit 213 having the coefficient a2. These first coefficient circuits 211,
The outputs of the second coefficient circuit 212 and the third coefficient circuit 213 are input to the first addition circuit 231 and added.

【0050】この第1の加算回路231の出力は、左ビ
ットシフト回路24を経て第2の加算回路232に入力
される。この第2の加算回路232の出力(出力信号O
UT)は第3のレジスタ223に格納され、この第3の
レジスタ223の出力は係数b1を持つ第4の係数回路2
14に入力するとともに第4のレジスタ224に格納さ
れる。この第4のレジスタ224の出力は係数b2を持つ
第5の係数回路215に入力する。これらの第4の係数
回路214および第5の係数回路215の出力は帰還さ
れて前記第2の加算回路232に入力されて前記第1の
加算回路231の出力とともに加算される。そして、第
2の加算回路232の出力は、右ビットシフト回路25
を経て出力信号OUTとして取り出される。
The output of the first adder circuit 231 is input to the second adder circuit 232 via the left bit shift circuit 24. The output of the second adder circuit 232 (output signal O
UT) is stored in the third register 223, and the output of the third register 223 is the fourth coefficient circuit 2 having the coefficient b1.
The data is input to 14 and stored in the fourth register 224. The output of the fourth register 224 is input to the fifth coefficient circuit 215 having the coefficient b2. The outputs of the fourth coefficient circuit 214 and the fifth coefficient circuit 215 are fed back and input to the second adder circuit 232 and added together with the output of the first adder circuit 231. The output of the second adder circuit 232 is the right bit shift circuit 25.
Is output as an output signal OUT.

【0051】さらに、前記各レジスタ221〜224、
左ビットシフト回路24、右ビットシフト回路25のビ
ットシフト量を制御するためのビットシフト制御回路2
6が設けられている。
Further, each of the registers 221 to 224,
A bit shift control circuit 2 for controlling the bit shift amounts of the left bit shift circuit 24 and the right bit shift circuit 25.
6 is provided.

【0052】図2のIR型のLPFによれば、帰還がか
かっている積和演算を繰り返す演算部分に図1の固定小
数点型乗加算器を使用しているので、遮断周波数fc を
低くするために前記係数a1、a2、b1、b2を小さく設定し
た場合(演算誤差が発生し易い場合)でもビットシフト
量を大きく制御することにより、演算精度が十分に得ら
れる。
According to the IR type LPF of FIG. 2, since the fixed-point type multiply-adder of FIG. 1 is used in the operation part for repeating the multiply-accumulate operation with feedback, in order to lower the cutoff frequency fc. Even when the coefficients a1, a2, b1 and b2 are set to be small (when a calculation error is likely to occur), the bit shift amount is controlled to be large, whereby sufficient calculation accuracy can be obtained.

【0053】<第2の実施の形態>前記第1の実施の形
態では、制御回路17のプログラムにより制御される左
ビットシフト回路15の左ビットシフト量(データの持
ち上げ量)として、最上位ビットがオーバーフローしな
い程度に固定されていた。
<Second Embodiment> In the first embodiment, the most significant bit is set as the left bit shift amount (data lifting amount) of the left bit shift circuit 15 controlled by the program of the control circuit 17. Was fixed so that it would not overflow.

【0054】しかし、左ビットシフト回路15における
左ビットシフト量は演算精度に影響するので、左ビット
シフト回路15のヘッドマージンが許す限り左ビットシ
フト量を大きくした方が演算精度が高くなる。
However, since the left bit shift amount in the left bit shift circuit 15 affects the calculation accuracy, the calculation precision becomes higher if the left bit shift amount is increased as long as the head margin of the left bit shift circuit 15 allows.

【0055】ここで、図2に示した二次のIIR型のL
PFにおいて、遮断周波数fc を例えば100Hzに設
定し、ビットシフト量nを1〜8まで変化させた場合の
インパルス応答特性について演算した結果を図3(a)
乃至(h)に示した。
Here, the secondary IIR type L shown in FIG.
In the PF, the cutoff frequency fc is set to 100 Hz, for example, and the result of calculation of the impulse response characteristics when the bit shift amount n is changed from 1 to 8 is shown in FIG.
To (h).

【0056】図3(a)乃至(h)の特性から、左ビッ
トシフト回路15のヘッドマージンを十分にとってあれ
ば、ビットシフト量nを大きくすることによりフィルタ
特性の大幅な改善を実現できることが分かる。
From the characteristics shown in FIGS. 3 (a) to 3 (h), it can be seen that if the head margin of the left bit shift circuit 15 is sufficient, the filter characteristic can be greatly improved by increasing the bit shift amount n. .

【0057】この点を考慮し、用途に応じてさらに高い
演算精度が要求される場合に適した固定小数点型乗加算
器を実現する第2の実施の形態について以下に説明す
る。
Considering this point, a second embodiment for realizing a fixed-point type multiply-adder suitable for a case where higher calculation accuracy is required depending on the application will be described below.

【0058】図4は、本発明の第2の実施の形態に係る
固定小数点型乗加算器を示している。 図4に示す固定
小数点型乗加算器は、図1を参照して前述した固定小数
点型乗加算器と比べて、制御回路17に代えて、演算に
応じて左ビットシフト量の最適値(極力大きな値)を自
動的に決定してビットシフト量を制御するためのビット
シフト量決定装置40が付加されている点が異なり、そ
の他は同じであるので図1中と同一符号を付している。
FIG. 4 shows a fixed point type power adder according to a second embodiment of the present invention. Compared with the fixed-point type power adder described above with reference to FIG. 1, the fixed-point type power adder shown in FIG. 1 is the same as that in FIG. 1 except that a bit shift amount determination device 40 for automatically determining a large value) and controlling the bit shift amount is added. .

【0059】即ち、上記ビットシフト量決定装置40
は、演算結果と被乗数入力データYの値に基づいて左ビ
ットシフト回路15のヘッドマージンを考慮してヘッド
マージンが許す限り最も大きな左ビットシフト量を決定
し、決定結果に応じて帰還データのビットシフト量を制
御する機能を有する。
That is, the bit shift amount determination device 40
Determines the largest left bit shift amount as long as the head margin allows, in consideration of the head margin of the left bit shift circuit 15 based on the calculation result and the value of the multiplicand input data Y, and the bit of the feedback data is determined according to the determination result. It has the function of controlling the shift amount.

【0060】このような構成によれば、演算途中に累積
される演算誤差の影響を最小にし、常に浮動小数点型乗
加算器と同等の高精度の演算が行われるようになる。
According to such a configuration, the influence of the calculation error accumulated in the middle of the calculation is minimized, and the high-precision calculation equivalent to that of the floating-point type multiply-adder is always performed.

【0061】即ち、上記第2の実施の形態に係る固定小
数点型乗加算器によれば、前記第1の実施の形態に係る
固定小数点型乗加算器と同様の効果が得られるほか、演
算に応じて最適な帰還データのビットシフト量を自動的
に決定するためのビットシフト量決定装置40を設けた
ので、決定結果に応じて帰還データのビットシフト量を
制御することにより、被乗数データYの値に拘らず、浮
動小数点型乗加算器に相当する高精度の演算を実現する
ことが可能になる。
That is, according to the fixed-point type multiply-adder according to the second embodiment, the same effect as that of the fixed-point type multiply-adder according to the first embodiment can be obtained, and the arithmetic operation can be performed. Since the bit shift amount determining device 40 for automatically determining the optimal bit shift amount of the feedback data according to the above is provided, by controlling the bit shift amount of the feedback data according to the determination result, the multiplicand data Y Regardless of the value, it is possible to realize a highly accurate operation equivalent to a floating point type power adder.

【0062】したがって、図4に示した固定小数点型乗
加算器を図2に示した二次のIIR型のLPFに適用す
れば、演算に応じて帰還データのビットシフト量の最適
値(極力大きな値)を自動的に制御することができるの
で、フィルタ特性の大幅な改善を実現できることにな
る。
Therefore, if the fixed-point type multiplier-adder shown in FIG. 4 is applied to the quadratic IIR type LPF shown in FIG. 2, the optimum value of the bit shift amount of the feedback data (maximum as much as possible) is calculated according to the operation. Since the value) can be controlled automatically, the filter characteristics can be significantly improved.

【0063】なお、前記各実施の形態では、最終的に演
算結果を出力する際に、データ格納装置16に保持され
ているビットシフト量データに基づいて右ビットシフト
回路19の右ビットシフトを制御したが、これに限ら
ず、図1中の制御回路17あるいは図4中のビットシフ
ト量決定装置40により右ビットシフト回路19の右ビ
ットシフトを制御するようにしてもよい。
In each of the above embodiments, the right bit shift of the right bit shift circuit 19 is controlled based on the bit shift amount data held in the data storage device 16 when the operation result is finally output. However, not limited to this, the control circuit 17 in FIG. 1 or the bit shift amount determination device 40 in FIG. 4 may control the right bit shift of the right bit shift circuit 19.

【0064】[0064]

【発明の効果】上述したように本発明によれば、ハード
ウエア構成を殆んど増加させずに、演算精度を向上させ
得る固定小数点型乗加算器を提供することができる。
As described above, according to the present invention, it is possible to provide a fixed-point type multiply-adder capable of improving the calculation accuracy without increasing the hardware configuration.

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

【図1】本発明の第1の実施の形態に係る固定小数点型
乗加算器を示すブロック図。
FIG. 1 is a block diagram showing a fixed point type power adder according to a first embodiment of the present invention.

【図2】図1の固定小数点型乗加算器を適用したIIR
型LPFの一例を示すブロック図。
FIG. 2 is an IIR to which the fixed-point type power adder of FIG. 1 is applied.
The block diagram which shows an example of a type LPF.

【図3】図2に示した二次のIIR型のLPFにおいて
ビットシフト量nを1〜8まで変化させた場合のインパ
ルス応答特性について演算した結果を示す特性図。
3 is a characteristic diagram showing a result of calculation of impulse response characteristics when the bit shift amount n is changed from 1 to 8 in the secondary IIR type LPF shown in FIG.

【図4】本発明の第2の実施の形態に係る固定小数点型
乗加算器を示すブロック図。
FIG. 4 is a block diagram showing a fixed point type power adder according to a second embodiment of the present invention.

【図5】従来の固定小数点型乗加算器の一例を示すブロ
ック図。
FIG. 5 is a block diagram showing an example of a conventional fixed-point type power adder.

【図6】従来の浮動小数点型乗加算器の乗算回路および
加算回路の一例を示すブロック図。
FIG. 6 is a block diagram showing an example of a multiplication circuit and an addition circuit of a conventional floating-point type power adder.

【図7】図5の固定小数点型乗加算器を適用した従来の
IIR型のLPFの一例を示すブロック図。
7 is a block diagram showing an example of a conventional IIR type LPF to which the fixed-point type power adder of FIG. 5 is applied.

【図8】二次のIIR型のLPFの遮断周波数fc を5
0Hzに設定した際のインパルス応答特性について24
ビット固定小数点型乗加算器を使用した演算した結果と
浮動小数点型乗加算器を使用した演算した結果とを対比
して示す特性図。
FIG. 8 shows a cutoff frequency fc of a secondary IIR type LPF of 5
Impulse response characteristics when set to 0 Hz 24
FIG. 6 is a characteristic diagram showing the result of the operation using the bit fixed point type power adder and the result of the operation using the floating point type power adder.

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

IN…入力データ、 F…帰還入力データ、 X…乗数入力データ、 Y…係数入力(被乗数入力)データ、 Z…加算出力データ、 11…入力選択用セレクタ、 12…乗算回路、 13…加算回路、 14…データ保持回路、 15…左ビットシフト回路、 16…データ格納装置、 17…制御回路、 18…出力先選択用セレクタ、 19…右ビットシフト回路。 IN ... input data, F ... Feedback input data, X ... Multiplier input data, Y: coefficient input (multiplicand input) data, Z ... Addition output data, 11 ... Selector for input selection, 12 ... Multiplier circuit, 13 ... Adder circuit, 14 ... Data holding circuit, 15 ... Left bit shift circuit, 16 ... Data storage device, 17 ... control circuit, 18 ... Selector for selecting output destination, 19 ... Right bit shift circuit.

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

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力データと帰還入力データのいずれか
を選択して出力する入力選択用のセレクタと、 前記入力選択用のセレクタの選択出力である乗数データ
と係数入力データである被乗数データの乗算を行う乗算
回路と、 前記乗算回路の乗算出力が一方の加算入力となる加算回
路と、 前記加算回路の加算出力を一時的に保持して前記加算回
路の他方の加算入力とするデータ保持回路と、 前記加算回路の加算出力を選択的に上位側へビットシフ
トさせる左ビットシフト回路と、 前記左ビットシフト回路の出力データが書き込まれ、読
み出しデータを前記セレクタの一方の入力端に帰還させ
るデータ格納装置とを具備し、前記左ビットシフト回路
は、前記加算回路の加算出力のビット数に所望のヘッド
マージンを加えたビット数を有することを特徴とする固
定小数点型乗加算器。
1. A selector for input selection which selects and outputs either input data or feedback input data, and multiplication of multiplier data which is a selected output of the selector for input selection and multiplicand data which is coefficient input data. And a data holding circuit for temporarily holding the addition output of the addition circuit and using it as the other addition input of the addition circuit. A left bit shift circuit for selectively bit-shifting the added output of the adder circuit to the upper side, and a data storage in which output data of the left bit shift circuit is written and read data is fed back to one input end of the selector. And a left bit shift circuit comprising:
Is the desired head for the number of bits of the addition output of the adding circuit.
Fixed-point multiplication and addition circuit, characterized in that have a number of bits obtained by adding a margin.
【請求項2】 請求項1記載の固定小数点型乗加算器に
おいて、 前記左ビットシフト回路のヘッドマージンと前記被乗数
データの値に基づいて前記左ビットシフト回路の左ビッ
トシフト量を自動的に制御する制御回路を具備すること
を特徴とする固定小数点型乗加算器。
2. The fixed-point type multiplier / adder according to claim 1, wherein the head margin of the left bit shift circuit and the multiplicand
Based on the value of the data, the left bit of the left bit shift circuit is
A fixed-point type power adder comprising a control circuit for automatically controlling the shift amount .
【請求項3】 請求項1または2記載の固定小数点型乗
加算器において、 前記左ビットシフト回路の出力データとともにその左ビ
ットシフト量データを前記データ格納装置に書き込み、
最終的に演算結果を出力する際には前記データ格納装置
から読み出された左ビットシフト量データに基づいて前
記加算回路の加算出力を下位側へビットシフトさせるよ
うに制御することを特徴とする固定小数点型乗加算器。
3. The fixed-point type multiply-adder according to claim 1, wherein the left bit shift circuit is provided with the output data of the left bit shift circuit.
Write the shift amount data to the data storage device,
When finally outputting the calculation result, the data storage device
Based on the left bit shift amount data read from
Bit-shift the addition output of the addition circuit to the lower side.
A fixed-point type multiply-adder characterized by the following control .
【請求項4】 請求項記載の固定小数点型乗加算器に
おいて、 前記加算回路の加算出力が入力し、その出力先の一方と
して前記左ビットシフト回路を選択する出力先選択用の
セレクタと、 前記出力先選択用のセレクタの出力先の他方となり、前
記データ格納装置から 読み出された左ビットシフト量デ
ータに基づいて前記出力先選択用のセレクタの出力を下
位側へビットシフトさせる右ビットシフト回路とをさら
に具備する ことを特徴とする固定小数点型乗加算器。
4. The fixed-point type power adder according to claim 3 , wherein the addition output of the addition circuit is input, and one of the output destinations is input.
For selecting an output destination for selecting the left bit shift circuit
The other of the selector and the output destination of the selector for selecting the output destination,
The left bit shift amount data read from the data storage device.
The output of the selector for selecting the output destination based on the
The right bit shift circuit that shifts the bits to
A fixed-point type multiply-adder characterized in that
JP03105599A 1999-02-09 1999-02-09 Fixed-point multiplier / adder Expired - Fee Related JP3523104B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03105599A JP3523104B2 (en) 1999-02-09 1999-02-09 Fixed-point multiplier / adder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03105599A JP3523104B2 (en) 1999-02-09 1999-02-09 Fixed-point multiplier / adder

Publications (2)

Publication Number Publication Date
JP2000231476A JP2000231476A (en) 2000-08-22
JP3523104B2 true JP3523104B2 (en) 2004-04-26

Family

ID=12320810

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03105599A Expired - Fee Related JP3523104B2 (en) 1999-02-09 1999-02-09 Fixed-point multiplier / adder

Country Status (1)

Country Link
JP (1) JP3523104B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6528884B1 (en) 2018-06-04 2019-06-12 富士通株式会社 Learning program, learning method, and information processing apparatus
CN109117114B (en) * 2018-08-16 2023-06-02 电子科技大学 Low-complexity approximate multiplier based on lookup table

Also Published As

Publication number Publication date
JP2000231476A (en) 2000-08-22

Similar Documents

Publication Publication Date Title
US6732134B1 (en) Handler for floating-point denormalized numbers
US6480872B1 (en) Floating-point and integer multiply-add and multiply-accumulate
US6138135A (en) Propagating NaNs during high precision calculations using lesser precision hardware
US6115729A (en) Floating point multiply-accumulate unit
JPH03136129A (en) Dividing circuit and dividing method
JPH03208170A (en) Numeric system for calculating approximation of mathematical function and calculation method
JPH03171324A (en) Circuit and method for calculating square root of operand
EP0656687A1 (en) Parallel infinite impulse response (IIR) filter with low quantization effects and method therefor
JP3313560B2 (en) Floating point processor
US4594680A (en) Apparatus for performing quadratic convergence division in a large data processing system
US6912559B1 (en) System and method for improving the accuracy of reciprocal square root operations performed by a floating-point unit
JP3523104B2 (en) Fixed-point multiplier / adder
US7016930B2 (en) Apparatus and method for performing operations implemented by iterative execution of a recurrence equation
JPH0687218B2 (en) Floating-point arithmetic processing device and divisor multiple generation device
US6101521A (en) Data processing method and apparatus operable on an irrational mathematical value
JPH0519170B2 (en)
JPH0540605A (en) Floating point multiplier
JPH04172526A (en) Floating point divider
JPS62197868A (en) Linear approximation conversion circuit for pipeline construction
JPH067375B2 (en) Arithmetic circuit
JP2951685B2 (en) Fixed-point arithmetic unit
JP4428778B2 (en) Arithmetic device, arithmetic method, and computing device
JP2006155102A (en) Arithmetic processing unit
JP3137131B2 (en) Floating point multiplier and multiplication method
JP3659408B2 (en) Data arithmetic processing apparatus and data arithmetic processing program

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040203

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040205

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

Free format text: PAYMENT UNTIL: 20080220

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090220

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100220

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100220

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110220

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees