JPS5836380B2 - Direct memory access method in multiprocessor systems - Google Patents

Direct memory access method in multiprocessor systems

Info

Publication number
JPS5836380B2
JPS5836380B2 JP53040396A JP4039678A JPS5836380B2 JP S5836380 B2 JPS5836380 B2 JP S5836380B2 JP 53040396 A JP53040396 A JP 53040396A JP 4039678 A JP4039678 A JP 4039678A JP S5836380 B2 JPS5836380 B2 JP S5836380B2
Authority
JP
Japan
Prior art keywords
memory
processor
data
common
direct 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.)
Expired
Application number
JP53040396A
Other languages
Japanese (ja)
Other versions
JPS54133042A (en
Inventor
小一郎 山口
和郎 西村
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP53040396A priority Critical patent/JPS5836380B2/en
Publication of JPS54133042A publication Critical patent/JPS54133042A/en
Publication of JPS5836380B2 publication Critical patent/JPS5836380B2/en
Expired legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 本発明は、プロセッサ対応のメモリとプロセッサに共通
なメモリとを持つマルチプロセッサ・システムにおける
プロセッサ対応メモリ・外部入出力装置間でのダイレク
ト・メモリ・アクセス方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a direct memory access method between a processor-compatible memory and an external input/output device in a multiprocessor system having a processor-compatible memory and a memory common to the processors. .

従来からのこの種マルチプロセッサ・システムにおける
プロセッサ対応メモリ・外部入出力装置間でのダイレク
ト・メモリ・アクセス方式について説明すれば以下のよ
うである。
A conventional direct memory access method between a processor-compatible memory and an external input/output device in this type of multiprocessor system will be described below.

即ち、第1図は複数(n+1台)のプロセッサからなる
マルチプロセッサ・システムの一例を示したものである
That is, FIG. 1 shows an example of a multiprocessor system consisting of a plurality of (n+1) processors.

図中3はハードウエア上同一の構成を持つ複数のプロセ
ッサ、1はプロセッサ3の各々に対応した固有のメモリ
、2はメモリ1のメモリバス、4は各プロセッサ3が接
続される共通バス、5は各プロセッサ3に共有な共通メ
モリ、6は共通バス4に接続されるデータ・チャネル、
7は入出力制御部、8は入出力装置である。
In the figure, 3 is a plurality of processors having the same hardware configuration, 1 is a unique memory corresponding to each processor 3, 2 is a memory bus of the memory 1, 4 is a common bus to which each processor 3 is connected, 5 is a common memory shared by each processor 3, 6 is a data channel connected to the common bus 4,
7 is an input/output control unit, and 8 is an input/output device.

上記のような構成を持つ従来のマルチプロセッサ・シス
テムにおいては、データ・チャネル6がダイレクトメモ
リ・アクセスし得るメモリは、共通メモリ5のみであり
、従来固有メモリ1は直接ダイレクト・メモリ・アクセ
スによるデータ転送用に用いられなかった。
In a conventional multiprocessor system having the above configuration, the only memory to which the data channel 6 can directly access the memory is the common memory 5, and the conventional unique memory 1 can access data by direct memory access. Not used for transfer.

そこでデータ・チャネル6を介して入出力装置8とメモ
リ1との間でデータ転送を行なう場合には、第2図に示
す手順に従い共通メモリ5を介し、プロセッサ3による
匍脚によりデータを入出力していたものである。
Therefore, when data is transferred between the input/output device 8 and the memory 1 via the data channel 6, data is input/output by the processor 3 via the common memory 5 according to the procedure shown in FIG. That's what I was doing.

即ち、第2図はデータ・チャネル6からメモリ1ヘデー
タ転送を行なう場合でのシーケンスの一例を示したもの
である。
That is, FIG. 2 shows an example of a sequence when data is transferred from the data channel 6 to the memory 1.

いま、データ・チャネル6が共通メモリ5ヘメモリ要求
信号9を送出した後、共通メモリ5からのメモリ要求可
信号10を受信すると、データ・チャネル6が共通メモ
リ5ヘダイレクトメモリ・アクセスによりデータ11を
共通メモリ5へ転送するようになっている。
Now, after the data channel 6 sends the memory request signal 9 to the common memory 5, when it receives the memory request enable signal 10 from the common memory 5, the data channel 6 sends the data 11 to the common memory 5 by direct memory access. The data is transferred to the common memory 5.

このデータ転送終了後データ・チャネル6は予め選択さ
れているプロセッサ3へ割込要求信号12を送出するが
、これに対しそのプロセッサ3が割込可・割込データ要
求信号13をデータ・チャネル6へ送出した場合には、
プロセッサ3はデータ・チャネル6からの割込データ1
4を読み取るようになっている。
After this data transfer is completed, the data channel 6 sends an interrupt request signal 12 to the preselected processor 3. In response, that processor 3 sends an interrupt enable/interrupt data request signal 13 to the data channel 6. If you send it to
Processor 3 receives interrupt data 1 from data channel 6
It is designed to read 4.

これによりプロセッサ3は割込データ14を分析するこ
とによって共通メモリ5の番地aからmワード分だけの
データをメモリ1の番地b以降に順次転送記憶すべきこ
とを知り得るものである。
As a result, the processor 3 can know by analyzing the interrupt data 14 that m words of data from address a in the common memory 5 should be sequentially transferred and stored from address b onward in the memory 1.

この後プロセッサ3は共通メモリ5ヘメモリ要求信号9
を送出するが、これに対し共通メモリ5よりメモリ要求
可信号10を受信した場合には、プログラム転送制御に
より共通メモリ5からデータを1ワード単位に順次読取
ってメモリ1に転送記憶させるところとなるものである
After this, the processor 3 sends a memory request signal 9 to the common memory 5.
However, if a memory request enable signal 10 is received from the common memory 5, data is sequentially read from the common memory 5 word by word under program transfer control and transferred to the memory 1 for storage. It is something.

以上述べたように、従来のマルチプロセッサ・システム
では、メモリ1とデータ・チャネル6等を介する外部入
出力装置8との間でデータ転送を行なう場合には、共通
メモリ5とプロセッサ3が介在されることから、プロセ
ッサの処理能力がいきおい低下することは否めないもの
となっているのが実状である。
As described above, in the conventional multiprocessor system, when data is transferred between the memory 1 and the external input/output device 8 via the data channel 6, etc., the common memory 5 and the processor 3 are interposed. As a result, the reality is that it is undeniable that the processing power of the processor will decline rapidly.

本発明の目的は、上記した従来技術の欠点をなくし、外
部入出力装置と固有メモリとの間でのデータ転送をプロ
セッサの処理能力を低下させることなく行ない得るマル
チプロセッサ・システムにおけるダイレクト・メモリ・
アクセス方式を供するにある。
SUMMARY OF THE INVENTION An object of the present invention is to eliminate the above-mentioned drawbacks of the prior art and to provide a direct memory processor in a multiprocessor system in which data can be transferred between an external input/output device and a private memory without reducing the processing power of the processor.
Provides an access method.

上記の目的を達成するために本発明は、外部入出力装置
が固有メモリとの間でダイレクト・メモリ・アクセスに
よるデータ転送を可能ならしめるべく固有メモリのバス
と共通バスとを転送方向制御可とされたスイッチとして
のバス接続部により接続し、プロセッサおよび共通メモ
リを介することなく固有メモリとの間で直接データ転送
が行ない得るようにしたものである。
In order to achieve the above object, the present invention is capable of controlling the transfer direction of a private memory bus and a common bus so that an external input/output device can transfer data between the private memory and the private memory by direct memory access. The device is connected by a bus connection section as a switch, and data can be transferred directly to and from the dedicated memory without going through the processor and the common memory.

以下、第3図から第5図により本発明を具体的に説明す
る。
The present invention will be specifically explained below with reference to FIGS. 3 to 5.

第3図は本発明に係るマルチプロセッサ・システムをプ
ロセッサの数が2台であるとして示したものである。
FIG. 3 shows a multiprocessor system according to the present invention with two processors.

第3図において、第1図に示すものに同一のものには同
一符号を付してあるが、第1図に示すものと実質的に異
なるところはメモdノバス2と共通バス4との間に転送
方向が制御可とされたスイッチとしてのバス接続部15
がプロセッサ3対応に設けられていることである。
In FIG. 3, parts that are the same as those shown in FIG. bus connection section 15 as a switch whose transfer direction can be controlled;
is provided for the processor 3.

第4図はそのバス接続部15の具体的構成を示したもの
である。
FIG. 4 shows the specific configuration of the bus connection section 15.

図中16はトライステート・バツファ、17は固有メモ
リ要求可信号、18は転送終了信号、19は共通バス4
とメモリバス2とのデータ転送方向を切替制御する、デ
ータ・チャネル6からのバス切替信号、20はトライス
テート・バツファ16に対するイネーブル信号、27は
接続制御フリツプフロツプをそれぞれ示している。
In the figure, 16 is a tri-state buffer, 17 is a specific memory request enable signal, 18 is a transfer end signal, and 19 is a common bus 4.
20 is an enable signal for the tri-state buffer 16, and 27 is a connection control flip-flop.

このような構戒を持つマルチプロセッサ・システムにお
いて、データ・チャネル6からメモリ1へのデータ転送
シーケンスを第5図により説明すれば以下のようである
In a multiprocessor system having such a structure, the data transfer sequence from the data channel 6 to the memory 1 will be explained below with reference to FIG.

即ち、データ・チャネル6が選択されているプロセッサ
3へ割込要求信号12を送出すれば、割込可である場合
には割込要求可信号21とダイレクト・メモリ・アクセ
ス情報22がそのプロセッサ3よりデータ・チャネル6
に送出されることになる。
That is, if the interrupt request signal 12 is sent to the processor 3 for which the data channel 6 is selected, the interrupt request enable signal 21 and the direct memory access information 22 will be sent to the processor 3 if interrupts are enabled. More data channel 6
It will be sent to

ダイレクト・メモリ・アクセス情報22より割込を受付
したプロセッサはもとより固有メモリでのアクセス開始
メモリ番地がデータ・チャネル6にて知れるものである
From the direct memory access information 22, the processor that has accepted the interrupt as well as the memory address at which access starts in the private memory can be known through the data channel 6.

そこでデータ・チャネル6はダイレクト・メモリ・アク
セス情報22に従って共通バスアクセス要求信号23を
送出した後、プロセッサ3からの共通バスアクセス可信
号24を受信するところとなり、この後はアクセスすべ
きメモリ1に対してメモリ要求信号25を送出するとこ
ろとなるものである。
Therefore, the data channel 6 sends the common bus access request signal 23 according to the direct memory access information 22, and then receives the common bus access enable signal 24 from the processor 3. This is where the memory request signal 25 is sent to.

これに対しメモリ要求信号26がメモリ1より送出され
ると、バス接続部15のトライステート・バツファがバ
ス切替信号19とメモリ要求可信号26とからイネーブ
ルとなり、共通バス4とメモリバス2とが接続されるも
のである。
On the other hand, when the memory request signal 26 is sent from the memory 1, the tri-state buffer of the bus connection section 15 is enabled by the bus switching signal 19 and the memory request enable signal 26, and the common bus 4 and the memory bus 2 are connected to each other. It is something that is connected.

即ち、データ・チャネル6はバス切替を制御しつつ、メ
モリ1があたかも共通バス4に接続されているがごとく
にしてダイレクト・メモリ・アクセスによりデータ転送
を行ない得るものである。
That is, the data channel 6 can perform data transfer by direct memory access as if the memory 1 were connected to the common bus 4 while controlling bus switching.

以上からも明らかなように本発明は、メモリと外部入出
力装置とがダイレクトメモリ・アクセスによりデータ転
送し得るようにしたものである。
As is clear from the above, the present invention enables data transfer between a memory and an external input/output device through direct memory access.

これにより、従来のマルチプロセッサ・システムにおい
ては不可能であった外部入出力装置とメモリとの間のダ
イレクト・メモリ・アクセスを可能となり、その結果各
プロセッサのデータ転送に要される処理時間が短縮され
、ひいてはマルチプロセッサ・システムの処理能力の向
上が図れることとなるものである。
This enables direct memory access between external input/output devices and memory, which was not possible in conventional multiprocessor systems, resulting in a reduction in the processing time required for data transfer between each processor. Therefore, the processing capacity of the multiprocessor system can be improved.

【図面の簡単な説明】 第1図は従来のマルチプロセッサ・システムを示すブロ
ック図、第2図は上記のシステムにおけるデータ転送制
御シーケンス図、第3図は本発明に係るマルチプロセッ
サ・システムの一例を示すブロック図、第4図は第3図
に示すバス接続部の詳細回路図、第5図は本発明による
データ転送制御シーケンス図である。 1・・・・・・メモリ、2・・・・・・メモリバス、3
・・・・・・プロセッサ、4・・・・・・共通バス、5
・・・・・・共通メモリ、6・・・・・・データ・チャ
ネル 15・・・・・・バス接続部。
[Brief Description of the Drawings] Fig. 1 is a block diagram showing a conventional multiprocessor system, Fig. 2 is a data transfer control sequence diagram in the above system, and Fig. 3 is an example of the multiprocessor system according to the present invention. 4 is a detailed circuit diagram of the bus connection section shown in FIG. 3, and FIG. 5 is a data transfer control sequence diagram according to the present invention. 1...Memory, 2...Memory bus, 3
...Processor, 4...Common bus, 5
... Common memory, 6 ... Data channel 15 ... Bus connection.

Claims (1)

【特許請求の範囲】[Claims] 1 各々固有のメモリを有する複数のプロセッサが、共
通バスを介しプロセッサ共通メモリおよび外部入出力装
置を接続収容してなるマルチプロセッサ・システムにお
ける外部入出力装置、固有メモリ間ダイレクトメモリ・
アクセス方式にして、外部入出力装置にて固有のメモリ
との間でデータ入出力転送要求が生じた際該装置より選
択されたプロセッサに割込をかける一方、該プロセッサ
は該割込を受付した場合にはメモリ指定を上記外部入出
力装置に通知するようにし、以降該装置は、プロセッサ
対応に設けられ、且つ共通バスと固有のメモリとの間に
設けられている転送方向制御可とされたスイッチとして
のバス接続部を介し、プロセッサとは独立に割込処理に
より指定された固有のメモリとの間でダイレクトメモリ
・アクセスで入出力データ転送を行なうことを特徴とす
るマルチプロセッサ・システムにおけるダイレクトメモ
リ・アクセス方式。
1 Direct memory between external input/output devices and private memories in a multiprocessor system in which a plurality of processors, each having its own memory, are connected to and accommodate processor common memory and external input/output devices via a common bus.
As an access method, when a data input/output transfer request occurs between an external input/output device and a specific memory, an interrupt is sent to the processor selected by the device, and the processor accepts the interrupt. In this case, the memory designation is notified to the external input/output device, and from then on, the device is provided to correspond to the processor and is provided between the common bus and the specific memory and is capable of controlling the transfer direction. Direct memory access in a multiprocessor system characterized by direct memory access to transfer input/output data to and from a specific memory specified by interrupt processing independently of the processor via a bus connection section as a switch. Memory access method.
JP53040396A 1978-04-07 1978-04-07 Direct memory access method in multiprocessor systems Expired JPS5836380B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP53040396A JPS5836380B2 (en) 1978-04-07 1978-04-07 Direct memory access method in multiprocessor systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP53040396A JPS5836380B2 (en) 1978-04-07 1978-04-07 Direct memory access method in multiprocessor systems

Publications (2)

Publication Number Publication Date
JPS54133042A JPS54133042A (en) 1979-10-16
JPS5836380B2 true JPS5836380B2 (en) 1983-08-09

Family

ID=12579498

Family Applications (1)

Application Number Title Priority Date Filing Date
JP53040396A Expired JPS5836380B2 (en) 1978-04-07 1978-04-07 Direct memory access method in multiprocessor systems

Country Status (1)

Country Link
JP (1) JPS5836380B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60151769A (en) * 1984-01-19 1985-08-09 Fujitsu Ltd Bus controlling system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5215242A (en) * 1975-07-28 1977-02-04 Nec Corp Mutual communication system among processors

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5215242A (en) * 1975-07-28 1977-02-04 Nec Corp Mutual communication system among processors

Also Published As

Publication number Publication date
JPS54133042A (en) 1979-10-16

Similar Documents

Publication Publication Date Title
JPS5836380B2 (en) Direct memory access method in multiprocessor systems
JP2618223B2 (en) Single chip microcomputer
JPS59173828A (en) Data processing system
JP2643931B2 (en) Information processing device
SU1683039A1 (en) Device for data processing for multiprocessor system
JPS62168257A (en) Multiprocessor system sharing memory
JPS6240565A (en) Memory control system
JPH056333A (en) Multi-processor system
JPS6130300B2 (en)
JP2821176B2 (en) Information processing device
JPS6037933B2 (en) Computer memory access method
JPH0520253A (en) Data processor
JPS61133465A (en) Switching method of cpu
JPS61153770A (en) Image processor
JPS608971A (en) Central processing unit
JPS61183764A (en) Direct memory access controlling system
JPS60153556A (en) Common memory device
JPH01121962A (en) Direct memory access extended control circuit
JPS61221864A (en) Information processor
JPS58220542A (en) Data communication interface circuit
JPS63206854A (en) Data transfer system
JPH05265923A (en) Data transfer equipment
JPH02171949A (en) Dma transfer system
JPS62114043A (en) Information processing system
JPS6113267B2 (en)