JPS61264467A - Control system for multi-processor system - Google Patents

Control system for multi-processor system

Info

Publication number
JPS61264467A
JPS61264467A JP10721685A JP10721685A JPS61264467A JP S61264467 A JPS61264467 A JP S61264467A JP 10721685 A JP10721685 A JP 10721685A JP 10721685 A JP10721685 A JP 10721685A JP S61264467 A JPS61264467 A JP S61264467A
Authority
JP
Japan
Prior art keywords
interrupt
cpu
unit
circuit
interruption
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
JP10721685A
Other languages
Japanese (ja)
Inventor
Tetsuo Yano
矢野 哲雄
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 JP10721685A priority Critical patent/JPS61264467A/en
Publication of JPS61264467A publication Critical patent/JPS61264467A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To avoid the invalid processing of another processor by providing an interruption request circuit at the interruption receiving side and producing an interruption only to the processor at the remote side when the information is exchanged between processors. CONSTITUTION:A CPU #1 unit 1 writes the information to be transmitted to an information exchange area C2 of a shared memory 9 and executes an interruption instruction OUT-02H against a CPU #2 unit 2. The unique value discriminating CPU#1-CPU#3 is set previously to a setting circuit 10. For instance, 02H is set with the unit 2. Therefore the 02H is delivered to an address line 11 and the coincidence signal is delivered only from a coincidence detecting signal 13 of the unit 2. Then an interruption signal INT is produced as the output of an AND circuit 14 which secures an AND with an OUT signal 12 produced by an interruption instruction. While no interruption signal is produced for units 1 and 2.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、共通バス線に接続される複数のプロセッサユ
ニットカラなるマルチプロセッサシステムの制御方式に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a control method for a multiprocessor system including a plurality of processor units connected to a common bus line.

〔従来の技術〕[Conventional technology]

第3図は例えば特公昭55−39908号公報ニ示すれ
たマルチプロセッサの制御方式を示す構成図であり、図
において1〜3はCPUす1ユニツト〜CPUす3ユニ
ツト、7は共通バス線、8は単一の割込み要求線である
。9は共有メモリであり、CPU◆1ユニット1〜CP
U+3ユニット3間の情報交換領域01〜C3を有して
いる。
FIG. 3 is a block diagram showing the control system of a multiprocessor as disclosed in, for example, Japanese Patent Publication No. 55-39908. In the figure, 1 to 3 are CPU 1 unit to CPU 3 units, 7 is a common bus line, 8 is a single interrupt request line. 9 is a shared memory, CPU◆1 unit 1~CP
It has information exchange areas 01 to C3 between U+3 units 3.

次に動作について説明する。例えば、CPUす1ユニツ
ト1からプロセラサナ2ユニツト2に対して事象を伝え
る必要が発生した場合、CPUす1ユニツト1は共有メ
モリ9の情報交換領域C2に事象情報を書込み、その後
、割込要求を割込要求線8に出力する。CPUすlユニ
ット1〜CPUす3ユニツト3は、この割込み発生に伴
ない、各々の情報交換領域01〜C3の内容を読出し、
自分あての割込みか否かを判定する。この判定の結果、
自分あての割込みでないCPUす1ユニツト1、及びC
PUす3ユニツト3はこの割込みに対して無効割込とし
て処理するが、CPUφ2ユニット2は自分あての割込
みと判定し、情報交換領域C2の内容に基き、処理を実
行する。
Next, the operation will be explained. For example, when it becomes necessary to transmit an event from CPU 1 unit 1 to processor processor 2 unit 2, CPU 1 unit 1 writes the event information to information exchange area C2 of shared memory 9, and then sends an interrupt request. Output to interrupt request line 8. In response to the occurrence of this interrupt, the CPU units 1 to 3 read the contents of their respective information exchange areas 01 to C3, and
Determine whether or not the interrupt is addressed to you. As a result of this judgment,
CPU 1 unit 1, and C that are not addressed to the interrupt
The CPU 3 unit 3 processes this interrupt as an invalid interrupt, but the CPU φ2 unit 2 determines that the interrupt is addressed to itself and executes processing based on the contents of the information exchange area C2.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のマルチプロセッサの制御方式は2以上のように構
成されているので、各プロセッサユニットが他のプロセ
ッサユニットに割込みを発生させるたびに全てのプロセ
ッサが割込処理を行なう必要が65.Lかも、有効な処
理を行なっているプロセッサユニットは、ただ一つのユ
ニットでろジ1他のプロセッサは無効な処理を実行しな
ければならないという問題点があった。
Conventional multiprocessor control systems are configured in two or more ways, so every time each processor unit generates an interrupt for another processor unit, all processors must process the interrupt.65. However, there is a problem in that only one processor unit is performing valid processing, and other processors must execute invalid processing.

この発明は、上記のような問題点を解消するためになさ
れたもので、マルチプロセッサ間の情報交換を行なうマ
ルチプロセッサの制御方式において、関与しないプロセ
ッサに対する無効処理を無くシ、システム全体の性能を
向上させるとともに、各プロセッサ間の割込信号線を不
要とするマルチプロセッサの制御方式を得ることを目的
とする。
This invention was made in order to solve the above-mentioned problems, and in a multiprocessor control method that exchanges information between multiprocessors, it eliminates invalid processing for uninvolved processors and improves the performance of the entire system. It is an object of the present invention to provide a multiprocessor control system that improves the performance of the computer and eliminates the need for interrupt signal lines between processors.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係るマルチプロセッサシステムの制御方式は
、割込信号を送出する割込要求回路を複数のプロセッサ
ユニット内の割込受付側に夫々設け、前記複数のプロセ
ッサユニット間で事象伝達後、共通に接続される共通バ
ス線上に割込信号を送出して割込命令を実行するように
したものである。
In the control method of the multiprocessor system according to the present invention, an interrupt request circuit that sends an interrupt signal is provided on the interrupt receiving side of a plurality of processor units, and after an event is transmitted between the plurality of processor units, a common interrupt request circuit is provided. The interrupt command is executed by sending an interrupt signal onto the connected common bus line.

〔作 用〕[For production]

この発明における割込要求回路は、割込発生側プロセッ
サに設けず、割込受付側ユニットに設けたので、割込発
生に伴ない割込処理が行なわれるのは、割込受付側ユニ
ットだけであジ、関与しないプロセッサユニットの割込
処理が無意に実行されることはない。
The interrupt request circuit in this invention is not provided in the processor on the interrupt generation side, but on the interrupt reception side, so that only the interrupt reception side performs interrupt processing when an interrupt occurs. Additionally, interrupt processing by unrelated processor units will not be executed unexpectedly.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図において、1〜3はCPUすl〜CPUφ3ユニット
、4〜6は割込要求回路、7は共通パス線、9は共有メ
モリで6り、CPU≠1.CPUす3ユニット1〜3間
の情報交換領域01〜C3を有する。
An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, 1 to 3 are CPUs l to CPUφ3 units, 4 to 6 are interrupt request circuits, 7 is a common path line, 9 is a shared memory, and CPU≠1. The CPU 3 has information exchange areas 01 to C3 between units 1 to 3.

第2図は、第1図における割込要求回路4〜6の詳細を
示すブロック図であり、図において、10は設定回路、
11はアドレス線、12はOUT信号、13は一致検出
回路、14はAND回路である。
FIG. 2 is a block diagram showing details of the interrupt request circuits 4 to 6 in FIG. 1, and in the figure, 10 is a setting circuit;
11 is an address line, 12 is an OUT signal, 13 is a coincidence detection circuit, and 14 is an AND circuit.

次に、CPU、)1ユニツト1からCPU+2ユニット
2に事象を伝える場合について、その動作を説明する。
Next, the operation will be described in the case where an event is transmitted from the CPU, )1 unit 1 to the CPU+2 unit 2.

CPU+1ユニツト1が伝達すべき情報を共有メモリ9
の情報交換領域C2に書込み、CPUす2ユニツト2に
対して割込命令を実行する。割込命令は、通常の入出力
命令(OUT命令)を用いる。この命令実行によりCP
U+2ユニツト2の割込要求回路5より割込信号(IN
T)がCPUす2ユニツト2のCF’Uに与えられ、C
PUす2ユニツト2の割込処理が実行されることになる
The information to be transmitted by the CPU+1 unit 1 is transferred to the shared memory 9.
2, and executes an interrupt command to the CPU 2 unit 2. A normal input/output instruction (OUT instruction) is used as the interrupt instruction. By executing this instruction, CP
An interrupt signal (IN
T) is given to CF'U of CPU2 unit 2, and C
The interrupt processing of the PU2 unit 2 will be executed.

次に、割込要求回路4〜6の動作について説明する。第
2図において、設定回路10には予めCPU◆1〜CP
Uφ3を識別するユニークな値が設定される。例えば、
CF’U+1ユニット1でHolH,CPU+2!ニア
)2fUO2H。
Next, the operation of the interrupt request circuits 4 to 6 will be explained. In FIG. 2, the setting circuit 10 includes CPU◆1 to CP in advance.
A unique value identifying Uφ3 is set. for example,
HolH, CPU+2 with CF'U+1 unit 1! Near) 2fUO2H.

CPU+3ユニツト3では03H(16進数)とする。For CPU+3 unit 3, it is 03H (hexadecimal).

この場合CPUす1ユニツト1が実行した割込命令はO
UT  02Hである。従って、アドレス線11には0
2Hが出力されるため、CPU42ユニツト2の一致検
出回路13からのみ一致信号が出され、割込命令に伴な
うOUT信号12とのANDをとるAND回路14の出
力として割込信号(INT)が発生し、CPUす1ユニ
ツト1゜CPUφ3ユニット3の割込信号は発生しない
In this case, the interrupt instruction executed by CPU unit 1 is O
It is UT 02H. Therefore, address line 11 has 0
Since 2H is output, a match signal is output only from the match detection circuit 13 of the CPU 42 unit 2, and the interrupt signal (INT) is output from the AND circuit 14 which performs AND with the OUT signal 12 associated with the interrupt command. is generated, and no interrupt signal is generated for CPU 1 unit 1 and CPUφ3 unit 3.

尚、上記実施例では3台のCPUが共通バスに接続され
た例を示したが、さらに多くのCPUを接続し、共有メ
モリ上の情報交信領域を相手プロセッサ対応して準備す
るようにしてもよく、上記実施例と同様の効果を奏する
Although the above embodiment shows an example in which three CPUs are connected to a common bus, even if more CPUs are connected and the information communication area on the shared memory is prepared for each other processor. In many cases, the same effects as in the above embodiment can be achieved.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば、マルチプロセッサシ
ステムにおいて、割込要求回路を複数のプロセッサユニ
ット内の割込受付側内に設けて構臓したので、プロセッ
サ間の情報交換において相手プロセッサに対してだけ割
込を発生させることができ、他のプロセッサ、は無効な
処理を実行する必要がなく、また共通バス線に割込信号
線を追加する必要がないため、少ない本数の共通バス線
とすることができて装置が小型化できるものが得られる
効果かめる。
As described above, according to the present invention, in a multiprocessor system, the interrupt request circuit is provided in the interrupt reception side of the plurality of processor units, so that the interrupt request circuit is provided in the interrupt reception side of the plurality of processor units. Only one processor can generate an interrupt, other processors do not have to perform invalid processing, and there is no need to add interrupt signal lines to the common bus line, so it is possible to use a small number of common bus lines and This has the advantage of being able to reduce the size of the device.

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

第1図はこの発明の一実施例を示すマルチプロセッサシ
ステムのブロック図、第2−は第1図の割込要求回路の
詳細を示すブロック図、第3図は従来のマルチプロセッ
サシステムのブロック図である。 図において、1〜3はCPUす1〜÷3ユニツト(プロ
セッサユニット)、4〜6は割込要求回路、7は共有バ
ス線、9は共有メモリ、10は設定回路、13は一致検
出回路、14はAND回路である。 なお、図中、同一符号は同一、または相当部分を示す。 特許出願人  三菱電機株式会社 (外2名) 痢1図 CI、C2,C3:積報交槽刊域 第2図 第3図 手続補正書(自発) 昭和60工8・2′As
Fig. 1 is a block diagram of a multiprocessor system showing an embodiment of the present invention, Fig. 2- is a block diagram showing details of the interrupt request circuit shown in Fig. 1, and Fig. 3 is a block diagram of a conventional multiprocessor system. It is. In the figure, 1 to 3 are CPU units (processor units), 4 to 6 are interrupt request circuits, 7 is a shared bus line, 9 is a shared memory, 10 is a setting circuit, 13 is a coincidence detection circuit, 14 is an AND circuit. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. Patent applicant Mitsubishi Electric Corporation (2 others) Diarrhea 1 Figure CI, C2, C3: Product information exchange area Figure 2 Figure 3 Procedural amendment (voluntary) 1985 Engineering 8/2'As

Claims (2)

【特許請求の範囲】[Claims] (1)複数のプロセッサユニットからなり、該複数のプ
ロセッサユニットが結合される共通バス線上で情報交換
が行なわれるマルチプロセッサシステムの制御方式にお
いて、前記共通バス線上に割込信号を送出する割込要求
回路を前記複数のプロセッサユニット内の割込受付側に
設け、前記複数のプロセッサユニット間で事象を伝達す
る場合、前記共通バス線に接続される情報交換領域に伝
達すべき情報を書き込み、そののち前記割込要求回路か
ら割込信号を送出して割込命令の実行を行なうようにし
たことを特徴とするマルチプロセッサシステムの制御方
式。
(1) In a control method for a multiprocessor system that is composed of a plurality of processor units and in which information is exchanged on a common bus line to which the plurality of processor units are coupled, an interrupt request that sends an interrupt signal on the common bus line. When a circuit is provided on the interrupt reception side of the plurality of processor units and an event is transmitted between the plurality of processor units, the information to be transmitted is written in an information exchange area connected to the common bus line, and then 1. A control method for a multiprocessor system, characterized in that an interrupt command is executed by sending an interrupt signal from the interrupt request circuit.
(2)前記割込要求回路は、複数のプロセッサユニット
を識別するための値を設定する設定回路と、この設定回
路に接続され、共通バス線のアドレス線から入力するア
ドレスと前記設定回路からの値との一致を検出して一致
信号を出力する一致検出回路と、前記一致信号と割込時
の割込命令に伴なうアウト(OUT)信号とのアンド(
AND)論理をとり、割込信号を発生するアンド回路と
から構成されていることを特徴とする特許請求の範囲第
1項記載のマルチプロセッサシステムの制御方式。
(2) The interrupt request circuit includes a setting circuit that sets a value for identifying a plurality of processor units, and is connected to this setting circuit, and is connected to an address input from an address line of a common bus line and a setting circuit that sets a value for identifying a plurality of processor units. A coincidence detection circuit that detects coincidence with a value and outputs a coincidence signal, and an AND (
2. The control method for a multiprocessor system according to claim 1, further comprising an AND circuit that performs an AND) logic and generates an interrupt signal.
JP10721685A 1985-05-20 1985-05-20 Control system for multi-processor system Pending JPS61264467A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10721685A JPS61264467A (en) 1985-05-20 1985-05-20 Control system for multi-processor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10721685A JPS61264467A (en) 1985-05-20 1985-05-20 Control system for multi-processor system

Publications (1)

Publication Number Publication Date
JPS61264467A true JPS61264467A (en) 1986-11-22

Family

ID=14453429

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10721685A Pending JPS61264467A (en) 1985-05-20 1985-05-20 Control system for multi-processor system

Country Status (1)

Country Link
JP (1) JPS61264467A (en)

Similar Documents

Publication Publication Date Title
JPH04318654A (en) Redirection system for interruption to microprocessor
JPS61107456A (en) Interrupt control system
US6789183B1 (en) Apparatus and method for activation of a digital signal processor in an idle mode for interprocessor transfer of signal groups in a digital signal processing unit
JPS61264467A (en) Control system for multi-processor system
WO1988004075A1 (en) Coordination of processing elements in a multiprocessor computer
JPS60194647A (en) Data transmission system
JPS6232561A (en) Control system for multiprocessor system
JP2837522B2 (en) I / O instruction control method
JPS62135038A (en) Data communications system for slave processor
JPH0318958A (en) Multiprocessor system
JP2667285B2 (en) Interrupt control device
JPH04281546A (en) Inter-computer communication system
JPH0114616B2 (en)
JP2575828B2 (en) Interrupt control method
JPS5814266A (en) Control system for multi-processor
JPS633358A (en) Multiprocessor
JPH04100168A (en) Multiprocessor system
JPH05342026A (en) Multiprocessor and synchronization control system for multiprocessor
JPH0232432A (en) Control system for dual port memory
JPS58114141A (en) Fault reporting system for multimicroprocessor
JPH03100853A (en) Inter-processor communication system
JPH0342762A (en) Inter-processor communication method for multiprocessor system
JPH01300364A (en) Multi-processor system
JPS63208101A (en) Control system
JPS63271635A (en) High-speed arithmetic processor