JPS59216267A - Data transferring method - Google Patents

Data transferring method

Info

Publication number
JPS59216267A
JPS59216267A JP8998383A JP8998383A JPS59216267A JP S59216267 A JPS59216267 A JP S59216267A JP 8998383 A JP8998383 A JP 8998383A JP 8998383 A JP8998383 A JP 8998383A JP S59216267 A JPS59216267 A JP S59216267A
Authority
JP
Japan
Prior art keywords
cpu
memory
slave
master
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
JP8998383A
Other languages
Japanese (ja)
Inventor
Shigeru Matsumura
繁 松村
Akira Sakaguchi
明 阪口
Masaharu Okafuji
岡藤 雅晴
Junji Miyake
淳司 三宅
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.)
DEIJI TEC KENKYUSHO KK
Nippon Sheet Glass Co Ltd
Original Assignee
DEIJI TEC KENKYUSHO KK
Nippon Sheet Glass Co 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 DEIJI TEC KENKYUSHO KK, Nippon Sheet Glass Co Ltd filed Critical DEIJI TEC KENKYUSHO KK
Priority to JP8998383A priority Critical patent/JPS59216267A/en
Publication of JPS59216267A publication Critical patent/JPS59216267A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4234Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being a memory bus
    • G06F13/4239Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being a memory bus with asynchronous protocol

Abstract

PURPOSE:To use a slave CPU board as an interface, and to eliminate a waiting time for hand shake by providing each slave CPU board having a slave CPU, on a bus line of a master CPU. CONSTITUTION:A master CPU1 is connected to a bus line 2 of a multi-data transfer system, and a CPU memory 4 and an interface 5 are connected to this CPU1. Also, plural slave CPU boards 3 are connected to the bus line 2, and a slave CPU6, a slave CPU memory 7, a multiplexer 8, a package memory 9 and a register 10 are provided on its board 3. In this state, basing on an instruction from the CPU1, data read out of the memory 4 is provided to the multiplexer 8, and stored temporarily in the memory 9 of the board 3. Also, a switching signal of the CPU1 is applied to the multiplexer 8, the memory 9 is switched to the CPU1 side, the board 3 is used as an interface, and a waiting time for hand shake is eliminated.

Description

【発明の詳細な説明】 伎■分野 本発明は、1個のマスターCPUに対してハスラインを
介して複数個のスレーブCPUが接続されたマルチシス
テムにおいて、マスターCPUとスレーブCPUとの間
でデータを転送する方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a method for transmitting data between a master CPU and slave CPUs in a multi-system in which a plurality of slave CPUs are connected to one master CPU via a lot line. It concerns the method of transfer.

従」I苅紅 一般にCPUのデータ転送方法としては、ハンドシェー
ク方式およびDMA (口1rect Memory 
Access)方式がある。
In general, CPU data transfer methods include the handshake method and DMA (mouth 1rect memory).
Access) method.

ハンドシェーク方式は、転送すべきlデータごとに、一
方のCPUが他方のCPUと同期をとってデータ転送を
行うため、1データごとに待ち時間が発生する。
In the handshake method, one CPU transfers data in synchronization with the other CPU for each data to be transferred, so a waiting time occurs for each data.

また、DMA方式によれば一方のCPUを停止させてお
いて、そのCPUのメモリを他方のCPUから直接アク
セスするために、一方のCPUはその間処理を停止して
おかなければならない。
Furthermore, according to the DMA method, in order to directly access the memory of one CPU while the CPU is stopped, the other CPU must stop processing during that time.

このような従来のデータ転送方法を、1個のマスク−C
PUにパスラインを経て?JjfM個のスレーブCPU
が接続されたマルチシステムにおいて、マスターCPU
とスレーブCPUとの間のデータ転送に用い、まとまっ
た多量のデータ(以下、一群のデータという)たとえば
128個あるいは25G個のようなデータを転送する場
合には、ハンドシェークのための待ち時間が多くなり、
あるいはデ−タ転送時に一方のCPUの処理を停止しな
ければならず、このためマルチシステムにおLjる処理
速度が遅くなるという欠点がある。
This conventional data transfer method can be combined with one mask-C
Pass line to PU? JjfM slave CPUs
In a multi-system connected to the master CPU
When transferring a large amount of data (hereinafter referred to as a group of data) such as 128 or 25G data, there is a lot of waiting time for handshake. Become,
Alternatively, the processing of one CPU must be stopped during data transfer, which has the drawback of slowing down the processing speed of Lj in the multi-system.

夷皿鬼貝迫 本発明の目的は、前述のようなマルチシステムにおける
マスターCPUとスレーブcPUとの間のデータ転送方
法であって、待ち時間を発生させず、かつ、CPUを一
時停止させる必要のないデータ転送方法を提供すること
にある。
An object of the present invention is to provide a data transfer method between a master CPU and a slave cPU in a multi-system as described above, which does not require waiting time and does not require temporary suspension of the CPU. The goal is to provide a data transfer method that does not exist.

発所夏盪戒 本発明データ転送方法は、NIIのマスターCPUにパ
スラインを介して複数個のスレーブCPUが接続された
マルチシステムにおいてマスターcPUとスレーブCP
Uとの間でデータを転送するにあたり、各スレーブCP
U側に設けられ、がっ、マスターCPUによって制御さ
れるパッケージメモリに一方のCPUから送られた一群
のデータを一時格納した後、他方のCPUに送ることを
特徴とするものである。
The data transfer method of the present invention is applicable to a multi-system in which a plurality of slave CPUs are connected to an NII master CPU via a path line.
When transferring data between U and U, each slave CP
A group of data sent from one CPU is temporarily stored in a package memory provided on the U side and controlled by a master CPU, and then sent to the other CPU.

本発明は、スレーブCPU側、すなわちスレーブCPU
ホードにパッケージメモリを設げ、一群のデータごとに
パンケージメモリを介して転送すれば、ハンドシェーク
方式による待ち時間を短縮でき、かつ、データ転送時に
CPUの処理を一時停止する必要がないという認識に基
ついてなしたものである。
The present invention is based on the slave CPU side, that is, the slave CPU side.
By installing a package memory on the host and transferring each group of data via the package memory, it was realized that the waiting time due to the handshake method could be reduced, and there was no need to temporarily stop CPU processing when transferring data. It was based on this.

以下、本発明を図面に基づいて説明する。Hereinafter, the present invention will be explained based on the drawings.

図は、本発明方法を適用したマルチシステムの一例を示
すブロック線図である。
The figure is a block diagram showing an example of a multi-system to which the method of the present invention is applied.

このマルチシステムでは、マスターCPUIのハスライ
ン2に複数個のスレーブCPUボード3が設けられてい
る。マスターCPUはそれ自身のためのマスターCPU
メモリ4を具え、ハスライン2には各種のインターフェ
ース5、たとえばフロービイ−デスク・コントローラ等
が接続されている。
In this multi-system, a plurality of slave CPU boards 3 are provided on the lot line 2 of the master CPUI. Master CPU is a master CPU for itself
It is equipped with a memory 4, and various interfaces 5, such as a flowbee desk controller, are connected to the lotus line 2.

スレーブCPUボード3には、スレーブCPU6と、ス
レーブCPUのための64にハイドのスレーブCPUメ
モリ7と、マルチプレクサ8と、数にハイドのパンケー
ジメモリ9と、レジスタ10とが設けられている。パッ
ケージメモリ9は、マルチプレクサ8を介してマスター
CPUIとスレーブCPU6に接続されており、マスタ
ーCPUおよびスレーブCPUの両方からアクセスする
ことができる。この実施例では、パッケージメモリを入
出力空間に設げて、マスター〇PUのメモリの一部とし
、スレーブCPUが最大限のメモリ容量を有するように
している。マルチプレクサ8は、マスターCPUIによ
って制御される、すなわちマスターCPUIからの切換
信号によって、パッケージメモリ9をマスターCPU側
またはスレーブCPU側に切換える。
The slave CPU board 3 is provided with a slave CPU 6, a Hyde slave CPU memory 7 at 64 for the slave CPU, a multiplexer 8, a Hyde pancage memory 9, and a register 10. Package memory 9 is connected to master CPU I and slave CPU 6 via multiplexer 8, and can be accessed from both master CPU and slave CPU. In this embodiment, the package memory is provided in the input/output space and is part of the memory of the master PU so that the slave CPU has the maximum memory capacity. The multiplexer 8 is controlled by the master CPUI, that is, switches the package memory 9 to the master CPU side or the slave CPU side in response to a switching signal from the master CPUI.

以上のマルチシステムにおいて、マスターCPU1から
スレーブCPU6にデータを転送する場合について説明
する。
The case where data is transferred from the master CPU 1 to the slave CPU 6 in the above multi-system will be described.

マスク−CPUIによる命令に基づいてマスターCPU
メモリ4から取出された一群のデータたとえば128個
のデータを、マルチプレクサ8を経て、スレーブCPU
ボード3に設けられたパンケージメモリ9に送り一時格
納する。このとき、マルチプレクサ8には、マスターC
PUから切換信号が供給されて、パンケージメモリ9は
マスターCPU側に切換えられている。転送すべき12
8個のデータがパッケージメモリ9に格納されると、マ
スターcpuiはマルチプレクサ8に切換信号を供給し
て、マルチプレクサをスレーブCPU側に切換える。こ
のときマスターCPUIば、切換えたことを知らせる信
号をレジスタ10に送る。スレーブCPU6はレジスタ
lOを監視しており、パッケージメモリ9にマスターC
PUからデータが書込まれ、マルチプレクサ8がスレー
ブCPU6側に切換えられていることを判断し認知する
。パッケージメモリ9に一時的に格納されたデータは、
スレーブCPU6の命令に基づいてスレーブCPUメモ
リ7に読込まれる。パッケージメモリ9の128個のデ
ータがすべて読込まれてしまうと、スレーブCPU6は
データを読込んだことを知らせる信号をレジスタ10に
送る。このようにして、マスターCPUIから11固の
スレーブ゛CPU6へのデータ転送が終了する。
Mask - Master CPU based on instructions by CPUI
A group of data, for example 128 data, taken out from the memory 4 is sent to the slave CPU via the multiplexer 8.
It is sent to the pan cage memory 9 provided on the board 3 and temporarily stored therein. At this time, multiplexer 8 has master C
A switching signal is supplied from the PU, and the pan cage memory 9 is switched to the master CPU side. 12 to transfer
When the eight pieces of data are stored in the package memory 9, the master CPU supplies a switching signal to the multiplexer 8 to switch the multiplexer to the slave CPU side. At this time, the master CPU sends a signal to the register 10 to notify that it has been switched. The slave CPU 6 monitors the register IO and stores the master C in the package memory 9.
It determines and recognizes that data has been written from the PU and that the multiplexer 8 has been switched to the slave CPU 6 side. The data temporarily stored in the package memory 9 is
It is read into the slave CPU memory 7 based on the command from the slave CPU 6. When all 128 pieces of data in the package memory 9 have been read, the slave CPU 6 sends a signal to the register 10 indicating that the data has been read. In this way, the data transfer from the master CPU 6 to the slave CPU 6 of the 11th unit is completed.

逆に、スレーブCPU、6からマスターCPUIにデー
タを転送する場合、スレーブCP[J6は、マスターC
PU1に対してパッケージメモリ9をスレーブCPU側
に切換えることを要求する信号をレジスタ10に送る。
Conversely, when transferring data from slave CPU 6 to master CPU, slave CP [J6 is
A signal is sent to the register 10 requesting the PU 1 to switch the package memory 9 to the slave CPU side.

マスク−CPUIはレジスタ10を監視しており、スレ
ーブCPUからの要求を検出し判断した結果、マルチプ
レクサ8に切換信号を供給して、マルチプレクサをスレ
ーブCPU側に切換える。マルチプレクサ8が切換えら
れると、マスターCPUば、切換えたことを知らせる信
号をレジスタ10に送る。スレーブCPU6は、レジス
タ10を監視しており、マルチプレクサ8がスレーブC
PU側に切換えられていることを判断し認知する。以後
のスレーブCPU6からマスターCPUIへのデータ転
送は、前述のマスターCPUからスレーブCPUへのデ
ータ転送を逆にした場合と同様である。
The mask-CPUI monitors the register 10, and as a result of detecting and determining a request from the slave CPU, supplies a switching signal to the multiplexer 8 to switch the multiplexer to the slave CPU side. When the multiplexer 8 is switched, the master CPU sends a signal to the register 10 notifying that the multiplexer 8 has been switched. The slave CPU 6 monitors the register 10, and the multiplexer 8
It judges and recognizes that it has been switched to the PU side. The subsequent data transfer from the slave CPU 6 to the master CPU is similar to the case where the data transfer from the master CPU to the slave CPU described above is reversed.

マスターCPUIのハスライン2には、複数(flit
のスレーブCPU6が設けられているので、マスターC
PUIは、各スレーブCPUごとに上述のようなデータ
転送を行うことができる。
Hassline 2 of the master CPU has multiple (flit)
Since the slave CPU 6 is provided, the master C
The PUI can perform data transfer as described above for each slave CPU.

上述の実施例で、パッケージメモリを入出力空間に設け
てマスターCPUのメモリの−911としたが、パッケ
ージメモリをスレーブCl) Uのメモリの一部とする
ことができる。この場合スレーブCPUメモリ7のメモ
リ容量はその分たけ減少することとなる。
In the above-described embodiment, the package memory was provided in the input/output space to be -911 of the memory of the master CPU, but the package memory may be a part of the memory of the slave Cl)U. In this case, the memory capacity of the slave CPU memory 7 will be reduced by that amount.

元1F邦九釆 本発明データ転送方法によれは、一群のデータを、スレ
ーブCPU側に設けたパッケージメモリを介して、マス
ターCPUとスレーブCPUとの間で転送するので、一
群のデータの転送ごとにハンドシェークを行うのみであ
り、従来の各データごとにハンドシェークを行う方法と
異なり待ら時間を非常に短縮できる。
According to the data transfer method of the present invention, a group of data is transferred between a master CPU and a slave CPU via a package memory provided on the slave CPU side, so each time a group of data is transferred, This method only performs a handshake for each piece of data, and unlike the conventional method of performing a handshake for each piece of data, the waiting time can be greatly reduced.

また、スレーブCPU側に設けられたパッケージメモリ
に一部のデータを一時格納するので、マスターCPUま
たはスレーブCPUは必要なときにパッケージメモリか
らデータを読取ればよく、したがってDMA方式のよう
にデータ転送時に一方のCPUの処理を停止する必要は
なくなる。
In addition, some data is temporarily stored in the package memory provided on the slave CPU side, so the master CPU or slave CPU only needs to read the data from the package memory when necessary, and therefore data transfer is performed as in the DMA method. There is no need to stop the processing of one CPU at times.

また、パッケージメモリを入出力空間に設けた場合、マ
スターCP[Jlは、パッケージメモリ9を自己のメモ
リ空間としてアクセスできるため、パッケージメモリ9
へのデータの書込みは、マスターCPUの有する最大の
速度で行うことができる。
Furthermore, when the package memory is provided in the input/output space, the master CP[Jl can access the package memory 9 as its own memory space, so the package memory 9
Data can be written to at the maximum speed of the master CPU.

したがって、本発明データ転送方法によればマルチシス
テムの処理速度を非常に高速にすることが可能となる。
Therefore, according to the data transfer method of the present invention, it is possible to significantly increase the processing speed of a multi-system.

また、パッケージメモリを入出力空間に設ける場合には
、スレーブCPUメモリ7のメモリ容量を減少させるこ
となく最大限の容量とすることができる。
Further, when the package memory is provided in the input/output space, the memory capacity of the slave CPU memory 7 can be maximized without reducing the memory capacity.

さらに、本発明データ転送方法によれは、スレーブCP
Uをそれぞれ有する複数個のスレーブCPUボードをマ
スターCPUのハスラインに設けるので、インターフェ
イスを設けるようにスレーブCPUボートを簡単に増設
することが可能となる。
Furthermore, according to the data transfer method of the present invention, the slave CP
Since a plurality of slave CPU boards each having a U are provided on the lot line of the master CPU, slave CPU boards can be easily added to provide an interface.

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

図は、本発明データ転送方法を適用したマルチシステム
を示すブロック線図である。 ■・・・マスターCPU、2・・・ハスライン、3・・
・スレーブCPUボード、4・・・マスターCPUメモ
リ、5・・・インターフェイス、6・・・スレーブCP
U、7・・・スレーブCPUメモリ、8・・・マルチプ
レクサ、9・・・パッケージメモリ、10・・・レジス
タ。 特許出願人  日本板硝子株式会社 株式会社ディジ・テ、り研究所 代理人弁理士 岩佐 義幸
The figure is a block diagram showing a multi-system to which the data transfer method of the present invention is applied. ■...Master CPU, 2...Hasline, 3...
-Slave CPU board, 4...Master CPU memory, 5...Interface, 6...Slave CP
U, 7...Slave CPU memory, 8...Multiplexer, 9...Package memory, 10...Register. Patent applicant: Nippon Sheet Glass Co., Ltd. Digitech Institute Co., Ltd. Patent attorney: Yoshiyuki Iwasa

Claims (1)

【特許請求の範囲】[Claims] 1、  1(111のマスターCPUにパスラインを介
して複数個のスレーブCPUが接続されたマルチシステ
ムにおいてマスターCPUとスレーブCPUとの間でデ
ータを転送するにあたり、各スレーブCPU側に設けら
れ、かつ、マスターCPUによって制御されるパッケー
ジメモリに一方のCPUから送られた一群のデータを一
時格納した後、他方のCPUに送ることを特徴とするデ
ータ転送方法。
1, 1 (In a multi-system in which multiple slave CPUs are connected to a master CPU of 111 via a path line, when data is transferred between the master CPU and slave CPUs, a , a data transfer method characterized in that a group of data sent from one CPU is temporarily stored in a package memory controlled by a master CPU, and then sent to the other CPU.
JP8998383A 1983-05-24 1983-05-24 Data transferring method Pending JPS59216267A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8998383A JPS59216267A (en) 1983-05-24 1983-05-24 Data transferring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8998383A JPS59216267A (en) 1983-05-24 1983-05-24 Data transferring method

Publications (1)

Publication Number Publication Date
JPS59216267A true JPS59216267A (en) 1984-12-06

Family

ID=13985890

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8998383A Pending JPS59216267A (en) 1983-05-24 1983-05-24 Data transferring method

Country Status (1)

Country Link
JP (1) JPS59216267A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57117059A (en) * 1981-01-14 1982-07-21 Nec Corp Multiprocessor system
JPS5864528A (en) * 1981-10-14 1983-04-16 Fuji Electric Co Ltd Data transfer system of plural microprocessors
JPS58139261A (en) * 1982-02-15 1983-08-18 Hitachi Ltd Memory sharing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57117059A (en) * 1981-01-14 1982-07-21 Nec Corp Multiprocessor system
JPS5864528A (en) * 1981-10-14 1983-04-16 Fuji Electric Co Ltd Data transfer system of plural microprocessors
JPS58139261A (en) * 1982-02-15 1983-08-18 Hitachi Ltd Memory sharing system

Similar Documents

Publication Publication Date Title
US6282598B1 (en) PCI bus system wherein target latency information are transmitted along with a retry request
CA2007737C (en) Data transfer operations between two asynchronous buses
JPS59216267A (en) Data transferring method
JPH08171528A (en) Data processor
JPH03137756A (en) Information processor
JPH0962640A (en) Access control method for shared memory
JP2565916B2 (en) Memory access controller
JPH07219887A (en) Dma transfer controller
JP2705955B2 (en) Parallel information processing device
JPS60136853A (en) Data transfer system
JP3206910B2 (en) DMA transfer method
JPH0276054A (en) Bus control system
JPS58182737A (en) Information processor
JP2638505B2 (en) Bus interface device
KR100253790B1 (en) Method of interface for controller board in medium and large computer
JPH03262063A (en) Bus control circuit for dma transfer
JPH01142962A (en) Data transfer control system
JPH0651910A (en) Duplex bus device
JPH1115792A (en) Multi-microprocessor system
JPH0426744B2 (en)
JP2002269033A (en) Bus system using arbiter having retry control function and system lsi
JPS5856057A (en) Interruption signal generating device
JPH0120459B2 (en)
JPH08101810A (en) Bus control method
JPH09251444A (en) File load system