JPH0215094B2 - - Google Patents

Info

Publication number
JPH0215094B2
JPH0215094B2 JP56110859A JP11085981A JPH0215094B2 JP H0215094 B2 JPH0215094 B2 JP H0215094B2 JP 56110859 A JP56110859 A JP 56110859A JP 11085981 A JP11085981 A JP 11085981A JP H0215094 B2 JPH0215094 B2 JP H0215094B2
Authority
JP
Japan
Prior art keywords
processor
slave
slave processor
main
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 - Lifetime
Application number
JP56110859A
Other languages
Japanese (ja)
Other versions
JPS5814266A (en
Inventor
Tatsuya Kano
Manabu Iwata
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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura Electric 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP56110859A priority Critical patent/JPS5814266A/en
Publication of JPS5814266A publication Critical patent/JPS5814266A/en
Publication of JPH0215094B2 publication Critical patent/JPH0215094B2/ja
Granted 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/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Description

【発明の詳細な説明】 本発明は、マルチプロセツサ装置の制御方式、
特にデータ処理装置の分散処理におけるマルチプ
ロセツサ装置の制御方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a control system for a multiprocessor device,
In particular, the present invention relates to a control method for a multiprocessor device in distributed processing of a data processing device.

従来、複数のプロセツサを用いるマルチプロセ
ツサ装置は、第1図々示の如く、主プロセツサ1
のバスライン5に対して共通メモリ3とその制御
回路2を具備した従プロセツサ4を結合する方式
や、複数のプロセツサがバスラインをタイムシエ
アリングによつて共通に使用して結合する方式等
が採用されている。
Conventionally, in a multiprocessor device using a plurality of processors, as shown in FIG.
There is a method in which a slave processor 4 equipped with a common memory 3 and its control circuit 2 is coupled to a bus line 5 of the processor, and a method in which a plurality of processors are coupled by using a bus line in common by time sharing. It has been adopted.

しかしながら前者の方式にあつては、お互の動
作に対して干渉し合わないため、動作に制約がな
い利点を有するが、共通メモリとその制御回路と
をハード的に具備すること、及び入出力命令によ
つてリンクするためソフト上複雑となる欠点があ
る。
However, the former method has the advantage that there is no restriction on the operation because it does not interfere with each other's operations, but it requires a common memory and its control circuit to be provided as hardware, and input/output Linking is done by instructions, which has the disadvantage of making the software complex.

一方、後者のタイムシエアリング方式は、複雑
な制御回路が必要となり、スピードの異なる複数
のプロセツサの結合が難かしい等の欠点を有して
いる。
On the other hand, the latter time sharing method requires a complicated control circuit and has drawbacks such as difficulty in combining a plurality of processors with different speeds.

即ち、両者とも複数のマイクロプロセツサが共
用するメモリやバスに対して同一権利を持たすシ
ステム用としてつくられており、これを処理する
ハードウエアやソフトウエアが難かしくなつてい
るということである。
That is, both are designed for systems in which multiple microprocessors have the same rights to shared memory and buses, making it difficult to develop the hardware and software to handle this.

本発明は上記欠点を解決することを目的として
なされたものであり、1つの主なるマイクロプロ
セツサとこれに接続される従なる複数のマイクロ
プロセツサとの間のデータ転送をより効率的に行
なえるマルチプロセツサ装置の制御方式に関する
ものである。
The present invention has been made to solve the above-mentioned drawbacks, and it is an object of the present invention to more efficiently transfer data between one main microprocessor and a plurality of subordinate microprocessors connected thereto. This paper relates to a control method for a multiprocessor device.

以下図面を参照しつつ実施例を説明する。第2
図は本発明によるマルチプロセツサ装置の制御方
式を説明するための一実施例のブロツク図、第3
図は制御回路の一実施例構成図である。
Examples will be described below with reference to the drawings. Second
The figure is a block diagram of an embodiment for explaining the control method of a multiprocessor device according to the present invention.
The figure is a configuration diagram of one embodiment of the control circuit.

第2図において、6は制御回路で主バスライン
15を介して主プロセツサ1、メモリ及びI/0に
接続され、更に従バスライン16を介して従プロ
セツサ4に接続される。そして従プロセツサ4の
内部にはマイクロプロセツサ(MPU)4−1と、
メモリ4−2とがあり、これらは内部バス16−
1に夫々接続される。
In FIG. 2, a control circuit 6 is connected to the main processor 1, memory and I/0 via a main bus line 15, and further connected to the slave processor 4 via a slave bus line 16. Inside the slave processor 4, there is a microprocessor (MPU) 4-1,
There is a memory 4-2, which is connected to an internal bus 16-2.
1, respectively.

ここで従プロセツサ4は、主プロセツサ1より
制御回路6を介して起動されると、処理を開始
し、処理完了後は停止するよう構成されている。
したがつて主プロセツサ1は前記従プロセツサ4
の停止期間中、制御回路6を介して従プロセツサ
4のメモリをアクセスすることが可能となり、主
プロセツサ1と従プロセツサ4との間でデータ授
受を行なうことができる。そして各従プロセツサ
に対応して制御回路は夫々もうけられる。
Here, the slave processor 4 is configured to start processing when activated by the main processor 1 via the control circuit 6, and to stop after the processing is completed.
Therefore, the main processor 1 is similar to the slave processor 4.
During the stop period, the memory of the slave processor 4 can be accessed via the control circuit 6, and data can be exchanged between the main processor 1 and the slave processor 4. A control circuit is provided corresponding to each slave processor.

第3図によつて制御回路を説明する。FFはフ
リツプ・フロツプ回路であつて論理素子7,8か
らなつている。9はNOT回路、10はバス切換
回路、11は主プロセツサ1からの起動要求信
号、12は従プロセツサに対する起動信号、13
は従プロセツサの停止信号、14は従プロセツサ
の停止信号であつて主プロセツサが受けるもの、
15は主バスライン、16は従バスラインであ
る。
The control circuit will be explained with reference to FIG. FF is a flip-flop circuit consisting of logic elements 7 and 8. 9 is a NOT circuit, 10 is a bus switching circuit, 11 is a startup request signal from the main processor 1, 12 is a startup signal for the slave processor, 13
is a stop signal of the slave processor, 14 is a stop signal of the slave processor which is received by the main processor,
15 is a main bus line, and 16 is a sub bus line.

今、従プロセツサ4を起動するに際しては、従
プロセツサ4が停止していることを示す信号14
を主プロセツサ1が確認し、これが停止していれ
ば停止信号13によつてバス切換器10を作動さ
せ、主バスライン15を従バスライン16に接続
する。この場合、停止中の従プロセツサ4は従バ
スライン16に対して高インピーダンスとなつて
おり、したがつて主プロセツサ1より従プロセツ
サ4のメモリがアクセス可能となつて必要な処理
データを従プロセツサ4のメモリに格納し、主プ
ロセツサ1から従プロセツサ4に対して起動要求
信号11が出力される。これによつてフリツプ・
フロツプ回路FFがセツトされ、従プロセツサ4
の起動信号12が発生され、従プロセツサ4が起
動されると共に、停止信号13が無効とされる。
Now, when starting the slave processor 4, the signal 14 indicating that the slave processor 4 is stopped is used.
The main processor 1 confirms that the main bus line 15 is stopped, and if it is stopped, the stop signal 13 activates the bus switch 10 to connect the main bus line 15 to the slave bus line 16. In this case, the stopped slave processor 4 has a high impedance with respect to the slave bus line 16, so that the memory of the slave processor 4 can be accessed by the main processor 1, and necessary processing data can be transferred to the slave processor 4. The activation request signal 11 is output from the main processor 1 to the slave processor 4. This allows the flip
Flop circuit FF is set and slave processor 4
The activation signal 12 is generated, the slave processor 4 is activated, and the stop signal 13 is invalidated.

そこでバス切換器10は主バスライン15、従
バスライン16を切り離し、フリツプ・フロツプ
回路FFがリセツトされ、従プロセツサの起動信
号が無効とされる。
Therefore, the bus switch 10 disconnects the main bus line 15 and the slave bus line 16, the flip-flop circuit FF is reset, and the activation signal of the slave processor is invalidated.

そこで従プロセツサ4が起動されると、主プロ
セツサ1からのデータに応じて処理が行なわれ、
処理が完了すると自分自身で停止し、停止信号1
3を発生する。そこで主プロセツサ1は従プロセ
ツサ4からの停止信号14を認識するまでは別の
処理を行なうことができ、従プロセツサ4が停止
すると、前記従プロセツサ4のメモリから処理結
果を取り出し、次の処理を行なわせることができ
る。
When the slave processor 4 is activated, processing is performed according to the data from the main processor 1.
When the process is completed, it will stop by itself and stop signal 1
Generates 3. Therefore, the main processor 1 can perform other processing until it recognizes the stop signal 14 from the slave processor 4, and when the slave processor 4 stops, it retrieves the processing result from the memory of the slave processor 4 and starts the next process. I can make you do it.

したがつて従プロセツサが常時処理を実行し続
ける必要のないシステムにおいて特に有効である
ことがわかる。なんとなれば従プロセツサは処理
終了後、自動的に停止して内部バスを主プロセツ
サに開放し、従プロセツサ内のメモリを主プロセ
ツサ側からアクセス可能としているために、従来
共通メモリ方式で必要とした共通メモリ制御回路
及び共通メモリが不要となつてハードウエア構成
が簡単になるからであり、更に従プロセツサのソ
フトウエアに対しては、主プロセツサが直接従プ
ロセツサ内のメモリをアクセスするため、これら
データ授受のための特殊なソフトウエアを追加す
る必要がないためでもある。
Therefore, it can be seen that the present invention is particularly effective in systems where the slave processor does not need to constantly execute processing. This is because after the slave processor completes processing, it automatically stops and releases the internal bus to the main processor, making the memory in the slave processor accessible from the main processor, which is not necessary in the conventional common memory method. This is because a common memory control circuit and a common memory are not required, which simplifies the hardware configuration.Furthermore, since the main processor directly accesses the memory in the slave processor, this data is This is also because there is no need to add special software for sending and receiving.

以上説明した如く、本発明によれば1つの主プ
ロセツサと複数の従プロセツサとによるマルチプ
ロセツサの制御方式において、従プロセツサの停
止中に、主プロセツサ側から従プロセツサのメモ
リをアクセスし得る制御回路をもうける構成とし
たため、簡単な制御回路の付加のみで処理能力に
応じた従プロセツサの数を増すことができ、プロ
セツサの処理スピードが異なる場合等に利点があ
る。又プロセツサの割込み機能を利用すれば、更
に有効であることは勿論のこと、プロセツサ間の
データ授受における制御時間が短縮でき、分散処
理能力をより向上できる。
As explained above, according to the present invention, in a multiprocessor control system using one main processor and a plurality of slave processors, a control circuit is provided that allows the main processor to access the memory of the slave processor while the slave processor is stopped. Because of this structure, the number of slave processors can be increased according to the processing capacity by simply adding a control circuit, which is advantageous when the processors have different processing speeds. Moreover, if the interrupt function of the processor is used, it is not only more effective, but also the control time for data exchange between processors can be shortened, and the distributed processing capacity can be further improved.

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

第1図は従来のマルチプロセツサ装置を示すブ
ロツク図、第2図は本発明によるマルチプロセツ
サ装置の制御方式を示す一実施例ブロツク図、第
3図は制御回路の一実施例構成図である。 1…主プロセツサ(CPU)、2…共通メモリ制
御回路(CNT)、3…共通メモリ(CM)、4…
従プロセツサ(CPU)、5…主バスライン、6…
制御回路(IF)、7,8…NAND回路、9…
NOT回路、10…バス切換器、11…従プロセ
ツサの起動要求信号、12…従プロセツサ起動信
号、13…従プロセツサ停止信号、14…従プロ
セツサ停止中信号、15…主バスライン、16…
従バスライン、FF…フリツプ・フロツプ回路。
FIG. 1 is a block diagram showing a conventional multiprocessor device, FIG. 2 is a block diagram showing an embodiment of a control method for a multiprocessor device according to the present invention, and FIG. 3 is a block diagram of an embodiment of a control circuit. be. 1...Main processor (CPU), 2...Common memory control circuit (CNT), 3...Common memory (CM), 4...
Slave processor (CPU), 5...Main bus line, 6...
Control circuit (IF), 7, 8...NAND circuit, 9...
NOT circuit, 10...Bus switch, 11...Slave processor start request signal, 12...Slave processor start signal, 13...Slave processor stop signal, 14...Slave processor stop signal, 15...Main bus line, 16...
Slave bus line, FF...flip-flop circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 主プロセツサと複数の従プロセツサとの間で
データバスを介して相互にデータ転送し合うマル
チプロセツサ装置の制御方式において、各従プロ
セツサに夫々制御装置をもうけ、前記従プロセツ
サの停止期間中に、主プロセツサから従プロセツ
サのメモリをアクセス可能にすることにより、従
プロセツサのメモリを介して各プロセツサ間のデ
ータ授受を行なうことを特徴とするマルチプロセ
ツサ装置の制御方式。
1. In a control method for a multiprocessor device in which data is mutually transferred between a main processor and a plurality of slave processors via a data bus, each slave processor is provided with a control device, and during a period when the slave processors are stopped, A control system for a multiprocessor device, characterized in that data is exchanged between processors via the memory of the slave processor by making the memory of the slave processor accessible from the main processor.
JP56110859A 1981-07-17 1981-07-17 Control system for multi-processor Granted JPS5814266A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56110859A JPS5814266A (en) 1981-07-17 1981-07-17 Control system for multi-processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56110859A JPS5814266A (en) 1981-07-17 1981-07-17 Control system for multi-processor

Publications (2)

Publication Number Publication Date
JPS5814266A JPS5814266A (en) 1983-01-27
JPH0215094B2 true JPH0215094B2 (en) 1990-04-11

Family

ID=14546475

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56110859A Granted JPS5814266A (en) 1981-07-17 1981-07-17 Control system for multi-processor

Country Status (1)

Country Link
JP (1) JPS5814266A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0666593U (en) * 1993-03-02 1994-09-20 積水樹脂株式会社 Clothes hangers

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04294440A (en) * 1991-03-22 1992-10-19 Koufu Nippon Denki Kk Inter-processor data transfer system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0666593U (en) * 1993-03-02 1994-09-20 積水樹脂株式会社 Clothes hangers

Also Published As

Publication number Publication date
JPS5814266A (en) 1983-01-27

Similar Documents

Publication Publication Date Title
JPS5837585B2 (en) Keisan Kisouchi
CA1158737A (en) Shared synchronous memory multiprocessing arrangement
JPS5853379B2 (en) Multiprocessing device microcomputer
JPH0354375B2 (en)
JPS60198667A (en) Integrated circuit incorporating processor and memory
JPS6152507B2 (en)
JPH0215094B2 (en)
JPS63175962A (en) Direct memory access controller
JPS5622160A (en) Data processing system having additional processor
CA1105148A (en) Direct memory access expander unit for use with a microprocessor
JPS6315953Y2 (en)
JPS6240565A (en) Memory control system
JP2705955B2 (en) Parallel information processing device
JPH0562384B2 (en)
JPS6363941B2 (en)
JP2982301B2 (en) Computer equipment
JP2610971B2 (en) Direct memory access method between central processing units
JPS6162158A (en) Data delivering and receiving system
JPH04225458A (en) Computer
JPS63278168A (en) Bus controller
JP2505792B2 (en) Micro computer system
JPH0575140B2 (en)
JPS6362068A (en) Inter-processor interface circuit
JPS5975354A (en) Processor device
JPH06208542A (en) Bus contention system