JPH06332727A - Interruption requesting method - Google Patents

Interruption requesting method

Info

Publication number
JPH06332727A
JPH06332727A JP11867893A JP11867893A JPH06332727A JP H06332727 A JPH06332727 A JP H06332727A JP 11867893 A JP11867893 A JP 11867893A JP 11867893 A JP11867893 A JP 11867893A JP H06332727 A JPH06332727 A JP H06332727A
Authority
JP
Japan
Prior art keywords
processor
interrupt
bus
request
processing system
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
JP11867893A
Other languages
Japanese (ja)
Inventor
Katsuyuki 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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP11867893A priority Critical patent/JPH06332727A/en
Publication of JPH06332727A publication Critical patent/JPH06332727A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make it unnecessary for a processor to write its own ID each time by allowing a processing system which issues an interrupting request to identify and store the processor which writes a signal for permitting the interrupting request based on the protocol of a bus. CONSTITUTION:When a processor 1n being one of processors 1a-1c transmits a bus using request signal to a bus arbiter 4, and the bus arbiter 4 transmits a usage permission signal, a DMA control circuit 3 receives the content, and specifies the processor 1n which is permitted to use the bus. Then, the DMA control circuit 3 judges whether or not the processor 1n writes a signal for permitting the interrupting request when a specific interrupting factor (m) is generated in an interruption accepting register 3a, and sets a code for specifying the interrupting factor (m) of an interruption ID register 3b as 1 when the signal is written, and stores a number (n) being the ID of the processor 1n. It is not necessary for the processor to write its own ID in the processing system which issues the interrupting request each time, and it is possible to save writing one time.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、割込要求を許可する処
理系が複数存在するシステム(マルチプロセッサシステ
ム)の割込要求方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interrupt request method for a system (multiprocessor system) having a plurality of processing systems that permit interrupt requests.

【0002】[0002]

【従来の技術】図3に示されるようなマルチプロセッサ
を含むDMA(direct memory access)システムを想定す
る。同系において、割込要求を発行する処理系、例えば
DMA制御回路は、割込要因(入出力装置の動作終了、
状態の変化、所定時間の経過等)が発生すると、割込要
求を受け付けるプロセッサに対して割込要求を行う。こ
のとき、いずれのプロセッサに割り込むのか事前に決め
ておく必要があるので、この場合に備えて各プロセッサ
は、割り込み許可要因を、DMA制御回路の所定の領域
に書き込み、かつ自らのID(識別番号)も書き込むよ
うにしている。
2. Description of the Related Art A direct memory access (DMA) system including a multiprocessor as shown in FIG. 3 is assumed. In the same system, a processing system that issues an interrupt request, for example, a DMA control circuit
When a change in state, elapse of a predetermined time, etc.) occurs, an interrupt request is issued to the processor that receives the interrupt request. At this time, since it is necessary to decide in advance which processor to interrupt, in preparation for this case, each processor writes an interrupt enable factor into a predetermined area of the DMA control circuit and has its own ID (identification number). ) Also writes.

【0003】そして、DMA制御回路は、特定の割込要
因が実際に発生すると、その要因に対応した割込要求先
を特定しそのプロセッサに対して割込要求を行ってい
た。
When a specific interrupt factor actually occurs, the DMA control circuit specifies the interrupt request destination corresponding to the factor and issues an interrupt request to the processor.

【0004】[0004]

【発明が解決しようとする課題】ところが、前記の方式
であれば、割込要求を受け付ける処理系、すなわちプロ
セッサが、割込要求を発行する処理系に自らのIDをそ
の都度書き込む必要がある。このため、割り込み許可要
因と、IDの書込みとの2回の書込みをしなければなら
ないという不都合が生じる。
However, in the above-mentioned method, the processing system that receives the interrupt request, that is, the processor needs to write its own ID to the processing system that issues the interrupt request each time. For this reason, there arises a disadvantage that the interrupt enable factor and the ID must be written twice.

【0005】特に、マルチプロセッサシステムで割込処
理を受け付ける処理系がひんぱんに変化する場合におい
ては、1回の書込みに要する時間(500nsec〜1μsec)が
わずかでも、書込み回数が増加することにより、全体と
して多くの時間が書込みに費やされ、その結果バスのト
ラフィックが増加するという困ったことになってしま
う。
In particular, when the processing system that accepts interrupt processing changes frequently in a multiprocessor system, even if the time required for one writing (500 nsec to 1 μsec) is small, the number of writing increases, and As a result, a lot of time is spent on writing, resulting in an increase in bus traffic, which is a problem.

【0006】そこで、本発明の目的は、上述の技術的課
題を解決し、割込要求を受け付ける処理系が、割込要求
を発行する処理系に自らのIDをその都度書き込む必要
のない割込要求方法を提供することである。
Therefore, an object of the present invention is to solve the above-mentioned technical problems, and a processing system which accepts an interrupt request does not need to write its own ID to the processing system which issues an interrupt request each time. It is to provide a request method.

【0007】[0007]

【課題を解決するための手段】前記の目的を達成するた
めの請求項1記載の割込要求方法は、割込要求を許可す
る処理系であるプロセッサが割込要求を許可する信号を
割込要求を発行する処理系の所定領域に書き込む場合
に、割込要求を発行する処理系が、バスのプロトコルに
基づいて当該書き込んだプロセッサを識別して記憶して
おき、割込要因の発生時には、当該識別されたプロセッ
サに対して割込要求を発行する方法である。
According to a first aspect of the present invention, there is provided an interrupt request method, wherein a processor, which is a processing system permitting an interrupt request, interrupts a signal permitting an interrupt request. When writing to a predetermined area of the processing system that issues a request, the processing system that issues an interrupt request identifies and stores the processor that wrote the request based on the bus protocol, and when an interrupt factor occurs, This is a method of issuing an interrupt request to the identified processor.

【0008】[0008]

【作用】前記の構成によれば、割込要求を許可する処理
系は、割込要求を許可する信号を書き込む場合に、自ら
のIDを、割込要求を発行する処理系に書き込む処理を
しなくてよい。
According to the above configuration, the processing system which permits the interrupt request performs a process of writing its own ID in the processing system which issues the interrupt request when writing a signal permitting the interrupt request. You don't have to.

【0009】[0009]

【実施例】以下実施例を示す添付図面によって詳細に説
明する。図1のシステムは、複数のプロセッサ1a,1
b,1c,…と、複数のメモリ2a,2b,2c,…
と、プロセッサ1a,1b,1c,…のバス使用権を調
整するバスアービタ4と、DMA制御回路3とで構成さ
れるものであって、DMA制御回路3は、プロセッサ1
a,1b,1c,…からの割込許可信号を格納しておく
割込受付レジスタ3aと、割込許可信号に応じたプロセ
ッサ1a,1b,1c,…のIDを割込要因ごとに格納
しておく割込IDレジスタ3bとを有している。
Embodiments will be described in detail below with reference to the accompanying drawings showing embodiments. The system of FIG. 1 has a plurality of processors 1a, 1
b, 1c, ... And a plurality of memories 2a, 2b, 2c ,.
, A bus arbiter 4 that adjusts the bus use right of the processors 1a, 1b, 1c, ... And a DMA control circuit 3.
The interrupt acceptance register 3a for storing the interrupt enable signals from a, 1b, 1c, ... And the IDs of the processors 1a, 1b, 1c, ... corresponding to the interrupt enable signals are stored for each interrupt factor. And an interrupt ID register 3b.

【0010】前記DMA制御回路3は、割込要求を発行
する処理系として機能するものであり、プロセッサ1
a,1b,1c,…は、割込要求を許可する処理系とし
てそれぞれ機能するものである。前記のシステムによる
割込制御手順をフローチャート(図2)を用いて説明す
る。
The DMA control circuit 3 functions as a processing system for issuing an interrupt request, and the processor 1
, a, 1b, 1c, ... Each function as a processing system that permits an interrupt request. The interrupt control procedure by the above system will be described with reference to the flowchart (FIG. 2).

【0011】前記のシステムにおいて、いずれかのプロ
セッサ1a,1b,1c,…(n番目のプロセッサ1n
とする)がバスアービタ4にバス使用要求信号を送り出
し、バスアービタ4が使用許可信号を送り出すと、DM
A制御回路3は、その内容を聴取して(ステップS
1)、バスの使用が許可されたプロセッサ1nを特定す
る(ステップS2)。
In the above system, any one of the processors 1a, 1b, 1c, ... (Nth processor 1n
When the bus arbiter 4 sends a bus use request signal to the bus arbiter 4 and the bus arbiter 4 sends a use permission signal, DM
The A control circuit 3 listens to the contents (step S
1) Specify the processor 1n permitted to use the bus (step S2).

【0012】そして当該プロセッサ1nが、特定の割込
要因mが発生した場合に割込要求を許可する信号を割込
受付レジスタ3aに書き込んで来たかどうか判断する
(ステップS3)。割込受付レジスタ3aに書き込んで
来れば、割込IDレジスタ3bの、割込要因mを特定す
る符号を1にし、プロセッサ1nのIDである番号nを
格納しておく(ステップS4)。
Then, it is judged whether the processor 1n has written a signal for permitting an interrupt request into the interrupt acceptance register 3a when a specific interrupt factor m occurs (step S3). When it is written in the interrupt acceptance register 3a, the code for specifying the interrupt factor m in the interrupt ID register 3b is set to 1 and the number n which is the ID of the processor 1n is stored (step S4).

【0013】DMAの終了等により、前記割込要因mが
発生したとすると(ステップS5)、前記IDのプロセ
ッサ1nに対して割込要求を出す(ステップS6)。以
上の手順を採用することにより、プロセッサ1a,1
b,1c,…が自己のIDをレジスタに書き込まなくて
も、DMA制御回路3は割込許可を出したプロセッサ1
a,1b,1c,…を特定できるので、書込みが1回分
節約できる。
When the interrupt factor m occurs due to the termination of DMA or the like (step S5), an interrupt request is issued to the processor 1n having the ID (step S6). By adopting the above procedure, the processors 1a, 1
Even if b, 1c, ... Do not write their own ID in the register, the DMA control circuit 3 issues the interrupt permission to the processor 1
Since a, 1b, 1c, ... Can be specified, one writing can be saved.

【0014】なお、本発明は以上の実施例に限られるも
のではない。例えば実施例では割込要求を発行する処理
系はDMA制御回路3であったが、これ以外の処理系、
例えばメモリ等とのインターフェイスをとるI/O回路
であってもよい。
The present invention is not limited to the above embodiment. For example, in the embodiment, the processing system that issues the interrupt request was the DMA control circuit 3, but other processing systems,
For example, it may be an I / O circuit that interfaces with a memory or the like.

【0015】[0015]

【発明の効果】以上のように本発明の割込要求方法によ
れば、割込要求を発行する処理系がバスアービトレーシ
ョンをモニタすることにより、割込要求を受け付ける処
理系、すなわちプロセッサの識別ができる。よって、プ
ロセッサは、割込要求を発行する処理系に自らのIDを
その都度書き込む必要がなくなり、書込みが1回節約で
きる。
As described above, according to the interrupt request method of the present invention, the processing system that issues an interrupt request monitors the bus arbitration to identify the processing system that receives the interrupt request, that is, the processor. it can. Therefore, the processor does not need to write its own ID to the processing system that issues the interrupt request each time, and the writing can be saved once.

【0016】したがって、特に書込み回数の多いシステ
ムでは、書込みに費やされる時間が全体として減少し、
その結果バスの使用効率が向上するという効果が得られ
る。
Therefore, in a system with a large number of writes, the time spent for writing is reduced as a whole,
As a result, the effect of improving the bus usage efficiency can be obtained.

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

【図1】複数のプロセッサと、複数のメモリと、バスア
ービタと、DMA制御回路とで構成される割込要求方法
のブロック図である。
FIG. 1 is a block diagram of an interrupt request method including a plurality of processors, a plurality of memories, a bus arbiter, and a DMA control circuit.

【図2】システムの割込動作手順を概説するフローチャ
ートである。
FIG. 2 is a flowchart outlining an interrupt operation procedure of the system.

【図3】マルチプロセッサを含むDMA(direct memory
access)システムの構成図である。
FIG. 3 illustrates a DMA (direct memory) including a multiprocessor.
access) system configuration diagram.

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

1a,1b,1c プロセッサ 2a,2b,2c メモリ 3 DMA制御回路 3a 割込受付レジスタ 3b 割込IDレジスタ 4 バスアービタ 1a, 1b, 1c Processor 2a, 2b, 2c Memory 3 DMA control circuit 3a Interrupt acceptance register 3b Interrupt ID register 4 Bus arbiter

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】割込要求を許可する処理系である複数のプ
ロセッサと、割込要求を発行する処理系と、プロセッサ
のバス使用権を調整するバスアービタとをバスで結合し
たシステムにおいて、 前記プロセッサが割込要求を許可する信号を割込要求を
発行する処理系の所定領域に書き込んだ場合に、割込要
求を発行する処理系が、バスのプロトコルに基づいて当
該書き込んだプロセッサを識別して記憶しておき、割込
要因の発生時には、当該識別されたプロセッサに対して
割込要求を発行することを特徴とする割込要求方法。
1. A system in which a plurality of processors, which are processing systems that permit interrupt requests, a processing system that issues interrupt requests, and a bus arbiter that adjusts the bus usage right of the processors, are coupled by a bus. When a signal that allows an interrupt request is written in a predetermined area of the processing system that issues an interrupt request, the processing system that issues the interrupt request identifies the processor that wrote the signal based on the bus protocol. A method of requesting an interrupt, characterized by storing and issuing an interrupt request to the identified processor when an interrupt factor occurs.
JP11867893A 1993-05-20 1993-05-20 Interruption requesting method Pending JPH06332727A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11867893A JPH06332727A (en) 1993-05-20 1993-05-20 Interruption requesting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11867893A JPH06332727A (en) 1993-05-20 1993-05-20 Interruption requesting method

Publications (1)

Publication Number Publication Date
JPH06332727A true JPH06332727A (en) 1994-12-02

Family

ID=14742503

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11867893A Pending JPH06332727A (en) 1993-05-20 1993-05-20 Interruption requesting method

Country Status (1)

Country Link
JP (1) JPH06332727A (en)

Similar Documents

Publication Publication Date Title
US6986005B2 (en) Low latency lock for multiprocessor computer system
JPS5812611B2 (en) Data Tensou Seigiyohoushiki
EP0443557B1 (en) Interrupt controller capable of realizing interrupt nesting function
JP3055917B2 (en) Data transfer control device
JPH0728758A (en) And device for dynamic time loop arbitration
USRE40261E1 (en) Apparatus and method of partially transferring data through bus and bus master control device
JPH06332727A (en) Interruption requesting method
JP2837698B2 (en) Direct memory access controller
JPS5839343B2 (en) Multiprocessor system instructions
US5799160A (en) Circuit and method for controlling bus arbitration
JPH02219157A (en) Bus arbiter in computer system
JP3206013B2 (en) Direct memory access transfer controller
JPH10289193A (en) Memory access control device and method, and storage medium storing computer readable program
JP2765267B2 (en) Direct memory access transfer controller
JPH08249289A (en) Memory controller and its control method
JP3270149B2 (en) Data transfer device
JPS63191398A (en) Information processor
JPH05324541A (en) Bus interface device
JPH02222058A (en) Multiprocessor system
JP2001117862A (en) Microcomputer
JPS61120396A (en) Microprocessor
JPH06314231A (en) Shared memory access control method
JPH02222059A (en) Multiprocessor system
JPH1011405A (en) Memory access conflict control system
JPH034349A (en) Dma transfer system