JPS63265353A - Multi-processor system - Google Patents

Multi-processor system

Info

Publication number
JPS63265353A
JPS63265353A JP10066087A JP10066087A JPS63265353A JP S63265353 A JPS63265353 A JP S63265353A JP 10066087 A JP10066087 A JP 10066087A JP 10066087 A JP10066087 A JP 10066087A JP S63265353 A JPS63265353 A JP S63265353A
Authority
JP
Japan
Prior art keywords
bus hold
bus
processors
hold request
slave
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
Application number
JP10066087A
Other languages
Japanese (ja)
Inventor
Hidekazu Tanaka
英和 田中
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP10066087A priority Critical patent/JPS63265353A/en
Publication of JPS63265353A publication Critical patent/JPS63265353A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To instantaneously stop and restart the operations of slave processors by executing the output control of a bus holding request signal to each slave processor via a bus holding request line by a master processor. CONSTITUTION:When the operations of slave processors 2a-2n are interrupted, the bus holding request signals are outputted to a bus holding request line 6 via a bus holding request line control circuit 8 of the master processor 1 and then sent to the bus holding circuit 9 of processors 2a-2n respectively. Thus the execution of programs are inhibited by the circuits 9 for processors 2a-2n. When the operations of the processors 2a-2n are started again, the output of the bus holding request signal given from the circuit 8 is stopped. Thus the execution of programs inhibited by the circuits 9 are released and the operations of processors 2a-2n are restarted. In this case, the stop and restart of operations of processors 2a-2n are carried out almost simultaneously with the control of the output state of the bus holding request signal.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、マスタプロセッサと複数のスレイブプロセ
ッサとを有してなるマルチプロセッサシステムに関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a multiprocessor system having a master processor and a plurality of slave processors.

[従来の技術] 第4図は例えば特開昭55−39908号公報に示され
た従来のマルチプロセッサシステムを示すブロック図で
あり、図において、1はマスタプロセッサ、2a、2b
、・・・、2nはいずれもマスタプロセッサ1によりそ
の動作を制御されるスレイブプロセッサ、3はマスタプ
ロセッサ1およびスレイブプロセッサ28〜2nを互い
に結合するデータバス線、4はマスタプロセッサ1およ
びスレイブプロセッサ2a〜2nを互いに結合する単一
の割込み要求線、5はデータバス線3を介して各マスタ
プロセッサ1およびスレイブプロセッサ28〜2nに接
続された共有メモリである。
[Prior Art] FIG. 4 is a block diagram showing a conventional multiprocessor system disclosed in, for example, Japanese Unexamined Patent Publication No. 55-39908. In the figure, 1 is a master processor, 2a, 2b
, . . . , 2n are all slave processors whose operations are controlled by the master processor 1, 3 is a data bus line that connects the master processor 1 and the slave processors 28 to 2n, and 4 is the master processor 1 and slave processor 2a. A single interrupt request line, 5, which couples .about.2n to each other, is a shared memory connected to each master processor 1 and slave processors 28 to 2n via data bus line 3.

次に動作について説明する。マスタプロセッサ1により
スレイブプロセッサ28〜2nの実行を中断させたい・
場合には、まず、マスタプロセッサ1は、共有メモリ5
内の各スレイブプロセッサ2a〜2n向けの伝達エリア
に、プログラムによリ中断要求を書き込んだ後、割込み
要求s4を有意とし割込み要求を発生する。この割込み
要求は、マスタプロセッサ1およびすべてのスレイブプ
ロセッサ28〜2nに対して入力される。
Next, the operation will be explained. I want to interrupt the execution of slave processors 28 to 2n by master processor 1.
In this case, the master processor 1 first uses the shared memory 5
After a program writes a re-interruption request to the transmission area for each slave processor 2a to 2n within, the interrupt request s4 is made significant and an interrupt request is generated. This interrupt request is input to master processor 1 and all slave processors 28-2n.

そして、各スレイブプロセッサ28〜2nは、データバ
ス11A3の使用優先順位に従って、順次各プロセッサ
2a〜2nに割り当てられた共有メモリ5内の伝達エリ
アを読み出し、その内容を判断してプログラム的に実行
を中断する。
Then, each slave processor 28 to 2n sequentially reads the transmission area in the shared memory 5 assigned to each processor 2a to 2n according to the usage priority of the data bus 11A3, judges the contents, and executes it programmatically. Interrupt.

また、マスタプロセッサ1によりスレイブプロセッサ2
a〜2nの実行を再開する場合には、上述した中断要求
の場合と同様に、マスタプロセッサ1が、共有メモリ5
内の各スレイブプロセッサ28〜2n向けの伝達エリア
にプログラムにより再開要求を書き込んだ後1割込み要
求を発生し、各スレイブプログラム2a〜2nは、各伝
達エリアを読み出すことでプログラム的に実行を再開す
る。
In addition, master processor 1 controls slave processor 2.
When resuming execution of a to 2n, the master processor 1 uses the shared memory 5 as in the case of the above-mentioned interruption request.
After a program writes a restart request to the transmission area for each slave processor 28 to 2n, one interrupt request is generated, and each slave program 2a to 2n resumes execution programmatically by reading each transmission area. .

[発明が解決しようとする問題点コ 従来のマルチプロセッサシステムは以上のように構成さ
れ制御されており、スレイブプロセッサ2a〜2nの実
行中断・再開等の制御をプログラムにより実現している
ため、各スレイブプロセッサ2a〜2nを同時タイミン
グで実行制御することは不可能であり、また、複雑なプ
ログラムが必要であるなどの問題点があった。
[Problems to be Solved by the Invention] Conventional multiprocessor systems are configured and controlled as described above, and control for suspending and resuming execution of the slave processors 2a to 2n is realized by a program. It is impossible to control the execution of the slave processors 2a to 2n at the same time, and there are problems in that a complicated program is required.

この発明は上記のような問題点を解消するためになされ
たもので、プログラムによることなく、マスタプロセッ
サによるスレイブプロセッサの実行中断・再開等の制御
を即時に行なえるようにしたマルチプロセッサシステム
を得ることを目的とする。
This invention was made to solve the above-mentioned problems, and provides a multiprocessor system in which a master processor can immediately control execution suspension and resumption of slave processors without using a program. The purpose is to

[問題点を解決するための手段] この発明に係るマルチプロセッサシステムは、マスタプ
ロセッサと各スレイブプロセッサとの相互間に単一のバ
スホールド要求線をそなえ、同バスホールド要求線への
バスホールド要求信号の出力を制御するバスホールド要
求線制御回路を上記マスタプロセッサに設けるとともに
、上記バスホールド要求線を介し上記バスホールド要求
線制御回路からのバスホールド要求信号を受けている間
プログラム実行を禁止するバスホールド回路を上記の各
スレイブプロセッサに設けたものである。
[Means for Solving the Problems] A multiprocessor system according to the present invention includes a single bus hold request line between a master processor and each slave processor, and transmits a bus hold request to the bus hold request line. A bus hold request line control circuit for controlling signal output is provided in the master processor, and program execution is prohibited while receiving a bus hold request signal from the bus hold request line control circuit via the bus hold request line. A bus hold circuit is provided in each of the slave processors mentioned above.

[作   用コ この発明におけるマルチプロセッサシステムでは、各ス
レイブプロセッサの実行中断要求時には。
[Function] In the multiprocessor system according to the present invention, when a request is made to interrupt the execution of each slave processor.

マスタプロセッサのバスホールド要求線制御回路により
、バスホールド要求線へバスホールド要求信号が出力さ
れ上記スレイブプロセッサにおけるバスホールド回路へ
送られ、このバスホールド回路により、上記スレイブプ
ロセッサにおけるプログラム実行が禁止される。また、
上記スレイブプロセッサの実行再開要求時には、上記バ
スホールド要求線制御回路からの上記バスホールド要求
信号の出力を停止することで、上記バスホールド回路に
よるプログラム実行の禁止状態が解除され、上記スレイ
ブプロセッサの実行が再開される。
The bus hold request line control circuit of the master processor outputs a bus hold request signal to the bus hold request line and sends it to the bus hold circuit in the slave processor, and this bus hold circuit inhibits program execution in the slave processor. . Also,
When a request is made to resume execution of the slave processor, by stopping the output of the bus hold request signal from the bus hold request line control circuit, the inhibited state of program execution by the bus hold circuit is released, and the execution of the slave processor is canceled. will be resumed.

[発明の実施例] 以下、この発明の一実施例を図について説明する。第1
図において、第4図と同一符号は同一または相当部分を
示し、6はマスタプロセッサ1およびスレイブプロセッ
サ2a〜2nを互いに結合する単一のバスホールド要求
線、7は各プロセッサ1,2a〜2nの核となるマイク
ロプロセッサLSI、8はマイクロプロセッサLSI7
によって制御されるマスタプロセッサ1におけるバスホ
ールド要求線制御回路(第2図参照)で、バスホールド
要求線6の有意/無意(有意の状態がバスホールド要求
信号の出力状態に対応)を制御するものである。9は各
スレイブプロセッサ28〜2nにおけるバスホールド回
路(第3図参照)で、バスホールド要求線6が有意の間
(バスホールド要求信号が出力されている間)は、各ス
レイブプロセッサ2a〜2nにおけるプログラム実行を
禁止するものである。
[Embodiment of the Invention] An embodiment of the invention will be described below with reference to the drawings. 1st
In the figure, the same reference numerals as in FIG. 4 indicate the same or equivalent parts, 6 is a single bus hold request line that connects the master processor 1 and slave processors 2a to 2n, and 7 is a bus hold request line for each of the processors 1, 2a to 2n. The core microprocessor LSI, 8 is microprocessor LSI 7
A bus hold request line control circuit (see FIG. 2) in the master processor 1 controlled by the bus hold request line 6, which controls the significance/insignificance of the bus hold request line 6 (the significant state corresponds to the output state of the bus hold request signal). It is. 9 is a bus hold circuit in each slave processor 28 to 2n (see FIG. 3), and while the bus hold request line 6 is significant (while the bus hold request signal is being output), the bus hold circuit in each slave processor 2a to 2n is This prohibits program execution.

また、第2図はバスホールド要求線制御回路8の一構成
例を示すもので、第2図において、10はDフリップフ
ロップ、11はDフリップフロップ10のQ出力を入力
とするインバータタイプのドライバで、その出力がバス
ホールド要求線6に接続される。また、12はDフリッ
プフロップ10をセットするバスホールド要求セットラ
イン、13はDフリップフロップ10をリセットするバ
スホールド要求リセットライン、14はマスタプロセッ
サ1のイニシャライズ信号入力ラインである。
FIG. 2 shows an example of the configuration of the bus hold request line control circuit 8. In FIG. 2, 10 is a D flip-flop, and 11 is an inverter type driver that receives the Q output of the D flip-flop 10. The output thereof is connected to the bus hold request line 6. Further, 12 is a bus hold request set line for setting the D flip-flop 10, 13 is a bus hold request reset line for resetting the D flip-flop 10, and 14 is an initialization signal input line for the master processor 1.

さらに、第3図はバスホールド回路9の一構成例を示す
もので、第3図において、15はバスホールド要求線6
を入力とするインバータタイプのレシーバ、16はOR
ゲートで、レシーバ15の出力と、各スレイブプロセッ
サ2a〜2nにおける内部バスホールド要求線(バスホ
ールド要求線6に直接接続されたもの)17とを入力と
し、その出力がマイクロプロセッサLSI7のバス使用
権制御端子(HOLD)に接続されたものである。
Furthermore, FIG. 3 shows an example of the configuration of the bus hold circuit 9. In FIG. 3, 15 indicates a bus hold request line 6.
Inverter type receiver with input, 16 is OR
The output of the receiver 15 and the internal bus hold request line (directly connected to the bus hold request line 6) 17 of each slave processor 2a to 2n are input to the gate, and its output is used as the bus usage right of the microprocessor LSI 7. It is connected to the control terminal (HOLD).

次に動作について説明する。マスタプロセッサ1により
スレイブプロセッサ28〜2nの実行を中断させたい場
合には、まず、マスタプロセッサ1は、バスホールド要
求セットライン12を有意としDフリップフロップ1o
をセットすることにより、バスホールド要求線6を有意
とする(即ち、バスホールド要求信号を出力する)。
Next, the operation will be explained. When the master processor 1 wants to interrupt the execution of the slave processors 28 to 2n, the master processor 1 first makes the bus hold request set line 12 significant and switches the D flip-flop 1o.
By setting , the bus hold request line 6 is made significant (that is, the bus hold request signal is output).

バスホールド要求線6が有、意となると、各スレイブプ
ロセッサ2a〜2nにおいて、レシーバ15およびOR
ゲート16を介しマイクロプロセッサLSI7のバス使
用権制御端子(HOLD)が有意となり、数マイクロ秒
後、マイクロプロセッサLSI7はデータバス使用権を
放棄して処理を中断し、新たなプログラムの実行を禁止
する。
When the bus hold request line 6 is present or active, the receiver 15 and the OR
The bus right control terminal (HOLD) of the microprocessor LSI 7 becomes significant through the gate 16, and after a few microseconds, the microprocessor LSI 7 relinquishes the right to use the data bus, suspends processing, and prohibits the execution of a new program. .

また、マスタプロセッサ1によりスレイブプロセッサ2
a〜2nの実行を再開する場合には、マスタプロセッサ
1が、バスホールド要求リセットライン13をLレベル
からHレベルに切り換え、Dフリップフロップ10をリ
セットすることにより、バスホールド要求線6を無意と
する(即ち、バスホールド要求信号の出力を停止する)
In addition, master processor 1 controls slave processor 2.
When restarting execution of steps a to 2n, master processor 1 switches bus hold request reset line 13 from L level to H level and resets D flip-flop 10, thereby inadvertently disconnecting bus hold request line 6. (i.e., stop outputting the bus hold request signal)
.

バスホールド要求IIA6が無意となると、各スレイブ
プロセッサ2a〜2nにおいて、レシーバ15およびO
Rゲート16を介しマイクロプロセッサLSI7のバス
使用権制御端子(HOLD)が無意となり、数マイクロ
秒後、マイクロプロセツ・すLSI7は、中断要求によ
りバス使用権を放棄した処理の次の処理からプログラム
の実行を再開する。
When the bus hold request IIA6 becomes invalid, the receiver 15 and O
The bus right control terminal (HOLD) of the microprocessor LSI 7 becomes inactive via the R gate 16, and after a few microseconds, the microprocessor LSI 7 starts programming from the next process after the process for which the bus right was relinquished due to an interrupt request. Resumes execution.

このように、従来は共有メモリ5への書込みや読出しを
行ないプログラムにより中断・再開要求を実現していた
が、本実施例によれば、プログラムによることなく、マ
スタプロセッサ1からのバスホールド要求信号の出力状
態を制御することで、その要求信号の出力とほぼ同時に
、スレイブプロセッサ2a〜2nにおける実行中断・再
開が即時に制御されるようになる。
In this way, in the past, interrupt/resume requests were realized by a program by writing to or reading from the shared memory 5, but according to this embodiment, the bus hold request signal from the master processor 1 is realized without using a program. By controlling the output state of the slave processors 2a to 2n, execution suspension and resumption in the slave processors 2a to 2n can be controlled immediately almost simultaneously with the output of the request signal.

なお、上記実施例では、マスタプロセッサ1およびスレ
イブプロセッサ28〜2nは、それぞれマイクロプロセ
ッサLSI7を内蔵する構成として説明したが、バスホ
ールド要求線制御回路8とプロセッサ2a〜2nの新た
なバス使用を禁止するバスホールド回路9とを構成でき
れば、どのような構成であってもよい。
In the above embodiment, the master processor 1 and the slave processors 28 to 2n each have a built-in microprocessor LSI 7, but the bus hold request line control circuit 8 and the processors 2a to 2n are prohibited from using a new bus. Any configuration may be used as long as the bus hold circuit 9 can be configured.

[発明の効果] 以上のように、この発明によれば、マスタプロセッサと
各スレイブプロセッサとの相互間をバスホールド要求線
により結び、上記マスタプロセッサにバスホールド要求
線制御回路を設けるとともに、上記スレイブプロセッサ
にバスホールド回路を設けたので、プログラムによるこ
となく、スレイブプロセッサにおける実行中断・再開を
、上記バスホールド要求信号の出力状態の制御とほぼ同
時に行なえる効果がある。
[Effects of the Invention] As described above, according to the present invention, a master processor and each slave processor are interconnected by a bus hold request line, the master processor is provided with a bus hold request line control circuit, and the slave processor is provided with a bus hold request line control circuit. Since the processor is provided with a bus hold circuit, it is possible to suspend and resume execution in the slave processor almost simultaneously with controlling the output state of the bus hold request signal without using a program.

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

第1図はこの発明の一実施例によるマルチプロセッサシ
ステムを示すブロック図、第2図は上記実施例における
バスホールド要求線制御回路の構成例を示す回路図、第
3図は上記実施例におけるバスホールド回路の構成例を
示す回路図、第4図は従来のマルチプロセッサシステム
を示すブロック図である。 図において、1−マスタプロセッサ、2a。 2b、・・・、2n・−スレイブプロセッサ、ローパス
ホールド要求線、8・−バスホールド要求線制御回路、
9−バスホールド回路。 なお、図中、同一の符号は同一、又は相当部分を示して
いる。
FIG. 1 is a block diagram showing a multiprocessor system according to an embodiment of the present invention, FIG. 2 is a circuit diagram showing a configuration example of a bus hold request line control circuit in the above embodiment, and FIG. FIG. 4 is a circuit diagram showing an example of the configuration of a hold circuit. FIG. 4 is a block diagram showing a conventional multiprocessor system. In the figure: 1-master processor, 2a; 2b,..., 2n--slave processor, low-pass hold request line, 8--bus hold request line control circuit,
9-Bass hold circuit. In addition, in the figures, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] マスタプロセッサと、同マスタプロセッサにより制御さ
れる複数のスレイブプロセッサとからなるマルチプロセ
ッサシステムにおいて、上記マスタプロセッサと上記の
各スレイブプロセッサとの相互間に単一のバスホールド
要求線をそなえ、上記マスタプロセッサに、上記バスホ
ールド要求線へのバスホールド要求信号の出力を制御す
るバスホールド要求線制御回路が設けられるとともに、
上記の各スレイブプロセッサに、上記バスホールド要求
線を介し上記バスホールド要求線制御回路からのバスホ
ールド要求信号を受けている間プログラム実行を禁止す
るバスホールド回路が設けられたことを特徴とするマル
チプロセッサシステム。
In a multiprocessor system consisting of a master processor and a plurality of slave processors controlled by the master processor, a single bus hold request line is provided between the master processor and each of the slave processors, and the master processor A bus hold request line control circuit is provided for controlling the output of a bus hold request signal to the bus hold request line, and
Each of the slave processors is provided with a bus hold circuit that inhibits program execution while receiving a bus hold request signal from the bus hold request line control circuit via the bus hold request line. processor system.
JP10066087A 1987-04-22 1987-04-22 Multi-processor system Pending JPS63265353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10066087A JPS63265353A (en) 1987-04-22 1987-04-22 Multi-processor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10066087A JPS63265353A (en) 1987-04-22 1987-04-22 Multi-processor system

Publications (1)

Publication Number Publication Date
JPS63265353A true JPS63265353A (en) 1988-11-01

Family

ID=14279957

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10066087A Pending JPS63265353A (en) 1987-04-22 1987-04-22 Multi-processor system

Country Status (1)

Country Link
JP (1) JPS63265353A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02172791A (en) * 1988-12-27 1990-07-04 Toshiba Corp Information recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02172791A (en) * 1988-12-27 1990-07-04 Toshiba Corp Information recording medium

Similar Documents

Publication Publication Date Title
JPH04246740A (en) Microcomputer
JPS6031648A (en) Controlling method of multitask
US5481756A (en) DMA controller mailing auto-initialize halting unit
JPS63265353A (en) Multi-processor system
JPS623366A (en) Multi-processor system
JPS63298663A (en) Control system for multiprocessor system
JP3187117B2 (en) One-chip microcomputer with built-in multiprocessor
JPH0355657A (en) Shared memory access method for multi-task/multi-processor system
JP2802091B2 (en) Interrupt vector control method
JP2002312302A (en) Peripheral device
JP3033722B2 (en) TOD matching controller in multiprocessor system
JPH05257903A (en) Multiprocessor system
JPH02224048A (en) Information processor
JPH03278133A (en) Central processing unit
JPH04306754A (en) Dma controller
JPH02255920A (en) Piggy-back chip
JPS63310035A (en) Microcomputer
JPS5856057A (en) Interruption signal generating device
JPH01310466A (en) Multiprocessor system
JPH03179532A (en) Computer device
JPS59223873A (en) Control method of multi-processor
JPH02222058A (en) Multiprocessor system
JPH052496A (en) Multi-task monitor
JPH0351935A (en) Test method for dual port memory
JPH044437A (en) Maintenance device for multiprocessor system