JPH03156560A - Inter-processor data communication equipment - Google Patents

Inter-processor data communication equipment

Info

Publication number
JPH03156560A
JPH03156560A JP1295231A JP29523189A JPH03156560A JP H03156560 A JPH03156560 A JP H03156560A JP 1295231 A JP1295231 A JP 1295231A JP 29523189 A JP29523189 A JP 29523189A JP H03156560 A JPH03156560 A JP H03156560A
Authority
JP
Japan
Prior art keywords
processor
buffer
data
read
write
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
JP1295231A
Other languages
Japanese (ja)
Inventor
Atsushi Ishizuka
淳 石塚
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 JP1295231A priority Critical patent/JPH03156560A/en
Publication of JPH03156560A publication Critical patent/JPH03156560A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the processing burden of a processor and to improve processing speed by accessing a data buffer by each processor without executing a processing to read out the status of the data buffer. CONSTITUTION:When a buffer 13 is set in a 'filled-up' state, a processor 11 generates a write command to the buffer 13. This command is detected by a write wait time control part 15 and a write wait signal is asserted and transmitted to the processor 11. According to this signal, the processor 11 prolongs the write wait time. When the buffer 13 is made 'empty', the write wait signal is negated and data write to the buffer 13 is started. In another form, when the buffer 13 is 'empty' and a processor 12 tries to read out data, such a state is detected by a control part 16 and a read wait signal is asserted and transmitted to the processor 12. According to this signal, the processor 12 prolongs the read wait time. When the buffer 13 is filled up, the read wait signal is negated and data read from the buffer 13 is started.

Description

【発明の詳細な説明】 [概要] 例えばマルチプロセッサシステム等においてプロセッサ
間でデータ転送を行うためのプロセッサ間データ通信装
置に関し。
DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to an inter-processor data communication device for transferring data between processors in, for example, a multiprocessor system.

プロセッサによるデータバッファのステータス読取り処
理を不要にし、それにより処理効率を改冴してデータ通
信速度の一層の高速化を図ることを目的とし。
The purpose of this invention is to eliminate the need for a processor to read the status of a data buffer, thereby improving processing efficiency and further increasing data communication speed.

転送元のプロセッサと、転送先のプロセッサと、これら
のプロセッサ間のデータ転送を仲介するバッファと、こ
のバッファの「空」と「満jの状態を監視するバッファ
制御部と、転送先のプロセッサの書込み待ち時間を引き
延ばす制御を行う占込み待ち時間制御部とをjlq l
li、i L 、バッファの[満1時に転送元プロセッ
サによるバッファへのh込み指令があったときにバッフ
ァが「空」となるまで転送元プロセッサの書込み待ち時
間を引き延ばすよう潜込み待ち時間制御部により制御を
行うよう購成される。
A transfer source processor, a transfer destination processor, a buffer that mediates data transfer between these processors, a buffer control unit that monitors the "empty" and "full" status of this buffer, and a transfer destination processor's The write waiting time control unit that performs control to extend the write waiting time is jlq l.
li, i L, when the buffer is full, when the source processor issues an h-write command to the buffer, the latency time control unit prolongs the write latency of the source processor until the buffer becomes "empty." Purchased to be controlled by.

[産業上の利用分野1 本発明は例えばマルチプロセッサシステム等においてプ
ロセッサ間でデータ転送を行うためのプロセッサ間デー
タ通信装置に関する。
[Industrial Application Field 1] The present invention relates to an inter-processor data communication device for transferring data between processors in, for example, a multiprocessor system.

近年、コンピュータシステムの高速化に伴い。In recent years, as computer systems have become faster.

プロセッサ間のデータ通信にも高速化が求められている
。特に大雀のデータを転送する場合、高速かつプロセッ
サへの負担が小さいことが必要とされている。
Faster data communication between processors is also required. In particular, when transferring data on large sparrows, it is necessary to be able to do so at high speed and with a small burden on the processor.

[従来の技術1 プロセッサ間でデータ転送を行う従来のプロセッサ間デ
ータ通信装置が第3図に示される。図中、lはデータ転
送元のプロセッサ(CPU)。
[Prior Art 1] A conventional inter-processor data communication device for transferring data between processors is shown in FIG. In the figure, l is the processor (CPU) of the data transfer source.

2はデータ転送先のプロセッサ(CPU)、3はプロセ
ッサ1.2間でのデータ転送を仲介するデータバッファ
、4はデータバッファ3のエンプティ(空)状態とフル
(満)状態を監視してプロセッサlに対してバッファエ
ンプティ信号BEを、またプロセッサ2に対してバッフ
ァフル信号BFをそれぞれ出力するバッファコントロー
ル部である。
2 is a data transfer destination processor (CPU), 3 is a data buffer that mediates data transfer between processors 1 and 2, and 4 is a processor that monitors the empty state and full state of data buffer 3. This is a buffer control section that outputs a buffer empty signal BE to the processor 1 and a buffer full signal BF to the processor 2.

この従来装置の動作が第4図のタイムチャートを参照し
つつ以下に説明される。プロセッサlからプロセッサ2
ヘデータバツフア3を介してデータを転送する場合につ
いて述べる。バッファコントロール部4はデータバッフ
ァ3の状態を監視しており、その状態に応じてバッファ
エンプティ信号BEとバッファフル信号BFの0/1を
変える。いま、データバッファ3が「空」の状態である
とすると、データバッファエンプティ信号BEが”l”
に、バッファフル信号BFが“0”にされる。
The operation of this conventional device will be explained below with reference to the time chart of FIG. processor l to processor 2
A case where data is transferred via the header data buffer 3 will be described. The buffer control section 4 monitors the state of the data buffer 3, and changes the buffer empty signal BE and buffer full signal BF to 0/1 depending on the state. Now, assuming that the data buffer 3 is in the "empty" state, the data buffer empty signal BE is "l".
Then, the buffer full signal BF is set to "0".

プロセッサlはこのバッファエンプティ信号BEをステ
ータスとして読み取り、これが′l”であるとデータバ
ッファ3が「空」である(即ち。
Processor l reads this buffer empty signal BE as a status, and if it is 'l', the data buffer 3 is 'empty' (ie, data buffer 3 is 'empty').

書込みが可能である)と4エし、データバッファ3にデ
ータの書込みを行う。一方、プロセッサ2はバッファフ
ル信号BFをステータスとして読み取り、これが“O″
′であると、データバッファ3が[空Jである(即ち、
読出しが不可である)と4エし、データバッファ3から
のデータの読取りを行わない。
(Writing is possible) and writes the data to the data buffer 3. On the other hand, the processor 2 reads the buffer full signal BF as a status, which is "O".
', then data buffer 3 is empty (i.e.,
4), and data is not read from the data buffer 3.

プロセッサlがデータバッファ3にデータを書き込むと
、データバッファ3は「満1の状態になるので、バッフ
ァコントロール部4はバッファエンプティ信号BEを°
°0”にし、かつバッファフル信号I3Fを“1″′に
する。この場合、プロセッサlはバッファエンプティの
ステータスが“0”であると、データバッファ3が詰ま
っている(即ち、書込みが不可である)と認識し、デー
タバッファ3にデータの書込みを行わない。一方、プロ
セッサ2はバッファフルのステータスが“1″′である
と、データバッファ3が詰まっている(即ち、読出しが
可能である)と認識し、データバッファ3からデータの
読取りを行う。
When the processor 1 writes data to the data buffer 3, the data buffer 3 becomes "full to 1", so the buffer control unit 4 outputs the buffer empty signal BE.
°0" and the buffer full signal I3F to "1"'. In this case, if the buffer empty status is "0", the processor l indicates that the data buffer 3 is full (that is, writing is not possible). On the other hand, if the buffer full status is "1", the processor 2 recognizes that the data buffer 3 is full (that is, reading is possible). ) and reads data from the data buffer 3.

プロセッサ2がデータバッファ3からデータを読み取る
と、バッファコントロール部4は再びバッファエンプテ
ィ信号BEを“l−にし、バッファフル信号BFを“0
″′にする。以降、この動作を繰り返すことにより、プ
ロセッサlからプロセッサ2へのデータ転送が逐次に行
われる。
When the processor 2 reads data from the data buffer 3, the buffer control unit 4 again sets the buffer empty signal BE to "1-" and sets the buffer full signal BF to "0".
``''. Thereafter, by repeating this operation, data transfer from processor 1 to processor 2 is performed sequentially.

[発明が解決しようとする課題] 従来のプロセッサ間データ通信装置では、転送元のプロ
セッサlと転送先のプロセッサ2は。
[Problems to be Solved by the Invention] In the conventional inter-processor data communication device, the transfer source processor 1 and the transfer destination processor 2 are as follows.

データバッファ3のデータ4込みと読出しを行う際に、
必ずバッファエンプティ信号BEとバッファフル信号B
 Fをステータスとして読み取って、その状態により読
みVきが可能であるか否かを判定しなければならない。
When loading and reading data 4 from data buffer 3,
Always have buffer empty signal BE and buffer full signal B.
It is necessary to read F as a status and determine whether or not reading V is possible based on the status.

この処理は各プロセッサ1.2での処理ステップ数を増
加させることになり、hプロセッサの処理時間が増大す
るためデータ転送の高速化の妨げになっている。
This processing increases the number of processing steps in each processor 1.2 and increases the processing time of the h processor, which hinders speeding up data transfer.

また、かかるデータ通信システムでは1両プロセッサ間
の速度差(tにソフトウェアの速度差)が大きい場合、
遅い側のプロセッサはデータバッファのステータスを読
む必要がほとんどなくなる。例えば転送元プロセッサl
の書込み速度が転送先プロセッサ2の読出し速度よりも
十分速い場合、データバッファ3はほとんどいつも「満
」の状態にあるため、転送先プロセッサ2は、はとんど
の場合において読出しが可能であるので、バッファコン
トロール部4からのバッファフル信号BFのステータス
を読み取る必要はほとんどなくなる。
In addition, in such a data communication system, if the speed difference between both processors (t is the software speed difference) is large,
The slower processor has less need to read the status of the data buffer. For example, the source processor l
If the write speed of the destination processor 2 is sufficiently faster than the read speed of the destination processor 2, the data buffer 3 will almost always be in the "full" state, so the destination processor 2 will be able to read the data in most cases. , there is almost no need to read the status of the buffer full signal BF from the buffer control section 4.

しかしながら、このような場合での従来装置では、遅い
側のプロセッサも必ずデータバッファ3のステータスを
読んでからデータバッファ3へのアクセスを行っている
ため、このステータス読取り処理のためにさらに転送処
理が遅れることになり、また速い側のプロセッサもそれ
に合わせて待ち時間が増大するので、全体の処理効率が
悪化するという問題が生じている。
However, in conventional devices in such cases, the slower processor always reads the status of data buffer 3 before accessing data buffer 3, so additional transfer processing is required for this status reading process. This results in a delay, and the waiting time of faster processors also increases accordingly, resulting in a problem that the overall processing efficiency deteriorates.

したがって本発明の目的は、プロセッサによるデータバ
ッファのステータス読取り処理を不要にし、それにより
処理効率を改遷してデータ通信速度の一層の高速化を図
ることにある。
Therefore, an object of the present invention is to eliminate the need for a processor to read the status of a data buffer, thereby improving processing efficiency and further increasing data communication speed.

[課題を解決するためのt段] 第1図は本発明に係る原理説明図である。[T steps to solve the problem] FIG. 1 is a diagram explaining the principle of the present invention.

本発明に係るプロセッサ間データ通信装置は。An inter-processor data communication device according to the present invention.

一つの形態として、転送元のプロセッサ11と。As one form, the processor 11 of the transfer source.

転送先のプロセッサ12と、これらのプロセッサ11.
12間のデータ転送を仲介するバッファ13と、このバ
ッファ13の「空」と「満」の状態を監視するバッファ
制御部14と、転送元のプロセッサ11の1g込み待ち
時間を引き延ばす制御を行う占込み待ち時間制御部15
とを1備し、バッファ13の「満1時に転送元プロセッ
サ11によるバッファI 3への古込み指令があった時
にバッファ13が「空」となるまで転送元プロセッサl
lのM込み待ち時間を引き延ばすよう河込み待ち時間制
御部15により制御を行うよう構成される。
The transfer destination processor 12 and these processors 11.
12, a buffer control unit 14 that monitors the "empty" and "full" states of this buffer 13, and a controller that controls the extension of the 1g waiting time of the transfer source processor 11. Waiting time control unit 15
When the buffer 13 is full, when the source processor 11 issues an old-fill command to the buffer I3, the source processor 13 continues to operate until the buffer 13 becomes empty.
The inflow waiting time control unit 15 is configured to perform control so as to extend the M inflow waiting time of l.

本発明に係るプロセッサ間データ通信装置は。An inter-processor data communication device according to the present invention.

他の形態として、転送元のプロセッサ11と、転送先の
プロセッサ12と、これらのプロセッサ11.12間の
データ転送を仲介するバッファ13と、バッファ13の
「空」と[満jの状態を監視するバッファ制御部14と
、転送先のプロセッサ12の読出し待ち時間を引き延ば
す制御を行う読出し待ち時間制御部16とを具備し、バ
ッファ13の[空」時に転送先プロセッサ12によるバ
ッファ13への読出し指令があったときにバッファ13
が「満」状態となるまで転送先のプロセッサ12の読出
し待ち時間を引き延ばすよう読出し待ち時間制御回路1
6により制御を行うよう構成される。
As another form, a transfer source processor 11, a transfer destination processor 12, a buffer 13 that mediates data transfer between these processors 11. and a read latency control unit 16 that performs control to extend the read waiting time of the transfer destination processor 12. buffer 13 when
The read wait time control circuit 1 extends the read wait time of the transfer destination processor 12 until the transfer destination processor 12 reaches the "full" state.
6 is configured to perform control.

[作用] いま、バッファ13が「満」状態の時(即ち。[Effect] Now, when the buffer 13 is "full" (i.e.

力込み不可の時)に、プロセッサ11がバッファ13に
データを3き込もうとして書込み指令を発したものとす
る。すると、書込み待ち時間制御部15は、バッファ1
3が[満」であり、かつ書込み指令信号が発されたこと
を検知し、S込み待ち信号をアサート(イネーブル)し
てプロセッサ11に1云える。プロセッサ11はこれに
より書込み持ち時間(懲込みサイクル)を引き延ばす。
Assume that the processor 11 issues a write command in an attempt to write three data into the buffer 13 when the data cannot be written. Then, the write waiting time control unit 15 writes the buffer 1
It detects that 3 is [full] and that a write command signal is issued, asserts (enables) the S write wait signal, and sends 1 to the processor 11. Processor 11 thereby extends the write time (disciplinary cycle).

バッファ13が「空」になると、潜込み待ち信号はネゲ
ート(ディスエーブル)され、それにより引き延ばされ
ていた書込み待ち時間が終rされて。
When buffer 13 becomes "empty", the sneak wait signal is negated (disabled), thereby ending the extended write latency.

バッファ13へのデータ1込みが開始される。Insertion of data 1 into the buffer 13 is started.

同様に9本発明の他の形態においては、バッファ13が
[空Jの時にプロセッサ12が読出しを行おうとすると
、読出し待ち時間制御部15はバッファ13が「空」で
あり、かつ読出し指令(5号が発されたことを検知し、
読出し待ち信号をアサート(イネーブル)してプロセッ
サ12に伝える。プロセッサ12はこれにより読出し待
ち時間(読出しサイクル)を引き延ばす。バッファ13
が「満」になると、読出し待ち信号はネゲート(ディス
エーブル)され、それにより引き延ばされていた読出し
待ち時間が終了されて、バッファ13からのデータ読出
しが開始される。
Similarly, in another embodiment of the present invention, if the processor 12 attempts to read when the buffer 13 is "empty", the read waiting time control unit 15 determines that the buffer 13 is "empty" and the read command (5 detects that a signal has been issued,
The read wait signal is asserted (enabled) and transmitted to the processor 12. Processor 12 thereby lengthens the read latency (read cycle). Buffer 13
When becomes "full," the read wait signal is negated (disabled), thereby ending the extended read wait time and starting reading data from the buffer 13.

[実施例] 以下9図面を参照して本発明の詳細な説明する。[Example] The present invention will be described in detail below with reference to nine drawings.

第2図には9本発明の一実施例としてのプロセッサ間デ
ータ通信装置が示される。図において、lは転送元とな
るプロセッサ、2は転送先となるプロセッサ、3はデー
タバッファ、4はバッファコントロール部であり、それ
ぞれ従来技術に関して説明したものと同じ機能の回路で
ある。
FIG. 2 shows an inter-processor data communication device as an embodiment of the present invention. In the figure, 1 is a transfer source processor, 2 is a transfer destination processor, 3 is a data buffer, and 4 is a buffer control unit, each of which has the same function as that described in relation to the prior art.

5は書込みウェイト制御部であり、プロセッサlからの
、す込み指令信号Wとバッファコントロール部4からの
バッファエンプティ信号BEとが入力され、これらに基
づきJ込みウェイト信号WWを−り成してプロセッサl
に与えるよう構成される。また6は読出しウェイト制御
部であり、プロセッサ2からの読出し指令信号Rとバッ
ファコントロール部4からのバッファフル信号BFとが
入力され、これらに基づき読出しウェイト13号RWを
生成してプロセッサ2に与えるよう構成される。
Reference numeral 5 denotes a write wait control section, into which the write command signal W from the processor l and the buffer empty signal BE from the buffer control section 4 are input, and based on these, the write wait signal WW is generated and the write wait signal WW is sent to the processor. l
is configured to provide. Further, 6 is a read weight control unit, into which the read command signal R from the processor 2 and the buffer full signal BF from the buffer control unit 4 are input, and based on these, a read weight No. 13 RW is generated and given to the processor 2. It is configured like this.

7はデータ送信要求部であり、プロセッサlからプロセ
ッサ2に対してデータ送信要求が生じた場合に、プロセ
ッサlの起動によりプロセッサ2に割込みをかける回路
である。また8はプロセッサlの転送データを蓄えるメ
モリ、9はプロセッサ2の転送データを蓄えるメモリで
ある。
Reference numeral 7 denotes a data transmission request unit, which is a circuit that interrupts the processor 2 by starting the processor 1 when a data transmission request is issued from the processor 1 to the processor 2. Further, 8 is a memory for storing transfer data of the processor 1, and 9 is a memory for storing transfer data of the processor 2.

いま、プロセッサlからプロセッサ2にデータ転送を行
うものとする。プロセッサ1は、まずデータ送信要求部
7を起動して割込みにてプロセッサ2に送信要求を通知
し、データバッファ3を用いてのデータ転送を開始する
。ここで、プロセッサlとプロセッサ2の間の処理速度
に差がある場合には1次の2通りに分けて処理が行われ
る。
Now, assume that data is transferred from processor 1 to processor 2. The processor 1 first activates the data transmission request unit 7, notifies the processor 2 of the transmission request by interrupt, and starts data transfer using the data buffer 3. Here, if there is a difference in processing speed between processor 1 and processor 2, processing is performed in two ways: primary.

(A)まずプロセッサlの3込み速度がプロセッサ2の
読出し速度よりも速い場合について述べる。
(A) First, the case where the 3-input speed of processor 1 is faster than the readout speed of processor 2 will be described.

プロセッサlはメモリ8から読み取ったデータを従来と
同じやり方でデータバッファ3に訂き込む。即ち、プロ
セッサ1はバッファエンプティ信号BEのステータスを
読み取り、これが“l“であること(即ち、訂込み可能
であること)を確認してから、メモリ8から読み取った
データをデータバッファ3に訂き込む。
Processor I loads the data read from memory 8 into data buffer 3 in the conventional manner. That is, the processor 1 reads the status of the buffer empty signal BE, confirms that it is "l" (that is, data can be edited), and then writes the data read from the memory 8 into the data buffer 3. It's crowded.

一方、プロセッサ2は、バッファコントロール部4かも
のバッファフル信号BFのステータスを読み取る処理を
行うことなく、データバッファ3に対して読出し指令信
号Rを出力する。
On the other hand, the processor 2 outputs the read command signal R to the data buffer 3 without performing the process of reading the status of the buffer full signal BF of the buffer control unit 4.

いま、データバッファ3にまだデータがδき込まれてお
らず、「空」であるものとする。読出しウェイト制御部
6にはバッファフル信号B Fと読出し信号Rとが共に
入力されている。この読出しウェーイト制御押部6は、
データバッファ3が「空」(即ち、バッファフル信号B
Fが°°O”で読出し不可)で、かつ読出し信号Rが出
力されていることを検知・すると、その間、読出しウェ
イト信号RWをアサート(イネーブル)にしてプロセッ
サ2に伝える。プロセッサ2はこの読出しウェイト13
号RWがアサートされている間は、読出しサイクル(即
ち、読出し待ち時間:読出し指令があってから読出しが
実際に開始されるまでの時間)を引き延ばし、読出し動
作を開始させない。
It is now assumed that data δ has not yet been written into the data buffer 3 and it is "empty". A buffer full signal BF and a read signal R are both input to the read weight control section 6. This read weight control pusher 6 is
Data buffer 3 is “empty” (i.e. buffer full signal B
If it detects that F is "°°O" and readout is not possible) and that the readout signal R is being output, it asserts (enables) the readout wait signal RW and transmits it to the processor 2.The processor 2 weight 13
While the signal RW is asserted, the read cycle (that is, the read waiting time: the time from when a read command is issued until the read actually starts) is extended, and the read operation is not started.

データバッファ31\のデ〜り書込みが終rすると、バ
ッファコントロール部4のバッファフル信号BFが°°
1″′にされる。すると、読出しウェイト制御回部6は
それを検知して、読出しウェイト信号[<Wをネゲート
(ディスエーブル)する。これにより引き延ばされてい
た読出しサイクルが終γし、データバッファ3からの読
出しが開始され。
When data writing to the data buffer 31 is completed, the buffer full signal BF of the buffer control unit 4 is turned on.
1"'. Then, the read wait control circuit 6 detects this and negates (disables) the read wait signal [<W. As a result, the extended read cycle ends γ. , reading from the data buffer 3 is started.

読み出されたデータはメモリ9に18納される。Eighteen pieces of read data are stored in the memory 9.

この方法では、プロセッサ2のデータ読出し速度が遅い
ため、はとんどの場合、読出し指令を発したときにはそ
のまま読出しを開始することができるものであるが、も
しデータバッファ3が「空ノのときに読出しを行おうと
すると、読出しウェイト制御部6が読出しウェイト信号
RWをアサ−I・シ、それによりデータバッファ3が読
出しIi[能な状態になるまでプロセッサ2の読出しサ
イクルを引き延ばすことになる。
In this method, since the data read speed of the processor 2 is slow, in most cases it is possible to start reading as soon as the read command is issued, but if the data buffer 3 is empty When an attempt is made to read data, the read wait control section 6 asserts the read wait signal RW, thereby extending the read cycle of the processor 2 until the data buffer 3 is in a readable state.

(B)次にプロセッサ【の、!2込み速度がプロセッサ
2の読出し速度よりも遅い場合について述べる。
(B) Next, the processor [of,! A case where the read speed of the processor 2 is slower than the read speed of the processor 2 will be described.

プロセッサlがデータバッファ3に3込みを行おうとす
る場合、バッファエンプティ信号BEのステータスを読
み取る処理を行うことなく、データバッファ3に対して
書込み指令信号Wを出力する。もし、データバッファ3
にデータが詰まっているためバッファエンプティ信号B
Eが“0”である場合、3込みウェイト制御部5はこの
バッファエンプティ信号BEと書込み信号Wとにより、
データバッファ3が「満」でかつ古込み信号Wが出力さ
れていることを検知し、その間、書込みウェイト信号W
Wをアサートしてプロセッサlに伝え、それによりプロ
セッサlの占込みサイクル(即ち 、Q込み待ち時間:
書込み指令があってから占込みが実際に開始されるまで
の時間)を引き延ばして、河込みが開始されないように
する。
When the processor l attempts to write three data into the data buffer 3, it outputs the write command signal W to the data buffer 3 without performing the process of reading the status of the buffer empty signal BE. If data buffer 3
Buffer empty signal B because data is clogged in
When E is “0”, the 3-input weight control unit 5 uses the buffer empty signal BE and the write signal W to
It is detected that the data buffer 3 is "full" and the old write signal W is output, and during that time, the write wait signal W
asserts W to signal processor l, thereby interrupting processor l's interrupt cycle (i.e., Q interrupt latency:
The time period from when a write command is issued until the actual start of divination is extended to prevent divination from starting.

データバッファ3の内容が読み取られて「空」になると
、バッファエンプティ信号BEが”1−となり、それに
よりご込みウェイト制御部5の古込みウェイト信号WW
をネゲートする。これにより引き延ばされていたプロセ
ッサlの居込みサイクルが終了され、書込み動作が開始
される。
When the contents of the data buffer 3 are read and become "empty," the buffer empty signal BE becomes "1-," which causes the old weight signal WW of the waste weight control section 5 to
negate. As a result, the prolonged stay cycle of processor l is completed, and a write operation is started.

一方、プロセッサ2の読取り処理は従来と同じ方法で行
われる。即ち、プロセッサ2はバッファフル信号BFの
ステータスを読み取り、それが”1″′ (即ち、読出
し可能)であることを確認してから、データバッファ3
からのデータ読出しを行う。
On the other hand, the reading process of the processor 2 is performed in the same manner as before. That is, the processor 2 reads the status of the buffer full signal BF, confirms that it is "1"' (that is, readable), and then transfers the data buffer 3 to the data buffer 3.
Read data from.

なお、上述の(A)の場合においても、書込み側のプロ
セッサ1の書込みサイクルを書込みウェイト制御回部5
で引き延ばすように制御することも可能である。しかし
ながら、プロセッサ2の読出し速度が遅いため、読出し
側での読出し動作が完了するまでの間、書込み側では書
込みウェイト信号WWによる書込みサイクルの引き延ば
し時間が増大してその間、プロセッサ1による他の処理
が行えず、プロセッサlの処理速度が低下することにな
るので、プロセッサl側は従来通りの方法を用いて書込
みを行った方が効率がよい。
Note that even in the case (A) described above, the write cycle of the processor 1 on the write side is controlled by the write wait control circuit 5.
It is also possible to control the length to be extended. However, since the read speed of the processor 2 is slow, the write cycle is extended by the write wait signal WW on the write side until the read operation is completed on the read side, and other processing by the processor 1 is performed during that time. Since the processing speed of processor l will decrease, it is more efficient for processor l to write using the conventional method.

同様のことが(B)の場合についてもいえ、この場合に
はプロセッサ2側は従来通りの方法を用いて読出しを行
うことが望ましい。
The same applies to case (B), and in this case, it is desirable that the processor 2 side performs reading using a conventional method.

[発明の効果1 本発明によれば、各プロセッサはデータバッファのステ
ータスを読み出す処理を行うことなくデータバッファに
アクセスすることが可能になるので、プロセッサの処理
負担を軽減して処理速度を一層げることができ、これに
よりデータ通信の高速化に寄与するところが大きい。特
に、転送元と転送先のプロセッサの処理速度に差がある
ような場合には、最適な送信f段をソフトウェア的に選
択することができ、装置全体の処理効率を一層向上させ
、プロセッサ間データ通信の一層の高速化を図ることが
できる。
[Effect of the Invention 1 According to the present invention, each processor can access the data buffer without performing processing to read the status of the data buffer, thereby reducing the processing load on the processor and further increasing the processing speed. This greatly contributes to speeding up data communication. In particular, when there is a difference in processing speed between the transfer source and transfer destination processors, the optimal transmission f-stage can be selected by software, further improving the processing efficiency of the entire device, and reducing the amount of data between processors. It is possible to further speed up communication.

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

第1図は1本発明に係る原理説明図。 第2図は本発明の一実施例としてのプロセッサ間データ
通信装置を示すブロック図。 第3図は従来のプロセッサ間データ通信装置を示すブロ
ック図9および。 第4図は従来装置のタイムチャートを示す図である。 図において。 1.2・・・プロセッサ 3・・・データバッファ 4・・・バッファコントロール部 5−・・書込みウェイト制御部 6・・・読出しウェイト制御部 7・・・データ送信要求部 8.9・・・メモリ 未発111:係る原理説明図 第1
FIG. 1 is a diagram explaining the principle of the present invention. FIG. 2 is a block diagram showing an inter-processor data communication device as an embodiment of the present invention. FIG. 3 is a block diagram 9 showing a conventional inter-processor data communication device. FIG. 4 is a diagram showing a time chart of a conventional device. In fig. 1.2...Processor 3...Data buffer 4...Buffer control section 5...Write wait control section 6...Read wait control section 7...Data transmission request section 8.9... Memory failure 111: related principle explanatory diagram 1st

Claims (1)

【特許請求の範囲】 1、転送元となるプロセッサ(11)と、 転送先となるプロセッサ(12)と、 これらのプロセッサ間のデータ転送を仲介するバッファ
(13)と、 バッファ(13)の「空」と「満」の状態を監視するバ
ッファ制御部(14)と、 該転送元のプロセッサ(11)の書込み待ち時間を引き
延ばす制御を行う書込み待ち時間制御部(15)とを具
備し、 該バッファ(13)の「満」時に転送元のプロセッサ(
11)による該バッファ(13)への書込み指令があっ
たときに該バッファ(13)が「空」となるまで該転送
元のプロセッサ(11)の書込み待ち時間を引き延ばす
よう該書込み待ち時間制御部(15)により制御を行う
よう構成されたプロセッサ間データ転送装置。 2、転送元となるプロセッサ(11)と、 転送先となるプロセッサ(12)と、 これらのプロセッサ間のデータ転送を仲介するバッファ
(13)と、 該バッファ(13)の「空」と「満」の状態を監視する
バッファ制御部(14)と、 該転送先のプロセッサ(12)の読出し待ち時間を引き
延ばす制御を行う読出し待ち時間制御部(16)とを具
備し、 該バッファ(13)の「空」時に転送先のプロセッサ(
12)による該バッファ(13)への読出し指令があっ
たときに該バッファ(13)が「満」となるまで転送先
のプロセッサ(12)の読出し待ち時間を引き延ばすよ
う該読出し待ち時間制御部(16)により制御を行うよ
う構成されたプロセッサ間データ通信装置。
[Claims] 1. A processor (11) serving as a transfer source; a processor (12) serving as a transfer destination; a buffer (13) that mediates data transfer between these processors; A buffer control unit (14) that monitors the status of “empty” and “full” and a write latency control unit (15) that performs control to extend the write latency of the transfer source processor (11), When the buffer (13) is “full”, the transfer source processor (
11) when there is a write command to the buffer (13), the write wait time control unit extends the write wait time of the transfer source processor (11) until the buffer (13) becomes "empty". (15) An inter-processor data transfer device configured to perform control. 2. A processor (11) that is a transfer source, a processor (12) that is a transfer destination, a buffer (13) that mediates data transfer between these processors, and whether the buffer (13) is empty or full. a buffer control unit (14) that monitors the state of the transfer destination processor (12), and a read latency control unit (16) that performs control to extend the read latency time of the transfer destination processor (12), When “empty”, the destination processor (
12) to the buffer (13), the read wait time control unit (12) extends the read wait time of the transfer destination processor (12) until the buffer (13) becomes "full". 16) an inter-processor data communication device configured to perform control.
JP1295231A 1989-11-14 1989-11-14 Inter-processor data communication equipment Pending JPH03156560A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1295231A JPH03156560A (en) 1989-11-14 1989-11-14 Inter-processor data communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1295231A JPH03156560A (en) 1989-11-14 1989-11-14 Inter-processor data communication equipment

Publications (1)

Publication Number Publication Date
JPH03156560A true JPH03156560A (en) 1991-07-04

Family

ID=17817909

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1295231A Pending JPH03156560A (en) 1989-11-14 1989-11-14 Inter-processor data communication equipment

Country Status (1)

Country Link
JP (1) JPH03156560A (en)

Similar Documents

Publication Publication Date Title
US5283872A (en) SCSI device having transfer parameter storage memory blocks which correspond to each apparatus
US5794072A (en) Timing method and apparatus for interleaving PIO and DMA data transfers
JPS5847050B2 (en) I/O interrupt system
JPS6275860A (en) Data transfer controller
US6938118B1 (en) Controlling access to a primary memory
JPH03156560A (en) Inter-processor data communication equipment
JP3687112B2 (en) Data transfer control device and information processing device
JPS61125670A (en) Data transfer device
JPH11110342A (en) Method and device for connecting bus
JPH0844659A (en) Data transfer controller
KR0145932B1 (en) Dma controller in high speed computer system
JPH0376501B2 (en)
JP2557857B2 (en) Cache storage
JP2000285087A (en) Method for data communication between nodes
JPS63155254A (en) Information processor
JPS58205258A (en) Data processor
JPS63201852A (en) Access control system for cache memory
JPS61153728A (en) High speed control system of magnetic storage device
JPS60136853A (en) Data transfer system
JPS5938827A (en) Microprocessor ipl system
JPS6118032A (en) External memory controller
JPH0344753A (en) Data transfer system
JP2001125880A (en) Real time multi-processor system
JPH01144151A (en) Information processor
JPS61127025A (en) Optical disk controller