JPH01213741A - Multiprocessor system - Google Patents
Multiprocessor systemInfo
- Publication number
- JPH01213741A JPH01213741A JP3830488A JP3830488A JPH01213741A JP H01213741 A JPH01213741 A JP H01213741A JP 3830488 A JP3830488 A JP 3830488A JP 3830488 A JP3830488 A JP 3830488A JP H01213741 A JPH01213741 A JP H01213741A
- Authority
- JP
- Japan
- Prior art keywords
- command
- commands
- cpu
- shared memory
- master
- 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
- 230000015654 memory Effects 0.000 abstract description 18
- 238000004891 communication Methods 0.000 abstract description 8
- 230000001360 synchronised effect Effects 0.000 abstract description 7
- 238000000034 method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 3
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、マスタCPUからスレーブCPUにコマンド
を転送し、該スレーブCPUにおいて送られてきたコマ
ンドに対応した処理を実行するよ゛うになされたマルチ
プロセッサシステムに関する。[Detailed Description of the Invention] (Industrial Application Field) The present invention is designed to transfer a command from a master CPU to a slave CPU, and execute processing corresponding to the sent command in the slave CPU. Regarding multiprocessor systems.
(従来の技術)
従来のマルチプロセ・ノサシステムの一例を第3図に示
す。(Prior Art) An example of a conventional multi-processor system is shown in FIG.
同図において、11はマスタCPU、12は共有メモリ
、13はスレーブCPU、14はROMである。In the figure, 11 is a master CPU, 12 is a shared memory, 13 is a slave CPU, and 14 is a ROM.
本システムは、入出力タイミング制御等の複雑な処理を
、スレーブCPU13で行うことにより、マスタCPU
I lの負担を軽減し、高速処理を実現するために用い
られるものである。すなわち、マスタCPUIIから共
有メモリ12を介してスレーブCPU13にコマンドを
転送し、スレーブCPU13はROM14内のプログラ
ムによりコマンドを解析し、これに対応した処理を実行
するものである。This system allows the master CPU to perform complex processing such as input/output timing control using the slave CPU 13.
This is used to reduce the burden on Il and achieve high-speed processing. That is, a command is transferred from the master CPU II to the slave CPU 13 via the shared memory 12, and the slave CPU 13 analyzes the command using a program in the ROM 14 and executes processing corresponding to the command.
(発明が解決しようとする課題)
しかしながら、上記した従来のシステムでは、多様なコ
マンドを次々に実行する場合、マスタCPu1lとスレ
ーブCPU13間の同期を何度も取らねばならない。第
4図にこのときのデータ処理手順(フローチャート)を
示す。(Problems to be Solved by the Invention) However, in the conventional system described above, when various commands are executed one after another, synchronization between the master CPU 11 and the slave CPU 13 must be achieved many times. FIG. 4 shows the data processing procedure (flowchart) at this time.
このため、マスクCPUIIがスレーブCPU13の処
理終了待ちでしばしば停止することになり、全体として
の処理速度が低下するといった問題があった。For this reason, the mask CPU II often stops waiting for the slave CPU 13 to complete its processing, resulting in a problem that the overall processing speed decreases.
(課題を解決するための手段)
本発明は、マスタCPUからスレーブCPUにコマンド
を転送し、該スレーブCPUにおいて送られてきたコマ
ンドに対応した処理を実行するようになされたマルチプ
ロセッサシステムにおいて、前記マスタCPUから転送
される一連のコマンド群を新たなコマンドとして記憶す
る記憶手段が前記スレーブCPU側に設けられたもので
ある。(Means for Solving the Problem) The present invention provides a multiprocessor system in which a command is transferred from a master CPU to a slave CPU, and the slave CPU executes processing corresponding to the sent command. Storage means for storing a series of commands transferred from the master CPU as new commands is provided on the slave CPU side.
(作用)
一連のコマンド群を新たなコマンドとして記憶手段に記
憶する。そして、この記憶したコマンドによって一連の
コマンド群を順次実行することにより、cpu間の通信
回数を減少させる。(Operation) A series of commands is stored in the storage means as a new command. By sequentially executing a series of commands using the stored commands, the number of communications between the CPUs is reduced.
(実施例) 以下、本発明の一実施例を図面を参照して説明する。(Example) Hereinafter, one embodiment of the present invention will be described with reference to the drawings.
第1図は、本発明のマルチプロセッサシステムの概略ブ
ロック図を示している。FIG. 1 shows a schematic block diagram of a multiprocessor system of the present invention.
同図において、1はマスタCPU、2は共有メモリ、3
はスレーブCPU、4はCRTデイスプレィ等の表示装
置、5はROM、6はセグメントコマンドメモリである
。In the figure, 1 is the master CPU, 2 is the shared memory, and 3 is the master CPU.
4 is a display device such as a CRT display, 5 is a ROM, and 6 is a segment command memory.
セグメントコマンドメモリ6は、マスタCPU1から次
々に転送されて(るコマンドのうち、−連のコマンド群
を新たなコマンドとして記憶する。The segment command memory 6 stores a group of - series of commands as new commands among the commands transferred one after another from the master CPU 1.
例えば、表示装置4に出力する一画面分のコマンド群を
新たなコマンドとしてセグメントコマンドメモリ6に記
憶してお(。このような一連のコマンド群はマスタCP
UI側から指定できるものとし、このようなメモリを複
数用意しておく。For example, a group of commands for one screen to be output to the display device 4 may be stored as new commands in the segment command memory 6 (such a series of commands is stored in the master CP).
This can be specified from the UI side, and multiple such memories are prepared.
次に、上記構成のマルチプロセッサシステムの動作を説
明する。Next, the operation of the multiprocessor system having the above configuration will be explained.
マスタCPUIは表示装置4に出力を行う際、まず共有
メモリ2に出力内容に対応するコマンドを書き込む。ス
レーブCPU3は、共有メモリ2に書き込まれたコマン
ドを読み出し、このコマンドに対応する処理を、ROM
5内に格納されたプログラムに従って実行する。このと
き、共有メモリ2に書き込まれたコマンドが、セグメン
トコマンドメモリ6に記憶された一連のコマンド群を実
行するセグメント実行コマンドであるときは、スレーブ
CPU3はセグメントコマンドメモリ6かラ一連のコマ
ンド群を読み出し、この一連のコマンド群に対応する処
理を、ROM5内に格納されたプログラムに従って順次
実行する。When the master CPUI outputs to the display device 4, it first writes a command corresponding to the output content into the shared memory 2. The slave CPU 3 reads the command written in the shared memory 2, and executes the process corresponding to this command from the ROM.
Execute according to the program stored in 5. At this time, if the command written to the shared memory 2 is a segment execution command that executes a series of commands stored in the segment command memory 6, the slave CPU 3 executes the series of commands from the segment command memory 6. The commands are read and processes corresponding to this series of commands are sequentially executed according to the program stored in the ROM 5.
第2図にこのときのデータ処理手順を示す。すなわち、
マスタCPU1は、セグメント実行コマンドを共有メモ
リ2に転送して終了する(ステップ■)。一方、スレー
ブCPU3は、マスタcpU1と同期通信を行ってセグ
メント実行コマンドを受信しくステップ■)、ステップ
■でまず一連のコマンド群のうちの先頭のコマンドを実
行する。FIG. 2 shows the data processing procedure at this time. That is,
The master CPU 1 transfers the segment execution command to the shared memory 2 and ends the process (step ■). On the other hand, the slave CPU 3 performs synchronous communication with the master CPU 1 to receive the segment execution command (step (2)), and in step (2) first executes the first command of the series of commands.
そして、ステップ■でセグメントが終了したかどうかを
判断し、終了していなければステップ■に戻って2番目
のコマンドを実行する。このようなステップ■、ステッ
プ■の一連の処理を順次実行し、最後のコマンドを実行
して終了する。このように、本発明のマルチプロセッサ
システムでは、ただ−度の同期通信のみで表示装置4の
一画面の切換えを行うことができ、また、同期通信を行
った後は、マスタcputは他の処理を行うことができ
るので、並列処理能力を高めることができる。Then, in step (2), it is determined whether the segment has ended, and if it has not ended, the process returns to step (2) and executes the second command. The series of steps ① and ② is executed in sequence, and the final command is executed and the process ends. In this way, in the multiprocessor system of the present invention, one screen of the display device 4 can be switched by only one synchronous communication, and after the synchronous communication, the master cput can perform other processing. , it is possible to increase parallel processing capacity.
(発明の効果)
以上説明したように、本発明のマルチプロセッサシステ
ムによれば、CPU間の同期通信の回数を大幅に減少す
ることができる。また、これによってCPU間の並列処
理能力が向上し、高速処理が可能となる。(Effects of the Invention) As explained above, according to the multiprocessor system of the present invention, the number of synchronous communications between CPUs can be significantly reduced. Moreover, this improves the parallel processing ability between the CPUs and enables high-speed processing.
第1図は本発明のマルチプロセッサシステムの概略ブロ
ック図、第2図は同システムのフローチャート、第3図
は従来のマルチプロセッサシステムの概略ブロック図、
第4図は同システムのフローチャートである。
1・・・マスタCPU 2・・・共有メモリ3・・
・スレーブCPU 4・・・表示装置5・・・ROM
6・・・セグメントコマンドメモリ特許出
願人 積水化学工業株式会社
代表者 廣1) 馨
第7WJ
第2図
(マスタCPU) 伐レープCPU)第
3図FIG. 1 is a schematic block diagram of a multiprocessor system of the present invention, FIG. 2 is a flowchart of the same system, and FIG. 3 is a schematic block diagram of a conventional multiprocessor system.
FIG. 4 is a flowchart of the system. 1... Master CPU 2... Shared memory 3...
・Slave CPU 4...Display device 5...ROM
6... Segment Command Memory Patent Applicant Sekisui Chemical Co., Ltd. Representative Hiroshi 1) Kaoru No. 7 WJ Figure 2 (Master CPU) Fukirep CPU) Figure 3
Claims (1)
し、該スレーブCPUにおいて送られてきたコマンドに
対応した処理を実行するようになされたマルチプロセッ
サシステムにおいて、 前記マスタCPUから転送される一連のコ マンド群を新たなコマンドとして記憶する記憶手段が前
記スレーブCPU側に設けられたことを特徴とするマル
チプロセッサシステム。[Claims] 1) In a multiprocessor system configured to transfer a command from a master CPU to a slave CPU, and execute processing corresponding to the sent command in the slave CPU, A multiprocessor system, characterized in that a storage means for storing a series of commands as new commands is provided on the slave CPU side.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3830488A JPH01213741A (en) | 1988-02-19 | 1988-02-19 | Multiprocessor system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3830488A JPH01213741A (en) | 1988-02-19 | 1988-02-19 | Multiprocessor system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01213741A true JPH01213741A (en) | 1989-08-28 |
Family
ID=12521560
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3830488A Pending JPH01213741A (en) | 1988-02-19 | 1988-02-19 | Multiprocessor system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01213741A (en) |
-
1988
- 1988-02-19 JP JP3830488A patent/JPH01213741A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2829091B2 (en) | Data processing system | |
JPH01213741A (en) | Multiprocessor system | |
CN1331096C (en) | Data-processing arrangement for processing different types of data | |
JPS58225443A (en) | High-speed data processor | |
JP2594562B2 (en) | Programmable controller | |
JP2522412B2 (en) | Communication method between programmable controller and input / output device | |
JPH03288906A (en) | Instruction executing system for pc | |
JP2687716B2 (en) | Information processing device | |
JPS61151755A (en) | File revision system | |
JPH0683639A (en) | Register device | |
JPS62297954A (en) | Memory control system | |
JPS6126162A (en) | Input/output control method | |
JP2002297209A (en) | Sequence program storing method in sequence controller | |
JPH03218524A (en) | Instruction processor | |
JPS61131154A (en) | Data transfer control system | |
JPH0227405A (en) | Programmable controller | |
JPS62249256A (en) | Data transfer control processing system | |
JPH0399317A (en) | Image processor | |
JPS6383854A (en) | Data transfer circuit | |
JPH01114965A (en) | Command transfer system to processor array and its circuit | |
JPH01107295A (en) | Memory controller | |
JPH04112389A (en) | Data flow type processor control system | |
JPH02266452A (en) | Device for accessing cpu bus in other system | |
JPH02197961A (en) | Information processor | |
JPH01226250A (en) | Data communication system |