JPS6154556A - Inter-memory data transfer system - Google Patents

Inter-memory data transfer system

Info

Publication number
JPS6154556A
JPS6154556A JP17621884A JP17621884A JPS6154556A JP S6154556 A JPS6154556 A JP S6154556A JP 17621884 A JP17621884 A JP 17621884A JP 17621884 A JP17621884 A JP 17621884A JP S6154556 A JPS6154556 A JP S6154556A
Authority
JP
Japan
Prior art keywords
data
memory
microprocessor
transfer
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
JP17621884A
Other languages
Japanese (ja)
Inventor
Akira Takagi
高木 暁
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 JP17621884A priority Critical patent/JPS6154556A/en
Publication of JPS6154556A publication Critical patent/JPS6154556A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/167Interprocessor communication using a common memory, e.g. mailbox

Abstract

PURPOSE:To prevent the collision of data transferred and to eliminate the waiting state for transmission/reception, by providing a buffer memory between memories in each data transfer direction together with an interruption port which functions to inform a request for transfer of data. CONSTITUTION:When a microprocessor (CPU)101 transfers data stored in a memory 103 to a memory 104, the CPU101 sends the desired data to a buffer memory 105 through DMA transfer. Then the CPU101 sets an indication to an interruption port 107 so that a CPU102 fetches the data of the memory 105. Thus an interruption is produced to the CPU102 via an interruption port 108 based on said indication. Then the CPU102 transfers the data to a buffer memory 104 from the memory 105. The same procedure is carried out also in case the data stored in the memory 104 is transferred to the memory 103 by the CPU102.

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、マルチ接続されたマイクロプロセッサを有す
るマルチプロセッサシステムにおCする、メモリ間のデ
ータ転送方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a data transfer method between memories in a multiprocessor system having multiple connected microprocessors.

〔従来技術〕[Prior art]

従来、複数のマイクロプロセッサが1対1で接続されて
いるマルチプロセッサシステムは、それぞれのマイクロ
プロセッサに個々に接続されているメモリ間C二、バッ
ファメモリがメモリ転送の方向を問わずそれぞれ1個接
続されている(ニジ成を有していた。
Conventionally, a multiprocessor system in which multiple microprocessors are connected on a one-to-one basis has two memories connected to each microprocessor, and one buffer memory connected to each microprocessor regardless of the direction of memory transfer. (had a rainbow formation).

そのため、メモリ間でデータの転送を行なう場合、半二
重の通信と同様に、転送データの衝突及び送信時の相手
方のマイクロプロセッサからのデータ受信の待ち合わせ
が生じ、史に受信データ有の検出が複雑C二なるという
欠点があった。もし、これらの欠点を除去しようとすれ
ば、プログラマブルな伝送制御手順、および周期プログ
ラム;二よるポーリング処理等の複雑な処理1.a能を
持たせなければならない。
Therefore, when data is transferred between memories, as with half-duplex communication, collisions of transferred data and waits for data reception from the other party's microprocessor occur at the time of transmission. It had the disadvantage of being a complex C2. If these drawbacks are to be eliminated, complex processing such as programmable transmission control procedures and periodic programs; two-way polling processing, etc.1. It is necessary to have a capability.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、複雑な処理1u能を更(=追加するこ
とをく、全二重の通信と同様に転送データの絢突及びデ
ータ送受(’fflの待合わせ?なくし、かつ受信デー
タ有の検出を簡単;二できるメモリ間データ転送方式を
提供することにある。
The purpose of the present invention is to eliminate (= avoid adding) complex processing capabilities, improve the efficiency of transfer data as well as full-duplex communication, and eliminate data transmission/reception ('ffl waiting time? The object of the present invention is to provide a memory-to-memory data transfer method that allows easy detection of data.

〔発明のイ1j成〕 本発明(=係るメモリ転送方式は、1対1に設けられた
複数のマイクロプロセッサと、該マイクロプロセッサC
、Qlj々に接続されたメモリとを有し、該メモリ間の
データ転送を行うマ/I/f−グロセツチシステムにお
いて適用されるものであって、その特徴として、前記マ
イクロプロセッサに個々に接続され、一方のマイクロプ
ロセッサから他方のマイクロプロセッサへ前記データ転
送の要求を通知する割込ポートと、前記メモリ間にデー
タへ・ム送方回毎に接続されたバッファメモリとを具備
し、前記マイクロプロセッサがrji前記割込ポートか
らの前記通知を受(すて、データを転送すべさ方向と対
応する前記バッファメモリを介して前記メモリ間のデー
タ転送を行うよう(ニしたものである。
[A1j Formation of the Invention] The present invention (=the memory transfer method according to the present invention) includes a plurality of microprocessors provided one-to-one, and the microprocessor C.
, Qlj, and performs data transfer between the memories, the feature is that the microprocessor is individually connected to the microprocessor. an interrupt port for notifying the data transfer request from one microprocessor to the other microprocessor, and a buffer memory connected between the memories each time data is transferred; The processor receives the notification from the interrupt port and transfers data between the memories via the buffer memory corresponding to the direction in which data should be transferred.

〔実施例〕〔Example〕

以下、本発明の実施例について、−而を参照しながら説
明する。
Hereinafter, embodiments of the present invention will be described with reference to -.

第1図は本発明の一実施例のシステム構成を示したブロ
ック図である。ここで、101,102はそれぞれ1対
1に設けられたマイクロプロセッサ、106,104は
それぞれマイクロプロセッサ101,102にj妾続さ
れたメモリ、105はメモリ106からメモリ104方
向へデータ転送するためのバッファメモリ、106はメ
モリ104からメモリ106方向へデータ転送するため
のバッファメモリ、107,108はそれぞれマイクロ
プロセッサ101,1021=接続され、かつ互い(=
も接続されている割込ポートである。
FIG. 1 is a block diagram showing the system configuration of an embodiment of the present invention. Here, 101 and 102 are microprocessors provided on a one-to-one basis, 106 and 104 are memories connected to the microprocessors 101 and 102, respectively, and 105 is a memory for transferring data from the memory 106 to the memory 104. A buffer memory 106 is a buffer memory for transferring data from the memory 104 to the memory 106, and 107 and 108 are connected to the microprocessors 101 and 1021, respectively, and are connected to each other (=
is also a connected interrupt port.

次に、メモリ転送の各事象毎に、本実施例の動作を説明
する。
Next, the operation of this embodiment will be explained for each memory transfer event.

第1のη1象として、マイクロプロセンf101がメモ
リ106内のデータをメモリ104へ転送する場合につ
いて説明する。この場合、マイクロプロセンf101は
、転送したいデータを一般的なり M A 転送により
バッファメモリ105へ転送しておく。この時、バッフ
ァメモリ105の空き、塞がりの状況はマイクロプロセ
ッサ101にとって自明であり、上記転送は何ら待たさ
れることはない。その後マイクロプロセンf101は、
マイクロプロセンナ102に対してバッファメモリ10
5のデータを引取ってもらうべく、割込ボー) 107
+−その旨の指示を設定する。すると、割込ポート10
8を介してマイクロプロセッサ102に上記指示(=基
づく割込が発生する。そして、マイクロプロセッサナ1
02が上記指示により、バッファメモリ105からメモ
リ104へDMA転送によりデータを引取る。このとき
、マイクロプロセッサ102が上記指示を検出する方法
としては、単純な処理である割込ルーチンを設(すて、
上記指示の割込を稙っていればよい。
As a first η1 phenomenon, a case where the microprocessor f101 transfers data in the memory 106 to the memory 104 will be described. In this case, the microprocessor f101 transfers the data to be transferred to the buffer memory 105 by a general MA transfer. At this time, the status of whether the buffer memory 105 is empty or full is obvious to the microprocessor 101, and the above transfer is not made to wait at all. After that, Microprosen f101
Buffer memory 10 for micro processor 102
107 (Interrupted to get the data of 5)
+- Set an instruction to that effect. Then, interrupt port 10
An interrupt based on the above instruction (=) is generated in the microprocessor 102 via the microprocessor 8.
02 receives data from the buffer memory 105 to the memory 104 by DMA transfer according to the above instruction. At this time, the method for the microprocessor 102 to detect the above instruction is to set up an interrupt routine that is a simple process.
All you need to do is understand the above instructions.

次に第2のrjllどして、マイクロプロセッサ102
がメモリ104内のデータをメモリ106へ転送する場
合C二ついて説明する。この場合も第1の事象と同様に
、マイクロプロセッサ102は、転送したいデータをD
MA転送によりバッファメモリ106へ転送し、マイク
ロプロセンf101に対してバッファメモリ106のデ
ータを引取ってもらうべく割込ボー)108Eその旨の
指示を設定する。すると、割込ポート1(J7を介して
マイクロプロセッサ101 E上記指示に基づく割込が
発生する。そして、マイクロプロセン−?101が、上
記指示によりバッファメモリ106からメモリ103へ
DMA転送によりデータを引き収る。
Next, the microprocessor 102
When transferring data in the memory 104 to the memory 106, two Cs will be explained. In this case as well, similarly to the first event, the microprocessor 102 transfers the data to the D
The data is transferred to the buffer memory 106 by MA transfer, and an instruction to that effect is set for the microprocessor f101 to receive the data from the buffer memory 106 (interrupt baud) 108E. Then, an interrupt occurs in the microprocessor 101E via interrupt port 1 (J7) based on the above instruction.Then, the microprocessor 101 transfers data from the buffer memory 106 to the memory 103 by DMA transfer according to the above instruction. Take over.

次にfJ3の事象として、マイクロプロセン・す101
とマイクロプロセッサ102のデータ送信要求が同時間
にη(なった場合について説明する。
Next, as an fJ3 event, Microprocene Su101
A case will be described in which the data transmission request from the microprocessor 102 and η() occur at the same time.

この場合、メモリ106とメモリ104間はあたかも通
常の伝送路の全二本の如く送受1d双方向に分離されて
いるので、データの衝突を起こすことをく、マイクロプ
ロセンf1U1とマイクロプロセンf102が同時に上
紀第1及び第2のイ1゛象を発生し得る。
In this case, since the memory 106 and the memory 104 are separated in both directions (transmission/reception 1d) as if there were two normal transmission lines, microprocessor sensor f1U1 and microprocessor sensor f102 are separated to prevent data collision. can cause the first and second events of the Upper Era at the same time.

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

本発明は以上説明したように、各メモリ間に各データ転
送方向毎にバッファメモリを設けて双方同性を持たぜ、
かつデータ転送の要求を通知するための割込ポートを設
けることにより、全二重の進化と同様(=、転送データ
がイユli工突するのを防止し、転送データの送受(r
iの待合せをなくすことができ、更ニー冗長的なプログ
ラノ・処理を必要どせずに受(Hデータ有の検出を1.
・4単に行うことができるという効果がある。
As explained above, the present invention provides a buffer memory for each data transfer direction between each memory so that both are homogeneous.
In addition, by providing an interrupt port to notify requests for data transfer, similar to the evolution of full duplex, it is possible to prevent the transfer data from colliding,
It is possible to eliminate the waiting time of i, and to detect the presence of H data without the need for redundant programming/processing.
・4 It has the effect of being easy to do.

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

第1図は本発明の一実施例のシステム4成を示すブロッ
ク図である。 101.102・・・マイクロプロセッサ、103.1
04・・・メモリ、 105.106・・・バッファメモリ、107、  1
08  ・・・害り込ボ − ト ゥ特許出願人  日
本電気株式会社 代  理  人    内  原      訝第1図 0凸
FIG. 1 is a block diagram showing a system configuration according to an embodiment of the present invention. 101.102...Microprocessor, 103.1
04...Memory, 105.106...Buffer memory, 107, 1
08... Harikomi Bo - To Patent Applicant NEC Co., Ltd. Representative Figure 1 0 Convex

Claims (1)

【特許請求の範囲】 1対1に設けられた複数のマイクロプロセッサと、該マ
イクロプロセッサに個々に接続されたメモリとを有し、
該メモリ間でデータ転送を行うマルチプロセッサシステ
ムにおいて、 前記マイクロプロセッサに個々に接続され、一方のマイ
クロプロセッサから他方のマイクロプロセッサへ前記デ
ータ転送の要求を通知する割込ポートと、 前記メモリ間にデータ転送方向毎に接続されたバッファ
メモリとを具備し、 前記マイクロプロセッサが前記割込ポートからの前記通
知を受けて、データを転送すべき方向と対応する前記バ
ッファメモリを介して前記メモリ間のデータ転送を行う
ことを特徴とするメモリ間データ転送方式。
[Scope of Claims] A computer comprising a plurality of microprocessors arranged one-to-one and memories individually connected to the microprocessors,
In a multiprocessor system that transfers data between the memories, an interrupt port that is individually connected to the microprocessors and notifies a request for the data transfer from one microprocessor to another microprocessor, and an interrupt port that transfers data between the memories. and a buffer memory connected for each transfer direction, wherein the microprocessor receives the notification from the interrupt port and transfers data between the memories via the buffer memory corresponding to the direction in which data is to be transferred. A memory-to-memory data transfer method characterized by data transfer.
JP17621884A 1984-08-24 1984-08-24 Inter-memory data transfer system Pending JPS6154556A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17621884A JPS6154556A (en) 1984-08-24 1984-08-24 Inter-memory data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17621884A JPS6154556A (en) 1984-08-24 1984-08-24 Inter-memory data transfer system

Publications (1)

Publication Number Publication Date
JPS6154556A true JPS6154556A (en) 1986-03-18

Family

ID=16009685

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17621884A Pending JPS6154556A (en) 1984-08-24 1984-08-24 Inter-memory data transfer system

Country Status (1)

Country Link
JP (1) JPS6154556A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03110657A (en) * 1989-09-25 1991-05-10 Tokyo Electric Co Ltd Inter-microprocessor data transfer method
US6907480B2 (en) 2001-07-11 2005-06-14 Seiko Epson Corporation Data processing apparatus and data input/output apparatus and data input/output method
JP2010170407A (en) * 2009-01-23 2010-08-05 Mitsubishi Electric Corp Logging system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03110657A (en) * 1989-09-25 1991-05-10 Tokyo Electric Co Ltd Inter-microprocessor data transfer method
US6907480B2 (en) 2001-07-11 2005-06-14 Seiko Epson Corporation Data processing apparatus and data input/output apparatus and data input/output method
JP2010170407A (en) * 2009-01-23 2010-08-05 Mitsubishi Electric Corp Logging system

Similar Documents

Publication Publication Date Title
EP0196331A1 (en) Method of and arrangement for ordering of multiprocessor operations in a multiprocessor system.
JPS6154556A (en) Inter-memory data transfer system
JPS6126706B2 (en)
JPH03246743A (en) Inter-processor communication system
JPH03210654A (en) Distributed control processor
JPH0650499B2 (en) Data transfer method between microprocessors
JP3421492B2 (en) Bus stack monitoring method
JPS6320555A (en) Inter-computer communication system
JPH04128350U (en) Data transmission method
JP2573790B2 (en) Transfer control device
JPS5834858B2 (en) Data exchange control method
JPH0418500B2 (en)
JPS58142465A (en) Data transferring and processing device
JP2000105753A (en) Two-way data transfer method
JPH02120961A (en) Inter-memory data transfer system
JPH01251267A (en) Data transfer system
JPH0342762A (en) Inter-processor communication method for multiprocessor system
JPH05158861A (en) Information processing system
JPS6224828B2 (en)
JPS6272053A (en) Processor unit
JPH04362835A (en) Data transfer method
JP2000181880A (en) Data transfer system
JPH03113554A (en) Data transfer system
JPH02211569A (en) Information processor
JPH03219361A (en) Data communication system