[go: up one dir, main page]

JPH04158466A - Inter-processor data transfer system - Google Patents

Inter-processor data transfer system

Info

Publication number
JPH04158466A
JPH04158466A JP28348590A JP28348590A JPH04158466A JP H04158466 A JPH04158466 A JP H04158466A JP 28348590 A JP28348590 A JP 28348590A JP 28348590 A JP28348590 A JP 28348590A JP H04158466 A JPH04158466 A JP H04158466A
Authority
JP
Japan
Prior art keywords
data
transfer
common bus
bus
buffer memory
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
JP28348590A
Other languages
Japanese (ja)
Inventor
Masayuki Koyama
児山 正之
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 JP28348590A priority Critical patent/JPH04158466A/en
Publication of JPH04158466A publication Critical patent/JPH04158466A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To shorten the occupied time of a common bus according to data transfer by storing transfer data from buffer memory in a transmission FIFO part when the data transfer is performed, and storing the transfer data from the common bus in a reception FIFO part via a bus transfer control part. CONSTITUTION:When the data transfer is performed, the transfer data from the buffer memory 5, 55 are stored in the transmission FIFO parts 1, 51, and also, the transfer data from the common bus 7 are stored in the reception FIFO parts 2, 52 via bus transfer control parts 3, 53. As a result, transmission underflow and reception overflow generated due to the access contention of the buffer memory 5, 55 can be prevented from occurring. Thereby, the access contention of the buffer memory 5, 55 during a data transfer operation on the common bus 7 can be evaded, therefore, the occupied time of the common bus according to those data transfer can be shortened.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、プロセッサ間のデータ転送方式に関し、特に
共通バスを介してデータのバースト転送を行うプロセッ
サ間データ転送方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transfer method between processors, and more particularly to an inter-processor data transfer method that performs burst transfer of data via a common bus.

[従来の技術] 従来のこの種のプロセッサ間データ転送方式を適用した
装置のブロック図を第3図に示す。同図において、プロ
セッサモジュール10内のデュアルポートメモリ制御部
(以下、DPMC)4の一方のアクセスポートには、プ
ロセッサ(以下、CPU)6のアドレス線20.データ
線21および制御線22が接続され、他方のアクセスポ
ートには、バス転送制御部(以下、BCTL)3のメモ
リアクセス用のアドレス線30.データ線31および制
御線32が接続され、CPU6とBCTL3とのアクセ
ス調停を行うと同時に、バッファメモリ(以下、BM)
5へのリードライト動作を実行する。BCTL3の共通
バスアクセス側は共通バス7に接続されており、この共
通バス7に接続されるプロセッサモジュール11も同様
の構成となっている。
[Prior Art] FIG. 3 shows a block diagram of a device to which this type of conventional inter-processor data transfer method is applied. In the figure, one access port of a dual port memory control unit (hereinafter referred to as DPMC) 4 in a processor module 10 is connected to an address line 20 of a processor (hereinafter referred to as CPU) 6. A data line 21 and a control line 22 are connected to the other access port, and address lines 30 . A data line 31 and a control line 32 are connected to perform access arbitration between the CPU 6 and BCTL 3, and at the same time, a buffer memory (hereinafter referred to as BM)
Execute read/write operation to 5. The common bus access side of the BCTL 3 is connected to the common bus 7, and the processor module 11 connected to the common bus 7 has a similar configuration.

次に、プロセッサモジュール10からプロセッサモジュ
ール11へのデータ転送時の動作について説明する。
Next, the operation during data transfer from the processor module 10 to the processor module 11 will be described.

プロセッサモジュール10内のCPU6は、転送するデ
ータをDPMC4を介して8M5へ書き込み、その後、
BCTL3に対して転送データのアドレスと転送バイト
数とを指定して転送動作を指示する。この指示を受信し
たBCTL3は、共通バス7の使用権を不図示のバスア
ービターから獲得した後、DPMC4を介して8M5へ
アクセスし、指示された転送データの読みだしを開始す
る。
The CPU 6 in the processor module 10 writes the data to be transferred to the 8M5 via the DPMC 4, and then
The BCTL 3 is instructed to perform a transfer operation by specifying the address of the transfer data and the number of transfer bytes. Upon receiving this instruction, the BCTL 3 acquires the right to use the common bus 7 from a bus arbiter (not shown), accesses the 8M5 via the DPMC 4, and starts reading the instructed transfer data.

こうして読み出された転送データは、BCTL3を経由
して所定のタイミングでバースト的に共通バス7へ出力
される。プロセッサモジュール11内のBCTL53は
、所定のタイミングで共通バス7上の転送データをバー
スト的に受信し、BCTL53を経由してD PMC5
4を介し、BM55内の予め指示されているアドレスへ
この転送データを書き込む。そしてこの時、プロセッサ
モジュール10およびプロセッサモジュール11の何れ
かにおいては、8M5および8M55ヘアクセスする際
にCPU6.56とのアクセス競合が生じ、この結果、
送信側のBCTL3においては送信アンダーフロー、ま
た、受信側のBCTL53においては受信オーバーフロ
ーが発生し、これらの発生を防止するために共通バス7
上でバスのウェイト出力による転送制御が行われるもの
となっている。
The thus read transfer data is output to the common bus 7 in bursts at predetermined timing via the BCTL 3. The BCTL 53 in the processor module 11 receives transfer data on the common bus 7 in a burst manner at a predetermined timing, and transfers the data to the D PMC 5 via the BCTL 53.
This transfer data is written to a pre-designated address in the BM 55 via 4. At this time, in either the processor module 10 or the processor module 11, access conflict with the CPU 6.56 occurs when accessing 8M5 and 8M55, and as a result,
A transmission underflow occurs in the BCTL 3 on the sending side, and a reception overflow occurs in the BCTL 53 on the receiving side.To prevent these occurrences, the common bus 7
Transfer control is performed using the wait output of the bus.

そして、送信側のプロセッサモジュール10内のBCT
L3は、指示されたバイト数分のデータ転送を終了する
と、CPU6に対して転送完了を通知する。また、受信
側のプロセッサモジュール11内のBCTL53は、バ
ス上の転送動作が終了すると、CPU56に対して受信
動作の完了を通知する。第4図はこのようなデータ転送
の際の送受信動作のシーケンスを示したものである。
Then, the BCT in the processor module 10 on the sending side
When the L3 completes data transfer for the designated number of bytes, it notifies the CPU 6 of the completion of the transfer. Further, when the transfer operation on the bus is completed, the BCTL 53 in the processor module 11 on the reception side notifies the CPU 56 of the completion of the reception operation. FIG. 4 shows the sequence of transmitting and receiving operations during such data transfer.

[発明が解決しようとする課題] 従来のプロセッサ間データ転送方式においては、BCT
L3,5Bが8M5.55へアクセスする際に生ずるア
クセス競合の結果、共通バス7上でウェイト出力による
転送制御を行うため、共通バス7の専有時間が長くなる
という欠点があった。そして、このような問題は、CP
U6.56の8M5.55に対するアクセスの頻度が多
い場合やCPU6,56から8M5.55に対してDM
A方式によって直接データの転送を行うような場合に、
特に顕著に現れる。
[Problem to be solved by the invention] In the conventional inter-processor data transfer system, BCT
As a result of the access conflict that occurs when L3 and 5B access 8M5.55, transfer control is performed by wait output on the common bus 7, which has the disadvantage that the exclusive time of the common bus 7 becomes long. And such problems are solved by CP
If there is a high frequency of access to 8M5.55 of U6.56 or DM for 8M5.55 from CPU6,56
When directly transferring data using method A,
Especially noticeable.

[課題を解決するための手段] このような課題を解決するために本発明に係るプロセッ
サ間データ転送方式は、共通バスを介してデータの転送
制御を行うバス転送制御部と、転送データを格納するバ
ッファメモリと、転送データをバス転送制御部を介して
共通バスへ送出するために読み出されたバッファメモリ
の転送データを格納する送信FIFO部と、バス転送制
御部から送出されるバッファメモリへの転送データを格
納する受信FIFO部とを備えたものである。
[Means for Solving the Problems] In order to solve these problems, the inter-processor data transfer method according to the present invention includes a bus transfer control section that controls data transfer via a common bus, and a bus transfer control section that stores transfer data. a buffer memory for sending the transfer data to the common bus via the bus transfer control unit; a transmission FIFO unit for storing transfer data read from the buffer memory for sending the transfer data to the common bus via the bus transfer control unit; and a reception FIFO section for storing transfer data.

[作用] データ転送を行うときにはバッファメモリからの転送デ
ータは送信FIFO部に格納され、また、共通バスから
の転送データはバス転送制御部を介して受信FIFO部
へ格納される。この結果、バッファメモリのアクセス競
合により生じていた送信アンダーフローおよび受信オー
バーフローは発生しなくなる。
[Operation] When data is transferred, data transferred from the buffer memory is stored in the transmission FIFO section, and data transferred from the common bus is stored in the reception FIFO section via the bus transfer control section. As a result, the transmission underflow and reception overflow that occur due to buffer memory access contention no longer occur.

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

第1図は、本発明のプロセッサ間データ転送方式を適用
した装置の一実施例を示すブロック図である。同図にお
いて、プロセッサモジュール10内のDPMC4の一方
のアクセスポートにはCPU6のアドレス線20.デー
タ線21およびII制御線22が接続されるとともに、
他方のアクセスポートには、BCTL3のメモリアクセ
ス用のアドレス線30および制御線32が接続され、さ
らに、送信FIFO(以下、5PIFO)1および受信
FIFO(以下、RFIFO)2からのデータ1142
が接続されている。また、BCTL3のデータ線31は
、BMSから読み出した送信データを一時蓄積する5P
IFOIからのデータ入力側と共通バス7から入力され
た受信データを一時蓄積するRFIFO2へのデータ出
力側とに接続され、CPU6とBCTL3とのアクセス
調停が行われると同時に、8M5へのリードライト動作
が実行される。
FIG. 1 is a block diagram showing an embodiment of a device to which the inter-processor data transfer method of the present invention is applied. In the figure, one access port of the DPMC 4 in the processor module 10 has an address line 20. While the data line 21 and II control line 22 are connected,
An address line 30 and a control line 32 for memory access of the BCTL 3 are connected to the other access port, and data 1142 from a transmission FIFO (hereinafter referred to as 5PIFO) 1 and a reception FIFO (hereinafter referred to as RFIFO) 2 are connected to the other access port.
is connected. In addition, the data line 31 of BCTL3 is a 5P that temporarily stores transmission data read from the BMS.
It is connected to the data input side from IFOI and the data output side to RFIFO2 which temporarily stores received data input from common bus 7, and at the same time access arbitration between CPU6 and BCTL3 is performed, read/write operation to 8M5 is performed. is executed.

BCTL3は、上記したように、5PIFOIのデータ
出力側とRFIFO2のデータ入力側とへデータ線31
が接続され、共通バス7を介してのデータ転送動作時に
共通バス7から受信したデータをRFI FO2へ書き
込む。なお、この共通バス7に接続されるプロセッサモ
ジュール11も同様な構成となっている。
As mentioned above, BCTL3 connects the data line 31 to the data output side of 5PIFOI and the data input side of RFIFO2.
is connected, and writes data received from the common bus 7 to the RFI FO2 during a data transfer operation via the common bus 7. Note that the processor module 11 connected to this common bus 7 also has a similar configuration.

次に、プロセッサモジュール10からプロセッサモジュ
ール11へのデータ転送の動作について説明する。
Next, the operation of data transfer from the processor module 10 to the processor module 11 will be described.

プロセッサモジュール10内のCPU6は、転送するデ
ータをDPMC4を介して8M5へ書き込み、その後、
BCTL3に対して転送データの8MS内のアドレスと
転送バイト数とを指定して転送動作を指示する。この指
示を受信したBCTL3は、DPMC4を介して8M5
へアクセスし、指示された転送データを読み出して5F
IFO1へ書き込んでゆく。この5FIFOIへのライ
ト動作は、制御線40を介して所定のタイミングで指示
する。
The CPU 6 in the processor module 10 writes the data to be transferred to the 8M5 via the DPMC 4, and then
The BCTL 3 is instructed to perform a transfer operation by specifying the address within 8MS of transfer data and the number of transfer bytes. BCTL3, which received this instruction, sends 8M5 via DPMC4.
, read the specified transfer data, and return to 5F.
Write to IFO1. The write operation to this 5 FIFOI is instructed via the control line 40 at a predetermined timing.

こうして、BCTL3は転送データを全て5FIFOI
へ書き込んだ後、共通バス7の使用権を不図示のバスア
ービターから獲得し、SF I FOlから転送データ
を読み出しながら所定のタイミングでバースト的に共通
バス7上へ送信する。このとき、送信すべきデータは全
て5FIFOI内にあるので、従来BM5のアクセス競
合により発生していた送信アンダー70−は発生しなく
なる。
In this way, BCTL3 stores all transferred data in 5 FIFOI
After writing to the SF I FOl, the right to use the common bus 7 is acquired from a bus arbiter (not shown), and while reading the transfer data from the SF I FOl, it is transmitted onto the common bus 7 in bursts at a predetermined timing. At this time, since all the data to be transmitted is within the 5 FIFOI, the transmission under 70-, which conventionally occurred due to access contention of the BM5, no longer occurs.

一方、受信側のプロセッサモジュール11内のBCTL
5Bは、所定のタイミングで共通バス7上の転送データ
をバースト的に受信し、これをRFIFO52へ書き込
んでゆ<、RFIFO52へのライト動作は、制御線8
1を介して所定のタイミングでBCTL53が指示する
。そしてこのとき、受信データはRFIFO52へ書き
込まれるので、従来BM55のアクセス競合により生じ
ていた受信オーバーフローは発生しない。
On the other hand, the BCTL in the processor module 11 on the receiving side
5B receives transfer data on the common bus 7 in a burst manner at a predetermined timing, and writes it to the RFIFO 52.
1, the BCTL 53 issues an instruction at a predetermined timing. At this time, since the received data is written to the RFIFO 52, the reception overflow that conventionally occurred due to access contention of the BM 55 does not occur.

BCTL53が、RFIFO52へ受信データの書き込
みを開始したとき、または、RFIFO52へ全ての受
信データの書き込みが終了したときに、アドレス線70
.制御線72およびRFIFO制御線81を所定のタイ
ミングで指示してRFIFO52内の転送データをDP
MC54を介して8M55へ書き込む。
When the BCTL 53 starts writing received data to the RFIFO 52 or when writing all received data to the RFIFO 52 is completed, the address line 70
.. Control line 72 and RFIFO control line 81 are instructed at predetermined timing to transfer data in RFIFO 52 to DP.
Write to 8M55 via MC54.

こうして、送信側のプロセッサモジュール10内のBC
TL3は、指示されたバイト数分のデータ転送を終了す
ると、CPU6に対して転送完了を通知する。また、受
信側のプロセッサモジュールll内のBCTL53は、
共通バス7から受信されRFIFO52へ書き込まれた
全てのデータが8M55へ書き込まれると、CPU56
に対して受信動作の完了を通知する。第2図はこのよう
なデータ転送の送受信動作のシーケンスを示したもので
ある。
In this way, the BC in the processor module 10 on the sending side
When the TL3 completes data transfer for the designated number of bytes, it notifies the CPU 6 of the completion of the transfer. In addition, the BCTL53 in the processor module ll on the receiving side is
When all the data received from the common bus 7 and written to the RFIFO 52 is written to the 8M55, the CPU 56
Notify the recipient of the completion of the receiving operation. FIG. 2 shows the sequence of transmission and reception operations for such data transfer.

以上説明したように、本発明によれば、共通バス上での
データ転送動作中におけるバッファメモリのアクセス競
合が回避され、従ってこれらのデータ転送に伴う共通バ
スの専有時間を短くできる。
As described above, according to the present invention, buffer memory access contention during data transfer operations on a common bus is avoided, and therefore the exclusive time of the common bus associated with these data transfers can be shortened.

[発明の効果] 以上説明したように本発明に係るプロセッサ間データ転
送方式は、データ転送を行うときにはバッファメモリか
らの転送データを送信FIFO部へ格納し、また、共通
バスがらの転送データをバス転送制御部を介して受信F
IFO部へ格納するようにしたので、バッファメモリの
アクセス競合により生じていた送信アンダーフローおよ
び受信オーバーフローが回避され、従ってこれらのデー
タ転送に伴う共通バスの専有時間を短くできるという効
果がある。
[Effects of the Invention] As explained above, the inter-processor data transfer method according to the present invention stores the transfer data from the buffer memory in the transmission FIFO section when transferring data, and also stores the transfer data from the common bus into the bus. Receive F via transfer control unit
Since the data is stored in the IFO section, transmission underflow and reception overflow caused by buffer memory access conflicts are avoided, and the time required for the common bus to be used for these data transfers can be shortened.

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

第1図は本発明に係るプロセッサ間データ転送方式を適
用した装置の一実施例を示すブロック図、第2図はこの
動作シーケンスを示す説明図、第3図は従来のプロセッ
サ間データ転送方式を示すブロック図、第4図はこの動
作シーケンスを説明する説明図である。 1.51・・・・送信FIFO52,52・・・・受信
FIFO13,53・・・・バス転送制御部、4.54
・・・・デュアルポートメモリ制御部、5,55・・・
・バッファメモリ、6゜56・、・・プロセッサ、7・
・・・共通バス、10.11・・・・プロセッサモジュ
ール、20.30.60.70・・・・アドレス線、2
1.31,42,61,71.82・・・・データ線、
22,32,40,41,62,72,80.81・・
・・制御線。
FIG. 1 is a block diagram showing an embodiment of a device to which the inter-processor data transfer method according to the present invention is applied, FIG. 2 is an explanatory diagram showing this operation sequence, and FIG. The block diagram shown in FIG. 4 is an explanatory diagram illustrating this operation sequence. 1.51...Transmission FIFO 52, 52...Reception FIFO 13, 53...Bus transfer control unit, 4.54
...Dual port memory control section, 5, 55...
・Buffer memory, 6゜56... Processor, 7.
... common bus, 10.11 ... processor module, 20.30.60.70 ... address line, 2
1.31, 42, 61, 71.82...data line,
22, 32, 40, 41, 62, 72, 80.81...
...Control line.

Claims (1)

【特許請求の範囲】 共通バスに接続された複数のプロセッサモジュール間に
おけるデータのバースト転送を前記共通バスを介して行
うプロセッサ間データ転送方式において、 前記共通バスを介してデータの転送制御を行うバス転送
制御部と、転送データを格納するバッファメモリと、前
記転送データを前記バス転送制御部を介して前記共通バ
スへ送出するために読み出された前記バッファメモリの
転送データを格納する送信FIFO部と、前記バス転送
制御部から送出される前記バッファメモリへの転送デー
タを格納する受信FIFO部とを備えたことを特徴とす
るプロセッサ間データ転送方式。
[Scope of Claims] An inter-processor data transfer method in which burst transfer of data is performed between a plurality of processor modules connected to a common bus via the common bus, comprising: a bus for controlling data transfer via the common bus; a transfer control unit, a buffer memory that stores transfer data, and a transmission FIFO unit that stores transfer data read from the buffer memory in order to send the transfer data to the common bus via the bus transfer control unit. An inter-processor data transfer method, comprising: a receiving FIFO unit that stores transfer data sent from the bus transfer control unit to the buffer memory.
JP28348590A 1990-10-23 1990-10-23 Inter-processor data transfer system Pending JPH04158466A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28348590A JPH04158466A (en) 1990-10-23 1990-10-23 Inter-processor data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28348590A JPH04158466A (en) 1990-10-23 1990-10-23 Inter-processor data transfer system

Publications (1)

Publication Number Publication Date
JPH04158466A true JPH04158466A (en) 1992-06-01

Family

ID=17666164

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28348590A Pending JPH04158466A (en) 1990-10-23 1990-10-23 Inter-processor data transfer system

Country Status (1)

Country Link
JP (1) JPH04158466A (en)

Similar Documents

Publication Publication Date Title
US4860244A (en) Buffer system for input/output portion of digital data processing system
US5093780A (en) Inter-processor transmission system having data link which automatically and periodically reads and writes the transfer data
US20040107265A1 (en) Shared memory data transfer apparatus
EP0508634B1 (en) Memory access for data transfer within an I/O device
US5222219A (en) Pipeline computer system having write order preservation
JP2591502B2 (en) Information processing system and its bus arbitration system
US7203781B2 (en) Bus architecture with primary bus and secondary or slave bus wherein transfer via DMA is in single transfer phase engagement of primary bus
US5754802A (en) Increasing data transfer efficiency for a read operation in a non-split transaction bus environment by substituting a write operation for the read operation
JPH04158466A (en) Inter-processor data transfer system
JP3111052B2 (en) Method and system for supplying data to a bus connected to a plurality of processors
JPH0343804A (en) Sequence controller
JP3240863B2 (en) Arbitration circuit
JP2713204B2 (en) Information processing system
EP0568678B1 (en) Device for transmission of data
JP3371978B2 (en) Information processing device
JP2856709B2 (en) Bus coupling system
JPS6341973A (en) Multi-processor system
JPH07334453A (en) Memory access system
JPH03252848A (en) Variable bus width designation/information reception system for split bus
JPH0362249A (en) Data processor
JPS63257856A (en) Serial communication system
JPS62145345A (en) Direct memory access interval control method
JPH07109599B2 (en) Information transfer device for processing system
EP0370628A2 (en) Pipeline computer system having order preservation
JPH0573473A (en) Industrial computer system