JP2541697B2 - Pipeline arithmetic unit - Google Patents

Pipeline arithmetic unit

Info

Publication number
JP2541697B2
JP2541697B2 JP2291629A JP29162990A JP2541697B2 JP 2541697 B2 JP2541697 B2 JP 2541697B2 JP 2291629 A JP2291629 A JP 2291629A JP 29162990 A JP29162990 A JP 29162990A JP 2541697 B2 JP2541697 B2 JP 2541697B2
Authority
JP
Japan
Prior art keywords
arithmetic
data
input
register
output
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
JP2291629A
Other languages
Japanese (ja)
Other versions
JPH04165421A (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.)
NEC Computertechno Ltd
Original Assignee
NEC Computertechno Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP2291629A priority Critical patent/JP2541697B2/en
Publication of JPH04165421A publication Critical patent/JPH04165421A/en
Application granted granted Critical
Publication of JP2541697B2 publication Critical patent/JP2541697B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はパイプライン演算装置に関し、特に同じ演算
手段を繰り返し使用して演算結果を出力するパイプライ
ン演算装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pipeline arithmetic unit, and more particularly to a pipeline arithmetic unit that repeatedly uses the same arithmetic unit to output an arithmetic result.

〔従来の技術〕[Conventional technology]

従来、この種のパイプライン演算装置では、第5図に
示すように1つのデータに対する処理を目的の回数だけ
繰り返してから次のデータの処理を開始する演算器53が
ある。
Conventionally, in this type of pipeline arithmetic unit, as shown in FIG. 5, there is an arithmetic unit 53 that repeats the process for one data a desired number of times and then starts the process for the next data.

この演算器53はデータが入力されてから3クロック後
に結果を出力するものとし、この演算手段53を2回繰り
返した結果を演算結果として出力するものとした場合、
セレクタ51は制御手段50から信号線61を通じて制御信号
を入力するとともに、信号線60より入力される入力デー
タと、演算器53の出力の信号線63からの出力のどちらか
を選択し信号線62を通じてレジスタ52にセットする。
When the arithmetic unit 53 outputs the result 3 clocks after the data is input, and the result obtained by repeating the arithmetic unit 53 twice is output as the arithmetic result,
The selector 51 inputs the control signal from the control means 50 through the signal line 61, and selects either the input data input through the signal line 60 or the output from the signal line 63 of the calculator 53 to select the signal line 62. To the register 52 through.

演算器53はレジスタ52にセットされているデータを信
号線62を通じて入力し演算結果を3クロック後に信号線
63を通じて出力する。制御手段50はこの場合1つのデー
タに対する演算が終了する時間毎、すなわち6クロック
毎(3クロック×2回)にセレクタ51が信号線60からの
入力データを選択するように制御する。
The arithmetic unit 53 inputs the data set in the register 52 through the signal line 62 and outputs the arithmetic result after 3 clocks in the signal line.
Output through 63. In this case, the control means 50 controls the selector 51 to select the input data from the signal line 60 every time when the operation for one data is completed, that is, every 6 clocks (3 clocks × 2 times).

この動作を第6図のタイムチャートを参照してデータ
の流れを説明すると、まずA0,B0…は入力データであ
り、演算器53によって演算する度添字が1づつ増えてい
くものとする(例えばA0→A1→A2)。
This operation will be described with reference to the time chart of FIG. 6. The flow of data will be described. First, A 0 , B 0, ... Are input data, and each time the arithmetic unit 53 operates, the subscript increases by one. (For example, A 0 → A 1 → A 2 ).

0クロック目においてセレクタ51は制御手段50によっ
て信号線60からのデータA0を選択し、データA0はレジス
タ52にセットされる。
At the 0th clock, the selector 51 selects the data A 0 from the signal line 60 by the control means 50, and the data A 0 is set in the register 52.

1クロック目でレジスタ52にセットされていたデータ
A0は演算器53によって演算され3クロック後に出力デー
タA1を出力する。
Data set in register 52 at the first clock
A 0 is calculated by the calculator 53 and the output data A 1 is output after 3 clocks.

3クロック目でセレクタ51は制御手段50によって演算
器53の出力データA1を信号線63を通じて選択し、データ
A1はレジスタ52にセットされる。
At the third clock, the selector 51 selects the output data A 1 of the arithmetic unit 53 through the signal line 63 by the control means 50, and outputs the data.
A 1 is set in register 52.

4クロック目でレジスタ52にセットされていたデータ
A1は演算器53によって演算され、3クロック後に出力デ
ータA2を出力する。
Data set in register 52 at the 4th clock
A 1 is calculated by the calculator 53 and output data A 2 is output after 3 clocks.

6クロック目でセレクタ51は制御手段50によって信号
線60からのデータB0を選択し、データB0はレジスタ52に
セットされる。
At the sixth clock, the selector 51 selects the data B 0 from the signal line 60 by the control means 50, and the data B 0 is set in the register 52.

以後同様に処理を繰り返していく。 After that, the same processing is repeated.

更に又、従来の別のパイプライン演算装置は、第7図
に示すように、演算器201,301、演算器301の結果を格納
するレジスタ302、パイプラインレジスタ303を含む演算
回路500が、必要回数分縦につながる構成となってい
た。
Furthermore, as shown in FIG. 7, another conventional pipeline arithmetic device has an arithmetic circuit 500 including an arithmetic unit 201, 301, a register 302 for storing the result of the arithmetic unit 301, and a pipeline register 303 for the required number of times. It was structured vertically.

ここで演算回路500を2回繰り返し2単位時間毎に演
算結果を出力する場合のタイムチャートを第4図に示
す。
FIG. 4 shows a time chart when the arithmetic circuit 500 is repeated twice and the arithmetic result is output every two unit time.

まず、タイミングt0において、データA1,B1が最初の
データとして入力され、演算器201,301を通り、タイミ
ングt2にて、演算結果D1はレジスタ302に、定数B1はレ
ジスタ303にそれぞれ格納される。続いて2番目の演算
回路500内の演算器201,301を通り、タイミングt4にて、
演算結果F1は、レジスタ302に、定数B1はレジスタ303に
それぞれ格納され、出力データF1,B1となる。
First, at timing t 0 , the data A1 and B1 are input as the first data, pass through the arithmetic units 201 and 301, and at timing t 2 , the calculation result D1 is stored in the register 302 and the constant B1 is stored in the register 303. Then, passing through the arithmetic units 201 and 301 in the second arithmetic circuit 500, at timing t 4 ,
The calculation result F1 is stored in the register 302 and the constant B1 is stored in the register 303, respectively, and becomes the output data F1, B1.

2番目以降の入力データAi+1,Bi+1(i=1,2,3…)
は、入力データA1,B1と同様にタイミングt2iにて入力さ
れ、タイミングt2i+2にて出力される。
Second and subsequent input data A i + 1 , B i + 1 (i = 1,2,3 ...)
It is inputted in the same manner as the timing t 2i and the input data A1, B1, is outputted at a timing t 2i + 2.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上述した従来のパイプライン演算装置は、1つのデー
タに対する演算が終了してから次のデータの演算を開始
するため、演算間隔が長くなるという欠点があった。
The above-described conventional pipeline arithmetic unit has a drawback that the arithmetic interval becomes long because the arithmetic operation for one data ends and the arithmetic operation for the next data starts.

また、他の従来のパイプライン演算装置は、繰り返し
演算をする場合、同一演算回路を繰り返す回数分持って
おり、繰り返す回数が多ければ多い程、ハードウェア量
が多いという欠点がある。
In addition, another conventional pipeline arithmetic unit has a drawback that when performing repetitive arithmetic, it has the same number of times of repeating the same arithmetic circuit, and the larger the number of times of repeating, the larger the amount of hardware.

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

本発明のパイプライン演算装置は、データが入力され
てからn単位時間後(nは自然数)に、1単位時間毎に
結果を出力する第1の演算手段と、前記第1の演算手段
の出力を入力とし、入力からm単位時間後(mは自然
数)に、1単位時間毎に結果を出力する第2の演算手段
と、前記第1の演算手段の入力として、前記第2の演算
手段の出力と、外部からの新たな入力データとのどちら
かを選択する入力データ選択手段とを有している。
The pipeline arithmetic device of the present invention includes a first arithmetic means for outputting a result for every one unit time after n unit time (n is a natural number) after inputting data, and an output of the first arithmetic means. As an input, and a second arithmetic means for outputting a result every 1 unit time after m unit time (m is a natural number) from the input, and an input of the first arithmetic means to the second arithmetic means. It has an input data selection means for selecting either output or new input data from the outside.

更に、本発明の他のパイプライン演算装置は、1つ以
上の定数を含む複数のデータが入力されてからm単位時
間後(mは1以上の整数)、1単位時間毎に演算結果及
び定数を出力する第1の演算手段と、前記第1の演算手
段の出力を入力とし、入力からn単位時間後(nは1以
上の整数)、1単位時間毎に演算結果及び定数を出力す
る第2の演算手段と、前記第1の演算手段の入力とし
て、前記第2の演算手段の出力を入力選択可能とする入
力データ選択手段とを有している。
Further, in another pipeline arithmetic device of the present invention, after a unit time (m is an integer of 1 or more) after a plurality of data including one or more constants are input, the operation result and the constant are calculated every 1 unit time. A first arithmetic means for outputting and an output of the first arithmetic means as an input, and after n unit time from the input (n is an integer of 1 or more), outputs an arithmetic result and a constant every 1 unit time. It has two calculation means and an input data selection means which allows the output of the second calculation means to be input-selectable as an input of the first calculation means.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例を示すブロック図である。
第1図において、本発明の一実施例は、データが入力さ
れてからn単位時間後(nは自然数)に、1単位時間毎
に結果を出力する第1の演算手段20と、この第1の演算
結果20の出力を入力とし、入力からm単位時間後(mは
自然数)に、1単位時間毎に結果を出力する第2の演算
手段30と、第1の演算手段20の入力として、第2の演算
手段30の出力と、外部からの新たな入力データとのどち
らかを選択する入力データ選択手段10とを有している。
FIG. 1 is a block diagram showing an embodiment of the present invention.
Referring to FIG. 1, an embodiment of the present invention comprises a first calculation means 20 for outputting a result every unit time after n unit time (n is a natural number) from the input of data, and the first calculation means 20. The input of the output of the calculation result 20 of (1) and the input of the first calculation means 20 and the second calculation means 30 that outputs the result every 1 unit time (m is a natural number) after the input It has an input data selection means 10 for selecting either the output of the second calculation means 30 or new input data from the outside.

入力データ選択手段10においては、1クロック毎に
“0"と“1"とを繰り返し発生するレジスタ12と、レジス
タ12の値が“0"なら信号線100より入力される入力デー
タを選択し、“1"なら第2の演算手段30の出力を信号線
130を通じて入力し選択するセレクタ11とを有してお
り、選択されたデータは信号線110を通じて第1の演算
手段20に出力される。第1の演算手段20においては、入
力データ選択手段11の出力を信号線110を通じて入力し
その値をセットするレジスタ21と、レジスタ21の出力を
信号線111を通じて入力し、演算を実行する演算器22
と、演算結果を1クロック後に信号線112を通じてセッ
トするレジスタ23とを有している。
The input data selection means 10 selects a register 12 that repeatedly generates "0" and "1" for each clock, and selects the input data input from the signal line 100 if the value of the register 12 is "0". If it is "1", the output of the second computing means 30 is a signal line.
It has a selector 11 for inputting and selecting through the 130, and the selected data is output to the first calculating means 20 through the signal line 110. In the first arithmetic means 20, a register 21 for inputting the output of the input data selecting means 11 through the signal line 110 and setting the value thereof, and an arithmetic unit for executing the arithmetic operation by inputting the output of the register 21 through the signal line 111 twenty two
And a register 23 for setting the calculation result through the signal line 112 one clock later.

このレジスタ23はセットされたデータを信号線120を
通じて第2の演算手段30に出力する。
The register 23 outputs the set data to the second arithmetic means 30 through the signal line 120.

第2の演算手段30においては第1の演算手段20のレジ
スタ23の出力を信号線120を通じて入力し演算を実行す
る演算器31と、演算結果を1クロック後に信号線121を
通じてセットし、このセットされたデータを信号線130
を通じて出力するレジスタ32とを有している。
In the second arithmetic means 30, the arithmetic unit 31 which inputs the output of the register 23 of the first arithmetic means 20 through the signal line 120 and executes the arithmetic operation, and the arithmetic result is set through the signal line 121 one clock later, and this set Signaled signal 130
And a register 32 for outputting through.

次に第2図のタイムチャートを参照してデータの流れ
を説明する。
Next, the data flow will be described with reference to the time chart of FIG.

第2図において、A0,B0,C0,…は入力データであり、
演算器22,演算器31によって演算される毎に添え字が1
づつ増えていくものとする(例えばA0,A1,A2…)。
In FIG. 2, A 0 , B 0 , C 0 , ... Are input data,
The subscript is 1 each time it is calculated by the calculator 22 and the calculator 31.
It is assumed to increase in steps (for example, A 0 , A 1 , A 2 ...).

0クロック目においてレジスタ12は“0"がセットされ
ている。セレクタ11はレジスタ12が“0"だったので信号
線100より入力データA0を選択し、データA0はレジスタ2
1にセットされる。
At the 0th clock, the register 12 is set to "0". Since the register 12 is “0”, the selector 11 selects the input data A 0 from the signal line 100, and the data A 0 is the register 2
Set to 1.

1クロック目でレジスタ12は“1"がセットされる。セ
レクタ11はレジスタ12が“1"だったので第2の演算手段
30の出力を選択するように制御され、信号線100からの
データは入力されない。レジスタ21にセットされていた
データA0は演算器22によって演算され、その出力データ
A1はレジスタ23にセットされる。
At the first clock, the register 12 is set to "1". Since the register 12 of the selector 11 is "1", the second calculating means
It is controlled to select the output of 30, and the data from the signal line 100 is not input. The data A 0 set in the register 21 is calculated by the calculator 22, and the output data
A 1 is set in register 23.

2クロック目でレジスタ12は“0"がセットされる。セ
レクタ11はレジスタ12が“0"なので、信号線100より入
力データB0を選択し、データB0はレジスタ21にセットさ
れる。レジスタ23にセットされていたデータA1は演算器
31によって演算されその出力データA2はレジスタ32にセ
ットされる。
At the second clock, the register 12 is set to "0". The selector 11 selects the input data B 0 from the signal line 100 because the register 12 is “0”, and the data B 0 is set in the register 21. Data A 1 set in register 23 is the arithmetic unit
The output data A 2 calculated by 31 is set in the register 32.

3クロック目でレジスタ12は“1"がセットされる。セ
レクタ11はレジスタ12が“1"なので信号線130よりレジ
スタ32にセットされていたデータA2を選択し、データA2
はレジスタ21にセットされる。レジスタ21にセットされ
ていたデータB0は演算器22によって演算されレジスタ23
にセットされる。
At the third clock, the register 12 is set to "1". Since the register 12 is “1”, the selector 11 selects the data A 2 set in the register 32 from the signal line 130 and outputs the data A 2
Is set in register 21. The data B 0 set in the register 21 is calculated by the calculator 22 and registered in the register 23.
Is set to

4クロック目でレジスタ12は“0"がセットされる。セ
レクタ11はレジスタ12が“0"なので、信号線100より入
力データC0を選択し、データC0はレジスタ21にセットさ
れる。レジスタ21にセットされていたデータA2は演算器
22によって演算され、その出力データA3はレジスタ23に
セットされる。レジスタ23にセットされていたデータB1
は演算器31によって演算され、その出力データB2はレジ
スタ32にセットされる。
At the fourth clock, the register 12 is set to "0". Since the register 12 of the selector 11 is “0”, the input data C 0 is selected from the signal line 100, and the data C 0 is set in the register 21. The data A 2 set in register 21 is the arithmetic unit
The calculation is performed by 22 and its output data A 3 is set in the register 23. Data B 1 set in register 23
Is calculated by the calculator 31, and its output data B 2 is set in the register 32.

5クロック目でレジスタ12は“1"がセットされ、セレ
クタ11はレジスタ12が“1"なので信号線130よりレジス
タ32にセットされていたデータB2が選択される。レジス
タ21にセットされていたデータC0は演算器22によって演
算されその出力データC1はレジスタ23にセットされる。
レジスタ23にセットされていたデータA3は演算器31によ
って演算され、その出力データA4はレジスタ32にセット
される。
5 register 12 clock cycle is set to "1", the selector 11 is data B 2 that has been set in the register 32 from the register 12 is "1" because the signal line 130 is selected. The data C 0 set in the register 21 is calculated by the calculator 22 and its output data C 1 is set in the register 23.
The data A 3 set in the register 23 is calculated by the calculator 31, and the output data A 4 is set in the register 32.

以後同様に処理を繰り返していく。 After that, the same processing is repeated.

この本発明の一実施例は、同一の演算器を複数回繰り
返して使用して結果を出力するパイプライン演算装置に
おいて、1つのデータに対する演算が終了する前で、デ
ータが互いに衝突しないようなタイミングで次のデータ
を入力するように制御することによってパイプラインで
高速に演算を処理することができる。
This embodiment of the present invention is a pipeline arithmetic unit that repeatedly outputs the result by using the same arithmetic unit a plurality of times, and a timing at which data does not collide with each other before the operation for one data is completed. By controlling to input the next data in, the pipeline can process the operation at high speed.

第3図は本発明の他の実施例を示すブロック図であ
る。第3図において、本発明の他の実地例はデータが入
力されてからn単位時間後(nは自然数)に、1単位時
間毎に結果を出力する第1の演算手段回路200と、第1
の演算回路200の出力を入力とし、入力からm単位時間
後(mは自然数)に、1単位時間毎に結果を出力する第
2の演算回路300と、第1の演算回路200の入力として、
第2の演算回路300の出力と、外部からの新たな入力デ
ータとのどちらかを選択する入力データ選択回路100を
有している。
FIG. 3 is a block diagram showing another embodiment of the present invention. In FIG. 3, another practical example of the present invention includes a first arithmetic circuit 200 for outputting a result every 1 unit time after n unit time (n is a natural number) after inputting data,
The input of the output of the arithmetic circuit 200 is the input of the second arithmetic circuit 300 that outputs the result every 1 unit time after m unit time (m is a natural number) and the input of the first arithmetic circuit 200.
It has an input data selection circuit 100 for selecting either the output of the second arithmetic circuit 300 or new input data from the outside.

入力データ選択回路100は選択信号を保持するレジス
タ101と、レジスタ101の出力により入力データを選択す
るセレクタ102,103と、セレクタ102,103のデータをそれ
ぞれ格納するレジスタ104,105とを有しており、第1の
演算回路200はレジスタ104,105の出力を入力とする演算
器201と、演算器201の演算結果を格納するレジスタ202
と、レジスタ105の出力を格納するレジスタ203とを有し
ており、更に第2の演算回路300はレジスタ202,203の出
力を入力とする演算器301と、演算器301の演算結果を格
納し、セレクタ102に出力を行なうレジスタ302と、レジ
スタ203のデータを格納し、セレクタ103に出力を行なう
レジスタ303とを有している。
The input data selection circuit 100 has a register 101 that holds a selection signal, selectors 102 and 103 that select input data by the output of the register 101, and registers 104 and 105 that store the data of the selectors 102 and 103, respectively. The circuit 200 includes an arithmetic unit 201 that receives the outputs of the registers 104 and 105 and a register 202 that stores the arithmetic result of the arithmetic unit 201.
And a register 203 for storing the output of the register 105. Further, the second arithmetic circuit 300 stores the arithmetic unit 301 which receives the outputs of the registers 202 and 203 and the arithmetic result of the arithmetic unit 301 as a selector. It has a register 302 for outputting to 102 and a register 303 for storing the data of the register 203 and outputting to the selector 103.

この他の実施例の動作について第4図のように、デー
タが入力されてから第1,第2の演算回路を2回通り、レ
ジスタ104,105には、2単位時間毎に入力データが格納
される場合のタイムチャートを含めて説明する。
Regarding the operation of the other embodiment, as shown in FIG. 4, after the data is input, the data passes through the first and second arithmetic circuits twice, and the registers 104 and 105 store the input data every two unit time. It will be described including a time chart in the case.

まず、タイミングt0において、データA1,B1が最初の
データとして入力され、タイミングt1では、レジスタ10
1の出力(“1")により、入力データA1,B1がセレクタ10
2,103で選択され、レジスタ104,105にそれぞれ格納さ
れ、次にタイミングt2では、レジスタ104,105の出力が
演算器201で演算され、演算結果C1となってレジスタ203
に格納され、続いてタイミングt3では、レジスタ202,20
3の出力が演算器301で演算され、演算結果D1となってレ
ジスタ302に格納され、さらにタイミングt4では、レジ
スタ302,303の出力がレジスタ101の出力(“0")により
セレクタ102,103を通り、レジスタ104,105に格納され
る。
First, at timing t 0 , data A1 and B1 are input as the first data, and at timing t 1 , register 10
The output of 1 (“1”) changes the input data A1 and B1 to the selector 10
2, 103 are stored in the registers 104 and 105, respectively, and then at timing t 2 , the outputs of the registers 104 and 105 are calculated by the calculator 201, and the calculation result C1 is obtained in the register 203.
Then, at timing t 3 , the registers 202, 20 are stored.
The output of 3 is calculated by the arithmetic unit 301 and is stored in the register 302 as the calculation result D1, and at timing t 4 , the outputs of the registers 302 and 303 pass through the selectors 102 and 103 by the output of the register 101 (“0”), It is stored in 104,105.

またタイミングt3では、2番目の入力データA2,B2が
セレクタ102,103を通り、レジスタ104,105にそれぞれ入
力されており、タイミングt4では、最初の入力データA
1,B1の場合と同様、演算器201の演算結果C2がレジスタ2
02に格納され、レジスタ105の出力B2がレジスタ203に格
納されているのである。
Also the timing t 3, 2-th input data A2, B2 passes through the selectors 102 and 103 are input to the registers 104 and 105, at a timing t 4, the first input data A
As in the case of 1 and B1, the calculation result C2 of the calculator 201 is registered in register 2
The output B2 of the register 105 is stored in the register 203.

以下第4図で示すように、2単位時間毎に入力された
入力データは、1単位時間毎にレジスタを進み、2単位
時間毎に出力データとして出力されるのである。
As shown in FIG. 4 below, the input data input every two unit time progresses through the register every one unit time and is output as output data every two unit time.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、同一の演算器を複数回
繰り返し使用して結果を出力するパイプライン演算装置
において、1つのデータに対する演算が終了する前で、
データが互いに衝突しないようなタイミングで次のデー
タを入力するように制御することによってパイプライン
で高速に演算を処理することができる効果がある。
As described above, according to the present invention, in a pipeline arithmetic device that outputs the result by repeatedly using the same arithmetic unit a plurality of times, before the arithmetic operation on one data is completed,
By controlling so that the next data is input at a timing such that the data do not collide with each other, there is an effect that the pipeline can process the operation at high speed.

更に、本発明は、繰り返し演算に用いられるパイプラ
イン演算装置を、最小単位の演算装置に縮小することに
より、ハードウェア量を大巾に削減出来る効果がある。
Furthermore, the present invention has the effect of significantly reducing the amount of hardware by reducing the pipeline arithmetic unit used for repetitive arithmetic to the minimum unit arithmetic unit.

更に又、本発明は繰り返し使用される演算手段の処理
時間(n+m)が大きい程効果がある。
Furthermore, the present invention is more effective as the processing time (n + m) of the calculation means repeatedly used is longer.

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

第1図は本発明の一実施例によるパイプライン演算装置
を示すブロック図、第2図は本発明の一実施例の動作を
説明するためのタイムチャートを示す図、第3図は本発
明の他の実施例を示すブロック図、第4図は本発明の他
の実施例のタイムチャートを示す図、第5図は従来の演
算回路を示すブロック図、第6図は第5図に示す従来例
のタイムチャートを示す図、第7図は従来の別の演算回
路を示すブロック図、第8図は第7図に示す従来例のタ
イムチャートである。 10……入力データ選択手段、11,51……セレクタ、12,2
1,23,32,52……レジスタ、20……第1の演算手段、22,3
1,53……演算器、30……第2の演算手段、100……入力
データ選択回路、101,104,105,202,203,302,303……レ
ジスタ、102,103……入力データを選択するセレクタ、2
00……第1の演算回路、201,301……演算器、300……第
2の演算回路、500……従来の演算回路。
FIG. 1 is a block diagram showing a pipeline arithmetic unit according to one embodiment of the present invention, FIG. 2 is a diagram showing a time chart for explaining the operation of one embodiment of the present invention, and FIG. 4 is a block diagram showing another embodiment, FIG. 4 is a diagram showing a time chart of another embodiment of the present invention, FIG. 5 is a block diagram showing a conventional arithmetic circuit, and FIG. 6 is a conventional diagram shown in FIG. FIG. 7 is a diagram showing an example time chart, FIG. 7 is a block diagram showing another conventional arithmetic circuit, and FIG. 8 is a time chart of the conventional example shown in FIG. 10 …… Input data selection means, 11,51 …… Selector, 12,2
1,23,32,52 ... Register, 20 ... First computing means, 22,3
1,53 ... arithmetic unit, 30 ... second arithmetic means, 100 ... input data selection circuit, 101,104,105,202,203,302,303 ... register, 102,103 ... selector for selecting input data, 2
00 ... first arithmetic circuit, 201,301 ... arithmetic unit, 300 ... second arithmetic circuit, 500 ... conventional arithmetic circuit.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】データが入力されてからn単位時間後(n
は自然数)に、1単位時間毎に結果を出力する第1の演
算手段と、前記第1の演算手段の出力を入力とし、入力
からm単位時間後(mは自然数)に、1単位時間毎に結
果を出力する第2の演算手段と、前記第1の演算手段の
入力として、前記第2の演算手段の出力と、外部からの
新たな入力データとのどちらかを選択する入力データ選
択手段とを有するパイプライン演算装置であって、前記
第1の演算手段をl回(lは2以上の自然数)繰り返し
使用し、前記第1の演算手段又は第2の演算手段の出力
を演算結果として出力し、t単位時間(t≠j(n+
m)、kt≠n+m,l≦t<(l−1):tは2以上の自然
数,j,kは任意の自然数)に1回、データの入力を可能と
することを特徴とするパイプライン演算装置。
1. n unit time after the data is input (n
Is a natural number) and outputs the result every 1 unit time, and the output of the 1st operation unit is input, and every m unit time (m is a natural number) after the input, every 1 unit time Second calculation means for outputting a result to the first calculation means, and input data selection means for selecting either the output of the second calculation means or new input data from the outside as an input of the first calculation means. A pipeline arithmetic unit having: and the first arithmetic means is repeatedly used l times (l is a natural number of 2 or more), and the output of the first arithmetic means or the second arithmetic means is used as an arithmetic result. Output, t unit time (t ≠ j (n +
m), kt ≠ n + m, l ≦ t <(l-1): t is a natural number of 2 or more, and j, k is an arbitrary natural number), the pipeline is characterized by enabling data input once. Arithmetic unit.
【請求項2】1つ以上の定数を含む複数のデータが入力
されてから、m単位時間後(mは1以上の整数)、1単
位時間毎に演算結果及び定数を出力する第1の演算手段
と、前記第1の演算手段の出力を入力とし、入力されて
からn単位時間後(nは1以上の整数)、1単位時間毎
に演算結果及び定数を出力する第2の演算手段と、前記
第1の演算手段の入力として、前記第2の演算手段の出
力を入力選択可能とする入力データ選択手段とを有する
パイプライン演算装置であって、前記第1および第2の
演算手段をl回(lは2以上の整数)繰り返し使用し、
前記第2の演算手段の出力を定数とともに演算結果とし
て出力し、t単位時間(t≠j(m+n)、kt≠m+n,
l<t<(l−1)・(m+n):tは整数、j,kは任意の
自然数)に1回、次の入力データを選択可能としたこと
を特徴とするパイプライン演算装置。
2. A first operation for outputting an operation result and a constant every 1 unit time after m unit time (m is an integer of 1 or more) after inputting a plurality of data including one or more constants. Means and second output means for receiving an output of the first operation means and outputting an operation result and a constant every unit time after n unit time (n is an integer of 1 or more) after the input A pipeline arithmetic unit having an input data selecting means for allowing the output of the second arithmetic means to be input-selectable as an input of the first arithmetic means, wherein the first and second arithmetic means are Repeatedly used 1 times (1 is an integer of 2 or more),
The output of the second calculating means is output as a calculation result together with a constant, and t unit time (t ≠ j (m + n), kt ≠ m + n,
l <t <(l−1) · (m + n): t is an integer, j and k are arbitrary natural numbers, and the next input data can be selected once.
JP2291629A 1990-10-29 1990-10-29 Pipeline arithmetic unit Expired - Fee Related JP2541697B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2291629A JP2541697B2 (en) 1990-10-29 1990-10-29 Pipeline arithmetic unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2291629A JP2541697B2 (en) 1990-10-29 1990-10-29 Pipeline arithmetic unit

Publications (2)

Publication Number Publication Date
JPH04165421A JPH04165421A (en) 1992-06-11
JP2541697B2 true JP2541697B2 (en) 1996-10-09

Family

ID=17771434

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2291629A Expired - Fee Related JP2541697B2 (en) 1990-10-29 1990-10-29 Pipeline arithmetic unit

Country Status (1)

Country Link
JP (1) JP2541697B2 (en)

Also Published As

Publication number Publication date
JPH04165421A (en) 1992-06-11

Similar Documents

Publication Publication Date Title
JPH01265347A (en) Address generating device
US4135249A (en) Signed double precision multiplication logic
US4757444A (en) Vector processor capable of performing iterative processing
US4062060A (en) Digital filter
JP5549442B2 (en) FFT arithmetic unit
JP3323312B2 (en) Accelerated test pattern generator
JPH04503720A (en) Flexible control device and method for digital signal processing device
JP2541697B2 (en) Pipeline arithmetic unit
US4849926A (en) Data processing circuit for calculating either a total sum or a total product of a series of data at a high speed
US3764791A (en) A number input device using a multi-zero input key
JP2941274B2 (en) High-speed pattern generator
JPH0644051A (en) Microcomputer
JP3693873B2 (en) Mask bit number arithmetic unit, vector processing unit, information processing unit
JPH02291073A (en) Vector data processing device
JP2946504B2 (en) Time axis multiplex operation circuit
JP2989830B2 (en) Vector processing method
KR950011063B1 (en) A multi-level filter using single arithematic apparatus
JP2771628B2 (en) Timer counter
JPS62160529A (en) Data processor
JPH0512011A (en) Pipeline circuit
JPS60128529A (en) Merge processing device
JPS6116362A (en) Vector processor control processing system
JPH0477349B2 (en)
JPS60252986A (en) Fast fourier transforming device
JPH02204861A (en) Vector data processor

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

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

Free format text: PAYMENT UNTIL: 20070725

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20080725

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20090725

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20100725

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees