JP3186449B2 - Interrupt source register circuit - Google Patents

Interrupt source register circuit

Info

Publication number
JP3186449B2
JP3186449B2 JP18212094A JP18212094A JP3186449B2 JP 3186449 B2 JP3186449 B2 JP 3186449B2 JP 18212094 A JP18212094 A JP 18212094A JP 18212094 A JP18212094 A JP 18212094A JP 3186449 B2 JP3186449 B2 JP 3186449B2
Authority
JP
Japan
Prior art keywords
interrupt factor
circuit
read
reset
read signal
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.)
Expired - Fee Related
Application number
JP18212094A
Other languages
Japanese (ja)
Other versions
JPH0844572A (en
Inventor
英直 佐藤
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 JP18212094A priority Critical patent/JP3186449B2/en
Publication of JPH0844572A publication Critical patent/JPH0844572A/en
Application granted granted Critical
Publication of JP3186449B2 publication Critical patent/JP3186449B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は割込要因レジスタ回路に
関し、特にLSI(大規模集積回路)に内蔵する非同期
系の割込要因の検出方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interrupt factor register circuit, and more particularly to a method for detecting an asynchronous interrupt factor incorporated in an LSI (Large Scale Integrated Circuit).

【0002】[0002]

【従来の技術】従来、この種の割込要因の検出方法にお
いては、図4及び図5に示すように、割込みINT0〜
INT7が発生し(図5ステップS11)、その割込み
INT0〜INT7各々の割込要因が割込要因レジスタ
(RS−LATCH)10−0〜10−7に夫々保持さ
れると、オア回路11を介して上位装置(図示せず)に
割込通知が出力される。
2. Description of the Related Art Conventionally, in this type of interrupt factor detection method, as shown in FIGS.
When INT7 occurs (step S11 in FIG. 5) and the interrupt factors of the respective interrupts INT0 to INT7 are held in the interrupt factor registers (RS-LATCH) 10-0 to 10-7, respectively, the OR circuit 11 Then, an interrupt notification is output to a host device (not shown).

【0003】上位装置は割込通知を受取ると割込要因レ
ジスタ10−0〜10−7にI/Oリード信号を出力
し、I/Oデータバス100を介して割込要因レジスタ
10−0〜10−7の内容を読出すことで(図5ステッ
プS12)、割込要因を認識している。
When the host device receives the interrupt notification, it outputs an I / O read signal to the interrupt factor registers 10-0 to 10-7, and outputs the I / O read signal to the interrupt factor registers 10-0 to 10-7 via the I / O data bus 100. By reading the content of 10-7 (step S12 in FIG. 5), the interrupt factor is recognized.

【0004】また、上位装置が割込要因レジスタ10−
0〜10−7の内容を全て読出してI/Oリードを終了
すると、割込要因レジスタ10−0〜10−7各々にリ
セット信号RESETを出力して割込要因レジスタ10
−0〜10−7各々の内容を夫々一律にリセットする
(図5ステップS13)。
[0004] In addition, the host device determines whether the interrupt factor register 10-
When the I / O read operation is completed after reading all the contents of 0 to 10-7, a reset signal RESET is output to each of the interrupt factor registers 10-0 to 10-7, and the interrupt factor register 10 is output.
-0 to 10-7 are uniformly reset (step S13 in FIG. 5).

【0005】つまり、上位装置は割込要因レジスタ10
−0〜10−7の内容を全て読出すと、割込要因レジス
タ10−0〜10−7に対して上位装置側から直接アド
レスを指定することで、割込要因レジスタ10−0〜1
0−7の内容をリセットしている。
That is, the higher-level device is provided with the interrupt factor register 10
When all of the contents of −0 to 10−7 are read, the address is directly specified from the higher-level device to the interrupt cause registers 10-0 to 10−7, whereby the interrupt cause registers 10−0 to 10−1 are designated.
The contents of 0-7 are reset.

【0006】上位装置は割込要因レジスタ10−0〜1
0−7の内容をリセットすると、再度割込みの発生の検
出を行うようになっている。
[0006] The higher-level device is provided with interrupt factor registers 10-0 to 1
When the contents of 0-7 are reset, the occurrence of an interrupt is detected again.

【0007】[0007]

【発明が解決しようとする課題】上述した従来の割込要
因の検出方法では、割込要因レジスタに対するI/Oリ
ードの終了後に割込要因レジスタの内容をリセットして
いるので、いつ発生するかわからない非同期系の割込要
因を検出する際にI/Oリードの終了と同時に割込みが
発生すると、全ての割込要因レジスタの内容がリセット
されてしまうため、後から発生した割込みを認識するこ
とができなくなる。
In the above-described conventional method for detecting an interrupt factor, the content of the interrupt factor register is reset after the completion of the I / O read from the interrupt factor register. If an interrupt occurs at the same time as the end of I / O read when detecting an unknown interrupt cause of the asynchronous system, the contents of all the interrupt cause registers are reset. become unable.

【0008】また、上位装置によるアドレス指定で割込
要因レジスタの内容をリセットする場合には、割込要因
レジスタの内容のリセットをソフトウェアによって制御
しているので、上位装置において複雑な処理が実行され
ていれば上位装置にかかる負担が大きくなる。
When the contents of the interrupt cause register are reset by address designation by the host device, the resetting of the contents of the interrupt cause register is controlled by software, so that complicated processing is executed in the host device. If this is the case, the burden on the host device will increase.

【0009】そこで、本発明の目的は上記の問題点を解
消し、割込要因を保持している割込要因レジスタのみを
リセットして後から発生した割込みを認識することがで
き、上位装置の負担を軽減することができる割込要因レ
ジスタ回路を提供することにある。
Therefore, an object of the present invention is to solve the above-mentioned problems, to reset only an interrupt factor register holding an interrupt factor, and to recognize an interrupt that has occurred later, and An object of the present invention is to provide an interrupt factor register circuit capable of reducing a load.

【0010】[0010]

【課題を解決するための手段】本発明による割込要因レ
ジスタ回路は、割込要因を保持する保持手段と、読出し
信号による読出し開始タイミングに応答して前記保持手
段の保持内容である割込要因をラッチするラッチ手段
と、前記割込要因が前記ラッチ手段にラッチされかつ前
記読出し信号による読出し終了タイミングが検知された
時に前記保持手段の保持内容をリセットする手段とを含
む割込要因レジスタ回路であって、前記割込要因が前記
ラッチ手段にラッチされかつ前記読出し信号が入力され
た時にセットされるリセット回路を有し、前記読出し信
号による読出し終了タイミングが検知されかつ前記リセ
ット回路がセットされている期間にのみ前記保持手段
前記リセット回路とをリセットするようになしている。
An interrupt factor register circuit according to the present invention comprises a holding means for holding an interrupt factor, and an interrupt factor which is a content held by the holding means in response to a read start timing by a read signal. And a reset means for resetting the content held by the holding means when the interrupt factor is latched by the latch means and a read end timing by the read signal is detected. And the interrupt factor is
Latched by the latch means and the read signal is input
A reset circuit that is set when the resetting circuit is set, and the holding means is provided only during a period in which the read end timing by the read signal is detected and the reset circuit is set.
The reset circuit is reset.

【0011】本発明による他の割込要因レジスタ回路
は、各々割込要因を保持する複数の保持手段と、前記複
数の保持手段各々に対応して設けられかつ読出し信号に
よる読出し開始タイミングに応答して前記複数の保持手
段の保持内容である割込要因をラッチする複数のラッチ
手段と、前記複数の保持手段各々に対応して設けられか
つ前記割込要因が前記ラッチ手段にラッチされている場
合に前記読出し信号による読出し終了タイミングが検知
された時に前記保持手段の保持内容をリセットする複数
のリセット手段とを含む割込要因レジスタ回路であっ
て、前記複数の保持手段各々に対応して設けられかつ前
記読出し信号による読出し終了タイミングを検知する複
数の検知手段と、前記複数の保持手段各々に対応して設
けられ、前記割込要因が前記ラッチ手段にラッチされか
つ前記読出し信号が入力された時にセットされる複数の
リセット回路とを有し、前記読出し信号による読出し終
了タイミングが検知されかつ前記リセット回路がセット
されている期間にのみ前記保持手段と前記リセット回路
をリセットするようになしている。
According to another aspect of the present invention, there is provided another interrupt factor register circuit which includes a plurality of holding means for holding respective interrupt factors, and which is provided corresponding to each of the plurality of holding means and responds to a read start timing by a read signal. A plurality of latch means for latching an interrupt factor which is a content held by the plurality of holding means, and a plurality of latch means provided corresponding to each of the plurality of holding means, and wherein the interrupt factor is latched by the latch means. And a plurality of reset means for resetting the contents held by the holding means when a read end timing by the read signal is detected, provided in correspondence with each of the plurality of holding means. and a plurality of detecting means for detecting the read end timing of the read signal, provided corresponding to said plurality of holding means each, the interrupt factor Or latched in said latch means
A plurality of sets which are set when the read signal is input.
A reset circuit, wherein the holding means and the reset circuit are provided only during a period in which read end timing by the read signal is detected and the reset circuit is set.
And reset it.

【0012】本発明による別の割込要因レジスタ回路
は、各々割込要因を保持する複数の保持手段と、前記複
数の保持手段各々に対応して設けられかつ読出し信号に
よる読出し開始タイミングに応答して前記複数の保持手
段の保持内容である割込要因をラッチする複数のラッチ
手段と、前記複数の保持手段各々に対応して設けられか
つ前記割込要因が前記ラッチ手段にラッチされている場
合に前記読出し信号による読出し終了タイミングが検知
された時に前記保持手段の保持内容をリセットする複数
のリセット手段とを含む割込要因レジスタ回路であっ
て、前記複数の保持手段各々に共通に設けられかつ前記
読出し信号による読出し終了タイミングを検知する検知
手段と、前記複数の保持手段各々に対応して設けられ
前記割込要因が前記ラッチ手段にラッチされかつ前記読
出し信号が入力された時にセットされる複数のリセット
回路とを有し、前記読出し信号による読出し終了タイミ
ングが検知されかつ前記リセット回路がセットされてい
る期間にのみ前記保持手段と前記リセット回路とをリセ
ットするようになしている。
Another interrupt factor register circuit according to the present invention is provided with a plurality of holding means each for holding an interrupt factor, and provided in correspondence with each of the plurality of holding means and responsive to a read start timing by a read signal. A plurality of latch means for latching an interrupt factor which is a content held by the plurality of holding means, and a plurality of latch means provided corresponding to each of the plurality of holding means, and wherein the interrupt factor is latched by the latch means. A plurality of reset means for resetting the contents held by the holding means when a read end timing by the read signal is detected, provided in common with each of the plurality of holding means; Detection for detecting the read end timing by the read signal
Means , provided corresponding to each of the plurality of holding means ,
The interrupt factor is latched by the latch means and the
Multiple resets that are set when an output signal is input
A reset circuit for resetting the holding means and the reset circuit only during a period when the read end timing based on the read signal is detected and the reset circuit is set.

【0013】[0013]

【作用】上位装置からのI/Oリード信号に応答して割
込要因レジスタの内容をラッチ回路にラッチし、そのラ
ッチ回路に割込要因がラッチされかつI/Oリード信号
が入力されたときに割込要因レジスタリセット回路をセ
ットする。
When the contents of an interrupt factor register are latched in a latch circuit in response to an I / O read signal from a higher-level device, and when the interrupt factor is latched in the latch circuit and an I / O read signal is input, The interrupt factor register reset circuit.

【0014】立上り検出回路でI/Oリード動作の終了
が検知されたときに、割込要因レジスタリセット回路か
らのリセット信号をアンド回路を介して割込要因レジス
タ及び割込要因レジスタリセット回路に出力する。
When the rise detection circuit detects the end of the I / O read operation, a reset signal from the interrupt factor register reset circuit is output to the interrupt factor register and the interrupt factor register reset circuit via an AND circuit. I do.

【0015】これによって、割込要因を保持している割
込要因レジスタのみのリセットが可能となり、後から発
生した割込みの認識が可能となる。また、割込要因が保
持された割込要因レジスタを自励式にリセットすること
で、上位装置の負担が軽減可能となる。
This makes it possible to reset only the interrupt factor register holding the interrupt factor, and to recognize an interrupt that has occurred later. In addition, by resetting the interrupt factor register holding the interrupt factor in a self-excited manner, the burden on the host device can be reduced.

【0016】[0016]

【実施例】次に、本発明について図面を参照して説明す
る。
Next, the present invention will be described with reference to the drawings.

【0017】図1は本発明の一実施例の構成を示すブロ
ック図である。図において、本発明の一実施例による割
込要因レジスタ回路はレジスタ1−i(i=0〜7)か
ら構成されており、レジスタ1−i各々は割込要因レジ
スタ(RS−LATCH)2−iと、ラッチ回路(D−
LATCH)3−iと、割込要因レジスタリセット回路
4−iと、立上り検出回路5−iと、アンド回路6−i
とからなっている。
FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention. Referring to the figure, an interrupt factor register circuit according to an embodiment of the present invention includes registers 1-i (i = 0 to 7), each of which is an interrupt factor register (RS-LATCH) 2-. i and a latch circuit (D-
LATCH) 3-i, an interrupt factor register reset circuit 4-i, a rise detection circuit 5-i, and an AND circuit 6-i
It consists of

【0018】尚、図1においてはレジスタ1−0の割込
要因レジスタ2−0、ラッチ回路3−0、割込要因レジ
スタリセット回路4−0、立上り検出回路5−0、アン
ド回路6−0のみを図示している。
In FIG. 1, interrupt factor register 2-0 of register 1-0, latch circuit 3-0, interrupt factor register reset circuit 4-0, rise detection circuit 5-0, and AND circuit 6-0 Only one is shown.

【0019】レジスタ1−i各々の割込要因レジスタ2
−iはノア回路2a−i,2b−i(ノア回路2a−1
〜2a−7,2b−1〜2b−7は図示せず)からなる
RS−LATCHで構成され、夫々対応する割込要因元
に接続されている。
Register 1-i Each interrupt factor register 2
-I are the NOR circuits 2a-i and 2b-i (the NOR circuits 2a-1
2a-7 and 2b-1 to 2b-7 are not shown) and are connected to corresponding interrupt factor sources.

【0020】また、割込要因レジスタ2−iは割込要因
元からの割込みINT0〜INT7が入力されると、そ
の割込要因を保持するとともに、その割込要因をラッチ
回路3−iに出力する。
When an interrupt INT0-INT7 from the source of the interrupt factor is input, the interrupt factor register 2-i holds the interrupt factor and outputs the interrupt factor to the latch circuit 3-i. I do.

【0021】ラッチ回路3−iは割込要因レジスタ2−
iから割込要因が入力されると、その割込要因をオア回
路7に出力する。また、ラッチ回路3−iは上位装置
(図示せず)からI/Oリード信号IORDが入力され
ると、そのI/Oリード信号IORDに応答して割込要
因レジスタ2−iの内容をラッチするとともに、その内
容をI/Oデータバス100上に出力する。
The latch circuit 3-i has an interrupt factor register 2-
When an interrupt factor is input from i, the interrupt factor is output to the OR circuit 7. When an I / O read signal IORD is input from a higher-level device (not shown), the latch circuit 3-i latches the contents of the interrupt factor register 2-i in response to the I / O read signal IORD. At the same time, the contents are output onto the I / O data bus 100.

【0022】さらに、ラッチ回路3−iはI/Oリード
信号IORDに応答してラッチした割込要因レジスタ2
−iの内容を割込要因レジスタリセット回路4−iに出
力する。
Further, the latch circuit 3-i stores the interrupt factor register 2 latched in response to the I / O read signal IORD.
The contents of -i are output to the interrupt factor register reset circuit 4-i.

【0023】割込要因レジスタリセット回路4−iはア
ンド回路4a−i(アンド回路4a−1〜4a−7は図
示せず)とノア回路4b−i,4c−i(ノア回路4b
−1〜4b−7,4c−1〜4c−7は図示せず)とか
らなる。
The interrupt factor register reset circuit 4-i includes AND circuits 4a-i (AND circuits 4a-1 to 4a-7 are not shown) and NOR circuits 4bi and 4ci (NO circuit 4b).
-1 to 4b-7 and 4c-1 to 4c-7 are not shown).

【0024】割込要因レジスタリセット回路4−iはラ
ッチ回路3−iが割込要因レジスタ2−iに保持された
割込要因をラッチしかつ上位装置からI/Oリード信号
IORDが入力されたときにセットされ、アンド回路6
−iに“1”を出力する。
In the interrupt factor register reset circuit 4-i, the latch circuit 3-i latches the interrupt factor held in the interrupt factor register 2-i, and the I / O read signal IORD is input from the host device. Sometimes set, AND circuit 6
Output "1" to -i.

【0025】立上り検出回路5−iは上位装置からのI
/Oリード信号IORDの立上りを検出すると、アンド
回路6−iに“1”を出力する。アンド回路6−iは割
込要因レジスタリセット回路4−i及び立上り検出回路
5−iから“1”が入力されると、リセット信号を割込
要因レジスタ2−i及び割込要因レジスタリセット回路
4−iに出力する。
The rising edge detection circuit 5-i receives I from the host device.
When detecting the rising of the / O read signal IORD, it outputs "1" to the AND circuit 6-i. When "1" is input from the interrupt factor register reset circuit 4-i and the rising edge detection circuit 5-i, the AND circuit 6-i outputs a reset signal to the interrupt factor register 2-i and the interrupt factor register reset circuit 4. Output to -i.

【0026】上述した割込要因レジスタ回路においては
レジスタ1−i各々が1つの割込要因について検出を行
うよう構成されており、図1では割込要因レジスタ回路
が8個のレジスタ1−iで構成されているので、1バイ
ト分の割込要因を認識することができる。
In the above-described interrupt factor register circuit, each of the registers 1-i is configured to detect one interrupt factor. In FIG. 1, the interrupt factor register circuit includes eight registers 1-i. With this configuration, it is possible to recognize an interrupt factor for one byte.

【0027】図2は本発明の一実施例の動作を示すフロ
ーチャートである。これら図1及び図2を用いて本発明
の一実施例の動作について説明する。
FIG. 2 is a flowchart showing the operation of one embodiment of the present invention. The operation of the embodiment of the present invention will be described with reference to FIGS.

【0028】各レジスタ1−iは割込みINT0〜IN
T7が発生するまで割込入力の検出を行い(図2ステッ
プS1)、割込みINT0〜INT7が発生すると、オ
ア回路7を介して上位装置に割込みの発生を通知する。
Each register 1-i stores interrupts INT0 to IN
The interrupt input is detected until T7 is generated (step S1 in FIG. 2). When the interrupts INT0 to INT7 are generated, the occurrence of the interrupt is notified to the host device via the OR circuit 7.

【0029】上位装置は割込み発生の通知を受取ると、
各レジスタ1−iの割込要因レジスタ2−iの内容を読
出すためにI/Oリード信号IORDを出力する。各レ
ジスタ1−iは上位装置からのI/Oリード信号IOR
Dが入力されると(図2ステップS2)、割込要因レジ
スタ2−iの内容をラッチ回路3−iにラッチする(図
2ステップS3)。
When the host device receives the notification of the occurrence of the interrupt,
An I / O read signal IORD is output to read the contents of the interrupt factor register 2-i of each register 1-i. Each register 1-i is provided with an I / O read signal IOR from a higher-level device.
When D is input (step S2 in FIG. 2), the contents of the interrupt factor register 2-i are latched in the latch circuit 3-i (step S3 in FIG. 2).

【0030】割込要因レジスタリセット回路4−iは上
位装置からのI/Oリード信号IORDが入力される
と、自レジスタが割込みINT0〜INT7が入力され
たレジスタか否かを判断する(図2ステップS4)。
When the I / O read signal IORD is input from the host device, the interrupt factor register reset circuit 4-i determines whether or not its own register is a register to which the interrupts INT0 to INT7 have been input (FIG. 2). Step S4).

【0031】割込要因レジスタリセット回路4−iは自
レジスタを割込みINT0〜INT7が入力されたレジ
スタであると判断すると、リセット信号を出力する状態
にセットされ(図2ステップS5)、アンド回路6−i
に“1”を出力する。
When the interrupt factor register reset circuit 4-i determines that its own register is a register to which the interrupts INT0 to INT7 have been input, it is set to a state of outputting a reset signal (step S5 in FIG. 2), and the AND circuit 6 −i
Is output as "1".

【0032】また、割込要因レジスタリセット回路4−
iは自レジスタを割込みINT0〜INT7が入力され
たレジスタではないと判断すると、リセット信号を出力
する状態にはセットされない。よって、レジスタ1−i
は割込みINT0〜INT7の入力の検出処理に戻る。
The interrupt factor register reset circuit 4-
If i determines that its own register is not a register to which the interrupts INT0 to INT7 have been input, it is not set to a state for outputting a reset signal. Therefore, the register 1-i
Returns to the process of detecting the input of the interrupts INT0 to INT7.

【0033】この後、立上り検出回路5−iは上位装置
によるI/Oリードの終了、つまりI/Oリード信号I
ORDの立上りを検出すると、アンド回路6−iに
“1”を出力する。
Thereafter, the rise detecting circuit 5-i terminates the I / O read by the host device, that is, the I / O read signal I
When detecting the rise of ORD, "1" is output to the AND circuit 6-i.

【0034】これによって、アンド回路6−iには割込
要因レジスタリセット回路4−i及び立上り検出回路5
−iから“1”が入力されるので、リセット信号が割込
要因レジスタ2−i及び割込要因レジスタリセット回路
4−iに出力され、夫々リセットされる(図2ステップ
S6)。
As a result, the AND circuit 6-i has the interrupt factor register reset circuit 4-i and the rise detection circuit 5
Since "1" is input from -i, a reset signal is output to the interrupt factor register 2-i and the interrupt factor register reset circuit 4-i, and each is reset (step S6 in FIG. 2).

【0035】また、上位装置によるI/Oリードの最中
に他のレジスタに対して割込みが発生しても、割込要因
レジスタリセット回路4−iは自レジスタが割込要因を
保持したレジスタであると判断し、かつI/Oリード信
号IORDが入力されたときにセットされるので、上位
装置によるI/Oリードの最中に発生した割込要因がリ
セットされることはない。
Even if an interrupt occurs to another register during the I / O read by the host device, the interrupt factor register reset circuit 4-i uses the register whose own register holds the interrupt factor. It is set when it is determined that the I / O read signal is present and the I / O read signal IORD is input, so that the interrupt factor generated during the I / O read by the host device is not reset.

【0036】このI/Oリードの最中に発生した割込要
因は、次の割込通知による上位装置からのI/Oリード
信号IORDの受信時にリセットされる。
The cause of the interrupt generated during the I / O read is reset when the I / O read signal IORD is received from the host device by the next interrupt notification.

【0037】図3は本発明の他の実施例の構成を示すブ
ロック図である。図において、本発明の他の実施例は立
上り検出回路9を各レジスタ8−j(j=0,1,2,
3)間で共通化した以外は本発明の一実施例と同様の構
成となっており、同一構成要素には同一符号を付してあ
る。また、同一構成要素の動作は本発明の一実施例の動
作と同様である。
FIG. 3 is a block diagram showing the configuration of another embodiment of the present invention. In the figure, in another embodiment of the present invention, the rise detection circuit 9 is connected to each of the registers 8-j (j = 0, 1, 2, 2).
The configuration is the same as that of the embodiment of the present invention except for the common use between 3), and the same components are denoted by the same reference numerals. The operation of the same component is the same as the operation of the embodiment of the present invention.

【0038】本発明の他の実施例では立上り検出回路9
を各レジスタ8−j間で共通化することによって、回路
規模の縮小化を図ることができる。尚、本発明の他の実
施例では4つの割込要因を認識することができる。
In another embodiment of the present invention, the rise detecting circuit 9
Is shared among the registers 8-j, thereby reducing the circuit scale. In another embodiment of the present invention, four interrupt factors can be recognized.

【0039】このように、上位装置からのI/Oリード
信号IORDに応答して割込要因レジスタ2−iの内容
をラッチ回路3−iにラッチし、そのラッチ回路3−i
に割込要因がラッチされかつ立上り検出回路5−i,9
でI/Oリード信号IORDによるリード動作の終了が
検知されたときに割込要因レジスタリセット回路4−i
及びアンド回路6−iで割込要因レジスタ2−iの内容
をリセットすることによって、割込要因を保持している
割込要因レジスタ2−iのみをリセットして後から発生
した割込みを認識することができる。
As described above, the contents of the interrupt factor register 2-i are latched by the latch circuit 3-i in response to the I / O read signal IORD from the host device, and the latch circuit 3-i is latched.
Is latched in the rising edge detection circuit 5-i, 9
Detects the end of the read operation by the I / O read signal IORD, the interrupt factor register reset circuit 4-i
And, by resetting the contents of the interrupt factor register 2-i by the AND circuit 6-i, only the interrupt factor register 2-i holding the interrupt factor is reset, and the interrupt generated later is recognized. be able to.

【0040】また、割込みINT0〜INT7の発生時
にその割込要因が保持された割込要因レジスタ2−iを
自励式にリセットすることによって、上位装置の負担を
軽減することができる。さらに、非同期の割込要因レジ
スタ2−iをまとめることで、アドレスを有効活用する
ことができる。
Further, when the interrupts INT0 to INT7 are generated, the interrupt factor register 2-i holding the interrupt factors is reset in a self-excited manner, so that the burden on the host device can be reduced. Furthermore, the addresses can be used effectively by collecting the asynchronous interrupt factor registers 2-i.

【0041】[0041]

【発明の効果】以上説明したように本発明によれば、各
々割込要因を保持する複数の保持手段の内容を上位装置
からのI/Oリード信号に応答して対応するラッチ手段
にラッチし、割込要因がラッチ手段にラッチされかつI
/Oリード信号によるリード動作の終了が検知されたと
きに保持手段の内容をリセットすることによって、割込
要因を保持している保持手段のみをリセットして後から
発生した割込みを認識することができ、上位装置の負担
を軽減することができるという効果がある。
As described above, according to the present invention, the contents of a plurality of holding means each holding an interrupt factor are latched by the corresponding latch means in response to an I / O read signal from a higher-level device. , The interrupt factor is latched by the latch means and I
By resetting the contents of the holding means when the end of the read operation by the / O read signal is detected, it is possible to reset only the holding means holding the interrupt factor and recognize the interrupt generated later. Thus, there is an effect that the burden on the host device can be reduced.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本発明の一実施例の動作を示すフローチャート
である。
FIG. 2 is a flowchart showing the operation of one embodiment of the present invention.

【図3】本発明の他の実施例の構成を示すブロック図で
ある。
FIG. 3 is a block diagram showing a configuration of another embodiment of the present invention.

【図4】従来例の構成を示すブロック図である。FIG. 4 is a block diagram showing a configuration of a conventional example.

【図5】従来例の動作を示すフローチャートである。FIG. 5 is a flowchart showing the operation of the conventional example.

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

1−0〜1−7,8−0〜8−3 レジスタ 2−0 割込要因レジスタ 2a−0,2b−0,4b−0,4c−0 ノア回路 3−0 ラッチ回路 4−0 割込要因レジスタリセット回路 5−0,9 立上り検出回路 4a−0,6−0 アンド回路 7 オア回路 1-0 to 1-7, 8-0 to 8-3 Register 2-0 Interrupt cause register 2a-0, 2b-0, 4b-0, 4c-0 NOR circuit 3-0 Latch circuit 4-0 Interrupt Cause register reset circuit 5-0,9 Rise detection circuit 4a-0,6-0 AND circuit 7 OR circuit

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 割込要因を保持する保持手段と、読出し
信号による読出し開始タイミングに応答して前記保持手
段の保持内容である割込要因をラッチするラッチ手段
と、前記割込要因が前記ラッチ手段にラッチされかつ前
記読出し信号による読出し終了タイミングが検知された
時に前記保持手段の保持内容をリセットする手段とを含
む割込要因レジスタ回路であって、前記割込要因が前記
ラッチ手段にラッチされかつ前記読出し信号が入力され
た時にセットされるリセット回路を有し、前記読出し信
号による読出し終了タイミングが検知されかつ前記リセ
ット回路がセットされている期間にのみ前記保持手段
前記リセット回路とをリセットするようになすことを特
徴とする割込要因レジスタ回路。
A holding means for holding an interrupt factor; a latch means for latching an interrupt factor which is a content held by the holding means in response to a read start timing by a read signal; a interrupt factor register circuit and means for resetting the contents held in the holding means when the read end timing according to the latched and the read signal is detected to the means, the interrupt factor is the
Latched by the latch means and the read signal is input
A reset circuit that is set when the resetting circuit is set, and the holding means is provided only during a period in which the read end timing by the read signal is detected and the reset circuit is set.
Interrupt factor register circuit and wherein the forming so as to reset and the reset circuit.
【請求項2】 各々割込要因を保持する複数の保持手段
と、前記複数の保持手段各々に対応して設けられかつ読
出し信号による読出し開始タイミングに応答して前記複
数の保持手段の保持内容である割込要因をラッチする複
数のラッチ手段と、前記複数の保持手段各々に対応して
設けられかつ前記割込要因が前記ラッチ手段にラッチさ
れている場合に前記読出し信号による読出し終了タイミ
ングが検知された時に前記保持手段の保持内容をリセッ
トする複数のリセット手段とを含む割込要因レジスタ回
路であって、前記複数の保持手段各々に対応して設けら
れかつ前記読出し信号による読出し終了タイミングを検
知する複数の検知手段と、前記複数の保持手段各々に対
応して設けられ、前記割込要因が前記ラッチ手段にラッ
チされかつ前記読出し信号が入力された時にセットされ
る複数のリセット回路とを有し、前記読出し信号による
読出し終了タイミングが検知されかつ前記リセット回路
がセットされている期間にのみ前記保持手段と前記リセ
ット回路とをリセットするようになすことを特徴とする
割込要因レジスタ回路。
2. A plurality of holding units each holding an interrupt factor, and a plurality of holding units provided corresponding to each of the plurality of holding units, the contents held by the plurality of holding units in response to a read start timing by a read signal. A plurality of latch means for latching a certain interrupt factor, and a read end timing detected by the read signal detected when the interrupt factor is provided in correspondence with each of the plurality of holding means and the latch means is latched by the latch means An interrupt factor register circuit including a plurality of reset means for resetting the content held by the holding means when the reading is performed, wherein the interrupt factor register circuit is provided corresponding to each of the plurality of holding means and detects a read end timing by the read signal. And a plurality of detecting means provided for each of the plurality of holding means , and the interrupt factor is latched to the latch means.
Touched and set when the read signal is input.
A plurality of reset circuits, wherein the holding means and the reset circuit are only provided during a period when the read end timing based on the read signal is detected and the reset circuit is set.
And a reset circuit for resetting the reset circuit.
【請求項3】 各々割込要因を保持する複数の保持手段
と、前記複数の保持手段各々に対応して設けられかつ読
出し信号による読出し開始タイミングに応答して前記複
数の保持手段の保持内容である割込要因をラッチする複
数のラッチ手段と、前記複数の保持手段各々に対応して
設けられかつ前記割込要因が前記ラッチ手段にラッチさ
れている場合に前記読出し信号による読出し終了タイミ
ングが検知された時に前記保持手段の保持内容をリセッ
トする複数のリセット手段とを含む割込要因レジスタ回
路であって、前記複数の保持手段各々に共通に設けられ
かつ前記読出し信号による読出し終了タイミングを検知
する検知手段と、前記複数の保持手段各々に対応して設
けられ、前記割込要因が前記ラッチ手段にラッチされか
つ前記読出し信号が入力された時にセットされる複数の
リセット回路とを有し、前記読出し信号による読出し終
了タイミングが検知されかつ前記リセット回路がセット
されている期間にのみ前記保持手段と前記リセット回路
をリセットするようになすことを特徴とする割込要因
レジスタ回路。
3. A plurality of holding means each holding an interrupt factor, and a plurality of holding means provided corresponding to each of the plurality of holding means and held by the plurality of holding means in response to a read start timing by a read signal. A plurality of latch means for latching a certain interrupt factor, and a read end timing detected by the read signal detected when the interrupt factor is provided in correspondence with each of the plurality of holding means and the latch means is latched by the latch means An interrupt factor register circuit including a plurality of reset means for resetting the content held by the holding means when the reading is performed, wherein the interrupt factor register circuit is provided in common with each of the plurality of holding means and detects a read end timing by the read signal A detecting unit provided for each of the plurality of holding units , wherein the interrupt factor is latched by the latch unit;
A plurality of sets which are set when the read signal is input.
A reset circuit, wherein the holding means and the reset circuit are provided only during a period in which read end timing by the read signal is detected and the reset circuit is set.
And an interrupt factor register circuit.
JP18212094A 1994-08-03 1994-08-03 Interrupt source register circuit Expired - Fee Related JP3186449B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18212094A JP3186449B2 (en) 1994-08-03 1994-08-03 Interrupt source register circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18212094A JP3186449B2 (en) 1994-08-03 1994-08-03 Interrupt source register circuit

Publications (2)

Publication Number Publication Date
JPH0844572A JPH0844572A (en) 1996-02-16
JP3186449B2 true JP3186449B2 (en) 2001-07-11

Family

ID=16112686

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18212094A Expired - Fee Related JP3186449B2 (en) 1994-08-03 1994-08-03 Interrupt source register circuit

Country Status (1)

Country Link
JP (1) JP3186449B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19739530C1 (en) * 1997-09-09 1998-12-24 Siemens Ag Circuit for generating interrupt signal for microprocessor
US6449675B1 (en) * 1999-06-29 2002-09-10 Motorola, Inc. Multifield register having a selection field for selecting a source of an information field

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62219131A (en) * 1986-03-20 1987-09-26 Fujitsu Ltd Constituting system for interruption cause register
JPS63732A (en) * 1986-06-20 1988-01-05 Fujitsu Ltd Control system for interruption factor register

Also Published As

Publication number Publication date
JPH0844572A (en) 1996-02-16

Similar Documents

Publication Publication Date Title
JPH07271403A (en) Inactive system memory updating system
US7519852B2 (en) Apparatus, system, and method for redirecting an instruction pointer to recovery software instructions
JP3186449B2 (en) Interrupt source register circuit
JP2001331342A (en) Method for displaying information processor error and recording medium with error display program recorded thereon
JP2751822B2 (en) Memory control method for FIFO memory device
JPH06274462A (en) Asynchronous writing system for shared memory
JPH0566936A (en) Data processor
JP2979918B2 (en) Interrupt detection circuit
JPS59144246A (en) Data reception control system
JP3190694B2 (en) Diagnostic method for local memory
JPH0333939A (en) Microprocessor
JP3014701B2 (en) Information processing device
JP3236459B2 (en) Error handling device in common bus data transfer
JPH01201735A (en) Microprocessor device
JPH01196645A (en) Memory device
JPH01200438A (en) Interruption control circuit
JP2000089969A (en) Data processor
JP2000242602A (en) Device and method for sending size acknowledgement back
JPH064412A (en) Local memory inspecting/correcting circuit
JPH04238547A (en) Semiconductor device
JPH056897B2 (en)
JPS63316238A (en) Information processor
JPH05113936A (en) Memory error detecting method
JPH02257348A (en) Information processor
JPH03231351A (en) Inter-processor communication receiving circuit

Legal Events

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