JPS59223871A - Data transfer system - Google Patents
Data transfer systemInfo
- Publication number
- JPS59223871A JPS59223871A JP9732083A JP9732083A JPS59223871A JP S59223871 A JPS59223871 A JP S59223871A JP 9732083 A JP9732083 A JP 9732083A JP 9732083 A JP9732083 A JP 9732083A JP S59223871 A JPS59223871 A JP S59223871A
- Authority
- JP
- Japan
- Prior art keywords
- microprocessor
- memory
- bus
- processor
- signal
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations 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/163—Interprocessor communication
- G06F15/167—Interprocessor communication using a common memory, e.g. mailbox
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multi Processors (AREA)
Abstract
Description
【発明の詳細な説明】
本発明はバスの切替によってメモリ間データを転送する
方式に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a system for transferring data between memories by switching buses.
近年、マイクロプロセッサを使用した装置が多用される
様になって来ている。現在束として使用されている8ビ
ツトのマイクロプロセッサを高速のデータ通信をしなが
ら各種処理を行う機器として使用する場合には、その処
理スピードは十分速いとは言えず、従来は16ビツト等
の高位のマイl o フoセッ?全便用するとか、8ビ
ツトのマイクロプロセッサを複数個使用し、処理機能を
分散するとかして高速システムに対応している。In recent years, devices using microprocessors have come into widespread use. When using the currently available 8-bit microprocessors as devices that perform various types of processing while communicating at high speeds, the processing speed cannot be said to be fast enough. My mileage? High-speed systems are supported by either using all the processors or using multiple 8-bit microprocessors to distribute processing functions.
この様に、複数個のマイクロプロセッサで処理動作を行
わせる場合、各マイクロプロセッサの動作を有機的に行
わせる為には、各マイクロプロセッサのメモリデータの
お互いの転送が必要である。In this way, when a plurality of microprocessors perform processing operations, it is necessary to transfer the memory data of each microprocessor to each other in order to allow each microprocessor to perform its operations organically.
この為の従来のデータ転送方式として、DMA(ダイレ
クト・メモリ・アクセス)方式が使われている。DMA
方式の場合、マイクロプロセッサを経由しないで直接メ
モリ間のデータの転送を行う為、転送メモリのアドレス
信号発生回路や、上記アドレス信号発生回路のスタート
・アドレス、アドレス長(転送データ長)を制御する回
路が必要となシ、複雑高価になるという欠点がある。As a conventional data transfer method for this purpose, a DMA (direct memory access) method is used. D.M.A.
In the case of this method, in order to directly transfer data between memories without going through a microprocessor, the address signal generation circuit of the transfer memory, the start address, and address length (transfer data length) of the above address signal generation circuit are controlled. The drawback is that it requires a circuit and is complicated and expensive.
本発明の目的は、簡単な構成のデータ転送方式ヶ提供す
ることにある。An object of the present invention is to provide a data transfer method with a simple configuration.
本発明のデータ転送方式は、第一のマイクロプロセッサ
および第二のマイクロプロセッサと、前記第一のマイク
ロプロセッサから第二のマイクロプロセッサに対して割
込信号を送る手段と、共有メモリと、前記第二のマイク
ロプロセッサから前記第一のマイクロプロセッサに対し
てバス要求信号を送る手段と、前記第一のマイクロプロ
セッサから前記第二のマイクロプロセッサに対してパス
要求受付信号を送る手段と、前記第二のマイクロプロセ
ッサに前記バス要求受付信号音データノ;スよシ読み込
ませる手段と、前記バス要求信号によって前記共有メモ
リのデータバス、アドレスバス及び前記共有メモリの書
込み読み出しを制御する制御線を前記第一のマイクロプ
ロセッサ側から前記第二のマイクロプロセッサへ切替接
続する手段と、前記第二のマイクロプロセッサからのメ
モリ間転送命令によって前記共有メモリの内容を前記第
二のマイクロプロセッサのメモリに転送する手段とを有
することを特徴とする。The data transfer method of the present invention includes a first microprocessor, a second microprocessor, means for sending an interrupt signal from the first microprocessor to the second microprocessor, a shared memory, and a second microprocessor. means for transmitting a bus request signal from the second microprocessor to the first microprocessor; means for transmitting a path request acceptance signal from the first microprocessor to the second microprocessor; a control line for controlling the data bus, address bus, and writing/reading of the shared memory in accordance with the bus request signal; means for switching connection from the microprocessor side to the second microprocessor; and means for transferring the contents of the shared memory to the memory of the second microprocessor according to an inter-memory transfer command from the second microprocessor. It is characterized by having the following.
次に図面を用いて本発明の実施例を詳細に述べる。Next, embodiments of the present invention will be described in detail using the drawings.
第1図は本発明の一実施例である。即ち、−例としてサ
ブ・マイクロプロセッサ5が1き込んだ共有メモリ4の
内容をメイン舎マイクロプロセッサのメモリ3に転送す
る場合、共有メモリ4からメインゆマイクロプロセッサ
のメモリ3にデータを引渡せる状態になった時、サブ・
マイクロプロセッサ5からサブ書マイクロプロセッサの
I10制御回路8を経由してメインΦマイクロプロセツ
?lに割込信号(INT)を送る。メイン・マイクロプ
ロセッサlのプログラムの割込ルーチンでは、サブ−マ
イクロプロセッサ5にバス要求(BUSREQ)信号を
制御線12に出力する。この信号をメイン・マイクロプ
ロセッサのI10制御回路9を経由して入力したサブ・
マイクロプロセッサ5は、実行したプログラムのステッ
プで停止するとともにバス確認(BUSAK)信号を出
力する。FIG. 1 shows an embodiment of the present invention. That is, for example, when the contents of the shared memory 4 written by the sub-microprocessor 5 are transferred to the memory 3 of the main microprocessor, the data is in a state where it can be transferred from the shared memory 4 to the memory 3 of the main microprocessor. When the sub-
From the microprocessor 5 to the main Φ microprocessor via the I10 control circuit 8 of the sub microprocessor. Sends an interrupt signal (INT) to l. In the interrupt routine of the program of the main microprocessor 1, a bus request (BUSREQ) signal is output to the control line 12 to the sub-microprocessor 5. This signal is input to the sub-processor via the I10 control circuit 9 of the main microprocessor.
The microprocessor 5 stops at the step of the executed program and outputs a bus confirmation (BUSAK) signal.
バス要求信号によってバス切替回路2.2′が動作し、
共有メモリ4をメイン・マイクロプロセッサlのバス側
に切替えて、メモリ3とともにメイン・マイクロプロセ
ッサlの制御下に置く。ここでメイン・マイクロプロセ
ッサ1がIくス要求受付信号を検出すると、メモリ間の
転送命令で共有メモリ4の指定したアドレスのデータを
メイン・マイクロプロセッサのメモリ3の指定したアド
レスに転送する。The bus switching circuit 2.2' operates according to the bus request signal,
The shared memory 4 is switched to the bus side of the main microprocessor l and placed together with the memory 3 under the control of the main microprocessor l. Here, when the main microprocessor 1 detects the I-X request acceptance signal, it transfers the data at the specified address in the shared memory 4 to the specified address in the memory 3 of the main microprocessor using an inter-memory transfer command.
必要とするメモリ領域の転送が終了すると、メイン・マ
イクロプロセッサlはバス要求佐号の出力を止める。こ
の事によって再び共有メモ1ノはサブ・マイクロプロセ
ッサの制御下におかれ5通常の処理動作が再開される。When the transfer of the required memory area is completed, the main microprocessor l stops outputting the bus request number. As a result, the shared memory 1 is again placed under the control of the sub-microprocessor 5, and normal processing operations are resumed.
6.7はそれぞれメイン・マイクロプロセッサ、サブ・
マイクロプロセッサのR,OMである。6.7 are the main microprocessor and sub microprocessor, respectively.
These are microprocessors R and OM.
上記の例ではメイン参マイクロプロセッサとサブ・マイ
クロプロセッサの形式について述べたが、2つ又はそれ
以上のマイクロプロセッサに対して上記と同様の回路構
成を行う事で主従関係のないデータ転送方式も実現出来
る。In the above example, we have described the format of the main microprocessor and sub microprocessor, but by configuring the same circuit configuration as above for two or more microprocessors, a data transfer method that does not have a master-slave relationship can also be realized. I can do it.
以上に述べた如く1本発明によれば、簡単な構成のデー
タ転送方式が実現出来る。As described above, according to the present invention, a data transfer system with a simple configuration can be realized.
第1図は本発明の一実施例を示すブロック図である。
l・・・・・・メイン・マイクロプロセッサ、2.2’
°“・・・・バス切替回路% 3・・・・・・メイン・
マイクロプロセッサのメモリ、4・・・・・・共有メモ
リ、5・・・・・・サブ・マイクロプロセッサ、6・・
・・・・メイン・マイクロプロセッサのROM、7・・
・・・・サブ・マイクロプロセッサのROM、8・・・
・・・サブ・マイクロプロセッサのI10制御回路、9
・・・・・・メイン・マイクロプロセッサの■10制御
回路、10・・・・・・アドレスバス。
11・・・・・・データバス、12・・・・・・制御線
。FIG. 1 is a block diagram showing one embodiment of the present invention. l... Main microprocessor, 2.2'
°“・・・Bus switching circuit% 3・・・・・・Main・
Microprocessor memory, 4...Shared memory, 5...Sub microprocessor, 6...
... Main microprocessor ROM, 7...
...Sub microprocessor ROM, 8...
...I10 control circuit of sub-microprocessor, 9
...■10 control circuit of main microprocessor, 10...address bus. 11...Data bus, 12...Control line.
Claims (1)
ッサと、前記第一のマイクロプロセッサから前記第二の
マイクロプロセッサに対して割込信号を送る手段と、共
有メモリと、前記第二のマイクロプロセッサから前記第
一のマイクロプロセッサに対してバス要求信号を送る手
段と、前記第一のマイクロプロセッサから前記第二のマ
イクロプロセッサに対してバス要求受付信号を送る手段
と、前記第二の71クロプロセツサに前記バス要求受付
信号をデータバスよシ読み込ませる手段と、前記バス要
求信号によって前記共有メモリのデータバス、アドレス
バス及び前記共有メモリの書込み読み出しを制御する制
御線全前記第一のマイクロプロセッサ側から前記第二の
マイクロプロセッサへ切替接続する手段と、前記第二の
マイクロプロセッサからのメモリ間転送命令によって前
記共有メモリの自答全前記第二のマイクロプロセッサの
メモリに転送する手段とを有することを特徴とするデー
タ転送方式。a first microprocessor and a second microprocessor; means for sending an interrupt signal from the first microprocessor to the second microprocessor; a shared memory; means for transmitting a bus request signal to the first microprocessor; means for transmitting a bus request acceptance signal from the first microprocessor to the second microprocessor; and means for transmitting the bus request signal to the second microprocessor. means for reading an acceptance signal from a data bus; and a control line for controlling the data bus, address bus, and writing/reading of the shared memory in accordance with the bus request signal, all from the first microprocessor side to the second microprocessor side. and means for transferring all data stored in the shared memory to the memory of the second microprocessor in accordance with an inter-memory transfer command from the second microprocessor. Data transfer method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9732083A JPS59223871A (en) | 1983-06-01 | 1983-06-01 | Data transfer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9732083A JPS59223871A (en) | 1983-06-01 | 1983-06-01 | Data transfer system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS59223871A true JPS59223871A (en) | 1984-12-15 |
Family
ID=14189186
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9732083A Pending JPS59223871A (en) | 1983-06-01 | 1983-06-01 | Data transfer system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS59223871A (en) |
-
1983
- 1983-06-01 JP JP9732083A patent/JPS59223871A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2886856B2 (en) | Redundant bus connection method | |
US4737932A (en) | Processor | |
JPS621057A (en) | Transfer controller | |
US5019962A (en) | Direct memory access controller for a multi-microcomputer system | |
JPS59223871A (en) | Data transfer system | |
US5222227A (en) | Direct memory access controller for a multi-microcomputer system | |
JPH0343804A (en) | Sequence controller | |
JP2000155738A (en) | Data processor | |
JPS6269348A (en) | Data transfer device | |
JP2705955B2 (en) | Parallel information processing device | |
JPH03219359A (en) | Interface circuit | |
JPS61271555A (en) | Transferring system for direct memory access | |
JPS6217879Y2 (en) | ||
JPH0535693A (en) | Data transfer device | |
JPS6097457A (en) | Bus control method | |
JP2573790B2 (en) | Transfer control device | |
JPS5844426Y2 (en) | Inter-processor information transfer device | |
JPH01175056A (en) | Program transfer system | |
JPH0113575B2 (en) | ||
JPS62262170A (en) | Data transfer system | |
JPS63206854A (en) | Data transfer system | |
JPH04263333A (en) | Memory duplication system | |
JPH05265923A (en) | Data transfer equipment | |
JPS63163952A (en) | Data transfer system | |
JPH02307149A (en) | Direct memory access control method |