JPH02120961A - Inter-memory data transfer system - Google Patents

Inter-memory data transfer system

Info

Publication number
JPH02120961A
JPH02120961A JP27389088A JP27389088A JPH02120961A JP H02120961 A JPH02120961 A JP H02120961A JP 27389088 A JP27389088 A JP 27389088A JP 27389088 A JP27389088 A JP 27389088A JP H02120961 A JPH02120961 A JP H02120961A
Authority
JP
Japan
Prior art keywords
memory
function
arithmetic unit
dma controller
bus
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.)
Granted
Application number
JP27389088A
Other languages
Japanese (ja)
Other versions
JP2705955B2 (en
Inventor
Hideo Kikuchi
菊池 英夫
Takashi Yugawa
湯川 高志
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP63273890A priority Critical patent/JP2705955B2/en
Publication of JPH02120961A publication Critical patent/JPH02120961A/en
Application granted granted Critical
Publication of JP2705955B2 publication Critical patent/JP2705955B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE:To rapidly execute inter-memory data transfer between arithmetic units by separating a hand shaking function in a DMA controller independently of an inter-memory data transfer function and adding a function for controlling another DMA controller. CONSTITUTION:Respective DMA controllers 13, 23 to 93 in respective arithmetic units 1 to 9 are provided with a function for acquiring/canceling bus using right from respective processors 11, 21 to 91 in the arithmetic units 1 to 9, a function for reading/writing data from/in a memory through a bus, a function for applying an instruction to a DMA controller in another arithmetic unit, a function for receiving an instruction from a DMA controller in another arithmetic unit, a function for executing an instruction from a DMA controller in another arithmetic unit, a function for reading/writing data from a memory in another arithmetic unit, etc., and these functions can be separatively and independently operated. Consequently, inter-memory data transfer between plural arithmetic units in a parallel information processor can be rapidly executed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は並列情報処理装置におけるメモリ間データ転送
方式に係り、詳しくは、並列情報処理装置内に設けられ
た相互に通信可能な演算ユニット間のメモリ間データ転
送を高速化する方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an inter-memory data transfer method in a parallel information processing device, and more specifically, to a data transfer method between mutually communicable arithmetic units provided in the parallel information processing device. This invention relates to a method for speeding up data transfer between memories.

〔従来の技術〕[Conventional technology]

近年、演算ユニットを2個以上、相互接続路(以下、バ
スと呼ぶ)により接続し、必要に応じて演算ユニツl−
間でデータを転送しあい、処理を各演算ユニットで分担
して並列に実行する並列情報処理装置が広く利用されて
きている。この種の並列情報処理装置において、ある演
算ユニット内のメモリ(Jl)所メモリ)の内容を他の
演算ユニット内のメモリ(局所メモリ)に転送する場合
、従来は各演算二二ツ1−を結合するバス上にデータ中
継用の共有メモリを設け、該共有メモリを介して行う方
式をとるのが一般的であった。
In recent years, two or more arithmetic units are connected by an interconnection path (hereinafter referred to as a bus), and the arithmetic units l-
Parallel information processing devices that transfer data between computers and perform processing in parallel are being widely used. In this type of parallel information processing device, when transferring the contents of a memory (Jl local memory) in a certain arithmetic unit to a memory (local memory) in another arithmetic unit, conventionally each operation is It has been common practice to provide a shared memory for data relay on the bus to be coupled, and to perform data relaying via the shared memory.

第5図に従来の並列情報処理装置におけるメモリ間デー
タ転送方式の構成例を示す、第5図において、複数の演
算ユニツl−1,2,・・・9はバス104により相互
に接続されている。演算ユニット1は中央処理装置(C
1)U)11.局所メモリ(MEM)12、バスインタ
フェース回路(BIF)15よりなり1局所バス14に
より相互に接続されている。他の演算ユニット2〜9の
構成も同様である。バス104には、更に各演算ユニッ
ト1〜9がデータ中継に利用する共有メモリ(MEM)
10が接続されている0例えば、演算ユニッ1−1内の
メモリ12のデータを演算ユニット2内のメモリ22に
転送する場合、演算ユニット1内のCPUILは、メモ
リ12のデータをバスインタフェース回路15、バス1
04を介して、−旦、共有メモリ10に転送し、演算ユ
ニット2に対して共有メモリ10のアクセスを指示する
。?A。
FIG. 5 shows a configuration example of a data transfer method between memories in a conventional parallel information processing device. In FIG. 5, a plurality of arithmetic units l-1, 2, . There is. The calculation unit 1 is a central processing unit (C
1)U)11. It consists of a local memory (MEM) 12 and a bus interface circuit (BIF) 15, and is interconnected by one local bus 14. The configurations of the other arithmetic units 2 to 9 are also similar. The bus 104 also includes a shared memory (MEM) that each processing unit 1 to 9 uses for data relay.
For example, when transferring data in the memory 12 in the arithmetic unit 1-1 to the memory 22 in the arithmetic unit 2, the CPUIL in the arithmetic unit 1 transfers the data in the memory 12 to the bus interface circuit 15. , bus 1
04 to the shared memory 10, and instructs the arithmetic unit 2 to access the shared memory 10. ? A.

算ユニット1からの指示により、演算ユニッ1−2内の
CPtJ2Lは共有メモリ10からデータをあ2み出し
、バス104、バスインタフェース回路25を介してメ
モリ22に格納する。なお、共有メモリ10のかわりに
、演算ユニツ1〜におけるバスインタフェース回路内の
バッファを用いることもある。
In response to instructions from the processing unit 1, the CPtJ2L in the processing unit 1-2 extracts data from the shared memory 10 and stores it in the memory 22 via the bus 104 and the bus interface circuit 25. Note that, instead of the shared memory 10, a buffer in a bus interface circuit in the arithmetic units 1 to 1 may be used.

一方、単一の演算ユニットからなる情報処理装置におい
ては、従来からc p U @作と独立にメモリを直j
妾アクセスする所d胃ダイレクト・メモリ・アクセス・
コントローラ(DMAコントローラ)が使用されている
。第6図はその構成例を示したもので、CPULl、メ
モリ12、及びDMAコントローラ(DMAC)13が
局所バス14に接続されている。
On the other hand, in information processing devices consisting of a single arithmetic unit, memory has traditionally been
Where the concubine accesses d stomach direct memory access.
controller (DMA controller) is used. FIG. 6 shows an example of the configuration, in which a CPU L1, a memory 12, and a DMA controller (DMAC) 13 are connected to a local bus 14.

DMAコントローラについては、例えば、米国インテル
社製LSI(品番8237A)などで、典型的な概念が
確立されており1次のような一連の処理動作をおこなう
、すなわち、DMACL 3は、CPUIIからバス使
用権を獲得すると、予ゆプログラム化されたシーケンス
にしたがって送受双方のメモリ番地を次々と生成して、
メモリ12の特定番地からメモリ12の他の特定番地に
データ転送を連続的におこない、一連のデータ転送が終
了した時に当該バス使用権を放棄する。
Regarding the DMA controller, a typical concept has been established, for example, in the LSI (product number 8237A) manufactured by Intel Corporation in the United States, and it performs a series of first-order processing operations. Once it has acquired the right, it sequentially generates memory addresses for both the transmitter and the receiver according to a preprogrammed sequence.
Data is continuously transferred from a specific address in the memory 12 to another specific address in the memory 12, and when a series of data transfers is completed, the right to use the bus is relinquished.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来技術において、中継用の共有メモリを使用する方式
では、ある演算ユニット内のCPUが当該メモリの内容
を一旦共有メモリに転送し、これを知った他の演算ユニ
ット内のCPUが、共有メモリから当該メモリに再度転
送するという二段階の処理が必要であった。このような
方式には、当然、転送に時間を要すると\もに、中継用
の共有メモリを設けなくてはならないという自明な欠点
があるが、そのほかにも、中継転送中の共有メモリがこ
れと無関係な演算ユニットによって誤って使用されるこ
とのないように、バス使用権の調停をおこなや必要があ
ること、そのための制御回路が複雑であること、バス使
用効率の低下を引き起こすこと等の欠点が認められる。
In the conventional technology, in a system that uses a shared memory for relaying, a CPU in a certain processing unit once transfers the contents of the memory to the shared memory, and the CPUs in other processing units that know this transfer the contents from the shared memory. A two-step process of retransferring to the memory was required. Of course, such a method has the obvious disadvantages of requiring time for transfer and the need to provide shared memory for relaying, but there are also other drawbacks such as the fact that the shared memory during relaying transfer is It is necessary to arbitrate the right to use the bus to prevent it from being used by an unrelated arithmetic unit, the control circuit for this is complicated, and the bus usage efficiency is reduced. Defects are recognized.

一方、DMAコントローラを用いる方式は、CPUを介
さずにメモリ間のデータ転送を高速におこなうための効
果的な方法であるが、従来はデータ転送が1つのバス(
局所バス)内に限られていた。このため、複数の演算二
二ツ1へを有する並列情報処理装置では、そのまシ利用
することができないという欠点があった。
On the other hand, the method using a DMA controller is an effective method for transferring data between memories at high speed without going through the CPU.
(local bus). For this reason, a parallel information processing device having a plurality of operations has the disadvantage that it cannot be used as is.

本発明の目的は、単一の演算ユニットおいて有効なりM
Aコントローラの機能を拡張し、並列情報処理装置の複
数の演算ユニット間に跨るメモリ間データ転送を高速化
する方式を提供することにある。
It is an object of the present invention to be effective in a single arithmetic unit.
An object of the present invention is to provide a method for expanding the functions of the A controller and speeding up data transfer between memories across a plurality of arithmetic units of a parallel information processing device.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するために、本発明においては、少なく
ともプロセッサ、メモリ、DMAコンl−ローラが局所
バスにより接続された演算ユニットを複数個、相互接続
路により接続し、各演算ユニット内のDMAコントロー
ラには、当該演算ユニット内のプロセッサからバスの使
用権を獲得する機能、当該バス使用権を放棄する機能、
当該バスを使用してメモリを読み書きする機能、他の演
算ユニットのDMAコントローラに命令を与える機能、
当該他の演算ユニットのDMAコントローラからの命令
を受け付ける機能、当該他の演算ユニットのDMAコン
トローラからの命令を実行する機能、当該他の演算ユニ
ットのメモリを読み書きする機能等を持たせ、且つ、こ
れらの機能が分離独立に動作可能であるとする。
In order to achieve the above object, in the present invention, a plurality of arithmetic units in which at least a processor, a memory, and a DMA controller are connected by a local bus are connected by an interconnection path, and a DMA controller in each arithmetic unit is connected by an interconnection path. The functions include a function to acquire the right to use the bus from the processor in the processing unit, a function to relinquish the right to use the bus,
A function to read and write memory using the bus, a function to give instructions to a DMA controller of another arithmetic unit,
It has a function of receiving instructions from the DMA controller of the other arithmetic unit, a function of executing instructions from the DMA controller of the other arithmetic unit, a function of reading and writing the memory of the other arithmetic unit, and the like. It is assumed that the functions of can operate separately and independently.

〔作 用〕[For production]

本発明の最も主要な特徴は、従来のDMAコントローラ
が対応できなかった複数の演算ユニット間に跨るメモリ
間データ転送を実現するため、DMAコン1〜ローラの
機能に含まれるCPUからバス使用権を獲得するための
ハンドシェイク機能とメモリ間データ転送機能を分離独
立させたこと、他のDMAコントローラ間との命令送受
・実行機能を加えたこと、これらの機能が単独あるいは
組み合せて使用できるようにしたことにある。これによ
り、従来は、あるCPUをホールドしたならば、その次
に必ずそのCPUの局所バス内で一連のメモリ間データ
転送を実施しなければならなかったものが、分離独立な
単位機能の適当な組合せを用いることによって、並列情
報処理装置全体のDMA転送に拡張可能となる。
The most important feature of the present invention is to obtain bus usage rights from the CPU included in the functions of the DMA controllers 1 to 1 in order to realize inter-memory data transfer across multiple arithmetic units, which conventional DMA controllers could not handle. The handshake function for data acquisition and the data transfer function between memories have been separated, and a function for sending, receiving, and executing commands between other DMA controllers has been added, and these functions can be used alone or in combination. There is a particular thing. As a result, in the past, once a CPU was held, a series of inter-memory data transfers had to be performed within the local bus of that CPU, but now separate and independent unit functions can be transferred as appropriate. By using the combination, it becomes possible to extend the DMA transfer of the entire parallel information processing device.

〔実施例〕〔Example〕

以下1本発明の一実施例について図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例の構成図を示したものである
。第1図において、複数の演算ユニット1.2.・・・
9は相互接続路(バス)104により相互に接続されて
いる。演算ユニット1はCPU11、局所メモリ(ME
M)12.DMAコントローラ(DMAC)13、バス
インタフェース回路(BIl?)15よりなり、これら
は局所バス14により相互に接続されている。他の演算
ユニット2〜9の構成も同様である。なお、第1図では
、演算ユニットが9台からなる並列情報処理装置を示し
たが、一般に演算ユニットの数は2台以上であれば幾ら
でもよい。
FIG. 1 shows a configuration diagram of an embodiment of the present invention. In FIG. 1, a plurality of arithmetic units 1.2. ...
9 are interconnected by an interconnection path (bus) 104. The arithmetic unit 1 includes a CPU 11, a local memory (ME
M)12. It consists of a DMA controller (DMAC) 13 and a bus interface circuit (BIl?) 15, which are interconnected by a local bus 14. The configurations of the other arithmetic units 2 to 9 are also similar. Although FIG. 1 shows a parallel information processing device having nine arithmetic units, generally the number of arithmetic units may be any number as long as it is two or more.

第2図に本発明の中心をなすDMAコントローラの内部
構成の一実施例を示す0便宜上、第2図では演算ユニッ
ト1内のDMAコントローラ13について示されている
が、他の演算ユニット内のDMAコントローラについて
も同様である。二Nで、DMAコントローラ13は内部
制御レジスタ群130.CPUホールド制御回路131
、メモリ間データ転送制御回路132、他CPU間コン
トロール信号送受信回路133、システムバス権獲得制
御回路134.DMA受付は回路135、命令実行制御
回路136よりなる。
FIG. 2 shows an embodiment of the internal configuration of the DMA controller that is the core of the present invention. For convenience, FIG. 2 shows the DMA controller 13 in the arithmetic unit 1, but The same applies to the controller. 2N, the DMA controller 13 has an internal control register group 130 . CPU hold control circuit 131
, an inter-memory data transfer control circuit 132, an inter-CPU control signal transmission/reception circuit 133, a system bus right acquisition control circuit 134. DMA reception consists of a circuit 135 and an instruction execution control circuit 136.

以下、演算ユニット1のDMAコントローラ13がDM
A転送要求を発する側(以下、リクエスタと呼ぶ)、演
算ユニット2のDMAコントローラ23がこれを受ける
側(以下、ターゲットと呼ぶ)として、第1図及び第2
図の動作を併せて説明する。
Below, the DMA controller 13 of the arithmetic unit 1 is the DM
The DMA controller 23 of the arithmetic unit 2 is the side that issues the A transfer request (hereinafter referred to as the requester) and the side that receives it (hereinafter referred to as the target), as shown in FIGS. 1 and 2.
The operation shown in the figure will also be explained.

演算ユニット1のDMAコン!〜ローラ13は、CI)
ULLからソフI−ウェア的に内部制御レジスタ群13
0に書き込まれる形でDMA要求を受け付けるものとす
る(以下の説明は、工/○器等がらDMA受付は回路1
35を経てDMA要求を受付ける場合も共通である)、
DMA要求を受けると、まずCPUホールド制御回路1
31はCPU11に対してホールド要求信号を発する。
DMA controller of calculation unit 1! ~Roller 13 is CI)
From ULL to software I-software internal control register group 13
It is assumed that the DMA request is accepted in the form of writing to 0 (in the following explanation, the DMA request is written to circuit 1
This is also common when accepting a DMA request via 35).
When a DMA request is received, first the CPU hold control circuit 1
31 issues a hold request signal to the CPU 11.

CPU11はこれに答えて局所バス14の使用権を放棄
し、同時にホールド許諾信号を返す0次に、システムバ
ス権獲得制御回路134がシステムバスインタフェース
回路15を経由して、第1図では省略されているシステ
ムバス調停回路(所謂アービタ; ARB)に対してシ
ステムバス104のバス使用権要求(R号を発し、シス
テムバス調停回路がらバス使用許諾信号を受取る。こへ
までの段階で。
In response, the CPU 11 relinquishes the right to use the local bus 14 and at the same time returns a hold permission signal.Next, the system bus right acquisition control circuit 134 passes through the system bus interface circuit 15, omitted in FIG. The system bus arbitration circuit (so-called arbiter; ARB) issues a bus usage right request (R number) for the system bus 104, and the system bus arbitration circuit receives a bus usage permission signal.Up to this point.

演算ユニット1のDMAコントローラ13は局所バス1
4とシステムバス104の使用権を獲得したことになる
The DMA controller 13 of the arithmetic unit 1 is connected to the local bus 1
4 and the right to use the system bus 104.

次に、演算ユニット1のDMAコントローラ13は他C
PU間コントロール信号送受回路133から演算ユニッ
ト2にコントロール信号を送出する。コントロール信号
は1種類以上あるものとし、CPtJl、1が内部制御
レジスタ群130に設定することによって与えられるも
のとする。こ\では。
Next, the DMA controller 13 of the arithmetic unit 1
A control signal is sent from the inter-PU control signal transmission/reception circuit 133 to the arithmetic unit 2. It is assumed that there is one or more types of control signals, and that they are given by setting CPtJl,1 in the internal control register group 130. Here it is.

コントロール信号は演算ユニット2のDMAコントロー
ラ23に対して、演算ユニット2の局所バス24の使用
権を獲得せよ、という意味を持つ制御命令であるものと
する。
It is assumed that the control signal is a control command that instructs the DMA controller 23 of the arithmetic unit 2 to acquire the right to use the local bus 24 of the arithmetic unit 2.

演算ユニット2のターゲット側DMAコントローラ23
内の他CPtJ間コントロール信号送受回路233は、
上記コントロール信号を受信し、これに引続き、命令実
行制御回路23は、コントロール信号を解釈してDMA
コントローラ23内の関係回路を起動する。いま、コン
トロール信号がCPU21のホールド要求であるので、
CPUホールド制御回路231がCPU21に対してホ
ールド要求信号を発する。CPU21はこれに答えて局
所バス24の使用権を放棄し、同時にホールド許諾信号
を返す、他CPU間コントロール信号送受回路233は
、リクエスタ側DMAコントローラ13の他CPU間コ
ントロール信号送受信回路133に対して、コントロー
ル信号による制御命令の実行が完了したことを通知する
。こシまでの過程で、局所バス14.システムバス10
4、局所バス24はすべて演算ユニット1のDMAコン
トローラ13が使用できる状態になる。
Target side DMA controller 23 of arithmetic unit 2
The other CPtJ control signal transmission/reception circuit 233 in
After receiving the control signal, the instruction execution control circuit 23 interprets the control signal and executes the DMA.
The related circuits within the controller 23 are activated. Now, since the control signal is a hold request from the CPU 21,
The CPU hold control circuit 231 issues a hold request signal to the CPU 21. In response, the CPU 21 relinquishes the right to use the local bus 24 and at the same time returns a hold permission signal. , notifies that the execution of the control command by the control signal is completed. In the process up to this point, the local bus 14. system bus 10
4. All local buses 24 become available for use by the DMA controller 13 of the arithmetic unit 1.

次に、演算ユニット1のDMAコントローラ13内のメ
モリ間データ転送制御回路132は、予め設定された内
部制御レジスタ群130内のりクエスタ側メモリアドレ
ス、ターゲット側メモリアドレス、アドレス歩進法、転
送総バイト数、転送方向などのデータにしたがい送受双
方のメモリ番地を次々と生成し、例えばメモリ12の特
定番地からメモリ22の他の特定番地にデータ転送を連
続的におこなう。
Next, the memory-to-memory data transfer control circuit 132 in the DMA controller 13 of the arithmetic unit 1 transfers the requester-side memory address, target-side memory address, address increments, and total number of bytes transferred in the internal control register group 130. Memory addresses for both transmission and reception are generated one after another according to data such as , transfer direction, etc., and data is continuously transferred from a specific address in the memory 12 to another specific address in the memory 22, for example.

一連のデータ転送が終了した後、リクエスタ側DMAコ
ントローラ13の他CPU間コントロール信号送受回路
133からターゲット側DMAコントローラ23の他C
PU間コントロール信号送受回路233に対して、DM
Aコントローラ23が局所バス24を放棄するよう命令
するコントロール信号を送出する。これにより、バス使
用権獲得時と同様な手順で、DMAコントローラ23の
内部回路である命令実行制御回路236.CPUホール
ド制御回路231などが動作して、DMAコントローラ
23は局所バス24を放棄し、CPU2Lはホールドさ
れる以前に実行していた処理を再開できる状態になる。
After a series of data transfers are completed, the control signal transmission/reception circuit 133 between the requester side DMA controller 13 and other CPUs is transmitted to the target side DMA controller 23 and other CPUs.
DM for the inter-PU control signal transmission/reception circuit 233
A controller 23 issues a control signal commanding local bus 24 to be abandoned. As a result, the instruction execution control circuit 236. The CPU hold control circuit 231 and the like operate, the DMA controller 23 abandons the local bus 24, and the CPU 2L becomes in a state where it can resume the process that was being executed before being held.

放棄完了したことは、同様に、DMAコントローラ23
からDMAコントローラ13に通知される。DMAコン
トローラ13は、さらに、システムバス獲得制御回路1
34に対してシステムバス104のバス使用権を放棄さ
せ、引続き、局所バス14の使用権も放棄して、動作を
完了する。
Similarly, the DMA controller 23 indicates that the abandonment has been completed.
The DMA controller 13 is notified from the DMA controller 13. The DMA controller 13 further includes a system bus acquisition control circuit 1
34 relinquish the right to use the system bus 104, and subsequently relinquish the right to use the local bus 14, completing the operation.

以上の動作シーケンスをまとめて示すと、第3図のよう
になる。
The above operation sequence is summarized as shown in FIG. 3.

なお、DMAコントローラ13がDMA転送要求を受け
る側すなわちターゲットになる場合の動作は、これまで
の説明におけるDMAコントローラ13と23の関係を
入れ換えて考えればよく、特に説明を要しないであろう
Note that the operation when the DMA controller 13 becomes the receiving side of a DMA transfer request, that is, the target, can be considered by interchanging the relationship between the DMA controllers 13 and 23 in the above explanation, and does not require any special explanation.

また、上記動作説明においては、演算ユニット1のDM
Aコントローラ13から送出されたコントロール信号は
、演算ユニット2のDMAコントローラ23だけが受信
するように説明したが、これは、DMAコントローラ1
3が演算ユニット2を選択するための信号を同時に送出
していることを暗に含んでいるとしたものである。もし
、当該信号か全演算ユニットを選択するものとすれば、
演算ユニット1を除く全演算ユニットの他CPU間コン
トロール信号送受信回路が動作し、すべての演算ユニッ
トの局所バスの使用権を各演算ユニットの局所バスの使
用権を各演算ユニットのDMAコントローラが獲得し、
演算ユニット1のメモリ12から他のすべての演算ユニ
ット内のメモリに対して同時に同一のデータを書込む動
作(放送と呼ぶ)が可能となる0例えば、演算ユニット
選択信号に演算ユニット番号を使用するとした場合、未
使用の演算ユニット番号の1つを全演算ユニット選択信
号とすることによって、このようなデータの放送が可能
である。
In addition, in the above operation description, the DM of the arithmetic unit 1
It has been explained that the control signal sent from the A controller 13 is received only by the DMA controller 23 of the arithmetic unit 2;
3 implies that signals for selecting the arithmetic unit 2 are simultaneously sent out. If you choose the signal or all the processing units,
The inter-CPU control signal transmission/reception circuits of all the arithmetic units except arithmetic unit 1 operate, and the DMA controller of each arithmetic unit acquires the right to use the local bus of all the arithmetic units. ,
For example, if the operation unit number is used in the operation unit selection signal, it is possible to simultaneously write the same data from the memory 12 of operation unit 1 to the memories in all other operation units (referred to as broadcasting). In this case, such data can be broadcast by using one of the unused arithmetic unit numbers as an all arithmetic unit selection signal.

第4図は本発明の別の実施例のシステム構成を示したも
のである。即ち、これは演算ユニット1〜5を網接続し
た構成例である。各演算ユニット1〜5の構成は、第2
図と基本的に同様であるが、システムバスインタフェー
ス回路をネットワークインタフェース回路に置き換える
点が異なる。このような演算ユニット間のm接続におい
ても、第1図のバス接続と同様に演算ユニット間に跨る
メモリ間転送をおこなうことが可能である。
FIG. 4 shows the system configuration of another embodiment of the present invention. That is, this is an example of a configuration in which arithmetic units 1 to 5 are connected to a network. The configuration of each arithmetic unit 1 to 5 is as follows:
It is basically the same as the figure, except that the system bus interface circuit is replaced with a network interface circuit. Even in such m connections between arithmetic units, it is possible to perform inter-memory transfer across arithmetic units in the same manner as the bus connection in FIG.

なお、これまでの説明では、本発明はメモリアドレス空
間のデータ転送に関するものとして説明したが、DMA
コントローラがしばしば扱うI10アドレス空間あるい
はメモリアドレス空間と工10アドレス空間が混在する
場合でも同様に有効である。すなわち、I10アドレス
空間を考1IItする場合には、局所バス14にI10
機器が接続され、I10機器からのDMA要求がDMA
受付は回路135に発出されることを想定すればよい。
In the explanations so far, the present invention has been explained as relating to data transfer in the memory address space.
This is similarly effective even when the I10 address space or memory address space and the I10 address space, which are often handled by the controller, coexist. That is, when considering the I10 address space, the I10 address space is
The device is connected and the DMA request from the I10 device is
It may be assumed that the reception is issued to the circuit 135.

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

以上説明したように、本発明によれば、CI) U 。 As explained above, according to the present invention, CI) U.

メモリ、DMAコントローラが局所バスにより接続され
た演算ユニットを複数個、相互接続路により接続し、各
演算ユニットのDMAコン1ヘローラに、CPUからバ
ス使用権を獲得あるいは放棄する機能と、メモリ間デー
タ転送機能を分離独立させたこと、他のDMAコントロ
ーラを制御する機能を加えたことにより、演算ユニット
間に跨るメモリ間データ転送を高速に実行できる。また
、各種のバス要求、転送などの単位機能を適尚に組み合
せることによって、演算ユニット内外のデータ転送を、
軟柔、に実現することできる。さらに、演算ユニット間
のコントロール信号の種類を追加することによって、さ
らに複雑なりMA転送制御を実行することも可能である
A plurality of arithmetic units each having a memory and a DMA controller connected by a local bus are connected by an interconnection path, and the DMA controller of each arithmetic unit has the function of acquiring or relinquishing the right to use the bus from the CPU, and data between memories. By separating the transfer function and adding a function to control other DMA controllers, it is possible to perform high-speed inter-memory data transfer across arithmetic units. In addition, by appropriately combining unit functions such as various bus requests and transfers, data transfer inside and outside the processing unit can be
Flexible, can be realized. Furthermore, by adding types of control signals between arithmetic units, it is also possible to perform more complicated MA transfer control.

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

第1図は本発明の一実施例の全体構成図、第2図は第1
図におけるDMAコントローラの詳細構成例を示す図、
第3図は第1図及び第2図にか\わる動作シーケンス例
を示す図、第4図は本発明の別の実施例の概略構成図、
第5図は従来のメモリ間転送方式にか\わる情報処理装
置の構成例を示す図、第6図は従来のDMAコントロー
ラを備えた情報処理装置の構成例を示す図である。 L、2.9・・・演算ユニット、 11.21,91・・・CPU (中央処理装置)、1
2.22.92・・・メモリ、 13.23.93・・・DMAコントローラ、14.2
4,94・・・局所バス、 15.25.95・・・システムバスインタフェース回
路 104・・・システムバス、 130・・・内部制御レジス群。 131・・・CPUホールド制御回路。 132・・・メモリ間データ転送制御回路、33・・・
他CPU間コントローラ信号送受回路、34・・・シス
テムバス権獲得制御回路、35・・・DMA受付は回路
、 36・・・命令実行制御回路。
FIG. 1 is an overall configuration diagram of an embodiment of the present invention, and FIG.
A diagram showing a detailed configuration example of the DMA controller in the diagram,
FIG. 3 is a diagram showing an example of the operation sequence in accordance with FIGS. 1 and 2, FIG. 4 is a schematic configuration diagram of another embodiment of the present invention,
FIG. 5 is a diagram showing an example of the configuration of an information processing apparatus using a conventional memory-to-memory transfer method, and FIG. 6 is a diagram showing an example of the configuration of an information processing apparatus equipped with a conventional DMA controller. L, 2.9...Arithmetic unit, 11.21,91...CPU (central processing unit), 1
2.22.92...Memory, 13.23.93...DMA controller, 14.2
4,94...Local bus, 15.25.95...System bus interface circuit 104...System bus, 130...Internal control register group. 131...CPU hold control circuit. 132...Memory data transfer control circuit, 33...
Controller signal transmission/reception circuit between other CPUs, 34...System bus right acquisition control circuit, 35...DMA reception circuit, 36...Instruction execution control circuit.

Claims (2)

【特許請求の範囲】[Claims] (1)少なくともプロセッサ、メモリ、DMAコントロ
ーラが局所バスにより接続された演算ユニットが複数個
、相互接続路により接続された情報処理装置において、 演算ユニット内のDMAコントローラは、少なくとも、
当該演算ユニット内のプロセッサからバスの使用権を獲
得する機能と、当該バス使用権を放棄する機能と、当該
バスを使用してメモリを読み書きする機能と、他の演算
ユニットのDMAコントローラに命令を与える機能と、
当該他の演算ユニットのDMAコントローラからの命令
を受け付ける機能と、当該他の演算ユニットのDMAコ
ントローラからの命令を実行する機能と、当該他の演算
ユニットのメモリを読み書きする機能とを有し、且つ、
これらの機能が分離独立に動作可能であり、 第1の演算ユニット内のDMAコントローラが、当該第
1の演算ユニット内のプロセッサおよび第2の演算ユニ
ット内のプロセッサをそれぞれのバスから分離状態にし
た状態で、相互接続路を経由して、当該第1の演算ユニ
ット内のメモリと当該第2の演算ユニットのメモリとの
間で相互にデータの読み書き動作をおこなわしめること
を特徴とするメモリ間データ転送方式。
(1) In an information processing device in which a plurality of arithmetic units in which at least a processor, a memory, and a DMA controller are connected by a local bus are connected by an interconnection path, the DMA controller in the arithmetic unit includes at least the following:
A function to acquire the right to use the bus from a processor in the processing unit, a function to relinquish the right to use the bus, a function to read and write memory using the bus, and a function to issue instructions to the DMA controller of other processing units. The function of giving
It has a function of receiving instructions from a DMA controller of the other arithmetic unit, a function of executing an instruction from the DMA controller of the other arithmetic unit, and a function of reading and writing the memory of the other arithmetic unit, and ,
These functions can operate separately and independently, and the DMA controller in the first arithmetic unit separates the processor in the first arithmetic unit and the processor in the second arithmetic unit from their respective buses. memory-to-memory data, characterized in that data is read and written between the memory in the first arithmetic unit and the memory in the second arithmetic unit via an interconnection path in the state Transfer method.
(2)演算ユニット内のDMAコントローラは、当該演
算ユニット内のメモリから複数の他の演算ユニット内の
メモリに、同一データを書き込む放送機能を有すること
を特徴とする請求項(1)記載のメモリ間データ転送方
式。
(2) The memory according to claim (1), wherein the DMA controller in the arithmetic unit has a broadcasting function for writing the same data from the memory in the arithmetic unit to the memories in a plurality of other arithmetic units. data transfer method.
JP63273890A 1988-10-29 1988-10-29 Parallel information processing device Expired - Lifetime JP2705955B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63273890A JP2705955B2 (en) 1988-10-29 1988-10-29 Parallel information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63273890A JP2705955B2 (en) 1988-10-29 1988-10-29 Parallel information processing device

Publications (2)

Publication Number Publication Date
JPH02120961A true JPH02120961A (en) 1990-05-08
JP2705955B2 JP2705955B2 (en) 1998-01-28

Family

ID=17534001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63273890A Expired - Lifetime JP2705955B2 (en) 1988-10-29 1988-10-29 Parallel information processing device

Country Status (1)

Country Link
JP (1) JP2705955B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6505276B1 (en) 1998-06-26 2003-01-07 Nec Corporation Processing-function-provided packet-type memory system and method for controlling the same

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59229663A (en) * 1983-06-13 1984-12-24 Yaskawa Electric Mfg Co Ltd Parallel processing multi-cpu system
JPS6341973A (en) * 1986-08-07 1988-02-23 Nec Corp Multi-processor system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59229663A (en) * 1983-06-13 1984-12-24 Yaskawa Electric Mfg Co Ltd Parallel processing multi-cpu system
JPS6341973A (en) * 1986-08-07 1988-02-23 Nec Corp Multi-processor system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6505276B1 (en) 1998-06-26 2003-01-07 Nec Corporation Processing-function-provided packet-type memory system and method for controlling the same

Also Published As

Publication number Publication date
JP2705955B2 (en) 1998-01-28

Similar Documents

Publication Publication Date Title
US5119480A (en) Bus master interface circuit with transparent preemption of a data transfer operation
JPS5837585B2 (en) Keisan Kisouchi
US4736319A (en) Interrupt mechanism for multiprocessing system having a plurality of interrupt lines in both a global bus and cell buses
JPS63255759A (en) Control system
JPS63175962A (en) Direct memory access controller
JPH02120961A (en) Inter-memory data transfer system
JPH0343804A (en) Sequence controller
JPS59218531A (en) Information processor
JPH0478902A (en) Bus controller
JP2687716B2 (en) Information processing device
JPS63286949A (en) Bus control system
JPH039497B2 (en)
JPH0215152Y2 (en)
JPS62145345A (en) Control system for direct memory access interval
JPH0120459B2 (en)
JPH02211571A (en) Information processor
JPH01205259A (en) Block transfer circuit
JPH03127204A (en) Communication system between programmable controller and input/output device
JPS62242264A (en) Communication controller
JPH03290750A (en) Dma transfer method
JPH08101810A (en) Bus control method
JPS63304358A (en) Bus control system
JPH04154346A (en) Circuit controller
JPH03201056A (en) Data transmission equipment
JPS62226364A (en) Information processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071009

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081009

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091009

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091009

Year of fee payment: 12