JPH08147176A - Illegal interruption request signal detecting circuit - Google Patents

Illegal interruption request signal detecting circuit

Info

Publication number
JPH08147176A
JPH08147176A JP6291089A JP29108994A JPH08147176A JP H08147176 A JPH08147176 A JP H08147176A JP 6291089 A JP6291089 A JP 6291089A JP 29108994 A JP29108994 A JP 29108994A JP H08147176 A JPH08147176 A JP H08147176A
Authority
JP
Japan
Prior art keywords
output
interrupt request
request signal
interrupt
processor circuit
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
JP6291089A
Other languages
Japanese (ja)
Inventor
Hideaki Tokuchi
秀昭 徳地
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP6291089A priority Critical patent/JPH08147176A/en
Publication of JPH08147176A publication Critical patent/JPH08147176A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To prevent the malfunction of a processor circuit caused by an illegal interruption request signal to be non-outputted just after being outputted. CONSTITUTION: When an interruption permit signal (e) from a processor circuit 1 is changed, respective interruption request signals (a)-(d) respectively outputted from respective external equipment 21-24 are held in a flip-flop circuit 3 and when the interruption permit signal is outputted corresponding to the outputs of the respective interruption request signals, it is detected whether the interruption request signals are held in the flip-flop circuit 3 or not. When they are not held, it is reported through an interruption terminal NMI of the processor circuit 1 to the processor circuit 1 that the signals are illegal interruption requests. As a result, the malfunction of the processor circuit 1 caused by the illegal interruption request signals can be prevented.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プロセッサ回路と複数
の外部機器とからなる装置において、外部機器からプロ
セッサ回路に割り込み要求信号を送出してデータ伝送を
行う際の不正割り込み要求信号を検出する検出回路に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention, in a device comprising a processor circuit and a plurality of external devices, detects an illegal interrupt request signal when data is transmitted by sending an interrupt request signal from the external device to the processor circuit. Regarding the detection circuit.

【0002】[0002]

【従来の技術】複数の外部機器と1つのプロセッサ回路
とが割り込み要求信号に基づいてデータ伝送を行うこの
種のシステムの一例は、図3に示すような構成となって
いる。同図において、1はプロセッサ回路、21 〜24
はそれぞれ外部機器を示す。ここで、各外部機器21 〜
24 がプロセッサ回路1とデータ伝送を行う際に発生す
る各割り込み要求信号a〜dを伝達する信号線は、プロ
セッサ回路1の各割込入力端子INT0〜INT3に各
個に接続されている。また、各割り込み要求信号a〜d
に対し割り込み許可信号を発生するプロセッサ回路1の
割込許可出力端子INTA(バー)は、各外部機器21
〜24 と共通に接続されている。
2. Description of the Related Art An example of this type of system in which a plurality of external devices and one processor circuit perform data transmission based on an interrupt request signal has a configuration as shown in FIG. In the figure, 1 is a processor circuit, 21 to 24
Indicates external devices, respectively. Here, each external device 21-
The signal lines for transmitting the respective interrupt request signals a to d generated when the data transmission with the processor circuit 1 from the processor circuit 24 are connected to the interrupt input terminals INT0 to INT3 of the processor circuit 1, respectively. In addition, each interrupt request signal a to d
The interrupt enable output terminal INTA (bar) of the processor circuit 1 which generates an interrupt enable signal to the external device 21
Commonly connected to ~ 24.

【0003】そして、プロセッサ回路1がプログラムを
実行中に、例えば外部機器21 がプロセッサ回路1とデ
ータの送受信を行う必要が生じると、外部機器21 は割
込入力端子INT0を介して割り込み要求信号aをプロ
セッサ回路1へ送出する。するとプロセッサ回路1は、
実行中のプログラムを直ちに中断して割り込み処理に入
り、割込許可出力端子INTAから割り込み許可信号e
を出力する。その後、この割り込み処理の中で図示しな
いバスを介して外部機器21 とデータ送受信を行う。
When the external device 21 needs to send and receive data to and from the processor circuit 1 while the processor circuit 1 is executing a program, the external device 21 sends an interrupt request signal a through the interrupt input terminal INT0. To the processor circuit 1. Then the processor circuit 1
The program being executed is immediately interrupted and interrupt processing is started, and the interrupt enable signal e is output from the interrupt enable output terminal INTA.
Is output. Then, in this interrupt processing, data is transmitted / received to / from the external device 21 via a bus (not shown).

【0004】[0004]

【発明が解決しようとする課題】しかしこのような方式
では、例えば外部機器21 が割り込み要求信号を出力し
た後に直ちにその要求信号が無出力となると、プロセッ
サ回路1では割り込み処理に移行するものの、その割り
込み要求信号がどの外部機器から出力されたかを認識す
ることができない。従って、この場合プロセッサ回路1
は外部機器21 以外の外部機器から割り込み要求が発生
したものと誤認識して、データ送受信の要求の無い例え
ば外部機器22 とデータ送受信処理を行うという、誤っ
た割り込み処理を実行してしまい、以降正常な処理を行
うことができないという問題を生じている。従って本発
明は、出力された後に直ちに無出力となる不正割り込み
要求信号によるプロセッサ回路の誤動作を防止すること
を目的とする。
However, in such a system, when the external device 21 outputs an interrupt request signal and immediately thereafter the request signal goes out, the processor circuit 1 shifts to interrupt processing. It is not possible to recognize from which external device the interrupt request signal was output. Therefore, in this case, the processor circuit 1
Erroneously recognizes that an interrupt request has occurred from an external device other than the external device 21 and executes an incorrect interrupt process such as performing data transmission / reception process with the external device 22 that does not request data transmission / reception. This causes a problem that normal processing cannot be performed. Therefore, it is an object of the present invention to prevent the processor circuit from malfunctioning due to an illegal interrupt request signal that immediately becomes non-output after being output.

【0005】[0005]

【課題を解決するための手段】このような課題を解決す
るために本発明は、複数の外部機器と、各外部機器から
出力される割り込み要求信号に対し割り込み許可信号を
返送して各外部機器とデータ伝送を行うプロセッサ回路
とからなる装置において、各外部機器から出力される各
割り込み要求信号を割り込み許可信号の変化時に保持す
る第1の保持手段と、各割り込み要求信号の出力に対し
て割り込み許可信号が出力された時に第1の保持手段の
割り込み要求信号の保持の有無を検出する検出手段と、
検出手段の無検出出力に応じプロセッサ回路に対し不正
割り込み要求として通知する通知手段とを設けたもので
ある。また、各外部機器から出力される各割り込み要求
信号を各個に記憶すると共に読み出し動作が行われるま
でこの記憶内容を保持する第2の保持手段を設け、プロ
セッサ回路は不正割り込み要求が通知されたときに第2
の保持手段から割り込み要求信号を読み出すようにした
ものである。
In order to solve such a problem, the present invention provides a plurality of external devices and each external device by returning an interrupt enable signal in response to an interrupt request signal output from each external device. And a processor circuit for transmitting data, the first holding means for holding each interrupt request signal output from each external device when the interrupt enable signal changes, and interrupting the output of each interrupt request signal. Detection means for detecting whether or not the interrupt request signal of the first holding means is held when the permission signal is output,
A notifying unit for notifying the processor circuit as an illegal interrupt request according to the non-detection output of the detecting unit is provided. Further, a second holding means is provided for storing each interrupt request signal output from each external device and holding the stored contents until a read operation is performed, and when the processor circuit is notified of an unauthorized interrupt request. To the second
The interrupt request signal is read from the holding means.

【0006】[0006]

【作用】各外部機器からそれぞれ出力される各割り込み
要求信号を割り込み許可信号の変化時に第1の保持手段
に保持し、各割り込み要求信号の出力に対しプロセッサ
回路から割り込み許可信号が出力された時に第1の保持
手段内に割り込み要求信号が保持されているか否かを検
出して、保持されていない場合はプロセッサ回路に対し
不正割り込み要求の旨を通知する。この結果、各外部機
器から出力された後に直ちに無出力となるような不正割
り込み要求信号が的確に検出されてプロセッサ回路に伝
達され、従ってプロセッサ回路の誤動作を確実に防止す
ることができる。また、各外部機器から出力される各割
り込み要求信号を各個に第2の保持手段に保持し、不正
割り込み要求が通知された場合は、プロセッサ回路は第
2の保持手段の内容を読み出して入力する。この結果、
不正割り込み要求信号の発生源を容易に検出できる。
When the interrupt request signal output from each external device is held in the first holding unit when the interrupt enable signal changes, and when the interrupt enable signal is output from the processor circuit in response to the output of each interrupt request signal Whether or not the interrupt request signal is held in the first holding means is detected, and if it is not held, the processor circuit is notified of the illegal interrupt request. As a result, an unauthorized interrupt request signal that immediately outputs no output after being output from each external device is accurately detected and transmitted to the processor circuit, so that the malfunction of the processor circuit can be reliably prevented. Further, each interrupt request signal output from each external device is individually held in the second holding unit, and when an illegal interrupt request is notified, the processor circuit reads and inputs the contents of the second holding unit. . As a result,
The source of the illegal interrupt request signal can be easily detected.

【0007】[0007]

【実施例】以下、本発明について図面を参照して説明す
る。図1は本発明に係る不正割り込み要求信号検出回路
の一実施例を示すブロック図である。同図において、1
はプロセッサ回路、21 〜24 は外部機器であり、これ
らは図3に示す従来回路と同様である。この他、本実施
例回路には、フリップフロップ回路(F/F)3(第1
の保持手段)、オア回路4(検出手段,通知手段)、フ
リップフロップ回路5〜8(第2の保持手段)、立上り
検出部9、及びレジスタ回路10が設けられている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of an illegal interrupt request signal detection circuit according to the present invention. In the figure, 1
Is a processor circuit, and 21 to 24 are external devices, which are similar to the conventional circuit shown in FIG. In addition, in the circuit of this embodiment, the flip-flop circuit (F / F) 3 (first
Holding means), an OR circuit 4 (detecting means, notifying means), flip-flop circuits 5 to 8 (second holding means), a rising detection unit 9, and a register circuit 10.

【0008】ところで、各外部機器21 〜24 では、プ
ロセッサ回路1とデータの送受信を行う場合は、それぞ
れ割り込み要求信号a〜dをプロセッサ回路1へ出力し
てデータを送受信するような構成となっている。即ち、
例えば外部機器21 がプロセッサ回路1とデータの送受
信を行う必要が生じると、外部機器21 は割込入力端子
INT0を介して割り込み要求信号aをプロセッサ回路
1へ送出する。するとプロセッサ回路1は、実行中のメ
インプログラムを直ちに中断して割り込み処理に入り、
割込許可出力端子INTA(バー)から割り込み許可信
号eを出力する。その後、プロセッサ回路1は、割り込
み処理の中でデータバスを介し外部機器21 とデータ送
受信を行い、これの終了後メインプログラムに復帰す
る。
By the way, in each of the external devices 21 to 24, when transmitting and receiving the data to and from the processor circuit 1, the interrupt request signals a to d are output to the processor circuit 1 to transmit and receive the data. There is. That is,
For example, when the external device 21 needs to send and receive data to and from the processor circuit 1, the external device 21 sends an interrupt request signal a to the processor circuit 1 via the interrupt input terminal INT0. Then, the processor circuit 1 immediately interrupts the main program being executed and starts interrupt processing,
An interrupt enable signal e is output from the interrupt enable output terminal INTA (bar). After that, the processor circuit 1 transmits / receives data to / from the external device 21 via the data bus in the interrupt process, and returns to the main program after the end.

【0009】しかし、外部機器21 から出力された割り
込み要求信号aが直ちに無出力となるような場合は、プ
ロセッサ回路1ではその割り込み要求信号がどの外部機
器から出力されたかを認識することができない。従っ
て、出力された割り込み要求信号はプロセッサ回路1が
割り込み許可信号eを出力するまでの間、保持されなけ
れば、以降プロセッサ回路1では正常な処理が行えなく
なるという問題がある。このため本実施例回路では、割
り込み許可信号が出力されるまでの間に無出力となる不
正な割り込み要求信号を検出してプロセッサ回路1に通
知することで、プロセッサ回路1の誤動作を防止する。
However, if the interrupt request signal a output from the external device 21 immediately becomes non-output, the processor circuit 1 cannot recognize from which external device the interrupt request signal was output. Therefore, if the output interrupt request signal is not held until the processor circuit 1 outputs the interrupt permission signal e, there is a problem that the processor circuit 1 cannot perform normal processing thereafter. Therefore, in the circuit of this embodiment, a malfunction of the processor circuit 1 is prevented by detecting and notifying the processor circuit 1 of an invalid interrupt request signal that is not output until the interrupt enable signal is output.

【0010】以下、図1を用い本実施例回路の要部動作
を説明する。図1において、まず、フリップフロップ回
路3では、プロセッサ回路1から割り込み許可信号eが
出力された時に各外部機器21 〜24 から各割り込み要
求信号a〜dが出力されていれば、この割り込み許可信
号eの立ち下がり(インバータ回路11を介しているの
でその反転信号)で各割り込み要求信号a〜dを記憶す
る。フリップフロップ回路3に記憶された各割り込み要
求信号は、プロセッサ回路1からの割り込み許可信号e
の立ち上がりにより出力されオア回路4へ送出される。
The operation of the main part of the circuit of this embodiment will be described below with reference to FIG. In FIG. 1, first, in the flip-flop circuit 3, if the interrupt request signals a to d are output from the external devices 21 to 24 when the interrupt enable signal e is output from the processor circuit 1, the interrupt enable signal Each of the interrupt request signals a to d is stored at the falling edge of e (the inverted signal of the inverter circuit 11). Each interrupt request signal stored in the flip-flop circuit 3 is an interrupt enable signal e from the processor circuit 1.
Is output at the rising edge of and is sent to the OR circuit 4.

【0011】即ち、いま各割り込み要求信号a〜dを各
々「H」レベルの信号とし、これらの各割り込み要求信
号の何れかが何れかの外部機器からプロセッサ回路1及
びフリップフロップ回路3へ出力され、かつ、この時点
でプロセッサ回路1からの割り込み許可信号eが立ち下
がれば、この「H」レベルの割り込み要求信号はフリッ
プフロップ回路3内に記憶される。続いて、この割り込
み許可信号eが立ち上がれば、記憶されている「H」レ
ベルの割り込み要求信号はオア回路4へ送出され、オア
回路4から「H」レベルの信号が出力される。従ってこ
の場合は割り込み要求信号が割り込み許可信号eを出力
するまでの間保持されているということでプロセッサ回
路1は正規に動作し対応の外部機器とデータ伝送を行
う。
That is, each of the interrupt request signals a to d is now set to an "H" level signal, and any one of these interrupt request signals is output to the processor circuit 1 and the flip-flop circuit 3 from any external device. If the interrupt enable signal e from the processor circuit 1 falls at this point, this "H" level interrupt request signal is stored in the flip-flop circuit 3. Subsequently, when the interrupt permission signal e rises, the stored "H" level interrupt request signal is sent to the OR circuit 4, and the OR circuit 4 outputs the "H" level signal. Therefore, in this case, since the interrupt request signal is held until the interrupt enable signal e is output, the processor circuit 1 operates normally and performs data transmission with a corresponding external device.

【0012】一方、出力された割り込み要求信号が割り
込み許可信号eの立ち下がり時点まで保持されていない
場合は、フリップフロップ回路3内には「H」レベルの
割り込み要求信号は記憶されない。従って、続く割り込
み許可信号eの立ち上がりでフリップフロップ回路3内
の割り込み要求信号を読み出しオア回路4へ送出して
も、オア回路4の出力は「H」レベルを維持できずに
「H」レベルから「L」レベルに変化する。この場合、
この「L」レベル信号はアラーム信号fとして外部アラ
ーム端子ALM(バー)へ出力される一方、プロセッサ
回路1の割込端子NMI(ノンマスカブル・インタラプ
ト)へ出力される。
On the other hand, if the output interrupt request signal is not held until the falling edge of the interrupt enable signal e, the "H" level interrupt request signal is not stored in the flip-flop circuit 3. Therefore, even if the interrupt request signal in the flip-flop circuit 3 is read out and sent to the OR circuit 4 at the subsequent rise of the interrupt permission signal e, the output of the OR circuit 4 cannot be maintained at the “H” level and the output from the “H” level Change to "L" level. in this case,
This "L" level signal is output as the alarm signal f to the external alarm terminal ALM (bar), and is also output to the interrupt terminal NMI (non-maskable interrupt) of the processor circuit 1.

【0013】この結果、プロセッサ回路1では、割込端
子NMIに「H」レベルから「L」レベルに変化する信
号が入力され、上述したデータ伝送を行うための割り込
み処理とは異なる不正な割り込み要求信号を検出するた
めの割り込み処理が起動される。プロセッサ回路1は起
動された割り込み処理の中で、不正な割り込み要求信号
が出力されたことを認識し、この場合は外部機器とはデ
ータ伝送を行わなわずに、メインプログラムに復帰す
る。
As a result, in the processor circuit 1, a signal changing from the "H" level to the "L" level is input to the interrupt terminal NMI, and an illegal interrupt request different from the interrupt process for performing the above-mentioned data transmission. Interrupt processing for detecting a signal is activated. The processor circuit 1 recognizes that an illegal interrupt request signal is output in the activated interrupt process, and in this case, returns to the main program without performing data transmission with an external device.

【0014】また、各外部機器21 〜24 から出力され
た割り込み要求信号a〜dは、プロセッサ回路から割り
込み許可信号eが出力されなくても、各フリップフロッ
プ回路5〜8に記憶されている。従って、プロセッサ回
路1は、各フリップフロップ回路5〜8の記憶内容を読
み出すようにすれば、割り込み要求信号がどの外部機器
から不正に出力されたかを認識することができる。
The interrupt request signals a to d output from the external devices 21 to 24 are stored in the flip-flop circuits 5 to 8 even if the interrupt enable signal e is not output from the processor circuit. Therefore, the processor circuit 1 can recognize from which external device the interrupt request signal is illegally output by reading the storage contents of the flip-flop circuits 5 to 8.

【0015】即ち、プロセッサ回路1では、割り込み要
求信号の不正出力を認識する上述の割込端子NMIを介
する割込信号による割り込み処理の中で、レジスタ回路
10に対するデータの読み出し命令を実行する。する
と、この読み出し命令により、プロセッサ回路1のリー
ド端子RD(バー)から「L」レベルの読み出し信号g
が立上り検出部9を介して各フリップフロップ回路5〜
8へ出力され、この読み出し信号gの立ち下がりで各フ
リップフロップ回路5〜8の記憶内容がレジスタ回路1
0に蓄積される。
That is, the processor circuit 1 executes a data read command to the register circuit 10 in the interrupt processing by the interrupt signal through the interrupt terminal NMI which recognizes the illegal output of the interrupt request signal. Then, according to this read command, the read signal g of "L" level is output from the read terminal RD (bar) of the processor circuit 1.
Are connected to the flip-flop circuits 5 through 5
8 is output to the register circuit 1 at the falling edge of the read signal g.
Stored at 0.

【0016】そしてこの各フリップフロップ回路5〜8
の記憶内容(即ち、外部機器から出力された割り込み要
求信号)のレジスタ回路10への蓄積と同時に、この蓄
積内容は上述の読み出し信号gによりデータバスを介し
不正出力割り込み要求信号hとしてプロセッサ回路1の
データ端子DATAへ送られる。従って、プロセッサ回
路1では、この不正出力割り込み要求信号hを検出する
ことにより、どの外部機器から割り込み要求信号が不正
に出力されているかを認識することができる。なお、立
上り検出部9では上記読み出し信号gの立ち上がりを検
出すると、この立ち上がりで各フリップフロップ回路5
〜8の記憶内容をクリアする。
Each of the flip-flop circuits 5-8
At the same time that the stored contents (that is, the interrupt request signal output from the external device) is accumulated in the register circuit 10, the accumulated contents are processed as an illegal output interrupt request signal h via the data bus by the above-mentioned read signal g as the processor circuit 1 Data terminal DATA. Therefore, the processor circuit 1 can recognize from which external device the interrupt request signal is illegally output by detecting the illegal output interrupt request signal h. When the rising edge detector 9 detects the rising edge of the read signal g, each flip-flop circuit 5 is detected at this rising edge.
Clear the stored contents of ~ 8.

【0017】図2は、以上のような動作を行う本実施例
回路の各部から出力される各種の信号の出力タイミング
の一例を示すタイミングチャートである。このタイミン
グチャートに基づき本実施例回路の要部動作をさらに詳
細に説明する。ここで、図2(a)は外部機器21 から
出力される割り込み要求信号aの出力タイミング、図2
(b)はプロセッサ回路1から出力される割り込み許可
信号eの出力タイミング、図2(c)は外部機器22 か
ら出力される割り込み要求信号bの出力タイミングをそ
れぞれ示している。
FIG. 2 is a timing chart showing an example of the output timing of various signals output from the respective parts of the circuit of this embodiment which performs the above operation. Based on this timing chart, the operation of the main part of the circuit of this embodiment will be described in more detail. 2A shows the output timing of the interrupt request signal a output from the external device 21.
2B shows the output timing of the interrupt permission signal e output from the processor circuit 1, and FIG. 2C shows the output timing of the interrupt request signal b output from the external device 22.

【0018】図2の例では、外部機器21 から出力され
る割り込み要求信号aは、プロセッサ回路1から割り込
み許可信号eが出力されるまで保持されているため正常
であるが、外部機器22 から出力される割り込み要求信
号bは割り込み許可信号eが出力されるまで保持されて
いないため不正出力となる。そしてこの場合、プロセッ
サ回路1から時点で割り込み要求信号eが出力された
後、この信号eが時点で立ち上がった時点で上述した
ように、アラーム信号fが出力される(図2(d))。
In the example of FIG. 2, the interrupt request signal a output from the external device 21 is normal because it is held until the interrupt enable signal e is output from the processor circuit 1, but it is output from the external device 22. The interrupt request signal "b" is not held until the interrupt permission signal "e" is output, and thus is an illegal output. Then, in this case, after the interrupt request signal e is output from the processor circuit 1 at a time point, the alarm signal f is output at the time point when the signal e rises at a time point as described above (FIG. 2 (d)).

【0019】このアラーム信号fは、プロセッサ回路1
の割込端子NMIにも入力され、プロセッサ回路1はこ
のアラーム信号fに起動されて割り込み処理を実行す
る。そして割り込み処理の中で上述したような読み出し
信号gを出力すると(図2(e))、各フリップフロッ
プ回路5〜8に記憶されレジスタ回路10に蓄積された
不正出力割り込み要求信号hが読み出されて出力される
(図2(f))。この結果、プロセッサ回路1では、ど
の外部機器から割り込み要求信号が不正に出力されてい
るかを認識することができ、従ってプロセッサ回路1
は、この認識に基づいて不正割り込み要求信号による誤
動作を回避することができる。
This alarm signal f is sent to the processor circuit 1
Is also input to the interrupt terminal NMI, and the processor circuit 1 is activated by the alarm signal f to execute interrupt processing. Then, when the read signal g as described above is output in the interrupt processing (FIG. 2E), the illegal output interrupt request signal h stored in the flip-flop circuits 5 to 8 and accumulated in the register circuit 10 is read out. And output (FIG. 2 (f)). As a result, the processor circuit 1 can recognize from which external device the interrupt request signal is illegally output, and therefore the processor circuit 1
Based on this recognition, it is possible to avoid malfunction due to an illegal interrupt request signal.

【0020】[0020]

【発明の効果】以上説明したように本発明によれば、各
外部機器からそれぞれ出力される各割り込み要求信号を
割り込み許可信号の変化時に第1の保持手段に保持し、
各割り込み要求信号の出力に対しプロセッサ回路から割
り込み許可信号が出力された時に第1の保持手段内に割
り込み要求信号が保持されているか否かを検出して、保
持されていない場合はプロセッサ回路へ不正割り込み要
求の旨を通知するようにしたので、各外部機器から出力
された後に直ちに無出力となるような不正割り込み要求
信号が的確に検出されてプロセッサ回路に伝達され、従
ってプロセッサ回路の誤動作を確実に防止することがで
きる。また、各外部機器から出力される各割り込み要求
信号を各個に第2の保持手段に保持し、不正割り込み要
求が通知された場合は、プロセッサ回路は第2の保持手
段の内容を読み出すようにしたので、不正割り込み要求
信号の発生源を容易に検出できる。
As described above, according to the present invention, each interrupt request signal output from each external device is held in the first holding means when the interrupt enable signal changes,
When the interrupt enable signal is output from the processor circuit in response to the output of each interrupt request signal, it is detected whether or not the interrupt request signal is held in the first holding means, and if it is not held, it is sent to the processor circuit. Since the notification of an illegal interrupt request is made, an illegal interrupt request signal that causes no output immediately after being output from each external device is accurately detected and transmitted to the processor circuit. It can be surely prevented. Further, each interrupt request signal output from each external device is individually held in the second holding means, and when an unauthorized interrupt request is notified, the processor circuit reads the contents of the second holding means. Therefore, the source of the illegal interrupt request signal can be easily detected.

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

【図1】 本発明に係る不正割り込み要求信号検出回路
の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of an illegal interrupt request signal detection circuit according to the present invention.

【図2】 上記実施例回路の各部の動作タイミングを示
すタイミングチャートである。
FIG. 2 is a timing chart showing the operation timing of each part of the circuit of the above embodiment.

【図3】 従来回路のブロック図である。FIG. 3 is a block diagram of a conventional circuit.

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

1…プロセッサ回路、21 〜24 …外部機器、3,5〜
8…フリップフロップ回路、4…オア回路、9…立上り
検出部、10…レジスタ回路。
1 ... Processor circuit, 21-24 ... External device, 3,5-
8 ... Flip-flop circuit, 4 ... OR circuit, 9 ... Rise detector, 10 ... Register circuit.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数の外部機器と、各外部機器から出力
される割り込み要求信号に対し割り込み許可信号を返送
して各外部機器とデータ伝送を行うプロセッサ回路とか
らなる装置において、 各外部機器から出力される各割り込み要求信号を割り込
み許可信号の変化時に保持する第1の保持手段と、各割
り込み要求信号の出力に対して割り込み許可信号が出力
された時に前記第1の保持手段の割り込み要求信号の保
持の有無を検出する検出手段と、検出手段の無検出出力
に応じプロセッサ回路に対し不正割り込み要求として通
知する通知手段とを備えたことを特徴とする不正割り込
み要求信号検出回路。
1. An apparatus comprising a plurality of external devices and a processor circuit for transmitting data to and from each external device by returning an interrupt enable signal in response to an interrupt request signal output from each external device. First holding means for holding each output interrupt request signal when the interrupt enable signal changes, and interrupt request signal of the first holding means when an interrupt enable signal is output for each output of the interrupt request signal An unauthorized interrupt request signal detection circuit, comprising: detection means for detecting the presence or absence of holding of the signal; and notification means for notifying the processor circuit as an unauthorized interrupt request according to the non-detection output of the detection means.
【請求項2】 請求項1記載の不正割り込み要求信号検
出回路において、 各外部機器から出力される各割り込み要求信号を各個に
記憶すると共に読み出し動作が行われるまでこの記憶内
容を保持する第2の保持手段を備え、前記プロセッサ回
路は不正割り込み要求が通知されたときに第2の保持手
段から割り込み要求信号を読み出すことを特徴とする不
正割り込み要求信号検出回路。
2. The illegal interrupt request signal detection circuit according to claim 1, wherein each interrupt request signal output from each external device is individually stored, and the stored content is held until a read operation is performed. An illegal interrupt request signal detection circuit comprising holding means, wherein the processor circuit reads an interrupt request signal from the second holding means when an illegal interrupt request is notified.
JP6291089A 1994-11-25 1994-11-25 Illegal interruption request signal detecting circuit Pending JPH08147176A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6291089A JPH08147176A (en) 1994-11-25 1994-11-25 Illegal interruption request signal detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6291089A JPH08147176A (en) 1994-11-25 1994-11-25 Illegal interruption request signal detecting circuit

Publications (1)

Publication Number Publication Date
JPH08147176A true JPH08147176A (en) 1996-06-07

Family

ID=17764308

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6291089A Pending JPH08147176A (en) 1994-11-25 1994-11-25 Illegal interruption request signal detecting circuit

Country Status (1)

Country Link
JP (1) JPH08147176A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01200438A (en) * 1988-02-05 1989-08-11 Nec Corp Interruption control circuit
JPH04343147A (en) * 1991-05-20 1992-11-30 Fujitsu Ltd Interrupt control method
JPH05127921A (en) * 1991-11-01 1993-05-25 Hitachi Ltd Semiconductor integrated circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01200438A (en) * 1988-02-05 1989-08-11 Nec Corp Interruption control circuit
JPH04343147A (en) * 1991-05-20 1992-11-30 Fujitsu Ltd Interrupt control method
JPH05127921A (en) * 1991-11-01 1993-05-25 Hitachi Ltd Semiconductor integrated circuit

Similar Documents

Publication Publication Date Title
JPH08147176A (en) Illegal interruption request signal detecting circuit
JPH09500992A (en) Scalar interrupt-recognition system
JPH043282A (en) Ic card
JPH0535616A (en) Data transfer system
JPH09160840A (en) Bus communication device
JPS59195736A (en) Communication controller
JPS632922Y2 (en)
JPH11232210A (en) Information processor
JPH0934727A (en) Interruption control system
JPH0744509A (en) Method for inter-cpu communication
JP3008646B2 (en) Failure information processing method
JP2856573B2 (en) Data transfer device
JPH033043A (en) Semiconductor device
JPH0732412B2 (en) Communication control device
JP2000259526A (en) Serial interface circuit
JPH06103222A (en) Bus transfer system
JPS619743A (en) Logging control method
JP2001142721A (en) Interrupting circuit
JPS6379444A (en) Serial data receiver
JPH06250864A (en) Method for preventing generation of error output from programmable controller
JP2004180096A (en) Information processor and method for detecting device abnormality
JPH04255031A (en) Microcomputer
JPH0497462A (en) Bus error detection circuit
JPH029251A (en) Framing error status circuit
JPS63124156A (en) Memory error detecting method