JPH02216582A - Pipeline arithmetic circuit - Google Patents

Pipeline arithmetic circuit

Info

Publication number
JPH02216582A
JPH02216582A JP3748289A JP3748289A JPH02216582A JP H02216582 A JPH02216582 A JP H02216582A JP 3748289 A JP3748289 A JP 3748289A JP 3748289 A JP3748289 A JP 3748289A JP H02216582 A JPH02216582 A JP H02216582A
Authority
JP
Japan
Prior art keywords
circuit
input
arithmetic
output
accumulation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3748289A
Other languages
Japanese (ja)
Inventor
Yukio Endo
幸男 遠藤
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP3748289A priority Critical patent/JPH02216582A/en
Publication of JPH02216582A publication Critical patent/JPH02216582A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the arithmetic processing capacity by preventing a pipeline from being disconnected by an input scaling processing. CONSTITUTION:Variable shifting circuits 10, 20 input samples Xi, Yi from input terminals 1, 2, and perform an operation for shifting input signals 100, 101 to the right by one bit. An arithmetic operation circuit 30 calculates multiplication (1/4)/(Xi*Yi) of two inputs and repeats to transfer it to an accumulating circuit 40. The accumulating circuit 40 repeats addition of a result 104 of multiplication which is transferred and a result of accumulation to the previous step. When the operation to X3 and Y3 is repeated, in the accumulating circuit 40, A = (1/4)(X0*Y0) + (X1*Y1) + (X2*Y2) + (X3*Y3) being the inner product is obtained without generating an overflow.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はパイプライン演算回路に関し、特にディジタル
信号処理プロセッサのパイプライン演算回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a pipeline arithmetic circuit, and particularly to a pipeline arithmetic circuit for a digital signal processing processor.

〔従来の技術〕[Conventional technology]

音声信号や画像信号に対して実時間処理を施す場合のよ
うに、一連の演算処理を高速に実行するには、乗算器や
加算器などの専用演算器を用いるとともに、これらの演
算器を並列もしくは直列に接続して演算処理の並列化を
図り高速な処理速度を実現する事が多い。
To perform a series of arithmetic operations at high speed, such as when performing real-time processing on audio and image signals, dedicated arithmetic units such as multipliers and adders are used, and these arithmetic units are parallelized. Alternatively, they are often connected in series to parallelize arithmetic processing and achieve high processing speed.

特に、演算器を演算処理の順序に合せて直列接続し、い
わゆるパイプライン処理を実現する構成法は、比較的容
易に演算処理の並列度を上げ、スループットの向上を図
る事ができるためよく用いられている。その−例として
、第4図に、日本電気(株)の信号処理プロセッサμP
D7720に採用されているパイプライン演算回路を示
す。詳細な説明は昭和61年1月発行のμPD7720
15ファずり、シグナル・プロセ、去ユーザーズ壷マニ
ュアルを参照されたい。第4図において、21は乗算器
、22は算術論理演算回路、23はレジスタ、24.2
5はアキ、ムレータ、26.27は入力端子、28はバ
スである。
In particular, a configuration method in which arithmetic units are connected in series according to the order of arithmetic processing to achieve so-called pipeline processing is often used because it can relatively easily increase the parallelism of arithmetic processing and improve throughput. It is being As an example, Fig. 4 shows the signal processing processor μP of NEC Corporation.
The pipeline arithmetic circuit used in the D7720 is shown. For detailed explanation, refer to μPD7720 issued in January 1986.
15 Fuzz, Signal Processing, Please refer to the User's Manual. In FIG. 4, 21 is a multiplier, 22 is an arithmetic and logic operation circuit, 23 is a register, and 24.2
5 is a space, a muleta, 26.27 is an input terminal, and 28 is a bus.

このパイプライン演算回路を用いて(1)式に示すよう
な2つのベクトルX = (Xo 、X t −−−−
、Xm−t)とY= (Yo 、 Yt 、 −−一、
 Y rrl−りとの内積Aを求める場合の処理の流れ
を考える。
Using this pipeline arithmetic circuit, two vectors X = (Xo, Xt -----
, Xm-t) and Y= (Yo , Yt , --1,
Let us consider the flow of processing when calculating the inner product A of Y rrl-ri.

入力端子26.27に入力した両ベクトルの要素Xo、
Yoを乗算器21が乗算し、乗算結果をレジスタ23に
格納する。次のステ、ブで、この乗算結果は算術論理演
算回路22のP入力を介してアキュムレータ25にロー
ドされる。この時、入力端子26.27に入力したXl
、Ylに対して乗算器21で乗算が可能であり、レジス
タ23にはXl、 Ylの乗算結果が格納される。次の
ステ、プで、算術論理演算回路22では、先にアキュム
レータ25にロードされているXI)*Yo(Q入力よ
り入力される)とレジスタ23の値X1*Y1とが加算
され、アキュムレータ25に加算結果を格納する。以下
、i=2からm−1について同様な演算が繰り返され、
アキュムレータ25にベクトルXとYとの内積値Aが求
まる。
Elements Xo of both vectors input to input terminals 26 and 27,
The multiplier 21 multiplies Yo and stores the multiplication result in the register 23. In the next step, this multiplication result is loaded into the accumulator 25 via the P input of the arithmetic logic circuit 22. At this time, Xl input to input terminals 26 and 27
, Yl can be multiplied by the multiplier 21, and the register 23 stores the multiplication result of Xl and Yl. In the next step, the arithmetic and logic operation circuit 22 adds XI)*Yo (input from the Q input) previously loaded into the accumulator 25 and the value X1*Y1 of the register 23, and the accumulator 25 Store the addition result in . Below, similar calculations are repeated for i=2 to m-1,
The inner product value A of the vectors X and Y is found in the accumulator 25.

又、同じパイプライン演算回路を用いて(2)式に示す
ようなフィルタ処理を行なう場合にも、上述した内積A
を求める場合のベクトルYをフィルタ係数Cと置換えて
考えれば、同様にしてアキュムレータ25にフィルタ処
理結果Bが求まる。
Also, when performing filter processing as shown in equation (2) using the same pipeline arithmetic circuit, the above-mentioned inner product A
If we replace vector Y with filter coefficient C when calculating , filter processing result B can be found in accumulator 25 in the same way.

以上のように、乗算と加算とが繰り返し行われる積和演
算においては、乗算器21と算術論理演算回路22とで
同時に乗算と加算が実行できる。
As described above, in the product-sum operation in which multiplication and addition are repeatedly performed, multiplication and addition can be performed simultaneously by the multiplier 21 and the arithmetic logic operation circuit 22.

したがって、ベクトルの内積を求める演算や畳み込み演
算のように積和演算を中心とする演算処理に有効である
Therefore, it is effective for arithmetic processing centered on product-sum calculations, such as calculations for calculating inner products of vectors and convolution calculations.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した(1)式の内積演算処理では、パイプライン演
算回路の演算語長を考慮する必要がある。(1)式はm
回の累積であるから内積結果Aは最大m倍になり、演算
回路でオーバーフローしてしまうことがある。このオー
バーフローを避けるため、従来は乗算結果を(1/m)
にした後、累算する方法をとっていた。この方法を上述
した従来のパイプライン演算回路で実現した場合、(1
/m)を乗算するステップが必要となり、パイプライン
を有効に利用出来なくなり、著しい処理効率の劣化が生
じる欠点がある。
In the inner product calculation process of equation (1) described above, it is necessary to consider the calculation word length of the pipeline calculation circuit. Equation (1) is m
Since it is an accumulation of times, the inner product result A is multiplied by a maximum of m, which may cause an overflow in the arithmetic circuit. To avoid this overflow, conventionally the multiplication result is (1/m)
The method used was to accumulate the values after the calculation. When this method is implemented using the conventional pipeline arithmetic circuit described above, (1
/m) is required, and the pipeline cannot be used effectively, resulting in a significant deterioration in processing efficiency.

又、−船釣に画像信号処理等では、入力信号の振幅がO
から1.0の信号として扱う事が多い。上述したパイプ
ライン演算回路で画像信号に対してフィルタ演算処理を
行なう場合、処理結果が負または1.0以上になる場合
が生じる。従って、(2)式の処理後、さらに出力を0
から1.0にリミットする演算処理が必要となる。この
処理を実現する方法として、まず(2)式の結果を以下
のように場合分けし、各場合に対して結果をリミットす
る。
In addition, - In image signal processing for boat fishing, etc., the amplitude of the input signal is O
It is often treated as a signal of 1.0. When the above-mentioned pipeline arithmetic circuit performs filter arithmetic processing on an image signal, the processing result may be negative or 1.0 or more. Therefore, after processing equation (2), the output is further set to 0.
It is necessary to perform calculation processing to limit the value from 1.0 to 1.0. As a method for implementing this process, first, the result of equation (2) is divided into cases as follows, and the result is limited for each case.

(3)式の処理を上述した従来のパイプライン演算回路
で実現する場合、3回の条件ジャンプと各分岐先での値
の代入処理とが必要となる。これらの処理を行なう場合
も、パイプラインを有効に使用することができず、処理
効率が低下する欠点がある。
When the processing of equation (3) is implemented using the above-mentioned conventional pipeline arithmetic circuit, three conditional jumps and value assignment processing at each branch destination are required. Even when these processes are performed, the pipeline cannot be used effectively, resulting in a reduction in processing efficiency.

本発明の目的は、これら処理効率の低下が起らず、lサ
ンプル入力あたりlインストラクシ、ンで直接計算する
ことができる処理効率の良い演算回路を提供することに
ある。
An object of the present invention is to provide an arithmetic circuit with high processing efficiency that does not cause such a decrease in processing efficiency and can directly perform calculations with 1 instruction per 1 sample input.

〔課題を解決するための手段〕[Means to solve the problem]

第1の発明のパイプライン演算回路は、外部から供給さ
れる2つの入力をそれぞれ独立に予め設定した量だけビ
ットシフトする可変シフト回路と、この可変シフト回路
の出力を入力として所定の演第2の発明のパイプライン
演算回路は、外部から2つの入力が供給される算術演算
回路と、この算術演算回路の出力を入力とする累算回路
と、この累算回路の出力を予め定めた上限値及び下限値
と並列に比較する比較回路と、この比較回路の比較結果
に基づき前記累算回路の出力、前記上限値又は前記下限
値のいずれか1つを選択出力する選択回路とを備えてい
る。
The pipeline arithmetic circuit of the first invention includes a variable shift circuit that bit-shifts two inputs supplied from the outside by a preset amount independently, and a predetermined operation using the output of the variable shift circuit as input. The pipeline arithmetic circuit of the invention includes an arithmetic operation circuit to which two inputs are supplied from the outside, an accumulation circuit that receives the output of this arithmetic operation circuit as input, and an upper limit value that is determined in advance for the output of this accumulation circuit. and a comparison circuit that compares in parallel with the lower limit value, and a selection circuit that selects and outputs any one of the output of the accumulation circuit, the upper limit value, or the lower limit value based on the comparison result of the comparison circuit. .

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の第1の実施例を示すブaワク図であり
、l、2は入力端子、10.20は可変シフト回路、3
0は乗算を含む算術演算回路、40は累算回路、3は出
力端子である。
FIG. 1 is a book diagram showing the first embodiment of the present invention, 1 and 2 are input terminals, 10.20 is a variable shift circuit, and 3
0 is an arithmetic operation circuit including multiplication, 40 is an accumulation circuit, and 3 is an output terminal.

以下、第1図に示した実施例を用いて前述した(1)式
のベクトル内積の計算をする場合について、ベクトルの
次元m = 4として、説明する。
Hereinafter, a case will be described in which the vector inner product of equation (1) is calculated using the embodiment shown in FIG. 1, assuming that the dimension of the vector is m=4.

入力端子1からXoを可変シフト回路10に入力し、入
力端子2からYoを可変シフト回路2゜に入力する。可
変シフト回路10.20は、入力信号loo、xo[−
tビット右シフトする演算を施し、入力信号100,1
01をl/2倍する。
Xo is input from input terminal 1 to variable shift circuit 10, and Yo from input terminal 2 is input to variable shift circuit 2°. The variable shift circuit 10.20 receives input signals loo, xo[-
Performs an operation to shift right by t bits, and input signal 100,1
Multiply 01 by l/2.

次のステップで、可変シフト回路10及び2oの出力1
02及び103を算術演算回路30に出力する。算術演
算回路30は2つの入力を乗算し、乗算結果(1/4 
) (Xo*yo)を計算する。同時に、可変シフト回
路10.20は、入力端子l。
In the next step, the output 1 of the variable shift circuits 10 and 2o
02 and 103 are output to the arithmetic operation circuit 30. The arithmetic operation circuit 30 multiplies the two inputs and obtains the multiplication result (1/4
) Calculate (Xo*yo). At the same time, the variable shift circuit 10.20 has an input terminal l.

2から次のデータXl、Y1を入力し、入力信号Zoo
、101を1ビツト右シフトする演算を施す。さらに次
のステ、プで、算術演算回路3oの出力104を累算回
路40に転送し、同時に、可変シフト回路10.20で
は次の入力X、、Y!のlビットシフト演算、算術演算
回路3oは(1/4 ) (X; *Y;)を計算する
2, input the next data Xl and Y1, and input the input signal Zoo
, 101 are shifted to the right by 1 bit. Furthermore, in the next step, the output 104 of the arithmetic operation circuit 3o is transferred to the accumulation circuit 40, and at the same time, the variable shift circuit 10.20 receives the next input X,, Y! In the l-bit shift operation, the arithmetic operation circuit 3o calculates (1/4) (X; *Y;).

以降、可変シフト回路10.20では、入力端子1.2
から入力サンプルXi 、 Yiを入力し、入力信号1
00,101を1ビツト右シフトする演算を施す。算術
演算回路30では、2つの入力の乗算(1/4 ) (
Xi*Yi)を計算し累算回路40に転送することを繰
り返す。累算回路40では、転送されてくる乗算結果1
04と前ステップまでの累算結果との加算を繰シ返す。
Hereinafter, in the variable shift circuit 10.20, the input terminal 1.2
Input the input samples Xi and Yi from the input signal 1
Perform an operation to shift 00 and 101 to the right by 1 bit. The arithmetic operation circuit 30 multiplies two inputs (1/4) (
Xi*Yi) and transferring it to the accumulation circuit 40 is repeated. In the accumulation circuit 40, the transferred multiplication result 1
The addition of 04 and the cumulative result up to the previous step is repeated.

以上のようにして、X3.Y3までの演算を繰り返すと
、累算回路40では、オーバフローすることなくベクト
ルXとYとの内積であるA=(1/4 )((Xo*Y
o)+(Xt*Yt)+(Xt*Yz)+(Xs’kY
s))が得られる。
As described above, X3. When the calculations up to Y3 are repeated, the accumulation circuit 40 calculates the inner product of vectors X and Y, A=(1/4)((Xo*Y
o)+(Xt*Yt)+(Xt*Yz)+(Xs'kY
s)) is obtained.

第2図は、本発明の第2の実施例を示すブロック図であ
り、4.5は入力端子、6は出力端子、50は乗算を含
む算術演算回路、60は累算回路、70はリミット回路
である。なお、りばット回路70の詳細については後述
する。
FIG. 2 is a block diagram showing a second embodiment of the present invention, in which 4.5 is an input terminal, 6 is an output terminal, 50 is an arithmetic operation circuit including multiplication, 60 is an accumulation circuit, and 70 is a limit circuit. It is a circuit. Note that details of the Ribat circuit 70 will be described later.

以下、第2図に示した実施例を用いて前述した(2)式
の計算をする場合について説明する。
Hereinafter, a case in which the above-mentioned equation (2) is calculated using the embodiment shown in FIG. 2 will be described.

入力端子4から入力サンプルXoを、入力端子5からフ
ィルタ係数coをそれぞれ同時に入力し、算術演算回路
50で(X6 * Co )を計算する。次のステップ
で、算術演算回路50の出力202を累算回路60に転
送する。同時に算術演算回路5゜は入力端子1.2から
次のデータX!、C,を入力し、(Xs’kY1)を計
算する。さらに次のステップで、算術演算回路50の出
力202を累算回路60に転送し、前ステ、プで算術演
算回路50から転送されたデータ(Xo*Co)と累算
する。
An input sample Xo is inputted from the input terminal 4 and a filter coefficient co is inputted from the input terminal 5 at the same time, and the arithmetic operation circuit 50 calculates (X6 * Co ). In the next step, the output 202 of the arithmetic operation circuit 50 is transferred to the accumulation circuit 60. At the same time, the arithmetic operation circuit 5° receives the next data X! from the input terminal 1.2. , C, and calculate (Xs'kY1). Furthermore, in the next step, the output 202 of the arithmetic operation circuit 50 is transferred to the accumulation circuit 60, and is accumulated with the data (Xo*Co) transferred from the arithmetic operation circuit 50 in the previous step.

以降、算術演算回路50では、入力端子4から入力サン
プルX1、入力端子5からフィルタ係数C=を入力し、
2つの入力信号200.201の乗算(Xi*Ci)を
計算し、累算回路6oに転送することを繰り返す。累算
回路60では、転送されてくる乗算結果202と前ステ
ップまでの累算結果との加算を繰り返す。以上のように
してXrn−1゜c m−、までの演算を繰り返すと、
累算回路6oではフィルタ処理結果B=(Xo*Co)
+(Xl*CI ) + −−−+ (Cm−1* C
m−1)が得られる。
Thereafter, the arithmetic operation circuit 50 inputs the input sample X1 from the input terminal 4 and the filter coefficient C= from the input terminal 5,
Calculating the multiplication (Xi*Ci) of the two input signals 200 and 201 and transmitting it to the accumulation circuit 6o is repeated. The accumulation circuit 60 repeatedly adds the transferred multiplication result 202 and the accumulation result up to the previous step. If we repeat the calculations up to Xrn-1゜c m-, as above, we get
In the accumulation circuit 6o, the filter processing result B=(Xo*Co)
+(Xl*CI) + ---+ (Cm-1*C
m-1) is obtained.

次に、前述した(3)式のリミット処理について説明す
る。フィルタ処理結果Bをりはット回路7゜に転送する
。リミット回路70は、詳細は後述するが ’A□“よ
り小さい入力データ203に対しては0“を出力し、t
 o“より大きい入力データ203に対してはV″1.
0“を出力し、その他の場合は入力データ203である
フィルタ処理結果Bをそのまま出力する。これにより、
信号の振幅がゝO“から’1.0“に制限されたフィル
タ処理結果が出力信号204として得られる。
Next, the limit processing of the above-mentioned equation (3) will be explained. The filter processing result B is transferred to the refit circuit 7°. Although the details will be described later, the limit circuit 70 outputs 0 for input data 203 smaller than 'A□', and
o" for input data 203 larger than V"1.
0" is output, and in other cases, the filter processing result B, which is the input data 203, is output as is. As a result,
A filter processing result in which the amplitude of the signal is limited from '0' to '1.0' is obtained as the output signal 204.

第2図のリミット回路70の詳細を第3図を用いて説明
する。第3図において、7は入力端子、6は出力端子、
71.72は比較回路、73゜74はレジスタ、75は
選択回路である。
Details of the limit circuit 70 shown in FIG. 2 will be explained using FIG. 3. In Figure 3, 7 is an input terminal, 6 is an output terminal,
71, 72 are comparison circuits, 73 and 74 are registers, and 75 is a selection circuit.

レジスタ73には上限りばット値V″1.O”が格納さ
れ、レジス、り74に・は下限リミット値″′0″が格
納されている。
The upper limit value V''1.O'' is stored in the register 73, and the lower limit value V''0'' is stored in the register 74.

比較回路71は、入力端子7から入力されるデータ20
3とレジスタ73のデータ205とを比較し、データ2
03がデータ205より大きい場合、出力信号207を
l“とし、小さい場合は10“を出力する回路である。
The comparison circuit 71 receives data 20 input from the input terminal 7.
3 and the data 205 of the register 73, and the data 2
When 03 is larger than the data 205, the output signal 207 is set to 1", and when it is smaller, the circuit outputs 10".

一方、比較回路72は、入力端子7から入力されるデー
タ203とレジスタ74のデータ206とを比較し、デ
ータ203がデータ206よシ小さい場合、出力信号2
08を11“とじ、大きい場合は0“を出力する回路で
ある。比較回路71及び72は比較動作を並列に行う。
On the other hand, the comparison circuit 72 compares the data 203 input from the input terminal 7 with the data 206 of the register 74, and if the data 203 is smaller than the data 206, the output signal 2
This is a circuit that converts 08 to 11" and outputs 0" if it is larger. Comparison circuits 71 and 72 perform comparison operations in parallel.

選択回路75は、レジスタ73からのデータ205と入
力端子7から入力されるデータ203とレジスタ74か
らのデータ206との3つのデータから1つを選択し、
選択したデータ204を出力端子6に出力する回路であ
る。選択するデータの制御は、比較回路71の出力20
7と比較回路72の出力208とに基づいて次のように
行なう。すなわち、比較回路71,72の出力(207
゜208)が(+00)の場合はレジスタ73の出力信
号205を選択し、(0,1)の場合はレジスタ74の
出力信号206を選択し、その他の場合は入力端子7か
らの入力信号203を選択する。
The selection circuit 75 selects one from three data: data 205 from the register 73, data 203 input from the input terminal 7, and data 206 from the register 74,
This circuit outputs the selected data 204 to the output terminal 6. The data to be selected is controlled by the output 20 of the comparator circuit 71.
7 and the output 208 of the comparison circuit 72 as follows. That is, the outputs of the comparison circuits 71 and 72 (207
If ゜208) is (+00), the output signal 205 of the register 73 is selected; if it is (0, 1), the output signal 206 of the register 74 is selected; otherwise, the input signal 203 from the input terminal 7 is selected. Select.

その結果、選択回路75は0”から11.0“にリミッ
トされたデータを出力端子6に出力する。
As a result, the selection circuit 75 outputs data limited from 0'' to 11.0'' to the output terminal 6.

〔発明の効果〕〔Effect of the invention〕

以上説明し九ように第1の発明によれば、入力スケーリ
ング処理によりパイプラインが途切れることなく効率の
良い演算処理が行なえる。可変シフト回路は小さなハー
ドウェアで実現でき、シフト量はソフトウェアで設定で
きる構成であるから、積和回数を変更したい場合でもソ
フトウェアで柔軟に対応することが出来る。
As described above, according to the first invention, efficient arithmetic processing can be performed without interrupting the pipeline due to input scaling processing. The variable shift circuit can be realized with small hardware, and the shift amount can be set using software, so even if it is desired to change the number of product-sums, it can be handled flexibly using software.

また、第2の発明によれば、比較回路及び選択回路を有
するリミット回路が行う振幅+7 (ット処理によりパ
イプラインが途切れることなく効率の良い演算処理が行
なえる。このリミット回路は簡単な回路で構成でき、り
ず、トする値はソフトウェアで設定することが可能であ
り、リミット値を変更したい場合はソフトウェアで柔軟
に対応できる。
Further, according to the second invention, efficient arithmetic processing can be performed without interrupting the pipeline by the amplitude +7 (cut processing) performed by the limit circuit having the comparison circuit and the selection circuit.This limit circuit is a simple circuit. The limit values can be configured using software, and if you want to change the limit value, you can do so flexibly using software.

ライン演算回路の一例を示すブロック図である。FIG. 2 is a block diagram showing an example of a line calculation circuit.

1.2・・・・・・入力端子、3・・・・・・出力端子
、10゜2o・・・・・・可変シフト回路、30・・・
・・・算術演算回路、4o・・・・・・累算回路、5,
6・・・・・・入力端子、7・・・・・・出力端子、5
0・・・・・・算術演算回路、60・・・・・・累算回
路、70・・・・・・累算回路、71.72・・・・・
・比較口%、73,74・・・・・・レジスタ、75・
・・・・・選択回路。
1.2...Input terminal, 3...Output terminal, 10°2o...Variable shift circuit, 30...
... Arithmetic operation circuit, 4o ... Accumulation circuit, 5,
6...Input terminal, 7...Output terminal, 5
0... Arithmetic operation circuit, 60... Accumulation circuit, 70... Accumulation circuit, 71.72...
・Comparison mouth%, 73, 74...Register, 75・
...Selection circuit.

代理人 弁理士  内 原   晋Agent Patent Attorney Susumu Uchihara

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の第1の実施例を示すブロック図、第2
図は本発明の第2の実施例を示すブロック図、第3図は
第2図におけるリミット回路70の詳細を示すブロック
図、第4図は従来のパイプ¥’tz 区
FIG. 1 is a block diagram showing a first embodiment of the present invention;
FIG. 3 is a block diagram showing the second embodiment of the present invention, FIG. 3 is a block diagram showing details of the limit circuit 70 in FIG. 2, and FIG. 4 is a block diagram showing the limit circuit 70 in FIG.

Claims (2)

【特許請求の範囲】[Claims] (1)外部から供給される2つの入力をそれぞれ独立に
予め設定した量だけビットシフトする可変シフト回路と
、この可変シフト回路の出力を入力として所定の演算を
行う算術演算回路と、この算術演算回路の出力を入力と
する累算回路とを備えたことを特徴とするパイプライン
演算回路。
(1) A variable shift circuit that bit-shifts two inputs supplied from the outside by a preset amount independently, an arithmetic operation circuit that performs a predetermined operation using the output of this variable shift circuit as input, and this arithmetic operation A pipeline arithmetic circuit comprising: an accumulation circuit that receives an output of the circuit as an input.
(2)外部から2つの入力が供給される算術演算回路と
、この算術演算回路の出力を入力とする累算回路と、こ
の累算回路の出力を予め定めた上限値及び下限値と並列
に比較する比較回路と、この比較回路の比較結果に基づ
き前記累算回路の出力、前記上限値又は前記下限値のい
ずれか1つを選択出力する選択回路とを備えたことを特
徴とするパイプライン演算回路。
(2) An arithmetic operation circuit to which two inputs are supplied from the outside, an accumulation circuit that receives the output of this arithmetic operation circuit as input, and the output of this accumulation circuit is connected in parallel with predetermined upper and lower limit values. A pipeline comprising: a comparison circuit for comparison; and a selection circuit for selectively outputting any one of the output of the accumulation circuit, the upper limit value, or the lower limit value based on the comparison result of the comparison circuit. Arithmetic circuit.
JP3748289A 1989-02-16 1989-02-16 Pipeline arithmetic circuit Pending JPH02216582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3748289A JPH02216582A (en) 1989-02-16 1989-02-16 Pipeline arithmetic circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3748289A JPH02216582A (en) 1989-02-16 1989-02-16 Pipeline arithmetic circuit

Publications (1)

Publication Number Publication Date
JPH02216582A true JPH02216582A (en) 1990-08-29

Family

ID=12498742

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3748289A Pending JPH02216582A (en) 1989-02-16 1989-02-16 Pipeline arithmetic circuit

Country Status (1)

Country Link
JP (1) JPH02216582A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS595346A (en) * 1982-06-30 1984-01-12 Fujitsu Ltd Operation controlling system
JPS6033629A (en) * 1983-08-04 1985-02-21 Nec Corp Operating device
JPS6177964A (en) * 1984-09-25 1986-04-21 Ricoh Co Ltd Digital signal processor
JPS61262925A (en) * 1985-05-17 1986-11-20 Nec Corp Arithmetic circuit
JPS63228330A (en) * 1987-03-18 1988-09-22 Nec Corp Arithmetic processor
JPS6442734A (en) * 1987-08-10 1989-02-15 Fujitsu Ten Ltd Arithmetic circuit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS595346A (en) * 1982-06-30 1984-01-12 Fujitsu Ltd Operation controlling system
JPS6033629A (en) * 1983-08-04 1985-02-21 Nec Corp Operating device
JPS6177964A (en) * 1984-09-25 1986-04-21 Ricoh Co Ltd Digital signal processor
JPS61262925A (en) * 1985-05-17 1986-11-20 Nec Corp Arithmetic circuit
JPS63228330A (en) * 1987-03-18 1988-09-22 Nec Corp Arithmetic processor
JPS6442734A (en) * 1987-08-10 1989-02-15 Fujitsu Ten Ltd Arithmetic circuit

Similar Documents

Publication Publication Date Title
JP2006107463A (en) Apparatus for performing multiply-add operations on packed data
WO1993024879A1 (en) Digital filter employing powers of 2 coefficients
US9965416B2 (en) DMA controller with arithmetic unit
US5164724A (en) Data format converters for use with digit-serial signals
US5016011A (en) Increased performance of digital integrated circuits by processing with multiple-bit-width digits
JPH07253965A (en) Product sum computing element
JPH02216582A (en) Pipeline arithmetic circuit
US5034908A (en) Digit-serial transversal filters
Eshtawie et al. On-line DA-LUT architecture for high-speed high-order digital FIR filters
JPS6310263A (en) Vector processor
JPH0335353A (en) Discrete cosine converting device
JP2953918B2 (en) Arithmetic unit
JP3120435B2 (en) Digital arithmetic circuit
KR0140805B1 (en) Bit-serial operation unit
JP3620887B2 (en) Data processing device
JPS5853218A (en) Digital filter
JP3865469B2 (en) Butterfly calculator
JPH06282418A (en) Arithmetic unit
Zergaïnoh et al. DSP implementation of fast FIR filtering algorithms using short FFT's
JPH06152330A (en) Digital filter
JPS6222177A (en) Digital signal processor
JPH03211910A (en) Digital filter
JPS633506A (en) Digital transversal filter
JPH03196711A (en) Digital arithmetic circuit
JP2005353094A (en) Product-sum computing unit