JPS60120464A - Interrupt control method - Google Patents
Interrupt control methodInfo
- Publication number
- JPS60120464A JPS60120464A JP22941483A JP22941483A JPS60120464A JP S60120464 A JPS60120464 A JP S60120464A JP 22941483 A JP22941483 A JP 22941483A JP 22941483 A JP22941483 A JP 22941483A JP S60120464 A JPS60120464 A JP S60120464A
- Authority
- JP
- Japan
- Prior art keywords
- interrupt
- processing device
- processing
- interrupt request
- mpu
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
- G06F15/163—Interprocessor communication
- G06F15/17—Interprocessor communication using an input/output type connection, e.g. channel, I/O port
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
(d)@明の技術分野
本発明は2つのマイクロプロセサ間における割込制御方
式に関する。Detailed Description of the Invention (d) @Ming's Technical Field The present invention relates to an interrupt control method between two microprocessors.
fb) 従来技術と問題点
2つのマイクロプロセサ(以下プロセサと呼ぶ)間の割
込処理lこおいて、プロセサ人からプロセサBへ割込要
求が発せられたとさ、従来はプロセサBにおける割込処
理回路が、割込要求によってセットされ、且つ処理完了
時に、該回路がリセットされる一時記憶方式が採用され
ていた。1つのタスクを用いて制御及び処理を火打する
プロセサにおいて、プロセサAから割込要求が連続して
発せられた場合、プロセサB&こSいて処理タスクが実
行中のときには、後続の割込要求が無視される(タスク
が1つのため、割込受付の制御タスクとして動作し得な
いので)欠点があった。fb) Prior art and problems: Interrupt processing between two microprocessors (hereinafter referred to as processors). Here, suppose an interrupt request is issued from a processor to processor B. Conventionally, the interrupt processing in processor B is A temporary storage method has been adopted in which a circuit is set by an interrupt request and is reset upon completion of processing. In a processor that uses one task for control and processing, if processor A issues interrupt requests in succession, subsequent interrupt requests will be ignored while processors B and S are executing the processing task. (Since there is only one task, it cannot operate as a control task for accepting interrupts).
(c+ 発明の目的
本発明は上記の欠点を解決するためになされたもので、
割込要求の時禾列処理馨容易とする割込制御方式の提供
を目的とする。(c+ Purpose of the Invention The present invention has been made to solve the above-mentioned drawbacks,
The object of the present invention is to provide an interrupt control method that facilitates processing of interrupt requests.
+d) 発明の構成
本発明は、第1の処理装置と第2の処理装置とを有し、
第1の処理装置から割込レベルを指定するデータ及び割
込要求を発することにより、第2の処理装置が該割込処
理を受付ける処理システムにおいて、前記割込要Xを一
時記憶する手段と、該一時記憶をクリアする手段と、割
込禁止フラグと、該フラグを判別する手段とを備え、前
記第1の処理装置から前記割込要求が発せられた際、前
記第2の処理装置は前記一時記憶手段の情報により前記
割込要求を受けると共に前記割込糸上フラグを設定し、
該割込要求ζこ対する受付処理を実行したのち、前記一
時記憶手段の内容をクリアすることにより前記第2の処
理装置に前記受付処理の終了を通報することを特徴とす
る割込tlilJ(ill方式である。以上のように本
発明は、非同期で動作する2つのマイクロプロセサ(M
PU)間で割込処理を行うとき、2つのMPUの間に、
割込要求を一時記憶するレジスタ及び割込糸上フラグ回
路を設けたものである。第lのMPUから第2のMPU
へ割込要求が発せら、?Lだとき、該割込要求がセット
されるレジスタの内容により、第2のMPUが前記割込
要求を受付けると共に、前記割込禁止フラグをセットす
る。受付処理の終了後、第2のMPUが、レジスタの内
容をリセットし、−1第1のMPUは、割込糸上フラグ
が解除されたときに、次の割込要求を発するように図っ
たものである。+d) Configuration of the invention The present invention includes a first processing device and a second processing device,
In a processing system in which a second processing device accepts interrupt processing by issuing data specifying an interrupt level and an interrupt request from a first processing device, means for temporarily storing the interrupt request X; The second processing device includes means for clearing the temporary memory, an interrupt prohibition flag, and means for determining the flag, and when the first processing device issues the interrupt request, the second processing device receiving the interrupt request and setting the interrupt thread flag based on information in the temporary storage means;
The interrupt tlilJ(ill As described above, the present invention uses two microprocessors (M
When performing interrupt processing between two MPUs,
A register for temporarily storing interrupt requests and an interrupt thread flag circuit are provided. from the first MPU to the second MPU
What if an interrupt request is issued to? When it is L, the second MPU accepts the interrupt request and sets the interrupt prohibition flag according to the contents of the register in which the interrupt request is set. After the reception process is completed, the second MPU resets the contents of the register, and -1 the first MPU is designed to issue the next interrupt request when the interrupt thread flag is cleared. It is something.
te+ 発明の実施例
以下、本発明を図面によって説明する。図面は本発明の
一実施例を説明するブロック図である。te+ Examples of the Invention The present invention will be explained below with reference to the drawings. The drawing is a block diagram illustrating an embodiment of the present invention.
実施例は、図面におけるマイクロプロセシングユニット
(以下MPUと呼ぶ)1からMPU2へ割込処理を依頼
する例である。なおMPUIがMPU2へ割込要求を発
する場合、アドレスバス3からアドレス(機番〕データ
Aを出力すると、デコーダ4の出力端子aの信号レベル
は「0」となる。これによりレジスタ5がセットされ、
その出力端子Qの信号レベルが「0」となるので、Iv
iPU2 (の割込入力端子I 1tQt )に割込み
が通知される。該たトラからの後続の割込は禁止される
。なおこれに先立ちバッファ7にセットされた割込レベ
ル通知用のデータD(8ビツト)は、トライステートゲ
ート8及び9を経てバッファ10へ転送される。次にM
PU2は、MPU1からの割込要求の受付けと、それに
関わる処理を終えたのち、アドレスバス11から受付デ
ータEを出力する。これによりデコーダ12の出力端子
Cの信号レベルが「o」となり、レジスタ5がリセット
される。従って、レジスタ5の出力端子Qの信号レベル
は「o」から「l」へと変化する。この立上り変化は立
上り検出部13により検出され、このときパルスPが出
力される。The embodiment is an example in which a microprocessing unit (hereinafter referred to as MPU) 1 in the drawings requests interrupt processing to MPU 2. Note that when the MPUI issues an interrupt request to the MPU 2, when the address (machine number) data A is output from the address bus 3, the signal level of the output terminal a of the decoder 4 becomes "0".This sets the register 5. ,
Since the signal level of the output terminal Q becomes "0", Iv
An interrupt is notified to the iPU2 (its interrupt input terminal I 1tQt ). Subsequent interrupts from that tiger are prohibited. Note that the interrupt level notification data D (8 bits) set in the buffer 7 prior to this is transferred to the buffer 10 via tristate gates 8 and 9. Next M
After receiving the interrupt request from the MPU 1 and completing the related processing, the PU 2 outputs the reception data E from the address bus 11. As a result, the signal level of the output terminal C of the decoder 12 becomes "o", and the register 5 is reset. Therefore, the signal level at the output terminal Q of the register 5 changes from "o" to "l". This rise change is detected by the rise detection section 13, and a pulse P is output at this time.
これに伴いレジスタ(割込通知用)14がセットされ、
その出力端子Qの信号レベルはrOJとなり、割込入力
端子「頂Σを経て、M))Ulへ 通知される。Along with this, register (for interrupt notification) 14 is set,
The signal level at the output terminal Q becomes rOJ, and is notified to M)) Ul via the interrupt input terminal Σ.
MPUIはMPU2からの割込通知を受けると、デコー
ダ4(の出力端子b)によりトライステートゲート6の
割込禁止フラグFの信号レベルが「l」であることを確
認したのち、次の割込要求を送出する。When the MPUI receives an interrupt notification from the MPU 2, it confirms with the decoder 4 (output terminal b) that the signal level of the interrupt prohibition flag F of the tri-state gate 6 is "L", and then issues the next interrupt. Submit a request.
(f) 発明の効果
以上のように本発明は、非同期で動作する2つのマイク
ロプロセサ間に生じる割込を逐次処理する制御手段を有
するので、割込処理を円滑且つ確実にする利点な有する
。(f) Effects of the Invention As described above, the present invention has a control means for sequentially processing interrupts that occur between two microprocessors that operate asynchronously, and therefore has the advantage of smooth and reliable interrupt processing.
図面は本発明の一実施例を説明するブロック図であり、
図中に用いた符号は次の通りである。
1.2はマイクロプロセシングユニyi)(MPU)。
3.11はアドレスバス、4.12はデコーダ、5゜1
4はレジスタ、6,8.9はトライステートゲート、7
.10はバッファ、13は立上り検出部、15はデータ
バス、Aはアドレス(機番」データ、a。
b、c、dはデコーダの出刃端子、Dは割込レベル通知
用のデータ、Fは割込退出禁止フラグ、IRQ、。The drawing is a block diagram illustrating an embodiment of the present invention,
The symbols used in the figure are as follows. 1.2 is Microprocessing Uni (MPU). 3.11 is address bus, 4.12 is decoder, 5゜1
4 is a register, 6, 8.9 is a tri-state gate, 7
.. 10 is a buffer, 13 is a rising edge detection section, 15 is a data bus, A is address (machine number) data, a. b, c, d are decoder terminals, D is data for interrupt level notification, F is interrupt No entry/exit flag, IRQ.
Claims (1)
装置から割込要Xを発することにより第2の処理装kが
該割込処理を受付けるデータ処理システムlこおいて、
前記割込要Xを一時記憶する手段と、記憶手段に一時記
憶された内容をクリアする手段と、割込禁止フラグと、
該フラグ内容を判別する手改とを備え、前記第lの処理
装置から前記割込要求が発せられた際、前記第2の処理
装置は前記一時記憶手段の情報により前記割込要求を受
付けると共に前記割込糸上フラグを設定し、該割込要求
に対する受付処理を芙行したのち、前記一時記憶手段の
内容をクリアすることにより、前記第2の処理装置に前
記受付処理の終了を通報することを%値とする割込制御
方式。ml processing device and a second processing device, and when the first processing device issues an interrupt request X, the second processing device k accepts the interrupt processing,
means for temporarily storing the interrupt requirement X; means for clearing the contents temporarily stored in the storage means; and an interrupt prohibition flag;
when the first processing device issues the interrupt request, the second processing device accepts the interrupt request based on the information in the temporary storage means; After setting the interrupt thread flag and completing the reception process for the interrupt request, the second processing device is notified of the end of the reception process by clearing the contents of the temporary storage means. An interrupt control method that uses percentage values.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP22941483A JPS60120464A (en) | 1983-12-05 | 1983-12-05 | Interrupt control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP22941483A JPS60120464A (en) | 1983-12-05 | 1983-12-05 | Interrupt control method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS60120464A true JPS60120464A (en) | 1985-06-27 |
Family
ID=16891847
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP22941483A Pending JPS60120464A (en) | 1983-12-05 | 1983-12-05 | Interrupt control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS60120464A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6446155A (en) * | 1987-08-13 | 1989-02-20 | Fujitsu Ltd | Interruption control system |
-
1983
- 1983-12-05 JP JP22941483A patent/JPS60120464A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6446155A (en) * | 1987-08-13 | 1989-02-20 | Fujitsu Ltd | Interruption control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4349873A (en) | Microprocessor interrupt processing | |
JPS60120464A (en) | Interrupt control method | |
US6092143A (en) | Mechanism for synchronizing service of interrupts by a plurality of data processors | |
JPS6049465A (en) | Data transfer method between microcomputers | |
JPS6054051A (en) | Multiple system interrupt processing device | |
JPH0330899B2 (en) | ||
JPS59231639A (en) | Terminal interface device | |
JP2667285B2 (en) | Interrupt control device | |
KR100448930B1 (en) | Computer for preferably processing an interrupt of a device connected to a pci bus, concerned with increasing the processing speed of the entire system by preferably handling interrupt request signals of devices located on the pci bus | |
JPS6042496B2 (en) | Parity error processing method | |
JPH0125095B2 (en) | ||
JPS635436A (en) | Interrupt vector generation method | |
JPS6043770A (en) | Sub-processor unit communication method | |
JPS63187943A (en) | Communication control equipment | |
JPS63233455A (en) | Microprocessor | |
JPS6242310B2 (en) | ||
KR19990032841A (en) | Priority processing control device | |
JPS60170854U (en) | microcomputer | |
JPS6223342B2 (en) | ||
JPS61250736A (en) | Data processing device | |
JPH01200438A (en) | Interruption control circuit | |
WO1986000431A1 (en) | Data processor having multiple bus cycle operand cycles | |
JPH0646411B2 (en) | End token output circuit | |
JPH0479022B2 (en) | ||
JPH01154234A (en) | Interruption controller |