[go: up one dir, main page]

JPH05204959A - Arithmetic unit - Google Patents

Arithmetic unit

Info

Publication number
JPH05204959A
JPH05204959A JP1556492A JP1556492A JPH05204959A JP H05204959 A JPH05204959 A JP H05204959A JP 1556492 A JP1556492 A JP 1556492A JP 1556492 A JP1556492 A JP 1556492A JP H05204959 A JPH05204959 A JP H05204959A
Authority
JP
Japan
Prior art keywords
arithmetic
input
output
unit
data
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
JP1556492A
Other languages
Japanese (ja)
Inventor
Hiroyuki Fujiyama
博之 藤山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1556492A priority Critical patent/JPH05204959A/en
Publication of JPH05204959A publication Critical patent/JPH05204959A/en
Priority to US08/705,562 priority patent/US5809552A/en
Pending legal-status Critical Current

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

(57)【要約】 【目的】 本発明は演算装置に関し、演算器と入出力器
との速度差による処理データのずれを防止する演算装置
を提供することを目的としている。 【構成】 外部同期信号に基づいて外部とのデータの入
出力を行う入出力手段と、該入出力手段を介して得られ
るデータに基づいて所定の演算を行う演算手段と、外部
からの制御信号に基づいて該入出力手段、及び演算手段
の制御を行う制御手段とを備え、前記制御手段は、前記
入出力手段が外部要因によって前記演算手段との間の動
作タイミングにずれを生じた場合、前記演算手段の動作
を制御することにより双方のタイミング調整を行うよう
に構成する。
(57) [Summary] [Object] The present invention relates to an arithmetic device, and an object of the present invention is to provide an arithmetic device that prevents deviation of processed data due to a speed difference between an arithmetic unit and an input / output unit. An input / output unit for inputting / outputting data to / from the outside based on an external synchronizing signal, an arithmetic unit for performing a predetermined arithmetic operation based on data obtained through the input / output unit, and a control signal from the outside Based on the input / output means and a control means for controlling the arithmetic means, the control means, when the input / output means causes a shift in operation timing with the arithmetic means due to an external factor, The timing of both is adjusted by controlling the operation of the arithmetic means.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、演算装置に係り、詳し
くは、例えば、スーパーコンピュータ、スーパーEWS
(Engineering Work Station)等の分野に用いて好適
な、ベクトル処理を高速に行う演算装置に関する。近
年、科学計算等においては、演算処理を高速に行う必要
性から、例えば、スーパースカラ、VLIW、ベクトル
化等の手法を用いてプロセッサ内部の演算器の性能の向
上を図った演算装置が数多く開発されている。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an arithmetic unit, and more specifically, for example, a super computer, a super EWS
The present invention relates to an arithmetic device suitable for use in fields such as (Engineering Work Station) and for performing vector processing at high speed. In recent years, in scientific calculation, etc., it is necessary to perform arithmetic processing at high speed. Therefore, for example, many arithmetic devices have been developed to improve the performance of arithmetic units inside processors by using methods such as superscalar, VLIW, and vectorization. Has been done.

【0002】これらの中で、特に、画像処理やシミュレ
ーション等の分野では同一演算の繰り返しが頻繁に行わ
れることから、繰り返し演算を高速に行うベクトルプロ
セッサが多用されている。ベクトルプロセッサは、例え
ば、FORTRAN言語でのDOループ、すなわち、 DO 10 I=1,100 C(I)=A(I)*B(I) 10 CONTINUE で表されるような繰り返し演算に対して最適化されたア
ーキテクチャを持っている。
Among these, particularly in the fields of image processing, simulation, etc., the same arithmetic operation is frequently repeated, so that a vector processor for performing repeated arithmetic operation at high speed is widely used. The vector processor is optimized for, for example, a DO loop in the FORTRAN language, that is, an iterative operation represented by DO 10 I = 1,100 C (I) = A (I) * B (I) 10 CONTINUE. Have a different architecture.

【0003】一定の演算を複数のデータに対して繰り返
すような処理をベクトル処理といい、大量の繰り返し演
算を行う演算装置にあっては、ベクトル処理を高速に実
行することが必要となる。
A process for repeating a certain calculation on a plurality of data is called a vector process, and in an arithmetic unit which performs a large number of repetitive calculations, it is necessary to execute the vector process at high speed.

【0004】[0004]

【従来の技術】従来のこの種の演算装置としては、ベク
トルプロセッサと呼ばれる演算装置がある。ここで、一
般のMPU(Micro Processing Unit )では、前述のよ
うな繰り返し乗算を100回繰り返す式が与えられた場
合、乗算命令MULを100回展開することにより行う
ことになり、この場合、命令のフェッチ、デコード、オ
ぺランドの読み出しや書き込み等も100回繰り返すこ
とになる。
2. Description of the Related Art As a conventional arithmetic unit of this type, there is an arithmetic unit called a vector processor. Here, in a general MPU (Micro Processing Unit), when the above-described iterative multiplication is given 100 times, the multiplication instruction MUL is expanded 100 times. In this case, the instruction Fetching, decoding, reading and writing of operands, etc. are repeated 100 times.

【0005】これに対し、ベクトルプロセッサでは、ベ
クトル命令として、乗算やその他の演算、入出力命令等
を与えると、予めレジスタで指定された繰り返し数(ベ
クトル長)を連続して1命令で処理するため、99回分
の命令のフェッチ、デコード時間等を省略できる。した
がって、ベクトルプロセッサを用いてベクトル処理を行
うことにより高能率で演算ができ、トータルの演算時間
を大幅に短縮できる。
On the other hand, in the vector processor, when multiplication, other operation, input / output instruction, etc. are given as vector instructions, the number of repetitions (vector length) designated in advance by the register is processed continuously by one instruction. Therefore, 99 instruction fetches, decode times, etc. can be omitted. Therefore, by performing the vector processing using the vector processor, the calculation can be performed with high efficiency, and the total calculation time can be greatly shortened.

【0006】また、ベクトルプロセッサでは、同じルー
プ内に存在する他の命令や、入出力命令を並列に実行で
きるように複数の演算器を持っているため、例えば、前
述したFORTRAN言語でのDOループ内に加算命令
が追加されていた場合、すなわち、 DO 10 I=1,100 C(I)=A(I)*B(I) F(I)=D(I)+E(I) 10 CONTINUE で表されるような繰り返し演算となっていた場合、演算
に対する効率がさらにアップする。
Further, since the vector processor has a plurality of arithmetic units so that other instructions existing in the same loop and input / output instructions can be executed in parallel, for example, the DO loop in the FORTRAN language described above is used. If an addition instruction is added inside the table, that is, DO 10 I = 1,100 C (I) = A (I) * B (I) F (I) = D (I) + E (I) 10 CONTINUE If the repeated calculation is performed, the efficiency of the calculation is further improved.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、一般
に、ベクトルプロセッサの動作は、外部から入力される
クロックに同期して行われるものであり、演算器におけ
る一回の演算に必要なクロック数は、使用プロセッサに
より決定され一定であるが、入出力器にあっては、接続
されるメモリの速度や外部の要因に左右され、クロック
数は必ずしも一定ではない。
However, in general, the operation of the vector processor is performed in synchronization with the clock input from the outside, and the number of clocks required for one operation in the arithmetic unit is It is determined by the processor and is constant, but in the input / output device, the number of clocks is not always constant, depending on the speed of the connected memory and external factors.

【0008】すなわち、同一ループ内で各演算と入出力
器とを並列に動作させた場合、一回のループ処理に必要
なクロック数は入出力器のクロック数によって決定され
る。このばあい、演算器の動作が入出力器よりも速い場
合には、データとの関係がずれてしまうという問題点が
あった。これを図8に基づいて説明する。
That is, when each operation and the input / output device are operated in parallel in the same loop, the number of clocks required for one loop processing is determined by the number of clocks of the input / output device. In this case, when the operation unit is faster than the input / output unit, there is a problem that the relationship with the data is deviated. This will be described with reference to FIG.

【0009】図8は従来のベクトルプロセッサにおいて
入出力器が3クロック、乗算器が2クロックで動作した
場合のタイミングを示す図である。まず、乗算器により
演算1が行われるが、この場合、入出力器はデータに同
期して配列1のデータを出力1として出力するので、正
しい演算が行われるが、乗算器による演算2のタイミン
グでは、入出力器における出力はまだ出力1であるた
め、データを供給する配列も配列1となっており、この
ままでは演算1と同じデータで演算が行われることにな
る。
FIG. 8 is a diagram showing the timing when the input / output device operates in 3 clocks and the multiplier operates in 2 clocks in the conventional vector processor. First, the multiplier performs the operation 1. In this case, since the input / output device outputs the data of the array 1 as the output 1 in synchronization with the data, the correct operation is performed. Then, since the output of the input / output device is still the output 1, the array for supplying the data is also the array 1, and the operation is performed with the same data as the operation 1 as it is.

【0010】このような問題を防止するために、例え
ば、使用メモリは2クロック動作のみ等の仕様を設け、
外部のメモリ速度に制限をつけることにより最適化した
り、また、入出力器の動作に演算器を同期させたりする
ことが考えられるが、この場合、前者の例では、システ
ムの自由度が狭くなってしまい、後者の例では、複雑な
制御を要するためにハードウェアが増大するとともに、
演算器の高速性を生かせないというという新たな問題点
が生じる。
In order to prevent such a problem, for example, the memory used is provided with specifications such as only two clock operation,
It may be possible to optimize by limiting the external memory speed, or to synchronize the operation unit with the operation of the I / O unit. In this case, in the former example, the degree of freedom of the system becomes narrow. In the latter example, complicated hardware is required because complicated control is required.
There arises a new problem that the high speed of the arithmetic unit cannot be utilized.

【0011】[目的]そこで本発明は、演算器と入出力
器との速度差による処理データのずれを防止する演算装
置を提供することを目的としている。
[Purpose] Therefore, an object of the present invention is to provide an arithmetic unit for preventing deviation of processed data due to a speed difference between an arithmetic unit and an input / output unit.

【0012】[0012]

【課題を解決するための手段】本発明による演算装置は
上記目的達成のため、外部同期信号に基づいて外部との
データの入出力を行う入出力手段と、該入出力手段を介
して得られるデータに基づいて所定の演算を行う演算手
段と、外部からの制御信号に基づいて該入出力手段、及
び演算手段の制御を行う制御手段とを備え、前記制御手
段は、前記入出力手段が外部要因によって前記演算手段
との間の動作タイミングにずれを生じた場合、前記演算
手段の動作を制御することにより双方のタイミング調整
を行うように構成している。
In order to achieve the above-mentioned object, an arithmetic unit according to the present invention is obtained through an input / output unit for inputting / outputting data to / from the outside based on an external synchronization signal, and the input / output unit. The control means includes an arithmetic means for performing a predetermined arithmetic operation on the basis of data, an input / output means based on a control signal from the outside, and a control means for controlling the arithmetic means. When a difference occurs in the operation timing with the arithmetic means due to a factor, the timings of both are adjusted by controlling the operation of the arithmetic means.

【0013】なお、制御手段による演算手段の動作の制
御方法としては、演算手段に供給する同期信号を制御す
る方法が考えられる。
As a method of controlling the operation of the arithmetic means by the control means, a method of controlling a synchronization signal supplied to the arithmetic means can be considered.

【0014】[0014]

【作用】本発明では、入出力手段と演算手段との間の処
理速度に差がある場合においても、演算手段に対して入
出力手段の遅れが生じたときは、制御手段によって入出
力手段の遅れた分だけ演算手段の動作が停止されること
により、演算手段に特別の制御が施されずとも入出力手
段と演算手段との間の同期が取られる。
According to the present invention, even when there is a difference in processing speed between the input / output means and the arithmetic means, when the input / output means is delayed with respect to the arithmetic means, the control means controls the input / output means. By stopping the operation of the calculating means by the amount of delay, the input / output means and the calculating means are synchronized with each other even if no special control is applied to the calculating means.

【0015】すなわち、演算器と入出力器との速度差に
よる処理データのずれが防止される。
That is, the deviation of the processed data due to the speed difference between the arithmetic unit and the input / output unit is prevented.

【0016】[0016]

【実施例】以下、本発明を図面に基づいて説明する。図
1〜3は本発明に係る演算装置の一実施例を示す図であ
り、図1は本実施例の演算装置の概略構成を示すブロッ
ク図、図2は本実施例のベクトルプロセッサの全体構成
を示すブロック図、図3は図2の要部構成を示すブロッ
ク図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. 1 to 3 are diagrams showing an embodiment of an arithmetic unit according to the present invention, FIG. 1 is a block diagram showing a schematic configuration of the arithmetic unit of the present embodiment, and FIG. 2 is an overall configuration of a vector processor of the present embodiment. FIG. 3 is a block diagram showing the configuration of the main part of FIG.

【0017】まず、構成を説明する。本実施例の演算装
置であるベクトルプロセッサ1は、大別して、入出力手
段である入出力器2、演算手段3、制御手段4からな
り、さらに、演算手段3は、配列用ベクタレジスタ5、
乗算器6、加算器7から構成されている。なお、8は外
部のメモリである。
First, the structure will be described. The vector processor 1 which is the arithmetic unit of the present embodiment is roughly divided into an input / output unit 2 which is an input / output unit, an arithmetic unit 3, and a control unit 4, and the arithmetic unit 3 is an array vector register 5,
It is composed of a multiplier 6 and an adder 7. Incidentally, 8 is an external memory.

【0018】入出力器2は、入出力を行うロード/スト
アパイプ(L/Sパイプ)であり、ロード命令実行時に
は、外部のメモリ8に格納されたデータを配列用ベクタ
レジスタ(VR)5に転送し、ストア命令実行時には、
配列用ベクタレジスタ5に格納されたデータを外部のメ
モリ8に転送するものである。なお、連続動作時には2
クロック周期で転送を行うが、その動作は外部のメモリ
8の速度により変化する。
The input / output unit 2 is a load / store pipe (L / S pipe) for inputting / outputting, and when executing a load instruction, the data stored in the external memory 8 is stored in the array vector register (VR) 5. When transferring and executing the store instruction,
The data stored in the array vector register 5 is transferred to the external memory 8. It should be noted that 2 during continuous operation
The transfer is performed in the clock cycle, but the operation changes depending on the speed of the external memory 8.

【0019】演算手段3は、乗算処理を行う乗算器(M
ULパイプ)6と、加算処理を行う加算器(ADDパイ
プ)7とを有し、各演算器6,7は配列用ベクタレジス
タ5に格納されたデータに基づいて演算を行い、演算結
果を配列用ベクタレジスタ5に書き込むものである。な
お、各演算器6,7は互いに独立して並列動作を行い、
連続動作時には1クロック単位で演算を行う。
The calculating means 3 is a multiplier (M
UL pipe) 6 and an adder (ADD pipe) 7 that performs addition processing. Each arithmetic unit 6, 7 performs an arithmetic operation based on the data stored in the array vector register 5 and outputs the arithmetic result. For writing into the vector register 5 for use. The arithmetic units 6 and 7 operate independently of each other in parallel,
In continuous operation, the calculation is performed in units of one clock.

【0020】メモリ8は、外部に設けられたメモリであ
り、入出力器2に最適化する場合、2クロック動作であ
ることが要求される。制御手段4は、図4に示すよう
に、ベクトルプロセッサ制御回路9とクロック制御回路
10とから構成され、ベクトルプロセッサ制御回路9
は、ベクトルプロセッサ1の制御回路であり、外部より
与えられる命令によって入出力器2や各演算器6,7の
制御を行ったり、外部とのインターフェースの制御を行
うものである。
The memory 8 is an externally provided memory and is required to operate in two clocks when it is optimized for the input / output device 2. As shown in FIG. 4, the control means 4 comprises a vector processor control circuit 9 and a clock control circuit 10, and the vector processor control circuit 9
Is a control circuit of the vector processor 1, which controls the input / output unit 2 and each of the arithmetic units 6 and 7 and controls the interface with the outside by an instruction given from the outside.

【0021】クロック制御回路10は、ベクトルプロセ
ッサ制御回路9からの制御信号に基づいて各演算器6,
7に供給するクロック信号を制御するものである。な
お、図中、BS#はバススタート信号、DS#はデータ
ストローブ信号、A31−00はアドレス信号、DC#
はデータコンプリート信号、T1,Ti,T2,T2W
はベクトルプロセッサ制御回路9により出力される内部
ステート信号である。
The clock control circuit 10 operates on the basis of the control signal from the vector processor control circuit 9 to determine each of the arithmetic units 6, 6.
It controls the clock signal supplied to 7. In the figure, BS # is a bus start signal, DS # is a data strobe signal, A31-00 is an address signal, and DC #.
Is a data complete signal, T1, Ti, T2, T2W
Is an internal state signal output by the vector processor control circuit 9.

【0022】図5は内部ステートの状態遷移図である。
ステートTiは、バスのアイドルサイクルであり、入出
力器2が停止している状態を示すものであり、ベクトル
プロセッサ1が初期化信号によりリセットされるとこの
状態となる。ステートT1は、バスの起動状態を示し、
入出力信号等によって入出力器2の動作が開始される
と、図中bに示すような遷移を行ってこの状態となり、
アドレスA31−00の出力、及びバススタート信号B
S#のアサート等を行う。
FIG. 5 is a state transition diagram of the internal state.
The state Ti is an idle cycle of the bus and indicates a state in which the input / output device 2 is stopped, and is in this state when the vector processor 1 is reset by the initialization signal. State T1 indicates the activation state of the bus,
When the operation of the input / output device 2 is started by an input / output signal or the like, the transition shown in FIG.
Output of address A31-00 and bus start signal B
Assert S # and so on.

【0023】ステートT2は、バスのデータアクセス状
態を示し、外部のメモリ8等とデータバスとによってデ
ータの転送を行うものである。この場合、データストロ
ーブ信号DS#のアサート、外部からのデータコンプリ
ート信号DC#の受信等を行い、このステートでデータ
コンプリート信号DC#のアサートを検出すると、入出
力が連続する場合には、図中eに示すような遷移を行っ
てステートT1に戻り、終了した場合には、図中fに示
すような遷移を行ってアイドル状態Tiに戻り、ここ
で、データコンプリート信号DC#がネゲート状態の場
合にはステートT2Wに遷移する。
The state T2 indicates a data access state of the bus and is used for data transfer by the external memory 8 and the data bus. In this case, when the data strobe signal DS # is asserted, the data complete signal DC # is received from the outside, and the assertion of the data complete signal DC # is detected in this state, if the input and output are continuous, When the data complete signal DC # is in the negated state, the transition as shown in e is performed and the state T1 is returned to the state T1. To state T2W.

【0024】ステートT2Wは、バスのウエイト状態を
示し、データコンプリート信号DC#がアサートされる
まで、図中i示すようなループを繰り返し、データコン
プリート信号DC#がアサートされた場合には、ステー
トT2と同様の遷移を行う。入出力器2は、前述したス
テート信号に同期して動作しており、外部のメモリ8が
2クロックで動作可能な場合には、ステートT2でデー
タコンプリート信号DC#がアサートされ、内部ステー
トはT1,T2を繰り返す。
The state T2W indicates the wait state of the bus, and the loop shown in i in the figure is repeated until the data complete signal DC # is asserted. When the data complete signal DC # is asserted, the state T2W is reached. Make the same transition as. The input / output unit 2 operates in synchronization with the above-mentioned state signal. When the external memory 8 can operate in two clocks, the data complete signal DC # is asserted in the state T2 and the internal state is T1. , T2 are repeated.

【0025】また、メモリが3クロックで動作する場合
は、データコンプリート信号DC#のアサートが1クロ
ック分遅れるため、T1,T2,T2Wの3つのステー
トを繰り返す。この場合、各演算器6,7は1クロック
単位で動作しているため、入出力器2の動作している、
ステートT2,T2Wの期間分を繰り返し時のずれとし
て認識する。
When the memory operates in three clocks, the assertion of the data complete signal DC # is delayed by one clock, so that the three states of T1, T2 and T2W are repeated. In this case, since the arithmetic units 6 and 7 are operating in units of one clock, the input / output unit 2 is operating.
The period of the states T2 and T2W is recognized as a shift at the time of repetition.

【0026】そして、制御回路4は、演算手段3である
配列用ベクタレジスタ5、及び各演算器6,7には、ク
ロック制御回路10においてステートT2,T2Wの論
理和によって外部クロックをマスクした内部クロックI
CLKを供給する。次に作用を説明する。図6は2クロ
ックで動作するメモリを接続した場合の内部動作を説明
するためのタイミングチャートである。
In the control circuit 4, the array vector register 5 which is the arithmetic means 3 and the respective arithmetic units 6 and 7 are internally masked with the external clock by the logical sum of the states T2 and T2W in the clock control circuit 10. Clock I
Supply CLK. Next, the operation will be described. FIG. 6 is a timing chart for explaining the internal operation when a memory that operates with two clocks is connected.

【0027】図5では、5クロックの外部クロックCL
Kに対して、入出力器2はステートT2の2個分のロス
があるが、内部クロックICLKでは3クロックしか進
ませていないため、内部クロックICLKによって動作
する演算手段3は全体としての位相にずれが起こらな
い。図7は3クロックで動作するメモリを接続した場合
の内部動作を説明するためのタイミングチャートであ
る。
In FIG. 5, an external clock CL of 5 clocks is used.
With respect to K, the input / output device 2 has a loss corresponding to two in the state T2, but since the internal clock ICLK is advanced by only 3 clocks, the arithmetic means 3 operating by the internal clock ICLK is in phase as a whole. The gap does not occur. FIG. 7 is a timing chart for explaining the internal operation when a memory operating with 3 clocks is connected.

【0028】図7では、7クロックの外部クロックCL
Kに対して、入出力器2はステートT2、及びステート
T2Wの2個分の4クロック分のロスがあるが、内部ク
ロックICLKでは3クロックしか進ませないため、こ
の場合も前述の2クロックで動作するメモリを接続した
場合と同様に、演算手段3は全体としての位相にずれが
起こらない。
In FIG. 7, the external clock CL of 7 clocks is used.
For K, the input / output device 2 has a loss of 4 clocks corresponding to two of the state T2 and the state T2W, but since the internal clock ICLK advances only 3 clocks, in this case also, the above 2 clocks are used. As in the case where the operating memory is connected, the arithmetic means 3 does not shift in phase as a whole.

【0029】このように本実施例では、ベクトルプロセ
ッサにおける入出力器と演算器との間に速度差がある場
合であっても、データがずれることなく動作が可能であ
る。また、演算器に特別な制御回路を付加することもな
いため、演算器の性能を妨げることなく、入出力器と独
立に動作が可能である。さらに、バス制御として一般的
に使われるデータコンプリート信号DC#によって、速
度差の制御を行うため、外部回路には特別な回路を必要
とせず、任意の速度のメモリを接続可能である。
As described above, in the present embodiment, even if there is a speed difference between the input / output unit and the arithmetic unit in the vector processor, the operation can be performed without data shift. Further, since no special control circuit is added to the arithmetic unit, it is possible to operate independently of the input / output unit without impeding the performance of the arithmetic unit. Furthermore, since the speed difference is controlled by the data complete signal DC # which is generally used for bus control, a memory of any speed can be connected without requiring a special circuit as an external circuit.

【0030】なお、上記実施例はベクトルプロセッサに
適用した場合を例に採り説明したが、これに限らず、例
えば、FIFO形式のDSP(Digital Signal Procese
r )等のように、外部のメモリ等と内部の演算器等の同
期を取るようなシステム全般に適用可能である。
Although the above embodiment has been described by taking the case of being applied to the vector processor as an example, the present invention is not limited to this, and for example, a DSP (Digital Signal Process) of FIFO format is used.
r), etc., can be applied to general systems in which an external memory or the like is synchronized with an internal arithmetic unit or the like.

【0031】[0031]

【発明の効果】本発明では、入出力手段と演算手段との
間の処理速度に差がある場合であっても、演算手段に対
して入出力手段の遅れが生じたときは、制御手段によっ
て入出力手段の遅れた分だけ演算手段の動作を停止する
ことで演算手段に特別の制御を施さずとも入出力手段と
演算手段との間の同期を取ることができる。
According to the present invention, even when there is a difference in processing speed between the input / output means and the arithmetic means, when the delay of the input / output means with respect to the arithmetic means occurs, the control means is used. By stopping the operation of the calculating means by the amount of delay of the input / output means, the input / output means and the calculating means can be synchronized with each other without special control of the calculating means.

【0032】したがって、演算器と入出力器との速度差
による処理データのずれを防止することができる。
Therefore, it is possible to prevent the deviation of the processed data due to the speed difference between the arithmetic unit and the input / output unit.

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

【図1】本実施例の演算装置の概略構成を示すブロック
図である。
FIG. 1 is a block diagram showing a schematic configuration of an arithmetic unit of this embodiment.

【図2】本実施例のベクトルプロセッサの全体構成を示
すブロック図である。
FIG. 2 is a block diagram showing an overall configuration of a vector processor of this embodiment.

【図3】図2の要部構成を示すブロック図である。FIG. 3 is a block diagram showing a main configuration of FIG.

【図4】本実施例の演算手段の要部構成を示す図であ
る。
FIG. 4 is a diagram showing a configuration of a main part of a calculation means of the present embodiment.

【図5】内部ステートの状態遷移図である。FIG. 5 is a state transition diagram of internal states.

【図6】2クロックで動作するメモリを接続した場合の
ロード命令実行時の内部動作を説明するためのタイミン
グチャートである。
FIG. 6 is a timing chart for explaining an internal operation when a load instruction is executed when a memory that operates with two clocks is connected.

【図7】3クロックで動作するメモリを接続した場合の
ロード命令実行時の内部動作を説明するためのタイミン
グチャートである。
FIG. 7 is a timing chart for explaining an internal operation at the time of executing a load instruction when a memory that operates with three clocks is connected.

【図8】従来のベクトルプロセッサの問題となる動作を
説明するための図である。
FIG. 8 is a diagram for explaining a problematic operation of a conventional vector processor.

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

1 ベクトルプロセッサ 2 入出力器(入出力手段) 3 演算手段 4 制御手段 5 配列用ベクタレジスタ 6 乗算器 7 加算器 8 メモリ 9 ベクトルプロセッサ制御回路 10 クロック制御回路 1 vector processor 2 input / output unit (input / output unit) 3 arithmetic unit 4 control unit 5 array vector register 6 multiplier 7 adder 8 memory 9 vector processor control circuit 10 clock control circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】外部同期信号に基づいて外部とのデータの
入出力を行う入出力手段と、 該入出力手段を介して得られるデータに基づいて所定の
演算を行う演算手段と、 外部からの制御信号に基づいて該入出力手段、及び演算
手段の制御を行う制御手段と、 を備え、 前記制御手段は、前記入出力手段が外部要因によって前
記演算手段との間の動作タイミングにずれを生じた場
合、前記演算手段の動作を制御することにより双方のタ
イミング調整を行うことを特徴とする演算装置。
1. Input / output means for inputting / outputting data to / from the outside based on an external synchronizing signal, arithmetic means for performing a predetermined arithmetic operation based on data obtained through the input / output means, A control means for controlling the input / output means and the arithmetic means based on a control signal, wherein the input / output means causes a shift in an operation timing between the input / output means and the arithmetic means. In the case of the above, the arithmetic device is characterized in that the timings of the both are adjusted by controlling the operation of the arithmetic means.
【請求項2】前記制御手段は前記演算手段に供給する同
期信号を制御することにより該演算手段の動作を制御す
ることを特徴とする請求項1記載の演算装置。
2. The arithmetic unit according to claim 1, wherein the control unit controls the operation of the arithmetic unit by controlling a synchronizing signal supplied to the arithmetic unit.
JP1556492A 1992-01-29 1992-01-30 Arithmetic unit Pending JPH05204959A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP1556492A JPH05204959A (en) 1992-01-30 1992-01-30 Arithmetic unit
US08/705,562 US5809552A (en) 1992-01-29 1996-08-29 Data processing system, memory access device and method including selecting the number of pipeline stages based on pipeline conditions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1556492A JPH05204959A (en) 1992-01-30 1992-01-30 Arithmetic unit

Publications (1)

Publication Number Publication Date
JPH05204959A true JPH05204959A (en) 1993-08-13

Family

ID=11892247

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1556492A Pending JPH05204959A (en) 1992-01-29 1992-01-30 Arithmetic unit

Country Status (1)

Country Link
JP (1) JPH05204959A (en)

Similar Documents

Publication Publication Date Title
JP3565600B2 (en) Data communication device and data communication method
JP5231800B2 (en) Semiconductor integrated circuit device and clock control method for semiconductor integrated circuit device
JPH036534B2 (en)
CN107886166B (en) Device and method for executing artificial neural network operation
US5422914A (en) System and method for synchronizing data communications between two devices operating at different clock frequencies
JPH056906B2 (en)
IE62033B1 (en) Apparatus and method for converting floating point data formats in a microprocessor
US5537582A (en) Bus interface circuitry for synchronizing central processors running at multiple clock frequencies to other computer system circuitry
JP2007535060A (en) Pipelined asynchronous instruction processor circuit
JPH05204959A (en) Arithmetic unit
US6928575B2 (en) Apparatus for controlling and supplying in phase clock signals to components of an integrated circuit with a multiprocessor architecture
JPWO2009072605A1 (en) Address generating apparatus and method for array processor, and array processor
US6594815B2 (en) Asynchronous controller generation method
US6760798B1 (en) Interface mechanism and method for interfacing a real-time clock with a data processing circuit
JPH04227540A (en) Arithmetic processor and digital signal processing processor
JP2000020309A (en) Digital signal processor
JP3288326B2 (en) Vector processing equipment
JP2667585B2 (en) Digital processor
JP2591122B2 (en) Transmission method between devices
JP2636937B2 (en) Multi-stage data buffer transfer circuit
JPS6330940A (en) Multitask processing system
JPH0222417B2 (en)
JP2595795B2 (en) Method for synchronizing pipeline computers, method for disabling pipeline processing, and pipeline computer implementing them
JP2503983B2 (en) Information processing device
JPH05257683A (en) Pipeline structure of large scale integrated circuit

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020409