JPH0652091A - Interruption processing system/method and multiprocessor system - Google Patents

Interruption processing system/method and multiprocessor system

Info

Publication number
JPH0652091A
JPH0652091A JP5098045A JP9804593A JPH0652091A JP H0652091 A JPH0652091 A JP H0652091A JP 5098045 A JP5098045 A JP 5098045A JP 9804593 A JP9804593 A JP 9804593A JP H0652091 A JPH0652091 A JP H0652091A
Authority
JP
Japan
Prior art keywords
interrupt
processor
line
floating
request
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.)
Granted
Application number
JP5098045A
Other languages
Japanese (ja)
Other versions
JP2842501B2 (en
Inventor
Hisaaki Suzuki
壽明 鈴木
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 JP5098045A priority Critical patent/JP2842501B2/en
Publication of JPH0652091A publication Critical patent/JPH0652091A/en
Application granted granted Critical
Publication of JP2842501B2 publication Critical patent/JP2842501B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To perform a floating interruption processing system at a high speed in a symmetrical multiprocessor system and at the same time to minimize the increase of signal pins in accordance with conversion of a processor into a VLSI owing to the advancement of the semiconductor technology. CONSTITUTION:A signal line 6 is provided to transmit the floating interruption requests to all processors from an external interruption control part 3. At the same time, a control bus 4 and a data bus 5 are provided to transfer the floating interruption reception information and the floating interruption accessory information between each processor 1 and the part 3. Furthermore a floating interruption reception control means is added to immediately start the floating interruption reception information processing if each processor 1 is ready to receive an interruption and also set in a waiting state where an instruction is not carried out and the interruption is waited for after the processor 1 has recognized the floating interruption request or in an interruption receivable state is set after each delay equivalent to the number of cycles set independently for each processor if no waiting state is secured.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、たとえば、マルチプ
ロセッサ構成を有する情報処理装置の割り込み処理に関
するものであり、特に浮動割り込み処理に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to, for example, interrupt processing of an information processing apparatus having a multiprocessor structure, and more particularly to floating interrupt processing.

【0002】[0002]

【従来の技術】図7並びに図8は従来のマルチプロセッ
サシステム構成とシステムにおける浮動割り込み処理方
式を示すものである。図7は例えばIEEE standard P89
6.1で規定されたFuturebustを用いて実現されたマルチ
プロセッサシステム構成例である。
2. Description of the Related Art FIGS. 7 and 8 show a conventional multiprocessor system configuration and a floating interrupt processing system in the system. Figure 7 shows, for example, IEEE standard P89
This is an example of a multiprocessor system configuration realized using Futurebust specified in 6.1.

【0003】図において、1はデータ処理や割り込み処
理を実行するプロセッサである。2は命令やデータを記
憶する主記憶装置である。この主記憶装置2は、構成内
の全てのプロセッサ1により共有される。3は外部割り
込み制御部(以下ITCと称する)である。ITC3は
全てのプロセッサ1に対して浮動割り込みの要求発行を
行なう。またITC3はある1つのプロセッサからの浮
動割り込み受け付け通知に応答して浮動割り込み要求に
付随する詳細情報を発行する。またITC3は受け付け
された浮動割り込み要求の解消処理を行なう。
In the figure, reference numeral 1 is a processor for executing data processing and interrupt processing. Reference numeral 2 is a main storage device that stores instructions and data. This main memory 2 is shared by all processors 1 in the configuration. An external interrupt control unit (hereinafter referred to as ITC) 3 is provided. The ITC 3 issues a floating interrupt request to all the processors 1. Further, the ITC 3 issues detailed information associated with the floating interrupt request in response to the floating interrupt acceptance notification from one certain processor. The ITC 3 also performs processing for canceling the accepted floating interrupt request.

【0004】4は制御情報を転送する複数の制御共通信
号線(以下制御バスと称する)である。制御バス4は各
プロセッサ1と主記憶装置2との間の情報転送操作を制
御する。また、制御バス4はプロセッサ1とITC3と
の間で浮動割り込み要求の発行操作を制御する信号を転
送する。また、制御バス4は割り込み受け付け通知操作
を制御する信号を転送する。
Reference numeral 4 denotes a plurality of control common signal lines (hereinafter referred to as control buses) for transferring control information. The control bus 4 controls the information transfer operation between each processor 1 and the main memory 2. Further, the control bus 4 transfers a signal for controlling a floating interrupt request issuing operation between the processor 1 and the ITC 3. The control bus 4 also transfers a signal for controlling the interrupt acceptance notification operation.

【0005】5は情報を転送する複数のデータ共通信号
線(以下データバスと称する)である。データバス5は
各プロセッサ1と主記憶装置2との間で情報を転送す
る。また、データバス5はプロセッサ1とITC3との
間で浮動割り込み付随情報を転送する。
Reference numeral 5 is a plurality of data common signal lines (hereinafter referred to as data buses) for transferring information. The data bus 5 transfers information between each processor 1 and the main storage device 2. Further, the data bus 5 transfers the floating interrupt accompanying information between the processor 1 and the ITC 3.

【0006】また、図8は各プロセッサと外部割り込み
制御部との間で個別の浮動割り込み要求信号線を有する
マルチプロセッサシステム構成を示すものである。図に
おいて1から5は全て図7で示したものと同様である。
FIG. 8 shows a multiprocessor system configuration having individual floating interrupt request signal lines between each processor and the external interrupt control unit. In the figure, all 1 to 5 are the same as those shown in FIG.

【0007】次に動作について説明する。プロセッサ間
の負荷分配を均等化しシステムのスループットを向上さ
せる方法として浮動割り込み方式と呼ばれる方式が一般
的に知られている。浮動割り込み方式とは、例えば対称
型マルチプロセッサシステムにおいて、入出力割り込み
等1つの割り込みを複数のプロセッサに対して要求し、
一番早く割り込みを受け付けしたプロセッサのみがシス
テム中で唯一割り込み受け付け処理を行う方式である。
Next, the operation will be described. A method called a floating interrupt method is generally known as a method for equalizing load distribution among processors and improving system throughput. The floating interrupt method, for example, in a symmetric multiprocessor system, requests one interrupt such as an input / output interrupt to a plurality of processors,
In this method, only the processor that receives the interrupt the earliest performs the interrupt reception process in the system.

【0008】図7において、先ずITC3が浮動割り込
み要因を検出したとする。浮動割り込み要因を検出した
ITC3はプロセッサ1との間でバスアービトレーショ
ンを行い、制御バス4及びデータバス5のバス使用権を
獲得する。バスアービトレーションの動作についてはこ
こで説明する浮動割り込み処理の本質でないためにここ
では説明を省略する。バスアービトレーションの結果バ
ス使用権を獲得したITC3は、浮動割り込み要求を制
御バス4及びデータバス5を用いてシステム構成内全て
のプロセッサ1にブロードキャストする。各プロセッサ
1では制御バス4の信号値によってITC3より浮動割
り込みがブロードキャストされた事を認識する。
In FIG. 7, assume that the ITC 3 first detects a floating interrupt factor. The ITC 3 that has detected the floating interrupt factor performs bus arbitration with the processor 1 and acquires the bus use right of the control bus 4 and the data bus 5. Since the operation of the bus arbitration is not the essence of the floating interrupt processing described here, the description is omitted here. The ITC 3, which has acquired the bus use right as a result of the bus arbitration, broadcasts the floating interrupt request to all the processors 1 in the system configuration using the control bus 4 and the data bus 5. Each processor 1 recognizes from the signal value of the control bus 4 that a floating interrupt has been broadcast from the ITC 3.

【0009】続いて各プロセッサ1内部では、割り込み
マスク等の受け付け許可条件を各々独立に内部判定す
る。もし、あるプロセッサ1においてブロードキャスト
された浮動割り込み要求を受けつけない受け付け不許可
状態であれば、そのプロセッサ1は割り込み受け付け許
可状態に遷移する迄浮動割り込み受け付け通知処理の起
動を保留し続ける。もし、あるプロセッサ1においてブ
ロードキャストされた浮動割り込み要求を受けつける受
け付け許可状態であれば、そのプロセッサ1は浮動割り
込み受け付け処理を起動する。
Subsequently, inside each processor 1, the acceptance permission conditions such as the interrupt mask are independently judged. If the processor 1 is in the acceptance non-permission state in which it does not accept the broadcasted floating interrupt request, the processor 1 keeps suspending the activation of the floating interrupt acceptance notification process until it transits to the interrupt acceptance enabled state. If the processor 1 is in the acceptance enabled state for accepting the floating interrupt request broadcast, the processor 1 activates the floating interrupt acceptance process.

【0010】ここで、1つの浮動割り込み要求を受け付
けて割り込み処理を行なうプロセッサはシステム中で唯
一1つでなければならない。浮動割り込み受け付け処理
を起動したプロセッサ1は、唯一自分が浮動割り込み受
け付け処理を行なう為以下のような操作を行なう。浮動
割り込み受け付け処理を起動したプロセッサ1は、先ず
自分以外の全てのプロセッサ1に対して制御バス4を用
いて浮動割り込み受け付け処理開始の宣言をブロードキ
ャストする。ブロードキャスト事でプロセッサ1は他の
プロセッサ1の浮動割り込み受け付け処理を解除させ
る。ここで、浮動割り込み要求はITC3から全てのプ
ロセッサ1に同時にブロードキャストされる為に、同時
に複数のプロセッサ1でこの浮動割り込み受け付け処理
を開始する場合が存在する。この場合には、浮動割り込
み受け付け処理開始の宣言を複数のプロセッサ1が同時
に制御バス4を用いて発行しようと競合する可能性があ
る。しかし、この競合状態の解決はバスアービトレーシ
ョンを用いる事で達成される。即ち、バスアービトレー
ションにより最初にバス使用権を獲得した1つのプロセ
ッサ1が制御バス4を使用できる。使用権を獲得したプ
ロセッサ1のみが浮動割り込み受け付け処理開始の宣言
をブロードキャストする。これを受け取った他の全ての
プロセッサ1は自分内部で保留中あるいは浮動割り込み
受け付け処理起動中の操作をすべてキャンセルする。
Here, there must be only one processor in the system that accepts one floating interrupt request and performs interrupt processing. The processor 1 that has started the floating interrupt acceptance processing performs the following operations only for itself to perform the floating interrupt acceptance processing. The processor 1 that has started the floating interrupt acceptance process first broadcasts the declaration of the floating interrupt acceptance process start to all the processors 1 other than itself by using the control bus 4. The broadcast causes the processor 1 to cancel the floating interrupt acceptance processing of the other processors 1. Here, since the floating interrupt request is broadcast from the ITC 3 to all the processors 1 at the same time, there is a case where a plurality of processors 1 simultaneously start the floating interrupt acceptance processing. In this case, there is a possibility that a plurality of processors 1 may simultaneously issue a declaration of the start of floating interrupt acceptance processing by using the control bus 4. However, the resolution of this race condition is achieved by using bus arbitration. That is, the control bus 4 can be used by one processor 1 which first acquires the bus use right by the bus arbitration. Only the processor 1 that has acquired the usage right broadcasts the declaration of the start of floating interrupt acceptance processing. Upon receipt of this, all other processors 1 cancel all the operations that are pending or that the floating interrupt acceptance process is being activated internally.

【0011】浮動割り込み受け付け処理開始の宣言操作
を制御バス4上で完了した1つのプロセッサ1は続いて
ITC3に対して制御バス4を介して浮動割り込み受け
付け通知を伝える。プロセッサ1は、浮動割り込みの付
随情報をITC3からデータバス5を介して受け取った
後、浮動割り込み処理を完了する。
One processor 1 which has completed the declarative operation for starting the floating interrupt acceptance processing on the control bus 4 subsequently transmits a floating interrupt acceptance notification to the ITC 3 via the control bus 4. The processor 1 completes the floating interrupt process after receiving the accompanying information of the floating interrupt from the ITC 3 via the data bus 5.

【0012】一方、ITC3は制御バス4並びにデータ
バス5を介した浮動割り込み受け付け通知に対する応答
が完了した時点で該当する浮動割り込み要因をクリアし
て、次の浮動割り込み要求操作に進む。
On the other hand, the ITC 3 clears the corresponding floating interrupt factor when the response to the notification of floating interrupt acceptance via the control bus 4 and the data bus 5 is completed, and proceeds to the next floating interrupt request operation.

【0013】次に図8を用いて従来の浮動割り込み要求
の発行制御動作について説明する。図において、各プロ
セッサ1は各々のプロセッサからのウェイト状態をウェ
イト状態信号線WAIT_0及びWAIT_1を用いて
ITC3に対して出力する。するとITC3は各プロセ
ッサ1のウェイト状態を参照していずれのプロセッサ1
に浮動割り込み要求を発行するかを決定する。そしてI
TC3は自らが検知した浮動割り込み要求を各々のプロ
セッサ1に対して浮動割り込み要求信号線FINT_0
あるいいはFINT_1を用いて発行する。
Next, a conventional floating interrupt request issue control operation will be described with reference to FIG. In the figure, each processor 1 outputs the wait state from each processor to the ITC 3 using the wait state signal lines WAIT_0 and WAIT_1. Then, the ITC 3 refers to the wait state of each processor 1 and determines which processor 1
Determines whether to issue a floating interrupt request to. And I
The TC3 sends the floating interrupt request signal line FINT_0 to each processor 1 of the floating interrupt request detected by itself.
It is issued using FINT_1.

【0014】浮動割り込み要求出力の決定方法は例えば
以下のようになる。即ち、 (1)1つあるいは複数のプロセッサ1がウェイト状態
にある場合には、ウェイト状態にある全てのプロセッサ
1に対してのみ浮動割り込み要求を発行する。 (2)もし、全てのプロセッサ1がウェイト状態にない
場合には全てのプロセッサ1に対して浮動割り込み要求
を発行する。 浮動割り込み要求に対する各プロセッサ1における浮動
割り込み受け付け処理開始の宣言操作及び割り込み受け
付け処理は、図7と同様に制御バス4並びにデータバス
5を用いて実行されるのでここでは説明を省略する。
The method of determining the floating interrupt request output is as follows, for example. That is, (1) When one or a plurality of processors 1 are in the wait state, the floating interrupt request is issued only to all the processors 1 in the wait state. (2) If all the processors 1 are not in the wait state, issue a floating interrupt request to all the processors 1. The declaration operation of the floating interrupt acceptance process start and the interrupt acceptance process in each processor 1 for the floating interrupt request are executed by using the control bus 4 and the data bus 5 as in FIG. 7, and therefore the description thereof is omitted here.

【0015】[0015]

【発明が解決しようとする課題】従来の割り込み処理方
式は以上の様になされているので、図7に示したシステ
ム構成では複数のプロセッサ1が主記憶装置2との間で
制御バス4及びデータバス5を用いて情報の転送を頻繁
に行なう事になる。加えて、図7に示したシステム構成
では、ITC3から全てのプロセッサ1に対して浮動割
り込み要求のブロードキャストが制御バス4及びデータ
バス5を使用する。それに、ある1つのプロセッサ1か
ら他の全てのプロセッサ1に対して発行される浮動割り
込み要求の受け付け処理開始の宣言のブロードキャスト
も制御バス4及びデータバス5を使用する。加えて、浮
動割り込み受け付け処理を実行する1つのプロセッサ1
からITC3に対して発行される浮動割り込み受け付け
通知も制御バス4及びデータバス5を使用する。この事
から、バスの使用率が高くなり、ひいてはこれら制御バ
ス4及びデータバス5の転送能力がシステム性能並びに
浮動割り込み処理性能のボトルネックになるという問題
があった。
Since the conventional interrupt processing method is performed as described above, in the system configuration shown in FIG. 7, a plurality of processors 1 communicate with the main memory 2 via the control bus 4 and data. Information is frequently transferred using the bus 5. In addition, in the system configuration shown in FIG. 7, the ITC 3 uses the control bus 4 and the data bus 5 to broadcast a floating interrupt request to all the processors 1. In addition, the control bus 4 and the data bus 5 are also used to broadcast the declaration of the start of acceptance processing of floating interrupt requests issued from one processor 1 to all other processors 1. In addition, one processor 1 that executes floating interrupt acceptance processing
The floating interrupt acceptance notification issued by the ITC 3 to the ITC 3 also uses the control bus 4 and the data bus 5. For this reason, there is a problem that the bus usage rate becomes high, and the transfer capacity of the control bus 4 and the data bus 5 becomes a bottleneck of system performance and floating interrupt processing performance.

【0016】加えて、図7に示したシステム構成では、
制御バス4及びデータバス5が主記憶装置2に格納され
るデータと浮動割り込み要求情報とを共通的に取り扱
う。この為に、浮動割り込み要求を全てのプロセッサ1
に対してブロードキャストした時には必ず全てのプロセ
ッサは各プロセッサ1の内部状態に拘らずブロードキャ
ストされた割り込み情報を受け取らなければならない。
プロセッサ1がブロードキャストされた割り込み情報を
受け取れない場合はブロードキャスト操作を再実行する
必要がある。ブロードキャスト操作をバス上で再実行す
る事はますますバスの使用率を高める。プロセッサ1が
ブロードキャストされた情報をいつでも受け取れるよう
にするためにはハードウェア資源の追加が必要になると
いう問題があった。
In addition, in the system configuration shown in FIG.
The control bus 4 and the data bus 5 commonly handle the data stored in the main memory 2 and the floating interrupt request information. For this reason, a floating interrupt request is issued to all processors 1.
In contrast, when broadcasted, all processors must receive the broadcasted interrupt information regardless of the internal state of each processor 1.
If the processor 1 cannot receive the broadcast interrupt information, the broadcast operation needs to be re-executed. Re-executing broadcast operations on the bus will increase bus utilization even more. There is a problem that additional hardware resources are required for the processor 1 to receive the broadcast information at any time.

【0017】更に図8のように構成された割り込み処理
方式では、各プロセッサ1のウェイト状態を判定する事
ができる。したがって浮動割り込み要求のブロードキャ
スト発行に要するバス使用のコストを削減できる。並び
に浮動割り込み受け付け処理を行なうプロセッサの決定
に要するバス使用のコストを削減できる。図8のように
構成された割り込み処理方式では、システム全体で浮動
割り込み処理にかかるコストの総和の低減を図る事が可
能になる。しかし一方で各プロセッサ1とITC3とを
ユニークに結ぶウェイト状態信号線、並びにITC3か
ら各プロセッサ1に対するユニークな浮動割り込み要求
信号線が必要になる。プロセッサ1やITC3がそれぞ
れ1個のLSIで構成されるような場合、あるいはプロ
セッサ1の台数が多くなった場合にはLSIの信号ピン
数の増加を引き起こすという問題があった。
Further, in the interrupt processing system configured as shown in FIG. 8, the wait state of each processor 1 can be determined. Therefore, it is possible to reduce the bus use cost required for issuing the floating interrupt request broadcast. In addition, it is possible to reduce the cost of using the bus required for determining the processor that accepts the floating interrupt. With the interrupt processing system configured as shown in FIG. 8, it is possible to reduce the total cost of floating interrupt processing in the entire system. On the other hand, however, a wait state signal line uniquely connecting each processor 1 and the ITC 3 and a unique floating interrupt request signal line from the ITC 3 to each processor 1 are required. There is a problem that the number of signal pins of the LSI is increased when the processor 1 and the ITC 3 are each configured by one LSI, or when the number of the processors 1 is increased.

【0018】本発明は上記のような問題点を解消するた
めになされたもので、浮動割り込み処理によるメモリバ
スの使用を極力減らしてシステム性能への影響を最小限
に抑える割り込み処理方式等を提供する事を目的として
いる。また、各プロセッサ1とITC3の間の信号線数
を最小限に抑えつつ各プロセッサ1の内部状態を個別に
用いて浮動割り込み要求の受け付け処理起動を制御する
事で各プロセッサ1毎に浮動割り込み処理にかかるコス
トの総和を更に低減させる割り込み処理方式等を提供す
る事を目的としている。
The present invention has been made in order to solve the above problems, and provides an interrupt processing system or the like in which the use of the memory bus by the floating interrupt processing is reduced as much as possible to minimize the influence on the system performance. The purpose is to do. Further, the floating interrupt processing is performed for each processor 1 by controlling the acceptance processing activation of the floating interrupt request by individually using the internal state of each processor 1 while minimizing the number of signal lines between each processor 1 and the ITC 3. It is an object of the present invention to provide an interrupt processing method or the like that further reduces the total cost of the above.

【0019】[0019]

【課題を解決するための手段】この発明に係る割り込み
処理方式は、たとえば、ITCから全てのプロセッサに
浮動割り込み要求を伝える浮動割り込み共通信号線(割
り込み線の一例)と、ITCと全てのプロセッサ間を接
続しプロセッサとITC相互間の信号転送動作を制御す
ると共に、各プロセッサから該ITCに対して浮動割り
込み受け付け通知を行なう複数の制御共通信号線(制御
線の一例)と、ITCと全てのプロセッサ間とを接続し
制御共通信号線を以て1つのプロセッサから発行された
浮動割り込み受け付け通知に応答して、該ITCから浮
動割り込み付随情報を転送するデータの共通信号線(デ
ータ線の一例)とを備えたものであり、以下の要素を有
するものである。 (a)割り込み要求を伝える割り込み線、(b)制御情
報を伝える制御線、(c)データ情報を伝えるデータ
線、(d)上記割り込み線と制御線とデータ線に接続さ
れ、上記割り込み線からの割り込み要求を受け付けて上
記制御線に割り込み受け付け通知を送出し、上記データ
線からのデータ情報に基づいて割り込み処理を行なうと
ともに、上記制御線を監視し、他のプロセッサ手段が割
り込み情報を受け付けた場合に自プロセッサの割り込み
要求に関する処理をキャンセルする複数のプロセッサ手
段、(e)上記割り込み線と制御線とデータ線に接続さ
れ、上記複数のプロセッサ手段に対して割り込み線を介
して割り込み要求を送出するとともにその割り込み要求
を受け付けたプロセッサ手段の中で最初に割り込み受け
付け通知を出したプロセッサ手段に対して割り込み処理
に必要なデータ情報をデータ線を用いて送出する割り込
み制御部。
An interrupt processing system according to the present invention is, for example, a floating interrupt common signal line (an example of an interrupt line) for transmitting a floating interrupt request from the ITC to all the processors, and between the ITC and all the processors. And a plurality of control common signal lines (an example of control lines) for connecting signals to control the signal transfer operation between the processor and the ITC, and for notifying the ITC of the floating interrupt from each processor, and the ITC and all the processors. And a common signal line for data (an example of a data line) of data for transferring floating interrupt incidental information from the ITC in response to a floating interrupt acceptance notification issued from one processor via a control common signal line. It has the following elements. (A) an interrupt line for transmitting an interrupt request, (b) a control line for transmitting control information, (c) a data line for transmitting data information, (d) connected to the interrupt line and the control line and the data line, and from the interrupt line. Interrupt request is sent to the control line, interrupt processing is performed based on the data information from the data line, the control line is monitored, and another processor receives the interrupt information. A plurality of processor means for canceling the processing relating to the interrupt request of its own processor, (e) connected to the interrupt line, the control line and the data line, and sending the interrupt request to the plurality of processor means through the interrupt line Of the processor means that accepted the interrupt request, The interrupt controller for delivering using the data line data information necessary to interrupt processing on the processor means.

【0020】更に、第2の発明に係る割り込み処理方式
における各プロセッサ内部では、割り込み要求を認識し
た後、プロセッサが割り込み受け付け可能状態であって
且つ命令実行中でなく割り込み待ちであるウェイト状態
の場合には直ちに割り込み受け付け通知処理を起動し、
またウェイト状態でない場合にはプロセッサ毎に独立に
定められたサイクル数だけ遅延させた後に割り込み受け
付け可能状態である時に割り込み受け付け通知処理を起
動する割り込み受け付け制御手段を備える。
Furthermore, in each processor in the interrupt processing method according to the second aspect of the present invention, after recognizing an interrupt request, the processor is in a wait state in which it is ready to accept an interrupt and is not executing instructions and waiting for an interrupt. Immediately starts interrupt acceptance notification processing,
Further, when not in the wait state, an interrupt acceptance control means for activating the interrupt acceptance notification process in the interrupt acceptable state after delaying by the number of cycles independently determined for each processor is provided.

【0021】第3の発明に係るマルチプロセッサシステ
ムは、プロセッサが、割り込み線と制御線をモニタし、
他のプロセッサの割り込み受け付け通知を認識出来るも
のであり、以下の要素を有する。 (a)複数のプロセッサに割り込み要求を送出し、1つ
のプロセッサからの割り込み受け付け通知を受取り、プ
ロセッサへ割り込み要求に関する付加情報を伝え、上記
割り込み要求を受け付けた確認を受けて上記割り込み要
求を終らせる外部割り込み制御装置、(b)上記外部割
り込み制御装置とプロセッサを接続し、上記外部割り込
み制御装置からプロセッサへの割り込み要求を伝える割
り込み線、(c)上記外部割り込み制御装置とプロセッ
サを接続し、上記外部割り込み制御装置とプロセッサと
の間の制御信号と、プロセッサの1つから上記外部割り
込み制御装置への割り込み受け付け通知を伝える制御
線、(d)上記外部割り込み制御装置とプロセッサを接
続し、上記制御線上の割り込み受け付け通知に応答し
て、上記割り込み要求に関する付加情報を伝えるデータ
線、(e)各プロセッサに設けられ、上記割り込み線と
制御線をモニタし、割り込み要求を認識するプロセッサ
手段。
In the multiprocessor system according to the third invention, the processor monitors the interrupt line and the control line,
It can recognize interrupt acceptance notifications of other processors and has the following elements. (A) Send an interrupt request to a plurality of processors, receive an interrupt acceptance notification from one processor, transmit additional information related to the interrupt request to the processor, and end the interrupt request upon receiving confirmation that the interrupt request has been accepted An external interrupt control device, (b) an interrupt line for connecting the external interrupt control device and the processor, and transmitting an interrupt request from the external interrupt control device to the processor, (c) connecting the external interrupt control device and the processor, A control line for transmitting a control signal between the external interrupt control device and the processor and an interrupt acceptance notification from one of the processors to the external interrupt control device, (d) connecting the external interrupt control device and the processor, and performing the control In response to the interrupt acceptance notification on the line, the above interrupt request Data lines for transmitting additional information about, (e) provided in each processor, monitors control lines and the interrupt lines, the processor means for recognizing the interrupt request.

【0022】第4の発明に係る割り込み処理方法は、割
り込み線と制御線とデータ線によって接続された複数の
プロセッサと割り込み制御部を備え、以下のステップを
備える。 (a)割り込み制御部から割り込み線を介して割り込み
要求の送出をする割り込み要求送出ステップ、(b)割
り込み線を介した割り込み要求を認識する認識ステッ
プ、(c)少なくとも1つのプロセッサにより、上記割
り込み要求の受け付けをする受け付けステップ、(d)
上記割り込み要求の受け付けをしたプロセッサの1つに
より、制御線上に上記割り込み受け付け通知の送出をす
る通知ステップ、(e)割り込み制御部から上記データ
線上に割り込み要求に関する情報の伝達をする伝達ステ
ップ、(f)1つのプロセッサからの制御線上の受け付
け通知を検出することにより上記割り込み要求の受け付
けのクリアをするクリアステップ。
An interrupt processing method according to a fourth aspect of the present invention comprises a plurality of processors connected by an interrupt line, a control line and a data line, and an interrupt control section, and comprises the following steps. (A) an interrupt request sending step of sending an interrupt request from the interrupt control unit via the interrupt line; (b) a recognition step of recognizing the interrupt request via the interrupt line; (c) the above interrupt by at least one processor. A receiving step for receiving the request, (d)
A notification step of sending the interrupt acceptance notification on a control line by one of the processors that accepted the interrupt request; (e) a transmission step of transmitting information about the interrupt request from the interrupt control unit to the data line; f) A clear step of clearing the acceptance of the interrupt request by detecting the acceptance notification on the control line from one processor.

【0023】また、第5の発明に係る割り込み処理方法
は、割り込み線と制御線とデータ線によって接続された
複数のプロセッサと割り込み制御部を備え、割り込み受
け付け処理をするプロセッサを効率よく決定し、以下の
ステップを備えた割り込み処理方法である。 (a)割り込み制御部から割り込み線を介して割り込み
要求の送出をする割り込み要求送出ステップ、 (b)割り込み線を介して割り込み要求の認識をする認
識ステップ、 (c)少なくとも1つのプロセッサにより、(c1)プ
ロセッサが待ち状態で割り込み待ちの時、(c2)プロ
セッサが各プロセッサにあらかじめ定められた遅延時間
を使い果たした時のいずれかの場合に上記割り込み要求
の受け付け通知をする受け付け通知ステップ。
An interrupt processing method according to a fifth aspect of the present invention includes a plurality of processors connected by an interrupt line, a control line, and a data line and an interrupt control unit, and efficiently determines a processor for interrupt acceptance processing. The interrupt processing method includes the following steps. (A) an interrupt request sending step of sending an interrupt request from the interrupt control unit via the interrupt line; (b) a recognition step of recognizing the interrupt request via the interrupt line; (c) at least one processor c1) An acceptance notification step of issuing an acceptance request for the interrupt request in any of the following cases: when the processor is in a waiting state and waiting for an interrupt, and (c2) when the processor runs out of a predetermined delay time for each processor.

【0024】[0024]

【作用】この発明における割り込み線は、全プロセッサ
に対する割り込み要求をメモリバスと独立に行なうこと
を可能にし、システム性能への影響を抑えると共に、各
プロセッサと割り込み制御部の間の信号線数を最小限に
する事で信号ピン数の増加を抑える。
The interrupt line according to the present invention makes it possible to issue an interrupt request to all processors independently of the memory bus, suppress the influence on the system performance, and minimize the number of signal lines between each processor and the interrupt control unit. Limit the increase in the number of signal pins.

【0025】更に、制御線は全てのプロセッサで常時モ
ニタされ、ある1つのプロセッサが割り込み受け付け通
知を割り込み制御部に対して発行した時に、他の全ての
プロセッサはその浮動割り込み受け付け通知を見てプロ
セッサ内部での割り込み要求及び受け付け通知前処理を
自発的にキャンセルする事で、割り込み受け付け処理を
実行するプロセッサが他の全てのプロセッサに対して割
り込み受け付け処理のキャンセル操作を行なう必要がな
くなる。
Furthermore, the control line is constantly monitored by all the processors, and when one processor issues an interrupt acceptance notification to the interrupt control unit, all the other processors see the floating interrupt acceptance notification. By voluntarily canceling the internal interrupt request and acceptance notification pre-processing, it becomes unnecessary for the processor that executes the interrupt acceptance process to cancel the interrupt acceptance process for all other processors.

【0026】また、割り込み要求の送出及び割り込み要
求の認識を割り込み線を介して行なう事により、制御線
とデータ線の使用率超過によるシステムの効率低下を回
避出来る。
Further, by transmitting the interrupt request and recognizing the interrupt request via the interrupt line, it is possible to avoid the system efficiency from being lowered due to the excess of the usage rate of the control line and the data line.

【0027】更に、各プロセッサ内部に設けた割り込み
受け付け制御として、割り込み要求を認識時に各プロセ
ッサの状態に基づいて割り込み待ち状態や一番短く割り
込み遅延時間が設定されているプロセッサが優先して割
り込み受け付け処理を担当するようにした事で、マルチ
プロセッサシステム全体としての処理効率化を達成す
る。
Further, as interrupt acceptance control provided inside each processor, when an interrupt request is recognized, an interrupt waiting state or a processor having the shortest interrupt delay time is preferentially accepted based on the state of each processor. By handling the processing, the processing efficiency of the entire multiprocessor system is improved.

【0028】[0028]

【実施例】【Example】

実施例1.図1は本発明の一実施例を説明するマルチプ
ロセッサシステム構成図である。図において、1、2、
3、4及び5は図7ないし図8の従来例と同じ部品を示
す。6はITC3と全てのプロセッサ1の間を接続しI
TC3から全てのプロセッサ1に浮動割り込み要求を伝
える浮動割り込み線(以下FINTと称する)である。
Example 1. FIG. 1 is a block diagram of a multiprocessor system for explaining an embodiment of the present invention. In the figure, 1, 2,
Reference numerals 3, 4 and 5 show the same parts as those of the conventional example shown in FIGS. 6 connects between the ITC 3 and all processors 1
A floating interrupt line (hereinafter referred to as FINT) that transmits a floating interrupt request from the TC 3 to all the processors 1.

【0029】図2は本発明の一実施例を説明する1つの
プロセッサの内部ブロック構成図である。図において、
7は浮動割り込み共通信号線から伝えられる浮動割り込
み処理を制御する割り込み処理部、8はプロセッサ1内
で命令や割り込み処理の実行を担当するデータ処理部、
9はデータ処理部からの要求に基づいて制御バス4並び
にデータバス5とインタフェースを取るバスリクエスト
部である。
FIG. 2 is an internal block diagram of one processor for explaining an embodiment of the present invention. In the figure,
Reference numeral 7 is an interrupt processing unit that controls floating interrupt processing transmitted from the floating interrupt common signal line, 8 is a data processing unit that is in charge of executing instructions and interrupt processing in the processor 1,
A bus request unit 9 interfaces with the control bus 4 and the data bus 5 based on a request from the data processing unit.

【0030】更に、図3は割り込み処理部7の内部構成
を示す回路図である。図において、10、13、及び2
3はラッチである。11、12、14、18、26、2
7、及び29はANDゲートである。15、19、及び
28はORゲートである。16はフリップフロップであ
る。フリップフロップ16はプロセッサ1内で浮動割り
込み要求を認識している事を保持する。17は浮動割り
込み受け付けマスクラッチである。浮動割り込み受け付
けマスクラッチ17はプロセッサ1内で浮動割り込み受
け付けマスク情報を保持する。20はプライオリティ回
路である。プライオリティ回路20はプロセッサ1内部
において割り込み種類間でプライオリティを取る。プラ
イオリティ回路20はプライオリティを取った後割り込
み受け付け通知処理の要求をデータ処理部8に対して発
行する。21はサイクル数を保持する浮動割り込み遅延
サイクルレジスタである。浮動割り込み遅延サイクルレ
ジスタ21に保持されたサイクル数は浮動割り込み要求
を認識した後に浮動割り込み受け付け通知処理の起動を
遅延させるために用いられる。22はセレクタである。
24はデクリメンタである。デクリメンタ24はラッチ
23の値からフリップフロップ16の値を減算して減算
結果を出力する。またデクリメンタ24は減算結果がゼ
ロである事を示すフラグを併せて出力する。25はフリ
ップフロップ16に浮動割り込み要求がセットされてか
らラッチ21に設定されたサイクル数だけ時間が経過し
た事を表わすフロップフロップである。
Further, FIG. 3 is a circuit diagram showing an internal configuration of the interrupt processing section 7. In the figure, 10, 13, and 2
3 is a latch. 11, 12, 14, 18, 26, 2
Reference numerals 7 and 29 are AND gates. Reference numerals 15, 19, and 28 are OR gates. Reference numeral 16 is a flip-flop. The flip-flop 16 holds that the processor 1 recognizes a floating interrupt request. Reference numeral 17 is a floating interrupt acceptance mask latch. The floating interrupt acceptance mask latch 17 holds the floating interrupt acceptance mask information in the processor 1. 20 is a priority circuit. The priority circuit 20 gives priority among interrupt types in the processor 1. After taking priority, the priority circuit 20 issues a request for interrupt acceptance notification processing to the data processing unit 8. Reference numeral 21 is a floating interrupt delay cycle register that holds the number of cycles. The number of cycles held in the floating interrupt delay cycle register 21 is used to delay the activation of the floating interrupt acceptance / notification process after recognizing the floating interrupt request. 22 is a selector.
24 is a decrementer. The decrementer 24 subtracts the value of the flip-flop 16 from the value of the latch 23 and outputs the subtraction result. The decrementer 24 also outputs a flag indicating that the subtraction result is zero. Reference numeral 25 is a flop-flop that indicates that the number of cycles set in the latch 21 has elapsed since the floating interrupt request was set in the flip-flop 16.

【0031】以下に本発明の一実施例に基づき動作を説
明する。以下に示す説明は、3つの部分に大別される。
第1部は浮動割り込み要求の認識プロセスと呼ばれ、主
にプロセッサ1の割り込み処理部7の動作に相当するも
のである。その動作は、浮動割り込み要求がデータ処理
部8に届く前の浮動割り込み要求の認識動作に関するも
のである。第2部は受け付け通知プロセスと呼ばれ、主
にプロセッサ内のデータ処理部8の動作に相当するもの
である。その動作は浮動割り込みの受け付け動作に関す
るものである。最後の部分は割り込み要求受け付けの通
知プロセスと呼ばれ、主に1つのプロセッサと別のプロ
セッサとITC3の間の動作に関するものである。この
動作はプロセッサ1の内外すなわちITC3、制御バス
4およびデータバス5を含んだ浮動割り込み要求受け付
け通知動作に関するものである。
The operation will be described below based on an embodiment of the present invention. The following description is roughly divided into three parts.
The first part is called a floating interrupt request recognition process, and mainly corresponds to the operation of the interrupt processing part 7 of the processor 1. The operation relates to a floating interrupt request recognition operation before the floating interrupt request reaches the data processing unit 8. The second part is called an acceptance notification process, and mainly corresponds to the operation of the data processing unit 8 in the processor. The operation relates to a floating interrupt acceptance operation. The last part is called an interrupt request acceptance notification process, and mainly relates to the operation between one processor and another processor and the ITC 3. This operation relates to a floating interrupt request acceptance / notification operation including the inside and outside of the processor 1, that is, the ITC 3, the control bus 4, and the data bus 5.

【0032】先ず、各プロセッサ1内部における浮動割
り込み要求の認識プロセスについて説明する。図3にお
いて各々のプロセッサ1の割り込み処理部7にある浮動
割り込み遅延サイクルレジスタ21には予め各プロセッ
サ1毎に独立なゼロ以外の値に設定されているものとす
る。また、その値はセレクタ22を通してラッチ23に
設定済みであるものとする。
First, the process of recognizing a floating interrupt request inside each processor 1 will be described. In FIG. 3, it is assumed that the floating interrupt delay cycle register 21 in the interrupt processing unit 7 of each processor 1 is preset to a value other than zero which is independent for each processor 1. Further, it is assumed that the value is already set in the latch 23 through the selector 22.

【0033】図1においてITC3が浮動割り込みの存
在を検知したものとする。ITC3は浮動割り込み要求
をFINT6に出力する。するとFINT6を入力する
全てのプロセッサ1は割り込み処理部7においてラッチ
10とANDゲート11とによりFINT6の立ち上が
り微分を取る。そしてその微分結果に基づき浮動割り込
み要求がORゲート15を経由しフリップフロップ16
にセットされる。一旦フリップフロップ16にセットさ
れた浮動割り込み要求は、フリップフロップ16から出
力される。そして浮動割り込み受け付けマスクラッチ1
7が受け付け許可状態にセットされていて且つプロセッ
サ1がウェイト状態である事を示す信号線WAITがデ
ータ処理部8から出力されている場合にはANDゲート
18が開く。ANDゲート18が開くとフリップフロッ
プ16にセットされた浮動割り込み要求は、ORゲート
19を通りプライオリティ回路20に入力される。
In FIG. 1, it is assumed that the ITC 3 detects the presence of a floating interrupt. ITC3 outputs a floating interrupt request to FINT6. Then, all the processors 1 that input FINT6 take the rising differential of FINT6 by the latch 10 and the AND gate 11 in the interrupt processing unit 7. Then, based on the differentiation result, the floating interrupt request passes through the OR gate 15 and the flip-flop 16
Is set to. The floating interrupt request once set in the flip-flop 16 is output from the flip-flop 16. Floating interrupt acceptance mask latch 1
When 7 is set to the acceptance permitted state and the signal line WAIT indicating that the processor 1 is in the wait state is output from the data processing unit 8, the AND gate 18 is opened. When the AND gate 18 opens, the floating interrupt request set in the flip-flop 16 is input to the priority circuit 20 through the OR gate 19.

【0034】また、フリップフロップ16にセットされ
た浮動割り込み要求は、デクリメンタ24にデクリメン
ト値として入力される。浮動割り込み要求がフリップフ
ロップ16にセットされている時にはラッチ23にセッ
トされた値から1だけ減算された結果と、減算結果のゼ
ロフラグがデクリメンタ24から出力される。デクリメ
ンタ24から出力された減算結果は、セレクタ22を通
ってラッチ23に次のサイクルでセットされた後、デク
リメンタ24に入力される。こうして予めラッチ23に
セットされた値は浮動割り込み要求がフリップフロップ
16から出力されている間は1サイクルに1づつ減算さ
れ続ける。そして減算結果がゼロになる時にデクリメン
タ24からゼロフラグが出力されてフリップフロップ2
5をセットする。フリップフロップ25がセットされた
サイクルかそれ以降でリセット条件が発生する迄の期間
内で、ラッチ17が浮動割り込みマスクが受け付け許可
状態にあると、ANDゲート26が開き、浮動割り込み
要求がORゲート19を通してプライオリティ回路20
に入力される。
The floating interrupt request set in the flip-flop 16 is input to the decrementer 24 as a decrement value. When the floating interrupt request is set in the flip-flop 16, the decrementer 24 outputs the result of subtracting 1 from the value set in the latch 23 and the zero flag of the subtraction result. The subtraction result output from the decrementer 24 is input to the decrementer 24 after being set in the latch 23 through the selector 22 in the next cycle. Thus, the value set in the latch 23 in advance continues to be decremented by one every one cycle while the floating interrupt request is output from the flip-flop 16. When the subtraction result becomes zero, the decrementer 24 outputs a zero flag and the flip-flop 2
Set 5. If the latch 17 is in the acceptance-permitted state of the floating interrupt mask within the period in which the flip-flop 25 is set or a reset condition is generated in the subsequent cycles, the AND gate 26 opens and the floating interrupt request becomes the OR gate 19. Through priority circuit 20
Entered in.

【0035】プライオリティ回路20では他の割り込み
要求とORゲート19から伝えられた浮動割り込み要求
との間で予め決められた優先順位定義に従ったプライオ
リティが取られる。もし浮動割り込みよりも優先順位が
高い割り込み要因がない場合には浮動割り込み要求をデ
ータ処理部8に対して浮動割り込み起動要求信号FIN
T_RQが発行される。
The priority circuit 20 takes priority between another interrupt request and the floating interrupt request transmitted from the OR gate 19 in accordance with a predetermined priority definition. If there is no interrupt factor higher in priority than the floating interrupt, the floating interrupt request is sent to the data processing unit 8 as the floating interrupt activation request signal FIN.
T_RQ is issued.

【0036】フリップフロップ16へ浮動割り込み要求
をセットするための条件としては、既に述べた微分回路
によって検出された条件に加えて下記に述べる条件があ
る。浮動割り込み要求の認識、受け付け、通知プロセス
は、1つのプロセッサとITC3の間の制御バス4およ
びデータバス5を使用したバスオペレーションからな
る。ITC3は浮動割り込み受け付けの通知プロセスの
ためのバスオペレーションが終了するまでに、次の操作
のために別の浮動割り込みを検出する場合がある。この
場合、ITC3はバスオペレーションの終了後であって
もFINT線6上のFINT信号をネゲートせず“O
N”のままにする。
The conditions for setting the floating interrupt request to the flip-flop 16 include the conditions described below in addition to the conditions detected by the differentiating circuit already described. The process of recognizing, accepting and notifying a floating interrupt request consists of bus operations using the control bus 4 and the data bus 5 between one processor and the ITC 3. ITC3 may detect another floating interrupt for the next operation by the end of the bus operation for the notification process of acceptance of floating interrupt acceptance. In this case, the ITC 3 does not negate the FINT signal on the FINT line 6 even after the bus operation is completed,
Leave as N ".

【0037】しかしながらこの場合各プロセッサにおい
ては、別の浮動割り込み要求を認識できない。これは微
分回路が“ON”のままのFINT信号から立ち上り微
分を検知できないためである。このためバスオペレーシ
ョンの終了時にITC3においてFINT信号がアサー
トされ続ける場合には、新たな浮動割り込み要求が発生
しているものと全てのプロセッサが、認識できるように
する必要がある。
However, in this case, each processor cannot recognize another floating interrupt request. This is because the differentiating circuit rises from the FINT signal which is still "ON" and the differential can not be detected. Therefore, if the FINT signal continues to be asserted in the ITC3 at the end of the bus operation, it is necessary for all the processors to recognize that a new floating interrupt request is being generated.

【0038】BEND信号とFACK信号はこの様な問
題を解決する為に、浮動割り込み受け付け通知プロセス
のためにバスオペレーションの終了を知らしめる為のも
のである。プロセッサの1つはITC3への浮動割り込
み受け付け通知を認識するため、制御バス4を介してF
ACK信号を出力する。その後ITC3はバスオペレー
ション終了時に制御バス4を介してBEND信号を出力
する。BEND信号はバスオペレーションのためのデー
タバス5上の情報伝達の終了を意味する。制御バス4上
のBEND信号を認識した時、FACK信号を出力した
制御装置はFACK信号をネゲートする。
In order to solve such a problem, the BEND signal and the FACK signal are for notifying the end of the bus operation for the floating interrupt acceptance notification process. Since one of the processors recognizes the floating interrupt acceptance notification to the ITC 3, the F
Output an ACK signal. After that, the ITC 3 outputs the BEND signal via the control bus 4 at the end of the bus operation. The BEND signal means the end of information transmission on the data bus 5 for bus operation. When recognizing the BEND signal on the control bus 4, the control device which has output the FACK signal negates the FACK signal.

【0039】以上の理由で、浮動割り込み受け付けの通
知プロセスのためのバスオペレーションの終了はFAC
K信号とBEND信号の両方のチェックにより検出され
る。ANDゲート12はFACK信号とBEND信号を
検出し、フリップフロップ13にセットする。フリップ
フロップ13はバスオペレーションの終了を示してい
る。その時FINT信号が“ON”になっていれば、A
NDゲート14が開き、フリップフロップ16はITC
3より出力された別の浮動割り込み要求をセットする。
For the above reason, the end of the bus operation for the notification process of the floating interrupt acceptance is terminated by the FAC.
It is detected by checking both the K and BEND signals. The AND gate 12 detects the FACK signal and the BEND signal and sets them in the flip-flop 13. The flip-flop 13 indicates the end of the bus operation. If the FINT signal is "ON" at that time, A
The ND gate 14 is opened, and the flip-flop 16 is ITC.
Set another floating interrupt request output from 3.

【0040】なお、ある1つのプロセッサ1において、
認識した浮動割り込み要求をフリップフロップ16にセ
ットしてからデータ処理部8に信号FINT_RQによ
る浮動割り込み起動要求を発行する条件は、浮動割り込
み受け付けマスクラッチ17にセットされた浮動割り込
みマスクが受け付け許可状態である事のみに基づいて決
定されるのではない。浮動割り込み起動要求は、プロセ
ッサ1が割り込み待ちのウェイト状態であるかウェイト
状態に入った場合には直ちに発行される。また、浮動割
り込み起動要求は、プロセッサ1がウェイト状態でない
場合には浮動割り込み遅延サイクルレジスタ21に設定
されたそのプロセッサ1で固有なサイクル数だけ時刻が
経過後に発行される。もし、浮動割り込み受け付けマス
クラッチ17が受け付け不許可状態に設定されている場
合には、ANDゲート18及び26が閉じ、プライオリ
ティ回路20へ浮動割り込み要求は伝えられない。従っ
てデータ処理部8に対して信号FINT_RQによる浮
動割り込み起動要求も出力されない。浮動割り込み要求
の認識プロセス100について、図3及び図4に基づい
てまとめてみる。データ処理部8に浮動割り込み起動要
求信号FINT_RQが発行される為には、図3に示し
た論理回路にFINT_RQが発行される為の条件が設
定されなければいけない。図の様に、フリップフロップ
16の出力によりANDゲート18及び26が開く。図
3の様にANDゲート18には、フリップフロップ1
6、ラッチ17、データ処理部8のWAIT信号の3つ
の入力がある。また、ANDゲート26には、ラッチ1
7、フリップフロップ26の2つの入力がある。AND
ゲートは、ANDゲートに影響する全ての要素が、満た
された時だけ開く。
Incidentally, in one certain processor 1,
The condition for issuing the floating interrupt activation request by the signal FINT_RQ to the data processing unit 8 after setting the recognized floating interrupt request in the flip-flop 16 is that the floating interrupt mask set in the floating interrupt acceptance mask latch 17 is in the acceptance enabled state. It is not decided on the basis of only one thing. The floating interrupt activation request is issued immediately when the processor 1 is in the wait state waiting for an interrupt or enters the wait state. When the processor 1 is not in the wait state, the floating interrupt activation request is issued after the time has elapsed by the number of cycles specific to the processor 1 set in the floating interrupt delay cycle register 21. If the floating interrupt acceptance mask latch 17 is set to the acceptance disapproval state, the AND gates 18 and 26 are closed and the floating interruption request is not transmitted to the priority circuit 20. Therefore, the floating interrupt activation request by the signal FINT_RQ is not output to the data processing unit 8. The floating interrupt request recognition process 100 will be summarized based on FIGS. 3 and 4. In order to issue the floating interrupt activation request signal FINT_RQ to the data processing unit 8, a condition for issuing FINT_RQ must be set in the logic circuit shown in FIG. As shown, the outputs of flip-flop 16 open AND gates 18 and 26. As shown in FIG. 3, the AND gate 18 has a flip-flop 1
6, there are three inputs of the WAIT signal of the latch 17 and the data processing unit 8. Further, the AND gate 26 has a latch 1
7. There are two inputs to flip-flop 26. AND
The gate opens only when all the elements that affect the AND gate are filled.

【0041】この条件を図4に示した。まず、ANDゲ
ート18が開くための要素としてデータ処理部8から送
られるWAIT信号がある。WAIT信号は、プロセッ
サが、待ち状態で、割り込み受け付け可能である事を示
している。プロセッッサのWAIT状態については、以
下に示す3つの条件がある。 (1)ANDゲート18は、プロセッサがWAIT状態
の時、(即ち、割り込み可能であることを示す信号WA
ITが出力された時)開く。 (2)ANDゲート18は、プロセッサの実行が終りW
AIT信号を受けとると、速やかに開かれる。 (3)ANDゲート18は、プロセッサがWAIT状態
でない場合は、開かないが、プロセッサがBUSYでW
AIT状態でない場合、浮動割り込み遅延サイクルレジ
スタ21に設定された固有なサイクル数だけ時間が経過
後、ANDゲート26が開く。
This condition is shown in FIG. First, there is a WAIT signal sent from the data processing unit 8 as an element for opening the AND gate 18. The WAIT signal indicates that the processor is ready to accept an interrupt in a waiting state. Regarding the WAIT state of the processor, there are the following three conditions. (1) When the processor is in the WAIT state (i.e., the AND gate 18 is a signal WA indicating that interruption is possible).
Open when IT is output). (2) The AND gate 18 has the W
Upon receiving the AIT signal, it is opened promptly. (3) The AND gate 18 does not open when the processor is not in the WAIT state, but when the processor is in BUSY and W
When not in the AIT state, the AND gate 26 opens after a lapse of the number of unique cycles set in the floating interrupt delay cycle register 21.

【0042】ANDゲート26は、デクリメンタ24か
らの出力がゼロになり、浮動割り込み受け付けマスクラ
ッチ17が受け付け可能状態になった時開く。最後に、
ANDゲート18及び26が開いて、浮動割り込み受け
付け可能になる為には、浮動割り込み受け付けマスクラ
ッチ17が、受け付け許可状態でなければならない。も
し、浮動割り込み受け付けマスクラッチ17が受け付け
不許可状態に設定されている場合には、ANDゲート1
8及び26が閉じ、プライオリティ回路20へ浮動割り
込み要求は伝えられない。図4に示した、以上の条件が
そろって、データ処理部8に対して信号FINT_RQ
による浮動割り込み起動要求が出力される。
The AND gate 26 is opened when the output from the decrementer 24 becomes zero and the floating interrupt acceptance mask latch 17 becomes ready to accept. Finally,
In order for the AND gates 18 and 26 to open so that the floating interrupt can be accepted, the floating interrupt acceptance mask latch 17 must be in the acceptance enabled state. If the floating interrupt acceptance mask latch 17 is set to the acceptance-disabled state, the AND gate 1
8 and 26 are closed and no floating interrupt request is transmitted to the priority circuit 20. When all the above conditions shown in FIG. 4 are satisfied, the signal FINT_RQ is sent to the data processing unit 8.
A floating interrupt activation request by is output.

【0043】次に割り込み処理部7から信号FINT_
RQで発行された浮動割り込み起動要求を、データ処理
部8において受け付けた時の受け付けプロセス200に
ついて、図5を用いて説明する。浮動割り込み起動要求
信号FINT_RQが発行されると、データ処理部8は
内部状態として割り込み処理の起動が可能なサイクルで
割り込み起動要求を受け付ける。データ処理部8は浮動
割り込み要求を受け付けた事を示すIACK信号をセッ
トする。割り込み処理部7がFINT_RQ信号で割り
込み起動要求をしても、データ処理部8の状態によりI
ACK信号が直ちに返らない場合がある。この場合に
は、割り込み処理部7ではフリッププロップ16あるい
は25にセットされた浮動割り込み要求を保持すること
でFINT_RQ信号による割り込み起動要求を出力し
続ける。データ処理部8からのIACK信号により割り
込み処理部7に割り込み起動が報告されると、割り込み
処理部7においてはANDゲート27が開き、ORゲー
ト28を通してフリップフロップ16に保持されている
浮動割り込み要求をクリアする。及びフリップフロップ
25に保持されている遅延後の浮動割り込み要求をクリ
アする。加えて、セレクタ22は浮動割り込み遅延サイ
クルレジスタ21にセットされた値をセレクタ22を通
してレジスタ23に再セットする。このようにして、I
TC3から信号FINT6で伝えられる次の浮動割り込
み要求に備える。
Next, the interrupt processing unit 7 outputs the signal FINT_.
The acceptance process 200 when the floating interrupt activation request issued by the RQ is accepted by the data processing unit 8 will be described with reference to FIG. When the floating interrupt activation request signal FINT_RQ is issued, the data processing unit 8 receives the interrupt activation request in a cycle in which the interrupt processing can be activated as an internal state. The data processing unit 8 sets the IACK signal indicating that the floating interrupt request has been accepted. Even if the interrupt processing unit 7 makes an interrupt start request with the FINT_RQ signal, depending on the state of the data processing unit 8, I
The ACK signal may not be returned immediately. In this case, the interrupt processing unit 7 holds the floating interrupt request set in the flip prop 16 or 25 and continues to output the interrupt activation request by the FINT_RQ signal. When an interrupt activation is reported to the interrupt processing unit 7 by the IACK signal from the data processing unit 8, the AND gate 27 is opened in the interrupt processing unit 7, and the floating interrupt request held in the flip-flop 16 is transmitted through the OR gate 28. clear. And the delayed floating interrupt request held in the flip-flop 25 is cleared. In addition, the selector 22 resets the value set in the floating interrupt delay cycle register 21 to the register 23 through the selector 22. In this way, I
Prepare for the next floating interrupt request transmitted by signal FINT6 from TC3.

【0044】次に、プロセッサ1内での浮動割り込み受
け付け処理と、プロセッサ1とITC3の間で制御バス
4及びデータバス5を介して行なわれる浮動割り込み受
け付け通知処理、つまり図5に示される割り込み要求の
受け付けの通知プロセス300について説明する。浮動
割り込み起動要求を受け付けたデータ処理部8は、浮動
割り込み処理を開始する。データ処理部8は、ITC3
に浮動割り込みの受け付けを通知する為及び割り込みの
詳細情報を受け取る為のバスリクエストをバスリクエス
ト部9に対して発行する。するとバスリクエスト部9で
は制御バス4、及びデータバス5を使用する為のバスア
ービトレーション動作を行い、制御バス4及びデータバ
ス5の使用権を獲得しようとする。バスアービトレーシ
ョン動作については本発明の本質部分ではない為ここで
は動作の詳細説明は省略する。
Next, the floating interrupt acceptance process in the processor 1 and the floating interrupt acceptance notification process performed between the processor 1 and the ITC 3 via the control bus 4 and the data bus 5, that is, the interrupt request shown in FIG. The notification process 300 of the acceptance of will be described. The data processing unit 8 that has received the floating interrupt activation request starts the floating interrupt processing. The data processing unit 8 uses the ITC3
A bus request is issued to the bus request unit 9 to notify the reception of the floating interrupt and to receive detailed information of the interrupt. Then, the bus request unit 9 performs a bus arbitration operation for using the control bus 4 and the data bus 5, and tries to acquire the right to use the control bus 4 and the data bus 5. Since the bus arbitration operation is not an essential part of the present invention, a detailed description of the operation will be omitted here.

【0045】もし、制御バス4及びデータバス5の使用
権が獲得できたならば、バスリクエスト部9は制御バス
4中の信号として浮動割り込み受け付け通知を意味する
FACK信号をセットする。また、割り込み処理部7に
対して自プロセッサ1がバス使用中でない事を示すNA
CK信号をネゲートする。さらにバス転送動作の開始を
意味するBSTA信号をアサートする。このBSTA信
号とFACK信号は他の全てのプロセッサ1、主記憶装
置2、及びITC3に伝えられ同時に評価される。この
評価により、プロセッサ1が起動したバス転送動作に対
する応答動作を他のプロセッサ1、主記憶装置2、及び
ITC3のどれが行なうかを決定する。この場合ではF
ACK信号がアサートされている事からITC3が応答
することになり、他のプロセッサ1及び主記憶装置2は
応答しない。
If the right to use the control bus 4 and the data bus 5 can be obtained, the bus request unit 9 sets a FACK signal, which means a floating interrupt acceptance notification, as a signal in the control bus 4. In addition, NA indicating that the processor 1 is not using the bus for the interrupt processing unit 7.
Negate the CK signal. Further, the BSTA signal which means the start of the bus transfer operation is asserted. The BSTA signal and the FACK signal are transmitted to all the other processors 1, the main memory 2, and the ITC 3 and evaluated at the same time. This evaluation determines which of the other processor 1, the main memory 2, and the ITC 3 performs the response operation to the bus transfer operation started by the processor 1. In this case F
Since the ACK signal is asserted, the ITC 3 responds, and the other processors 1 and the main memory 2 do not respond.

【0046】ここで、浮動割り込み受け付け通知のバス
転送動作を起動していない他の全てのプロセッサ1はバ
ス転送動作については直接応答を行なわない。しかし、
他のプロセッサ各々の割り込み処理部7において、BS
TA、FACK信号がアサートされている。及び制御バ
ス4及びデータバス5を自分以外が使用中を示すNAC
K信号がプロセッサ内部で立っている。このため、AN
Dゲート29が開きORゲート28を通して内部でセッ
トされている浮動割り込み情報であるフリップフロップ
16、及び25をクリアする。又、浮動割り込み遅延サ
イクルレジスタ21の保持する値をセレクタ22を通し
てラッチ23に再セットする。このようにしてバス転送
動作を起動中以外の全てのプロセッサ1内部で浮動割り
込み要求のクリア動作を行なう。このクリア動作によ
り、最も早くバス使用権を取って制御バス4上に浮動割
り込み受け付け通知を出力したプロセッサ1以外の全て
のプロセッサ1が同じ1つの浮動割り込み要求に対して
受け付け処理を起動するのを抑止する事ができる。ある
1つのプロセッサ1の内部でデータ処理部8がFINT
_RQを既に受け付けてしまった後に、他のプロセッサ
1が浮動割り込み受け付け通知のバス転送動作を起動す
るばあいがある。この場合には、割り込み処理部7から
浮動割り込み受け付け処理をキャンセルするCANCE
L信号がデータ処理部8及びバスリクエスト部9に対し
て出力される。CANCEL信号によりデータ処理部8
は浮動割り込み受け付け通知のバスリクエストをキャン
セルする。また、データ処理部8は割り込み受け付け処
理をキャンセルして割り込まれる前の動作の続行に戻
る。
Here, all the other processors 1 that have not started the bus transfer operation of the floating interrupt acceptance notification do not directly respond to the bus transfer operation. But,
In the interrupt processing unit 7 of each of the other processors, BS
The TA and FACK signals are asserted. And NAC indicating that the control bus 4 and the data bus 5 are being used by others
The K signal stands inside the processor. Therefore, AN
The D gate 29 is opened to clear the flip-flops 16 and 25 which are the floating interrupt information internally set through the OR gate 28. Further, the value held by the floating interrupt delay cycle register 21 is reset in the latch 23 through the selector 22. In this way, the floating interrupt request is cleared in all the processors 1 other than the bus transfer operation being activated. By this clearing operation, all the processors 1 other than the processor 1 which has acquired the bus use right earliest and has output the floating interrupt acceptance notification on the control bus 4 are activated to accept the same one floating interrupt request. Can be deterred. Within a certain processor 1, the data processing unit 8
After _RQ has already been accepted, another processor 1 may activate the bus transfer operation of the floating interrupt acceptance notification. In this case, the cancel processing unit 7 cancels the floating interrupt acceptance processing.
The L signal is output to the data processing unit 8 and the bus request unit 9. Data processing unit 8 according to the CANCEL signal
Cancels the bus request for the floating interrupt acceptance notification. Further, the data processing unit 8 cancels the interrupt acceptance process and returns to the continuation of the operation before the interruption.

【0047】ITC3はBSTA及びFACK信号によ
りプロセッサ1から浮動割り込み受け付け通知のバス転
送動作を認識する。ITC3は、データバス5に信号F
INT6をアサート中の浮動割り込み要求に付随する割
り込み詳細情報を出力する。ITC3が新たな浮動割り
込み要因を持っていない場合にはITC3は信号FIN
T6をネゲートする。もし、ITC3が新たな浮動割り
込み要因を持っている場合にはITC3はFINT3信
号をアサートし続ける。そして、ITC3はバス転送動
作の完了を意味するBEND信号をアサートする。バス
リクエストを出したプロセッサ1は、ITC3からのB
END信号アサートを見てデータバス5から浮動割り込
み詳細情報を受け取り、浮動割り込み受け付け通知のバ
ス転送動作を終了する。また、プロセッサ1は、バスリ
クエスト部9からデータ処理部8に浮動割り込み詳細情
報を転送する。そして、プロセッサ1は浮動割り込み受
け付け通知のバスリクエストを完了し、浮動割り込み受
け付け処理を完了する。
The ITC 3 recognizes the bus transfer operation of the floating interrupt acceptance notification from the processor 1 by the BSTA and FACK signals. The ITC 3 outputs the signal F to the data bus 5.
Outputs detailed interrupt information associated with the floating interrupt request for which INT6 is being asserted. If the ITC3 does not have a new floating interrupt factor, the ITC3 outputs the signal FIN.
Negate T6. If ITC3 has a new floating interrupt factor, ITC3 continues to assert the FINT3 signal. Then, the ITC3 asserts the BEND signal which means the completion of the bus transfer operation. Processor 1 which issued the bus request is B from ITC3.
The floating interrupt detailed information is received from the data bus 5 by observing the assertion of the END signal, and the bus transfer operation of the floating interrupt acceptance notification is ended. Further, the processor 1 transfers the floating interrupt detailed information from the bus request unit 9 to the data processing unit 8. Then, the processor 1 completes the bus request of the floating interrupt acceptance notification, and completes the floating interrupt acceptance processing.

【0048】以上のように、この実施例は、2つ以上の
プロセッサで構成されるマルチプロセッサシステムであ
って、(1)同一割り込みを複数のプロセッサに対して
同時に要求し一番早く割り込みを受け付けたプロセッサ
のみが割り込み受け付け処理を行う浮動割り込みの要求
発行、並びに1つのプロセッサからの浮動割り込み受け
付け通知に基づき浮動割り込み要求に付随する詳細情報
を発行すると共に受け付けされた浮動割り込み要求の解
消処理を行なう外部割り込み制御部と、(2)外部割り
込み制御部と全てのプロセッサ間とを接続し、外部割り
込み制御部から全てのプロセッサに対して浮動割り込み
要求を伝える浮動割り込み共通信号線と、(3)外部割
り込み制御部と全てのプロセッサ間で接続され、プロセ
ッサと外部割り込み制御部相互間の信号転送動作を制御
すると共に、各プロセッサから外部割り込み制御部に対
して浮動割り込み受け付け通知を行なう為に使用される
複数の信号線で構成される制御共通信号線と、(4)外
部割り込み制御部と全てのプロセッサ間で接続され、制
御共通信号線を使用して1つのプロセッサから発行され
た浮動割り込み受け付け通知に応答して、外部割り込み
制御部から浮動割り込み付随情報を転送する1本以上の
信号線で構成される共通信号線とを備え、各プロセッサ
は、浮動割り込み共通信号線と制御共通信号線とを常時
モニタし、浮動割り込み要求が開始された時、あるいは
プロセッサの内いずれか1つと外部割り込み制御部との
間で浮動割り込み受け付け通知操作を制御共通信号線上
で完了後も浮動割り込み要求が該浮動割り込み共通信号
線上でアサートし続けられている時のいずれかを以て浮
動割り込み要求を認識する事を特徴とする。
As described above, this embodiment is a multiprocessor system composed of two or more processors. (1) The same interrupt is simultaneously requested to a plurality of processors and the interrupt is accepted earliest. Issued a floating interrupt request in which only the specified processor accepts the interrupt, and issued detailed information associated with the floating interrupt request based on the notification of acceptance of the floating interrupt from one processor, and performed processing for canceling the accepted floating interrupt request. An external interrupt control unit, (2) a floating interrupt common signal line that connects the external interrupt control unit and all the processors, and transmits a floating interrupt request from the external interrupt control unit to all the processors, and (3) external It is connected between the interrupt controller and all processors, and the processor and external interrupts A control common signal line composed of a plurality of signal lines used to control the signal transfer operation between the control units and to send a floating interrupt acceptance notification from each processor to the external interrupt control unit; ) It is connected between the external interrupt control unit and all processors, and responds to the floating interrupt acceptance notification issued from one processor using the control common signal line, and transfers the floating interrupt incidental information from the external interrupt control unit. A common signal line composed of one or more signal lines is provided, and each processor constantly monitors the floating interrupt common signal line and the control common signal line, and when a floating interrupt request is started or within the processor. Floating interrupt acceptance notification is controlled between any one of them and the external interrupt control unit. Characterized in that it recognizes the floating interrupt request with a one when is still held asserted by the interrupt common signal line.

【0049】また、この実施例は、各プロセッサは浮動
割り込み要求を認識した後、割り込み受け付け可能状態
であって且つ命令実行中でなく割り込み待ちであるウェ
イト状態の場合には直ちに、あるいはウェイト状態でな
い場合にはプロセッサ毎に独立に定められた時間だけ遅
延を挿入した時点以降で割り込み受け付け可能状態であ
る時のいずれかの条件を以て浮動割り込み受け付け通知
処理を起動する浮動割り込み受け付け制御手段を設けた
事を特徴とする。
Further, in this embodiment, after each processor recognizes the floating interrupt request, it is immediately or not in the wait state in which the interrupt can be accepted and the instruction is not being executed and is waiting for the interrupt. In this case, the floating interrupt acceptance control means for activating the floating interrupt acceptance notification process under any condition when the interrupt acceptance is enabled after the delay is inserted independently for each processor is provided. Is characterized by.

【0050】また、各プロセッサにおいて浮動割り込み
要求を認識した後に浮動割り込み受け付け通知処理の起
動を遅延させる時間の設定は可変である事を特徴とす
る。
Further, the setting of the time for delaying the activation of the floating interrupt acceptance notification processing after recognizing the floating interrupt request in each processor is variable.

【0051】さらに、各プロセッサにおいて浮動割り込
み要求を認識した後の認識解除は自分自身が浮動割り込
み受け付け通知処理をプロセッサ内部で起動した事が確
認された場合、あるいは自分以外のプロセッサが制御共
通信号線を使用して浮動割り込み要求の受け付け通知を
外部割り込み制御部に対して発行した事を確認した場合
のいずれかを以て行なう事を特徴とする。
Further, the derecognition after recognizing the floating interrupt request in each processor is performed when it is confirmed that the floating interrupt acceptance notification processing is activated by the processor itself, or when a processor other than itself is in control common signal line. It is characterized by performing any of the cases when it is confirmed that the notification of acceptance of the floating interrupt request is issued to the external interrupt control unit by using.

【0052】以上のように、この実施例によれば浮動割
り込み要求をITCからシステム構成内の全てのプロセ
ッサに対してブロードキャストする浮動割り込み共通信
号線を設けて構成したので、浮動割り込み要求をメモリ
バスと独立に行なうことを可能にし、システム性能への
影響を抑えると共に、各プロセッサ1とITC3の間の
信号線数を最小限にする事で信号ピン数の増加を抑える
効果がある。
As described above, according to this embodiment, since the floating interrupt common signal line for broadcasting the floating interrupt request from the ITC to all the processors in the system configuration is provided, the floating interrupt request is sent to the memory bus. And the effect on system performance can be suppressed and the number of signal lines between each processor 1 and the ITC 3 can be minimized to suppress an increase in the number of signal pins.

【0053】更に、浮動割り込み受け付け通知を外部割
り込み制御部に伝える複数の制御共通信号線を設け、制
御共通信号線上の値を全てのプロセッサで常時モニタす
る事で、ある1つのプロセッサが浮動割り込み受け付け
通知をITC3に対して発行した時に、他の全てのプロ
セッサは制御共通信号線の浮動割り込み受け付け通知を
見てプロセッサ内部での浮動割り込み要求の認識並びに
既に起動されて浮動割り込み受け付け通知を制御共通信
号線に出力する前の内部状態を自発的にキャンセルする
事で、浮動割り込み受け付け処理を実行するプロセッサ
が他の全てのプロセッサに対して浮動割り込み受け付け
処理のキャンセル操作を制御共通信号線等を用いて行な
う必要がなくなり、浮動割り込み受け付け処理を行なう
1つのプロセッサの決定の為の所要時間が短縮されると
いう効果がある。
Furthermore, by providing a plurality of control common signal lines for transmitting the floating interrupt acceptance notification to the external interrupt control unit and constantly monitoring the values on the control common signal lines by all the processors, a certain one processor accepts the floating interrupt. When the notification is issued to the ITC3, all the other processors see the floating interrupt acceptance notification on the control common signal line, recognize the floating interrupt request inside the processor, and control the floating interrupt acceptance notification already activated. By voluntarily canceling the internal state before outputting to the signal line, the processor executing the floating interrupt acceptance process controls the cancellation operation of the floating interrupt acceptance process for all other processors by using the common signal line etc. A single processor that does not need to perform processing and accepts floating interrupts There is an effect that the time required for the determination is shortened.

【0054】更に、各プロセッサ内部に設けた浮動割り
込み受け付け制御手段は、浮動割り込み要求を認識時に
各プロセッサの状態に基づいて割り込み待ち状態や一番
短く割り込み遅延時間が設定されているプロセッサが優
先して浮動割り込み受け付け処理を担当する事で、プロ
セッサ間の仕事の負荷調整が可能になり、ひいてはマル
チプロセッサシステム全体として処理効率化を達成す
る。
Further, the floating interrupt acceptance control means provided inside each processor gives priority to the interrupt waiting state or the processor having the shortest interrupt delay time based on the state of each processor when recognizing the floating interrupt request. By handling the floating interrupt acceptance processing, it becomes possible to adjust the work load between the processors and eventually achieve the processing efficiency of the entire multiprocessor system.

【0055】実施例2.尚、上記実施例では制御バス4
並びにデータバス5は主記憶装置2とプロセッサ1との
間でデータ転送を行なうメモリバスと共用する例を示し
たが、別々に構成されていてもよく、同様の効果を奏す
る。
Example 2. In the above embodiment, the control bus 4
Also, an example is shown in which the data bus 5 is also used as a memory bus that transfers data between the main memory device 2 and the processor 1, but it may be configured separately and the same effect is obtained.

【0056】実施例3.また、上記実施例では図1に示
す様に2つのプロセッサ1で構成されるマルチプロセッ
サシステム例を示したが、3つ以上のプロセッサで構成
されるマルチプロセッサシステム構成においても同様の
効果を奏する。
Example 3. Further, in the above-described embodiment, as shown in FIG. 1, an example of a multiprocessor system including two processors 1 is shown, but the same effect can be obtained in a multiprocessor system configuration including three or more processors.

【0057】実施例4.また、上記実施例では図2に示
す様に制御バス4及びデータバス5に接続される1つの
プロセッサには1つの割り込み処理部7と1つのデータ
処理部8とで構成されているが、図6に示す様に2つ以
上の割り込み処理部7a、7b及び2つ以上のデータ処
理部8a、8bを有している構成でもよく、同様の効果
を奏する。
Example 4. Further, in the above embodiment, as shown in FIG. 2, one processor connected to the control bus 4 and the data bus 5 is composed of one interrupt processing unit 7 and one data processing unit 8. As shown in FIG. 6, a configuration having two or more interrupt processing units 7a and 7b and two or more data processing units 8a and 8b may be provided, and the same effect is obtained.

【0058】実施例5.また、上記実施例では、特別に
述べなかったが、1つあるいは複数のプロセッサを同一
の半導体上に形成してもよい。
Example 5. Although not specifically mentioned in the above embodiment, one or a plurality of processors may be formed on the same semiconductor.

【0059】実施例6.上記実施例では、各々のプロセ
ッサ1の割り込み処理部7にある浮動割り込み遅延サイ
クルレジスタ21にはあらかじめプロセッサ1毎に独立
な値を設定する例を示したが、浮動割り込み遅延サイク
ルレジスタ21には共通のゼロ以外の値を設定し、2つ
または複数のプロセッサで共有してもよい。この場合値
を共有した全てのプロセッサは、割り込み受け付け通知
を一斉に開始するが、このプロセッサ同士の衝突は、バ
スアービトレーションのシステムにより避けられる。
Example 6. In the above-described embodiment, an example in which the floating interrupt delay cycle register 21 in the interrupt processing unit 7 of each processor 1 is set to an independent value in advance for each processor 1 is shown. May be set to a non-zero value and shared by two or more processors. In this case, all the processors sharing the value start the interrupt acceptance notification all at once, but the collision of the processors can be avoided by the bus arbitration system.

【0060】[0060]

【発明の効果】以上のように、この発明によれば、マル
チプロセッサシステムにおける浮動割り込み処理方式を
高速に行えると共に、半導体テクノロジの進歩に伴うプ
ロセッサのVLSI化に対応して信号ピン数の増加を最
小限に抑えることができる。
As described above, according to the present invention, the floating interrupt processing method in a multiprocessor system can be performed at high speed, and the number of signal pins can be increased corresponding to the VLSI implementation of the processor with the progress of semiconductor technology. Can be kept to a minimum.

【0061】また、制御線は全てのプロセッサで常時モ
ニタされ、割り込み受け付け通知をしたプロセッサ以外
は、その浮動割り込み受け付け通知を見てプロセッサ内
部での割り込み要求及び受け付け通知前処理を自発的に
キャンセルする事で、割り込み受け付け処理を実行する
プロセッサが他の全てのプロセッサに対して割り込み受
け付け処理のキャンセル操作を行なう必要がなくなる。
Further, the control line is constantly monitored by all the processors, and the processors other than the processor which has issued the interrupt acceptance notification voluntarily cancel the interrupt request and the acceptance notification pre-processing in the processor by seeing the floating interrupt acceptance notification. As a result, it becomes unnecessary for the processor that executes the interrupt acceptance processing to cancel the interrupt acceptance processing for all other processors.

【0062】また、割り込み要求の送出及び割り込み要
求の認識を割り込み線を介して行なう事により、制御線
とデータ線の使用率超過によるシステムの効率低下を回
避出来る。
Further, by transmitting the interrupt request and recognizing the interrupt request through the interrupt line, it is possible to avoid a decrease in system efficiency due to excess of the usage rate of the control line and the data line.

【0063】更に、各プロセッサ内部に設けた割り込み
受け付け制御は、割り込み要求を認識時に各プロセッサ
の状態に基づいて割り込み待ち状態や一番短く割り込み
遅延時間が設定されているプロセッサが優先して割り込
み受け付け処理を担当するので、マルチプロセッサシス
テム全体としての処理効率化を達成する。
Further, in the interrupt acceptance control provided in each processor, when the interrupt request is recognized, the interrupt waiting state or the processor having the shortest interrupt delay time is prioritized to accept the interrupt based on the state of each processor. Since it is in charge of processing, the processing efficiency of the entire multiprocessor system is improved.

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

【図1】この発明の一実施例によるマルチプロセッサシ
ステムを示す構成図である。
FIG. 1 is a configuration diagram showing a multiprocessor system according to an embodiment of the present invention.

【図2】この発明の一実施例による1つのプロセッサ内
部のブロック構成図である。
FIG. 2 is a block diagram showing the inside of one processor according to an embodiment of the present invention.

【図3】この発明の一実施例によるプロセッサ内部の割
り込み処理部の構成を示す論理図である。
FIG. 3 is a logic diagram showing a configuration of an interrupt processing unit inside a processor according to an embodiment of the present invention.

【図4】この発明の一実施例によるプロセッサ内部の割
り込み処理部の手順を示す処理フロー図である。
FIG. 4 is a processing flow chart showing a procedure of an interrupt processing unit inside a processor according to an embodiment of the present invention.

【図5】この発明の一実施例によるプロセッサ内部の割
り込み処理部の手順を示す処理フロー図である。
FIG. 5 is a processing flow chart showing a procedure of an interrupt processing unit inside a processor according to an embodiment of the present invention.

【図6】この発明の他の実施例によるプロセッサの内部
ブロック構成図である。
FIG. 6 is an internal block diagram of a processor according to another embodiment of the present invention.

【図7】従来のマルチプロセッサシステムを示す構成図
である。
FIG. 7 is a configuration diagram showing a conventional multiprocessor system.

【図8】従来の他のマルチプロセッサシステムを示す構
成図である。
FIG. 8 is a configuration diagram showing another conventional multiprocessor system.

【符号の説明】[Explanation of symbols]

1 プロセッサ 3 外部割り込み制御部 4 制御共通信号線 5 共通信号線 6 浮動割り込み共通信号線 7 割り込み処理部 8 データ処理部 9 バスリクエスト部 100 認識プロセス 200 受け付けプロセス 300 通知プロセス 1 processor 3 external interrupt control unit 4 control common signal line 5 common signal line 6 floating interrupt common signal line 7 interrupt processing unit 8 data processing unit 9 bus request unit 100 recognition process 200 acceptance process 300 notification process

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 以下の要素を有する割り込み処理方式 (a)割り込み要求を伝える割り込み線、(b)制御情
報を伝える制御線、(c)データ情報を伝えるデータ
線、(d)上記割り込み線と制御線とデータ線に接続さ
れ、上記割り込み線からの割り込み要求を受け付けて上
記制御線に割り込み受け付け通知を送出し、上記データ
線からのデータ情報に基づいて割り込み処理を行なうと
ともに、上記制御線を監視し、他のプロセッサ手段が割
り込み情報を受け付けた場合に自プロセッサの割り込み
要求に関する処理をキャンセルする複数のプロセッサ手
段、(e)上記割り込み線と制御線とデータ線に接続さ
れ、上記プロセッサ手段に対して割り込み線割り込み要
求を送出するとともにその割り込み要求を受け付けたプ
ロセッサ手段の中で最初に割り込み受け付け通知を出し
たプロセッサ手段に対して割り込み処理に必要なデータ
情報をデータ線を用いて送出する割り込み制御部。
1. An interrupt processing system having the following elements: (a) an interrupt line for transmitting an interrupt request, (b) a control line for transmitting control information, (c) a data line for transmitting data information, and (d) the interrupt line. It is connected to a control line and a data line, receives an interrupt request from the interrupt line, sends an interrupt acceptance notification to the control line, performs interrupt processing based on the data information from the data line, and controls the control line. A plurality of processor means for monitoring and canceling the processing relating to the interrupt request of the own processor when another processor means receives the interrupt information, (e) is connected to the interrupt line, the control line and the data line, and is connected to the processor means. The interrupt line is sent to the interrupt request line, and the interrupt line is the highest among the processor means that accepted the interrupt request. The interrupt controller for delivering using the data line data information necessary for interrupt processing to the processor unit which issued the interrupt acceptance notification to.
【請求項2】 上記プロセッサ手段は、割り込み要求を
認識した後、割り込み受け付け可能状態であって且つ命
令実行中でなく割り込み待ちであるウェイト状態の場
合、及び、ウェイト状態でない場合にはプロセッサ毎に
独立に定められた時間だけ遅延を挿入した時点以降で割
り込み受け付け可能状態である場合のいずれかの条件を
以て割り込み受け付け通知処理を起動する割り込み受け
付け制御手段を設けた事を特徴とする特許請求の範囲第
1項に記載の割り込み処理方式。
2. The processor means, after recognizing an interrupt request, in a wait state in which an interrupt can be accepted and is not executing an instruction and is waiting for an interrupt, and when not in a wait state, for each processor. Claims characterized in that interrupt acceptance control means for activating interrupt acceptance notification processing is provided under any condition when interrupt acceptance is enabled after the delay is inserted independently for a predetermined time. The interrupt processing method described in item 1.
【請求項3】 複数のプロセッサを備え、以下の要素を
有するマルチプロセッサシステム (a)複数のプロセッサに割り込み要求を送出し、1つ
のプロセッサからの割り込み受け付け通知を受取り、プ
ロセッサへ割り込み要求に関する付加情報を伝え、上記
割り込み要求を受け付けた確認を受けて上記割り込み要
求を終らせる外部割り込み制御装置、(b)上記外部割
り込み制御装置とプロセッサを接続し、上記外部割り込
み制御装置からプロセッサへの割り込み要求を伝える割
り込み線、(c)上記外部割り込み制御装置とプロセッ
サを接続し、上記外部割り込み制御装置とプロセッサと
の間の制御信号と、プロセッサの1つから上記外部割り
込み制御装置への割り込み受け付け通知を伝える制御
線、(d)上記外部割り込み制御装置とプロセッサを接
続し、上記制御線上の割り込み受け付け通知に応答し
て、上記割り込み要求に関する付加情報を伝えるデータ
線、(e)上記プロセッサに設けられ、上記割り込み線
と制御線をモニタし、割り込み要求を認識するプロセッ
サ手段。
3. A multiprocessor system having a plurality of processors and having the following elements: (a) An interrupt request is sent to the plurality of processors, an interrupt acceptance notification is received from one processor, and additional information on the interrupt request is sent to the processors. And (b) connecting the external interrupt control device to a processor and receiving an interrupt request from the external interrupt control device to the processor. An interrupt line for transmission, (c) connecting the external interrupt control device and the processor, and transmitting a control signal between the external interrupt control device and the processor, and an interrupt acceptance notification from one of the processors to the external interrupt control device. Control line, (d) External interrupt controller and plug A data line that connects a sessor and transmits additional information related to the interrupt request in response to the interrupt acceptance notification on the control line, (e) is provided in the processor, monitors the interrupt line and the control line, and issues an interrupt request. Recognizing processor means.
【請求項4】 割り込み線と制御線とデータ線によって
接続された複数のプロセッサと割り込み制御部を備え、
以下のステップを備えた割り込み処理方法 (a)割り込み制御部から割り込み線を介して割り込み
要求の送出をする割り込み要求送出ステップ、(b)割
り込み線を介した割り込み要求を認識する認識ステッ
プ、(c)少なくとも1つのプロセッサにより、上記割
り込み要求の受け付けをする受け付けステップ、(d)
上記割り込み要求の受け付けをしたプロセッサの1つに
より、制御線上に上記割り込み受け付け通知の送出をす
る通知ステップ、(e)割り込み制御部から上記データ
線上に割り込み要求に関する情報の伝達をする伝達ステ
ップ、(f)1つのプロセッサからの制御線上の受け付
け通知を検出することにより上記割り込み要求の受け付
けのクリアをするクリアステップ。
4. A plurality of processors connected by an interrupt line, a control line, and a data line, and an interrupt control unit,
An interrupt processing method including the following steps: (a) an interrupt request sending step of sending an interrupt request from an interrupt control unit via an interrupt line; (b) a recognition step of recognizing an interrupt request via an interrupt line; ) A receiving step of receiving the interrupt request by at least one processor, (d)
A notification step of sending the interrupt acceptance notification on a control line by one of the processors that accepted the interrupt request; (e) a transmission step of transmitting information about the interrupt request from the interrupt control unit to the data line; f) A clear step of clearing the acceptance of the interrupt request by detecting the acceptance notification on the control line from one processor.
【請求項5】 割り込み線と制御線とデータ線によって
接続された複数のプロセッサと割り込み制御部を備え、
以下のステップを備えた割り込み処理方法 (a)割り込み制御部から割り込み線を介して割り込み
要求の送出をする割り込み要求送出ステップ、 (b)割り込み線を介して割り込み要求の認識をする認
識ステップ、 (c)少なくとも1つのプロセッサにより、(c1)プ
ロセッサが待ち状態で割り込み待ちの時、(c2)プロ
セッサが各プロセッサにあらかじめ定められた遅延時間
を使い果たした時のいずれかの場合に上記割り込み要求
の受け付け通知をする受け付け通知ステップ。
5. A plurality of processors connected by an interrupt line, a control line, and a data line, and an interrupt control unit are provided,
An interrupt processing method including the following steps: (a) an interrupt request sending step of sending an interrupt request from an interrupt control unit via an interrupt line; (b) a recognition step of recognizing an interrupt request via an interrupt line; c) At least one processor accepts the interrupt request in any of the following cases: (c1) the processor is in a waiting state and waiting for an interrupt, and (c2) the processor runs out of a predetermined delay time for each processor. Receiving notification step to notify.
JP5098045A 1992-06-04 1993-04-23 Interrupt processing method, multiprocessor system, and interrupt processing method Expired - Fee Related JP2842501B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5098045A JP2842501B2 (en) 1992-06-04 1993-04-23 Interrupt processing method, multiprocessor system, and interrupt processing method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP4-144370 1992-06-04
JP14437092 1992-06-04
JP5098045A JP2842501B2 (en) 1992-06-04 1993-04-23 Interrupt processing method, multiprocessor system, and interrupt processing method

Publications (2)

Publication Number Publication Date
JPH0652091A true JPH0652091A (en) 1994-02-25
JP2842501B2 JP2842501B2 (en) 1999-01-06

Family

ID=26439239

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5098045A Expired - Fee Related JP2842501B2 (en) 1992-06-04 1993-04-23 Interrupt processing method, multiprocessor system, and interrupt processing method

Country Status (1)

Country Link
JP (1) JP2842501B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021002144A (en) * 2019-06-20 2021-01-07 富士通株式会社 Information processing device, control method of information processing device, and control program of information processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021002144A (en) * 2019-06-20 2021-01-07 富士通株式会社 Information processing device, control method of information processing device, and control program of information processing device

Also Published As

Publication number Publication date
JP2842501B2 (en) 1999-01-06

Similar Documents

Publication Publication Date Title
US5416910A (en) Method and apparatus for performing bus arbitration in a data processing system
CA2026737C (en) Bus master interface circuit with transparent preemption of a data transfer controller
US5309567A (en) Structure and method for an asynchronous communication protocol between master and slave processors
EP0370018B1 (en) Apparatus and method for determining access to a bus
US6473414B1 (en) Carrier sense collision avoidance with auto abort
US5127089A (en) Synchronous bus lock mechanism permitting bus arbiter to change bus master during a plurality of successive locked operand transfer sequences after completion of current sequence
US5790813A (en) Pre-arbitration system allowing look-around and bypass for significant operations
JPH0354375B2 (en)
JPH07105146A (en) Common memory device
US6275890B1 (en) Low latency data path in a cross-bar switch providing dynamically prioritized bus arbitration
JPH07244649A (en) Interruptive processing decentralization system
US4559595A (en) Distributed priority network logic for allowing a low priority unit to reside in a high priority position
EP0217350B1 (en) Data transfer control unit and system
JP2842501B2 (en) Interrupt processing method, multiprocessor system, and interrupt processing method
JPH07295947A (en) Equipment and method for data transfer management
US20060031619A1 (en) Asynchronous system bus adapter for a computer system having a hierarchical bus structure
US6105082A (en) Data processor used in a data transfer system which includes a detection circuit for detecting whether processor uses bus in a forthcoming cycle
JPH10307788A (en) Bus bridge
JPS63165942A (en) Control device for shared bus line
JPS58169660A (en) Forming method of multi-processor system
JPH0650499B2 (en) Data transfer method between microprocessors
JP2556290B2 (en) Bus arbitration device
JP3365419B2 (en) Bus arbitration method
JPS6240565A (en) Memory control system
JPS6132161A (en) Information transfer device of processing system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees