JPH04311246A - Interruption acceptance circuit - Google Patents

Interruption acceptance circuit

Info

Publication number
JPH04311246A
JPH04311246A JP7782091A JP7782091A JPH04311246A JP H04311246 A JPH04311246 A JP H04311246A JP 7782091 A JP7782091 A JP 7782091A JP 7782091 A JP7782091 A JP 7782091A JP H04311246 A JPH04311246 A JP H04311246A
Authority
JP
Japan
Prior art keywords
interrupt request
interrupt
request signal
level
output
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
JP7782091A
Other languages
Japanese (ja)
Other versions
JP2590625B2 (en
Inventor
Yasuyo Yamamoto
山本 泰代
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3077820A priority Critical patent/JP2590625B2/en
Publication of JPH04311246A publication Critical patent/JPH04311246A/en
Application granted granted Critical
Publication of JP2590625B2 publication Critical patent/JP2590625B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To set a desired mode out of various kinds of interrupt modes and, at the same time, to avoid wrong acceptance caused by noise with a simple configuration by providing a combinatorial logic circuit. CONSTITUTION:A combinatorial logic circuit 5 logically processes the parallel outputs of a shift register 2 and, when the parallel outputs are continuously high in level by (n) or more bits in the shifting direction from an interruption request signal input terminal 1 side, outputs an interruption accept signal to an output terminal 41. When the parallel outputs are continuously high in level by the (n) bits in the shifting direction from the input terminal 1 side, the circuit 5 outputs the interruption accept signal to another output terminal 42 also. When the parallel outputs are continuously low in level by the (n) or more bits in the shifting direction from the input terminal 1 side, the circuit 5 outputs the accept signal to an output terminal 43 and, when the parallel outputs are continuously low in level by the (n) bits, outputs the accept signal to another output terminal 44 also. A multiplexer 6 selects the interruption accept signals outputted to the output terminals 41, 42, 43, and 44 and sets an interrupt mode.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、コンピュータシステム
において、CPUに対する周辺回路からの割込み要求を
コントロールする割込みコントローラ等に搭載して使用
される割込み受付回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interrupt reception circuit used in a computer system by being installed in an interrupt controller or the like that controls interrupt requests from peripheral circuits to a CPU.

【0002】0002

【従来の技術】従来、割込み受付回路は、RSフリップ
フロップや、Dフリップフロップを使用して構成されて
いた。図6はRSフリップフロップを使用した割込み受
付回路を示しており、図8はDフリップフロップを使用
した割込み受付回路を示している。
2. Description of the Related Art Conventionally, interrupt reception circuits have been constructed using RS flip-flops and D flip-flops. FIG. 6 shows an interrupt reception circuit using an RS flip-flop, and FIG. 8 shows an interrupt reception circuit using a D flip-flop.

【0003】図6の割込み受付回路は、RSフリップフ
ロップのセット入力端子Sに割込み要求信号IRQを入
力し、例えば、正相出力端子QにHレベルからなる割込
み受付信号を得ようとするものであり、Hレベルが割込
み要求を示している割込み要求信号IRQの受付を行う
ことができる。図7は、この場合の動作を示すタイムチ
ャートである。なお、割込み要求信号IRQを反転して
セット入力端子Sに入力させる場合には、Lレベルが割
込み要求を示している割込み要求信号IRQの受付を行
うことができる。
The interrupt reception circuit shown in FIG. 6 inputs an interrupt request signal IRQ to a set input terminal S of an RS flip-flop, and attempts to obtain an interrupt reception signal of H level at a positive phase output terminal Q, for example. Yes, it is possible to accept an interrupt request signal IRQ whose H level indicates an interrupt request. FIG. 7 is a time chart showing the operation in this case. Note that when the interrupt request signal IRQ is inverted and inputted to the set input terminal S, it is possible to accept the interrupt request signal IRQ whose L level indicates an interrupt request.

【0004】また、図8の割込み受付回路は、Dフリッ
プフロップのデータ入力端子DをHレベルに固定し、ク
ロック入力端子CKに割込み要求信号IRQを入力し、
正相出力端子QにHレベルからなる割込み受付信号を得
ようとするものであり、立ち上がりエッジが割込み要求
を示している割込み要求信号IRQの受付を行うことが
できる。図9は、この場合の動作を示すタイムチャート
である。なお、割込み要求信号IRQを反転してクロッ
ク入力端子CKに入力させる場合には、立ち下がりエッ
ジが割込み要求を示している割込み要求信号IRQの受
付を行うことができる。
Further, the interrupt reception circuit shown in FIG. 8 fixes the data input terminal D of the D flip-flop at H level, inputs the interrupt request signal IRQ to the clock input terminal CK, and
The purpose is to obtain an interrupt acceptance signal of H level at the positive phase output terminal Q, and it is possible to accept an interrupt request signal IRQ whose rising edge indicates an interrupt request. FIG. 9 is a time chart showing the operation in this case. Note that when the interrupt request signal IRQ is inverted and inputted to the clock input terminal CK, it is possible to accept the interrupt request signal IRQ whose falling edge indicates an interrupt request.

【0005】[0005]

【発明が解決しようとする課題】図6の割込み受付回路
においては、セット入力端子Sに、図7に破線で示すよ
うなノイズが入力された場合、これによって正相出力端
子Qに割込み受付信号を出力し、誤受付を行ってしまう
場合があるという問題点があった。図8の割込み受付回
路においても、クロック入力端子CKに、図9に破線で
示すようなノイズが入力された場合、これによって正相
出力端子Qに割込み受付信号を出力し、誤受付を行って
しまう場合があるという問題点があった。
[Problems to be Solved by the Invention] In the interrupt reception circuit shown in FIG. 6, when noise as shown by the broken line in FIG. There was a problem in that there were cases in which the data was output and an incorrect reception was made. In the interrupt reception circuit shown in FIG. 8, when noise as shown by the broken line in FIG. 9 is input to the clock input terminal CK, an interrupt reception signal is outputted to the positive phase output terminal Q, resulting in erroneous reception. There was a problem that it could get lost.

【0006】また、■Hレベルが割込み要求を示してい
る割込み要求信号を受け付けるモード、いわゆるHレベ
ル割込みモード、■立ち上がりエッジが割込み要求を示
している割込み要求信号を受け付けるモード、いわゆる
立ち上がりエッジ割込みモード、■Lレベルが割込み要
求を示している割込み要求信号を受け付けるモード、い
わゆるLレベル割込みモード、■立ち下がりエッジが割
込み要求を示している割込み要求信号を受け付けるモー
ド、いわゆる立ち下がり割込みモードのうち、所望の割
込みモードを設定することができる割込み受付回路を、
図6及び図8の割込み受付回路を利用して構成すると、
複雑な回路構成となってしまうという問題点もあった。
In addition, there are two modes: (1) a mode in which an interrupt request signal whose H level indicates an interrupt request is accepted, a so-called H level interrupt mode, and (2) a mode in which an interrupt request signal whose rising edge indicates an interrupt request is accepted, a so-called rising edge interrupt mode. , ■ A mode that accepts an interrupt request signal whose L level indicates an interrupt request, the so-called L level interrupt mode, and ■ A mode that accepts an interrupt request signal whose falling edge indicates an interrupt request, the so-called falling interrupt mode. An interrupt reception circuit that can set the desired interrupt mode,
When configured using the interrupt acceptance circuits of FIGS. 6 and 8,
Another problem was that it resulted in a complicated circuit configuration.

【0007】本発明は、かかる点に鑑み、■ノイズによ
る誤受付を回避することができるようにした割込み受付
回路、及び、■Hレベル割込みモード、立ち上がりエッ
ジ割込みモード、Lレベル割込みモード、立ち下がりエ
ッジ割込みモードのうち、所望の割込みモードを設定す
ることができ、しかも、これを簡単な回路構成で実現で
きると共に、ノイズによる誤受付を回避することができ
るようにした割込み受付回路を提供することを目的とす
る。
In view of these points, the present invention provides: (1) an interrupt reception circuit that can avoid erroneous reception due to noise; and (2) H level interrupt mode, rising edge interrupt mode, L level interrupt mode, and falling edge interrupt mode. To provide an interrupt reception circuit that can set a desired interrupt mode among edge interrupt modes, can realize this with a simple circuit configuration, and can avoid erroneous reception due to noise. With the goal.

【0008】[0008]

【課題を解決するための手段】図1は本発明中、第1の
発明の原理説明図であり、この第1の発明による割込み
受付回路は、割込み要求信号入力端子1と、この割込み
要求信号入力端子1に入力される割込み要求信号IRQ
を反転することなく又は反転して直並列変換するn+i
ビット構成(但し、n=2以上の整数、i=1以上の整
数)のシフトレジスタ2と、このシフトレジスタ2の並
列出力を論理処理し、シフトレジスタ2の並列出力が割
込み要求信号入力端子1側からシフト方向にnビット以
上連続してHレベル又はLレベルである場合、あるいは
、シフトレジスタ2の並列出力が割込み要求信号入力端
子1側からシフト方向にnビット連続してHレベル又は
Lレベルである場合、割込み受付信号を出力するように
構成された組合せ論理回路3とを設けて構成される。
[Means for Solving the Problem] FIG. 1 is a diagram explaining the principle of a first invention of the present invention, and an interrupt reception circuit according to the first invention has an interrupt request signal input terminal 1 and an interrupt request signal input terminal 1. Interrupt request signal IRQ input to input terminal 1
n+i to convert serial to parallel without inverting or by inverting
A shift register 2 with a bit configuration (where n = an integer of 2 or more, i = an integer of 1 or more) and the parallel outputs of this shift register 2 are logically processed, and the parallel outputs of the shift register 2 are output to the interrupt request signal input terminal 1. If n bits or more are continuously at H level or L level in the shift direction from the side, or the parallel output of shift register 2 is at H level or L level continuously for n bits or more in the shift direction from the interrupt request signal input terminal 1 side. In this case, a combinational logic circuit 3 configured to output an interrupt acceptance signal is provided.

【0009】[0009]

【作用】かかる第1の発明においては、割込み要求信号
入力端子1に入力される割込み要求信号IRQを反転す
ることなく直並列変換するn+iビット構成のシフトレ
ジスタ2を設ける場合において、シフトレジスタ2の並
列出力が割込み要求信号入力端子1側からシフト方向に
nビット以上連続してHレベルである場合、割込み受付
信号が出力するように組合せ論理回路3を構成する場合
には、Hレベルが割込み要求を示している割込み要求信
号IRQを受け付けることができる。換言すれば、この
場合、Hレベルが割込み要求を示している割込み要求信
号IRQは、シフトレジスタ2に供給されるクロック周
期でn−1サイクルよりも長い期間、Hレベルが連続し
た場合のみ、割込み要求信号として受け付けられる。
[Operation] In the first invention, in the case where the shift register 2 having an n+i bit configuration is provided, which converts the interrupt request signal IRQ inputted to the interrupt request signal input terminal 1 into serial to parallel without inverting it, the shift register 2 has an n+i bit configuration. If the combinational logic circuit 3 is configured to output an interrupt acceptance signal when the parallel output is at the H level continuously for n or more bits in the shift direction from the interrupt request signal input terminal 1 side, the H level is the interrupt request signal. It is possible to accept an interrupt request signal IRQ indicating the following. In other words, in this case, the interrupt request signal IRQ whose H level indicates an interrupt request is issued as an interrupt only when the H level continues for a period longer than n-1 cycles in the clock cycle supplied to the shift register 2. Accepted as a request signal.

【0010】また、割込み要求信号入力端子1に入力さ
れる割込み要求信号IRQを反転することなく直並列変
換するn+iビット構成のシフトレジスタ2を設ける場
合において、シフトレジスタ2の並列出力が割込み要求
信号入力端子1側からシフト方向にnビット以上連続し
てLレベルである場合、割込み受付信号が出力するよう
に組合せ論理回路3を構成する場合には、Lレベルが割
込み要求を示している割込み要求信号IRQを受け付け
ることができる。換言すれば、この場合、Lレベルが割
込み要求を示している割込み要求信号IRQは、シフト
レジスタ2に供給されるクロック周期でn−1サイクル
よりも長い期間、Lレベルが連続した場合のみ、割込み
要求信号として受け付けられる。
[0010] Furthermore, in the case where a shift register 2 having an n+i bit configuration is provided which converts the interrupt request signal IRQ inputted to the interrupt request signal input terminal 1 into serial to parallel without inverting it, the parallel output of the shift register 2 is used as the interrupt request signal. If the combinational logic circuit 3 is configured so that an interrupt acceptance signal is output when n bits or more are continuously at L level in the shift direction from the input terminal 1 side, an interrupt request whose L level indicates an interrupt request. Signal IRQ can be accepted. In other words, in this case, the interrupt request signal IRQ, whose L level indicates an interrupt request, will cause an interrupt only if the L level continues for a period longer than n-1 cycles in the clock cycle supplied to the shift register 2. Accepted as a request signal.

【0011】また、割込み要求信号入力端子1に入力さ
れる割込み要求信号IRQを反転することなく直並列変
換するn+iビット構成のシフトレジスタ2を設ける場
合において、シフトレジスタ2の並列出力が割込み要求
信号入力端子1側からシフト方向にnビット連続してH
レベルが出力された場合、割込み受付信号を出力するよ
うに組合せ論理回路3を構成する場合には、立ち上がり
エッジが割込み要求を示している割込み要求信号を受け
付けることができる。換言すれば、この場合、立ち上が
りエッジが割込み要求を示している割込み要求信号IR
Qは、立ち上がり後、シフトレジスタ2に供給されるク
ロック周期でn−1サイクルよりも長い期間、Hレベル
が連続した場合のみ、割込み要求信号として受け付けら
れる。
Furthermore, in the case where a shift register 2 having an n+i bit configuration is provided which converts the interrupt request signal IRQ inputted to the interrupt request signal input terminal 1 into serial to parallel without inverting it, the parallel output of the shift register 2 is used as the interrupt request signal. Continuously high for n bits in the shift direction from the input terminal 1 side
If the combinational logic circuit 3 is configured to output an interrupt acceptance signal when a level is output, it is possible to accept an interrupt request signal whose rising edge indicates an interrupt request. In other words, in this case, the interrupt request signal IR whose rising edge indicates an interrupt request
After rising, Q is accepted as an interrupt request signal only when the H level continues for a period longer than n-1 cycles of the clock supplied to the shift register 2.

【0012】また、割込み要求信号入力端子1に入力さ
れる割込み要求信号IRQを反転することなく直並列変
換するn+iビット構成のシフトレジスタ2を設ける場
合において、シフトレジスタ2の入力端子側のビットか
らnビット連続してLレベルが出力された場合、割込み
受付信号を出力するように組合せ論理回路3を構成する
場合には、立ち下がりエッジが割込み要求を示している
割込み要求信号IRQを受け付けることができる。換言
すれば、この場合、立ち下がりエッジが割込み要求を示
している割込み要求信号IRQは、立ち下がり後、シフ
トレジスタ2に供給されるクロック周期でn−1サイク
ルよりも長い期間、Lレベルが連続した場合のみ、割込
み要求信号として受け付けられる。
[0012] Furthermore, in the case where a shift register 2 having an n+i bit configuration is provided, which converts the interrupt request signal IRQ inputted to the interrupt request signal input terminal 1 into serial/parallel data without inverting it, the bits on the input terminal side of the shift register 2 are If the combinational logic circuit 3 is configured to output an interrupt acceptance signal when n bits are continuously output at L level, it is possible to accept the interrupt request signal IRQ whose falling edge indicates an interrupt request. can. In other words, in this case, the interrupt request signal IRQ, whose falling edge indicates an interrupt request, remains at L level continuously for a period longer than n-1 cycles of the clock supplied to the shift register 2 after falling. Only then will it be accepted as an interrupt request signal.

【0013】また、割込み要求信号入力端子1に入力さ
れる割込み要求信号IRQを反転して直並列変換するn
+iビット構成のシフトレジスタ2を設ける場合におい
て、シフトレジスタ2の並列出力が割込み要求信号入力
端子1側からシフト方向にnビット以上連続してHレベ
ルである場合、割込み受付信号が出力するように組合せ
論理回路3を構成する場合には、Lレベルが割込み要求
を示している割込み要求信号IRQを受け付けることが
できる。換言すれば、この場合、Lレベルが割込み要求
を示している割込み要求信号IRQは、シフトレジスタ
2に供給されるクロック周期でn−1サイクルよりも長
い期間、Lレベルが連続した場合のみ、割込み要求信号
として受け付けられる。
Furthermore, the interrupt request signal IRQ input to the interrupt request signal input terminal 1 is inverted and serial-parallel converted.
When a shift register 2 with a +i bit configuration is provided, if the parallel output of the shift register 2 is at H level continuously for n bits or more in the shift direction from the interrupt request signal input terminal 1 side, an interrupt acceptance signal is output. When configuring the combinational logic circuit 3, it is possible to accept an interrupt request signal IRQ whose L level indicates an interrupt request. In other words, in this case, the interrupt request signal IRQ, whose L level indicates an interrupt request, will cause an interrupt only if the L level continues for a period longer than n-1 cycles in the clock cycle supplied to the shift register 2. Accepted as a request signal.

【0014】また、割込み要求信号入力端子1に入力さ
れる割込み要求信号IRQを反転して直並列変換するn
+iビット構成のシフトレジスタ2を設ける場合におい
て、シフトレジスタ2の並列出力が割込み要求信号入力
端子1側からシフト方向にnビット以上連続してLレベ
ルである場合、割込み受付信号が出力するように組合せ
論理回路3を構成する場合には、Hレベルが割込み要求
を示している割込み要求信号IRQを受け付けることが
できる。換言すれば、この場合、割込み要求信号IRQ
は、シフトレジスタ2に供給されるクロック周期でn−
1サイクルよりも長い期間、Hレベルが連続した場合の
み、割込み要求信号として受け付けられる。
Furthermore, the interrupt request signal IRQ input to the interrupt request signal input terminal 1 is inverted and serial-parallel converted.
When a shift register 2 with a +i bit configuration is provided, if the parallel output of the shift register 2 is at L level continuously for n or more bits in the shift direction from the interrupt request signal input terminal 1 side, an interrupt acceptance signal is output. When configuring the combinational logic circuit 3, it is possible to accept an interrupt request signal IRQ whose H level indicates an interrupt request. In other words, in this case, the interrupt request signal IRQ
is the clock period supplied to shift register 2 and is n−
Only when the H level continues for a period longer than one cycle is it accepted as an interrupt request signal.

【0015】また、割込み要求信号入力端子1に入力さ
れる割込み要求信号IRQを反転して直並列変換するn
+iビット構成のシフトレジスタ2を設ける場合におい
て、シフトレジスタ2の並列出力が割込み要求信号入力
端子1側からシフト方向にnビット連続してHレベルが
出力された場合、割込み受付信号を出力するように組合
せ論理回路3を構成する場合には、立ち下がりエッジが
割込み要求を示している割込み要求信号IRQを受け付
けることができる。換言すれば、この場合、立ち下がり
エッジが割込み要求を示している割込み要求信号IRQ
は、立ち下がり後、シフトレジスタ2に供給されるクロ
ック周期でn−1サイクルよりも長い期間、Lレベルが
連続した場合のみ、割込み要求信号として受け付けられ
る。
Furthermore, the interrupt request signal IRQ input to the interrupt request signal input terminal 1 is inverted and serial-parallel converted.
When a shift register 2 with +i bit configuration is provided, if the parallel output of the shift register 2 is at H level for n bits consecutively in the shift direction from the interrupt request signal input terminal 1 side, an interrupt acceptance signal is output. When configuring the combinational logic circuit 3, it is possible to accept an interrupt request signal IRQ whose falling edge indicates an interrupt request. In other words, in this case, the falling edge of the interrupt request signal IRQ indicates an interrupt request.
is accepted as an interrupt request signal only when it continues to be at L level for a period longer than n-1 cycles of the clock supplied to the shift register 2 after falling.

【0016】また、割込み要求信号入力端子1に入力さ
れる割込み要求信号IRQを反転して直並列変換するn
+iビット構成のシフトレジスタ2を設ける場合におい
て、シフトレジスタ2の並列出力が割込み要求信号入力
端子1側からシフト方向にnビット連続してLレベルが
出力された場合、割込み受付信号を出力するように組合
せ論理回路3を構成する場合には、立ち上がりエッジが
割込み要求を示している割込み要求信号IRQを受け付
けることができる。換言すれば、この場合、立ち上がり
エッジが割込み要求を示している割込み要求信号IRQ
は、立ち上がり後、シフトレジスタ2に供給されるクロ
ック周期でn−1サイクルよりも長い期間、Hレベルが
連続した場合のみ、割込み要求信号として受け付けられ
る。
Furthermore, the interrupt request signal IRQ input to the interrupt request signal input terminal 1 is inverted and serial-parallel converted.
When a shift register 2 with a +i bit configuration is provided, if the parallel output of the shift register 2 is at L level continuously for n bits in the shift direction from the interrupt request signal input terminal 1 side, an interrupt acceptance signal is output. When configuring the combinational logic circuit 3, it is possible to accept an interrupt request signal IRQ whose rising edge indicates an interrupt request. In other words, in this case, the interrupt request signal IRQ whose rising edge indicates an interrupt request
is accepted as an interrupt request signal only when it remains at H level for a period longer than n-1 cycles of the clock supplied to the shift register 2 after rising.

【0017】そこで、また、図2に本発明中、第2の発
明の原理説明図を示すように、割込み要求信号入力端子
1と、この割込み要求信号入力端子1に入力される割込
み要求信号IRQを反転することなく直並列変換するn
+iビット構成のシフトレジスタ2と、第1、第2、第
3、第4の出力端子41、42、43、44を有し、シ
フトレジスタ2の並列出力を論理処理し、シフトレジス
タ2の並列出力が割込み要求信号入力端子1側からシフ
ト方向にnビット以上連続してHレベルである場合には
第1の出力端子41に割込み受付信号を出力し、シフト
レジスタ2の並列出力が割込み要求信号入力端子1側か
らシフト方向にnビット連続してHレベルである場合に
は第2の出力端子42にも割込み受付信号を出力し、シ
フトレジスタ2の並列出力が割込み要求信号入力端子1
側からシフト方向にnビット以上連続してLレベルであ
る場合には第3の出力端子43に割込み受付信号を出力
し、シフトレジスタ2の並列出力が割込み要求信号入力
端子1側からシフト方向にnビット連続してLレベルが
出力された場合には第4の出力端子44にも割込み受付
信号を出力するように構成された組み合わせ論理回路5
と、第1、第2、第3、第4の出力端子41、42、4
3、44に出力される割込み受付信号を選択するための
マルチプレクサ6とを設けて構成する場合には、Hレベ
ル割込みモード、立ち上がりエッジ割込みモード、Lレ
ベル割込みモード、立ち下がりエッジ割込みモードのう
ち、所望の割込みモードを設定することができる。
Therefore, as shown in FIG. 2, which is a diagram illustrating the principle of the second aspect of the present invention, an interrupt request signal input terminal 1 and an interrupt request signal IRQ inputted to this interrupt request signal input terminal 1 are provided. convert serial to parallel without inverting n
It has a shift register 2 with a +i bit configuration and first, second, third, and fourth output terminals 41, 42, 43, and 44, and performs logical processing on the parallel outputs of the shift register 2, and If the output is at H level continuously for n bits or more in the shift direction from the interrupt request signal input terminal 1 side, an interrupt acceptance signal is output to the first output terminal 41, and the parallel output of the shift register 2 becomes an interrupt request signal. If n bits are continuously at H level in the shift direction from the input terminal 1 side, an interrupt acceptance signal is also output to the second output terminal 42, and the parallel output of the shift register 2 is output to the interrupt request signal input terminal 1.
If n bits or more are continuously at L level in the shift direction from the side, an interrupt acceptance signal is output to the third output terminal 43, and the parallel output of the shift register 2 is output from the interrupt request signal input terminal 1 side in the shift direction. The combinational logic circuit 5 is configured to output an interrupt acceptance signal to the fourth output terminal 44 when n bits are continuously outputted at L level.
and first, second, third, and fourth output terminals 41, 42, 4
When configured with a multiplexer 6 for selecting the interrupt acceptance signal outputted to the terminals 3 and 44, one of the H level interrupt mode, rising edge interrupt mode, L level interrupt mode, and falling edge interrupt mode is provided. A desired interrupt mode can be set.

【0018】即ち、第1の出力端子41に出力される割
込み受付信号を選択する場合には、Hレベルが割込み要
求を示している割込み要求信号IRQを受け付けること
ができる。但し、この場合、Hレベルが割込み要求を示
している割込み要求信号IRQは、シフトレジスタ2に
供給されるクロック周期でn−1サイクルよりも長い期
間、Hレベルが連続しないと受け付けられない。
That is, when selecting the interrupt acceptance signal output to the first output terminal 41, it is possible to accept the interrupt request signal IRQ whose H level indicates an interrupt request. However, in this case, the interrupt request signal IRQ, whose H level indicates an interrupt request, will not be accepted unless it remains at the H level for a period longer than n-1 cycles of the clock supplied to the shift register 2.

【0019】また、第2の出力端子42に出力される割
込み受付信号を選択する場合には、立ち上がりエッジが
割込み要求を示している割込み要求信号IRQを受け付
けることができる。但し、この場合、立ち上がりエッジ
が割込み要求を示している割込み要求信号IRQは、立
ち上がり後、シフトレジスタ2に供給されるクロック周
期でn−1サイクルよりも長い期間、Hレベルが連続し
ないと受け付けられない。
Furthermore, when selecting the interrupt acceptance signal outputted to the second output terminal 42, it is possible to accept an interrupt request signal IRQ whose rising edge indicates an interrupt request. However, in this case, the interrupt request signal IRQ, whose rising edge indicates an interrupt request, will not be accepted unless it remains at an H level continuously for a period longer than n-1 cycles of the clock supplied to the shift register 2 after rising. do not have.

【0020】また、第3の出力端子43に出力される割
込み受付信号を選択する場合には、Lレベルが割込み要
求を示している割込み要求信号IRQを受け付けること
ができる。但し、この場合、Lレベルが割込み要求を示
している割込み要求信号IRQは、シフトレジスタ2に
供給されるクロック周期でn−1サイクルよりも長い期
間、Lレベルが連続しないと受け付けられない。
Furthermore, when selecting the interrupt acceptance signal outputted to the third output terminal 43, it is possible to accept an interrupt request signal IRQ whose L level indicates an interrupt request. However, in this case, the interrupt request signal IRQ, whose L level indicates an interrupt request, will not be accepted unless it remains at the L level for a period longer than n-1 cycles of the clock supplied to the shift register 2.

【0021】また、第4の出力端子44に出力される割
込み受付信号を選択する場合には、立ち下がりエッジが
割込み要求を示している割込み要求信号IRQを受け付
けることができる。但し、この場合、立ち下がりエッジ
が割込み要求を示している割込み要求信号は、立ち下が
り後、シフトレジスタ2に供給されるクロック周期でn
−1サイクルよりも長い期間、Lレベルが連続しないと
受け付けられない。
Furthermore, when selecting the interrupt acceptance signal outputted to the fourth output terminal 44, it is possible to accept an interrupt request signal IRQ whose falling edge indicates an interrupt request. However, in this case, the interrupt request signal, whose falling edge indicates an interrupt request, is n in the clock cycle supplied to the shift register 2 after falling.
It is not accepted unless the L level continues for a period longer than -1 cycle.

【0022】また、図2において、シフトレジスタ2を
、割込み要求信号入力端子1に入力される割込み要求信
号IRQを反転して直並列変換するように構成する場合
においては、第1の出力端子41に出力される割込み受
付信号を選択する場合、Lレベルが割込み要求を示して
いる割込み要求信号IRQを受け付けることができ、第
2の出力端子42に出力される割込み受付信号を選択す
る場合には、立ち下がりエッジが割込み要求を示してい
る割込み要求信号IRQを受け付けることができ、第3
の出力端子43に出力される割込み受付信号を選択する
場合には、Hレベルが割込み要求を示している割込み要
求信号IRQを受け付けることができ、第4の出力端子
44に出力される割込み受付信号を選択する場合には、
立ち上がりエッジが割込み要求を示している割込み要求
信号IRQを受け付けることができる。
In addition, in FIG. 2, when the shift register 2 is configured to invert the interrupt request signal IRQ inputted to the interrupt request signal input terminal 1 and perform serial-to-parallel conversion, the first output terminal 41 When selecting the interrupt acceptance signal output to the second output terminal 42, the interrupt request signal IRQ whose L level indicates an interrupt request can be accepted; when selecting the interrupt acceptance signal output to the second output terminal 42, , can accept the interrupt request signal IRQ whose falling edge indicates an interrupt request, and the third
When selecting the interrupt acceptance signal output to the fourth output terminal 43, it is possible to accept the interrupt request signal IRQ whose H level indicates an interrupt request, and select the interrupt acceptance signal output to the fourth output terminal 44. If you select
An interrupt request signal IRQ whose rising edge indicates an interrupt request can be accepted.

【0023】但し、Lレベルが割込み要求を示している
割込み要求信号IRQは、シフトレジスタ2に供給され
るクロック周期でn−1サイクルよりも長い期間、Lレ
ベルが連続しないと受け付けられず、立ち下がりエッジ
が割込み要求を示している割込み要求信号IRQは、立
ち下がり後、シフトレジスタ2に供給されるクロック周
期でn−1サイクルよりも長い期間、Lレベルが連続し
ないと受け付けられず、Hレベルが割込み要求を示して
いる割込み要求信号IRQは、シフトレジスタ2に供給
されるクロック周期でn−1サイクルよりも長い期間、
Hレベルが連続しないと受け付けられず、立ち上がりエ
ッジが割込み要求を示している割込み要求信号は、立ち
上がり後、シフトレジスタ2に供給されるクロック周期
でn−1サイクルよりも長い期間、Hレベルが連続しな
いと受け付けられない点は、前例と同様である。
However, the interrupt request signal IRQ whose L level indicates an interrupt request will not be accepted unless it remains at the L level continuously for a period longer than n-1 cycles of the clock cycle supplied to the shift register 2. The interrupt request signal IRQ, whose falling edge indicates an interrupt request, cannot be accepted unless it remains at the L level continuously for a period longer than n-1 cycles of the clock supplied to the shift register 2 after falling, and the interrupt request signal IRQ goes to the H level. The interrupt request signal IRQ, which indicates an interrupt request, has a clock cycle supplied to the shift register 2 for a period longer than n-1 cycles.
An interrupt request signal whose rising edge indicates an interrupt request cannot be accepted unless the H level is continuous. The point that it will not be accepted unless you do so is the same as the previous example.

【0024】[0024]

【実施例】以下、図3〜図5を参照して本発明の一実施
例について説明する。
Embodiment An embodiment of the present invention will be described below with reference to FIGS. 3 to 5.

【0025】図3は本発明の一実施例を示す図であり、
図中、7は割込み要求信号IRQが入力される割込み要
求信号入力端子、8は割込み要求信号入力端子7に入力
される割込み要求信号IRQを反転して直並列変換する
4ビット構成のシフトレジスタ、9はクロック入力端子
、10は組合せ論理回路であり、この組合せ論理回路1
0は、インバータ11、12と、NOR回路13と、排
他的OR回路14と、AND回路15〜17とで構成さ
れている。
FIG. 3 is a diagram showing an embodiment of the present invention.
In the figure, 7 is an interrupt request signal input terminal into which the interrupt request signal IRQ is input, 8 is a 4-bit shift register that inverts and converts the interrupt request signal IRQ input into the interrupt request signal input terminal 7 from serial to parallel. 9 is a clock input terminal, 10 is a combinational logic circuit, and this combinational logic circuit 1
0 is composed of inverters 11 and 12, a NOR circuit 13, an exclusive OR circuit 14, and AND circuits 15 to 17.

【0026】また、18〜21は割込みモード設定信号
D1、D2、D1バー、D2バーが入力される割込みモ
ード設定信号入力端子、22は割込みモード設定信号D
1、D2、D1バー、D2バーによって制御されて組合
せ論理回路10の出力OA、OB、OC、ODを選択す
るマルチプレクサであり、このマルチプレクサ22は、
AND回路23〜26と、NOR回路27とで構成され
ている。なお、28は割込み受付信号出力端子である。
Further, 18 to 21 are interrupt mode setting signal input terminals to which interrupt mode setting signals D1, D2, D1 bar, and D2 bar are input, and 22 is an interrupt mode setting signal D.
1, D2, D1 bar, and D2 bar to select the outputs OA, OB, OC, and OD of the combinational logic circuit 10, and this multiplexer 22 is
It is composed of AND circuits 23 to 26 and a NOR circuit 27. Note that 28 is an interrupt acceptance signal output terminal.

【0027】ここに、シフトレジスタ8の出力QA、Q
B、QC、QDと、組合せ論理回路10の出力OA、O
B、OC、ODとの関係は表1に示すようになる。
Here, the outputs QA and Q of the shift register 8
B, QC, QD and the outputs OA, O of the combinational logic circuit 10
The relationship between B, OC, and OD is shown in Table 1.

【0028】[0028]

【表1】[Table 1]

【0029】なお、インバータ11、12は、シフトレ
ジスタ8の出力QA、QB、QC、QDが全てLレベル
になった場合に、組合せ論理回路10の出力OBがHレ
ベルになることを回避するためのものである。
Note that the inverters 11 and 12 are used to prevent the output OB of the combinational logic circuit 10 from becoming H level when the outputs QA, QB, QC, and QD of the shift register 8 all become L level. belongs to.

【0030】また、割込みモード設定信号D1、D2、
D1バー、D2バーと、AND回路23〜26の活性、
不活性と、組合せ論理回路の出力OA、OB、OC、O
Dのうち、マルチプレクサ22によって選択される出力
との関係は、表2に示すようになる。
Furthermore, interrupt mode setting signals D1, D2,
D1 bar, D2 bar, and the activation of AND circuits 23 to 26,
Inactive and outputs of combinational logic circuits OA, OB, OC, O
Among D, the relationship with the output selected by the multiplexer 22 is as shown in Table 2.

【0031】[0031]

【表2】[Table 2]

【0032】そこで、シフトレジスタ8の出力QA、Q
B、QC、QDと、組合せ論理回路10の出力OA、O
B、OC、ODと、割込みモード設定信号D1、D2、
D1バー、D2バーと、組合せ論理回路の出力OA、O
B、OC、ODのうち、マルチプレクサ22によって選
択される出力と、割込み受付信号出力端子28の論理状
態とは、表3、表4に示すようになる。
Therefore, the outputs QA and Q of the shift register 8
B, QC, QD and the outputs OA, O of the combinational logic circuit 10
B, OC, OD, and interrupt mode setting signals D1, D2,
D1 bar, D2 bar and the outputs OA and O of the combinational logic circuit
Outputs selected by the multiplexer 22 among B, OC, and OD and the logical states of the interrupt acceptance signal output terminal 28 are as shown in Tables 3 and 4.

【0033】[0033]

【表3】[Table 3]

【0034】[0034]

【表4】[Table 4]

【0035】ここに、割込み受付信号出力端子28に出
力されるLレベルの信号をもって割込み受付信号とすれ
ば、表3から明らかなように、組合せ論理回路10の出
力OAを選択する場合には、Hレベルが割込み要求を示
している割込み要求信号IRQを受け付けることができ
る。即ち、Hレベル割込みモードを設定することができ
る。但し、この場合、Hレベルが割込み要求を示してい
る割込み要求信号IRQは、図4に示すように、シフト
レジスタ2に供給されるクロック周期で2サイクルより
も長い期間、Hレベルが連続していないと受け付けられ
ない。
If the L level signal output to the interrupt acceptance signal output terminal 28 is used as the interrupt acceptance signal, as is clear from Table 3, when selecting the output OA of the combinational logic circuit 10, An interrupt request signal IRQ whose H level indicates an interrupt request can be accepted. That is, an H level interrupt mode can be set. However, in this case, the interrupt request signal IRQ, whose H level indicates an interrupt request, has a continuous H level for a period longer than two clock cycles supplied to the shift register 2, as shown in FIG. It cannot be accepted without it.

【0036】また、同じく、表3から明らかなように、
組合せ論理回路10の出力OBを選択する場合には、立
ち上がりエッジが割込み要求を示している割込み要求信
号IRQを受け付けることができる。即ち、立ち上がり
エッジ割込みモードを設定することができる。但し、こ
の場合、立ち上がりエッジが割込み要求を示している割
込み要求信号IRQは、同じく、図4に示すように、立
ち上がり後、シフトレジスタ2に供給されるクロック周
期で2サイクルよりも長い期間、Hレベルが連続してい
ないと受け付けられない。
[0036] Also, as is clear from Table 3,
When selecting the output OB of the combinational logic circuit 10, it is possible to accept an interrupt request signal IRQ whose rising edge indicates an interrupt request. That is, a rising edge interrupt mode can be set. However, in this case, the interrupt request signal IRQ whose rising edge indicates an interrupt request remains high for a period longer than two clock cycles supplied to the shift register 2 after rising, as shown in FIG. It will not be accepted unless the levels are consecutive.

【0037】また、表4から明らかなように、組合せ論
理回路10の出力OCを選択する場合には、Lレベルが
割込み要求を示している割込み要求信号IRQを受け付
けることができる。即ち、Lレベル割込みモードを設定
することができる。但し、この場合、Lレベルが割込み
要求を示している割込み要求信号IRQは、図5に示す
ように、シフトレジスタ2に供給されるクロック周期で
2サイクルよりも長い期間、Lレベルが連続していない
と受け付けられない。
Furthermore, as is clear from Table 4, when the output OC of the combinational logic circuit 10 is selected, it is possible to accept the interrupt request signal IRQ whose L level indicates an interrupt request. That is, an L level interrupt mode can be set. However, in this case, the interrupt request signal IRQ whose L level indicates an interrupt request is continuously at the L level for a period longer than two clock cycles supplied to the shift register 2, as shown in FIG. It cannot be accepted without it.

【0038】また、同じく、表4から明らかなように、
組合せ論理回路10の出力ODを選択する場合には、立
ち下がりエッジが割込み要求を示している割込み要求信
号IRQを受け付けることができる。即ち、立ち下がり
エッジ割込みモードを設定することができる。但し、こ
の場合、立ち下がりエッジが割込み要求を示している割
込み要求信号IRQは、同じく、図5に示すように、立
ち下がり後、シフトレジスタ2に供給されるクロック周
期で2サイクルよりも長い期間、Lレベルが連続してい
ないと受け付けられない。
[0038] Also, as is clear from Table 4,
When selecting the output OD of the combinational logic circuit 10, it is possible to accept an interrupt request signal IRQ whose falling edge indicates an interrupt request. That is, a falling edge interrupt mode can be set. However, in this case, the interrupt request signal IRQ whose falling edge indicates an interrupt request has a period longer than 2 cycles in the clock cycle supplied to the shift register 2 after falling, as shown in FIG. , it will not be accepted unless the L level is consecutive.

【0039】以上のように、本実施例によれば、Hレベ
ル割込みモード、立ち上がりエッジ割込みモード、Lレ
ベル割込みモード、立ち下がりエッジ割込みモードのう
ち、所望の割込みモードを設定することができるが、本
実施例は、これを簡単な回路構成で実現している。
As described above, according to this embodiment, a desired interrupt mode can be set among the H level interrupt mode, rising edge interrupt mode, L level interrupt mode, and falling edge interrupt mode. This embodiment realizes this with a simple circuit configuration.

【0040】また、本実施例においては、Hレベル割込
みモードに設定する場合、Hレベルが割込み要求を示し
ている割込み要求信号IRQは、シフトレジスタ2に供
給されるクロック周期で2サイクルよりも長い期間、H
レベルが連続していないと受け付けられない。また、立
ち上がりエッジ割込みモードに設定する場合、立ち上が
りエッジが割込み要求を示している割込み要求信号IR
Qは、立ち上がり後、シフトレジスタ2に供給されるク
ロック周期で2サイクルよりも長い期間、Hレベルが連
続していないと受け付けられない。また、Lレベル割込
みモードに設定する場合、Lレベルが割込み要求を示し
ている割込み要求信号IRQは、シフトレジスタ2に供
給されるクロック周期で2サイクルよりも長い期間、L
レベルが連続していないと受け付けられない。また、立
ち下がり割込みモードに設定する場合、立ち下がりエッ
ジが割込み要求を示している割込み要求信号IRQは、
立ち下がり後、シフトレジスタ2に供給されるクロック
周期で2サイクルよりも長い期間、Lレベルが連続して
いないと受け付けられない。したがって、本実施例によ
れば、割込み要求信号入力端子7に入力されるノイズに
よる誤受付を回避することができる。
Furthermore, in this embodiment, when setting the H level interrupt mode, the interrupt request signal IRQ whose H level indicates an interrupt request has a clock period longer than 2 cycles supplied to the shift register 2. Period, H
It will not be accepted unless the levels are consecutive. In addition, when setting the rising edge interrupt mode, the interrupt request signal IR whose rising edge indicates an interrupt request.
Q is not accepted unless it remains at the H level continuously for a period longer than two cycles of the clock supplied to the shift register 2 after rising. In addition, when setting the L level interrupt mode, the interrupt request signal IRQ whose L level indicates an interrupt request is kept at the L level for a period longer than two clock cycles supplied to the shift register 2.
It will not be accepted unless the levels are consecutive. In addition, when setting to falling interrupt mode, the interrupt request signal IRQ whose falling edge indicates an interrupt request is
After falling, unless the L level remains continuous for a period longer than two clock cycles supplied to the shift register 2, it will not be accepted. Therefore, according to this embodiment, erroneous reception due to noise input to the interrupt request signal input terminal 7 can be avoided.

【0041】なお、上述の実施例においては、シフトレ
ジスタ8と、組合せ論理回路10と、マルチプレクサ2
2とで構成した場合につき述べたが、この代わりに、シ
フトレジスタと、組合せ論理回路とで構成し、かつ、組
合せ論理回路を、Hレベル割込みモード、立ち上がりエ
ッジ割込みモード、Lレベル割込みモード又は立ち下が
りエッジ割込みモードのみを設定できるように構成する
場合には、これを特定の割込みモード専用に使用するこ
ともできる。
In the above embodiment, the shift register 8, the combinational logic circuit 10, and the multiplexer 2
2, but instead, it is configured with a shift register and a combinational logic circuit, and the combinational logic circuit is set to H level interrupt mode, rising edge interrupt mode, L level interrupt mode, or rising edge interrupt mode. If configured so that only the falling edge interrupt mode can be set, this can also be used exclusively for a specific interrupt mode.

【0042】[0042]

【発明の効果】本発明中、第1の発明によれば、Hレベ
ルが割込み要求を示している割込み要求信号IRQを受
け付けるように構成する場合、この割込み要求信号IR
Qは、シフトレジスタ2に供給されるクロック周期でn
−1サイクルよりも長い期間、Hレベルが連続した場合
のみ、割込み要求信号として受け付けられる。また、L
レベルが割込み要求を示している割込み要求信号IRQ
を受け付けるように構成する場合、この割込み要求信号
IRQは、シフトレジスタ2に供給されるクロック周期
でn−1サイクルよりも長い期間、Lレベルが連続した
場合のみ、割込み要求信号として受付けられる。また、
立ち上がりエッジが割込み要求を示している割込み要求
信号IRQを受け付けるように構成する場合、この割込
み要求信号IRQは、立ち上がり後、シフトレジスタ2
に供給されるクロック周期でn−1サイクルよりも長い
期間、Hレベルが連続した場合のみ、割込み要求信号と
して受け付けられる。また、立ち下がりエッジが割込み
要求を示している割込み要求信号IRQを受け付ける場
合、この割込み要求信号IRQは、立ち下がり後、シフ
トレジスタ2に供給されるクロック周期でn−1サイク
ルよりも長い期間、Lレベルが連続した場合のみ、割込
み要求信号として受け付けられる。したがって、割込み
要求信号入力端子1に入力されるノイズによる誤受付を
回避することができる。
According to the first aspect of the present invention, when the interrupt request signal IRQ is configured to receive the interrupt request signal IRQ whose H level indicates an interrupt request, the interrupt request signal IRQ
Q is the clock period supplied to shift register 2 and is n
Only when the H level continues for a period longer than -1 cycle is accepted as an interrupt request signal. Also, L
Interrupt request signal IRQ whose level indicates an interrupt request
When configured to accept interrupt request signals, this interrupt request signal IRQ is accepted as an interrupt request signal only when the L level continues for a period longer than n-1 cycles of the clock cycle supplied to the shift register 2. Also,
When configured to accept an interrupt request signal IRQ whose rising edge indicates an interrupt request, this interrupt request signal IRQ is transferred to the shift register 2 after rising.
The interrupt request signal is accepted only when the H level continues for a period longer than n-1 cycles of the clock supplied to the interrupt request signal. Further, when accepting an interrupt request signal IRQ whose falling edge indicates an interrupt request, this interrupt request signal IRQ is transmitted for a period longer than n-1 cycles in the clock cycle supplied to the shift register 2 after falling. Only when the L level continues, it is accepted as an interrupt request signal. Therefore, erroneous reception due to noise input to the interrupt request signal input terminal 1 can be avoided.

【0043】また、本発明中、第2の発明によれば、H
レベル割込みモード、立ち上がりエッジ割込みモード、
Lレベル割込みモード、立ち下がりエッジ割込みモード
のうち、所望の割込みモードの設定を行うことができ、
しかも、これを簡単な回路構成で実現することができる
Furthermore, according to the second invention of the present invention, H
level interrupt mode, rising edge interrupt mode,
You can set the desired interrupt mode between L level interrupt mode and falling edge interrupt mode.
Moreover, this can be realized with a simple circuit configuration.

【0044】また、この第2の発明によれば、Hレベル
割込みモードに設定する場合、Hレベルが割込み要求を
示している割込み要求信号IRQは、シフトレジスタ2
に供給されるクロック周期でn−1サイクルよりも長い
期間、Hレベルが連続した場合のみ、割込み要求信号と
して受け付けられる。また、Lレベル割込みモードに設
定する場合、Lレベルが割込み要求を示している割込み
要求信号IRQは、シフトレジスタ2に供給されるクロ
ック周期でn−1サイクルよりも長い期間、Lレベルが
連続した場合のみ、割込み要求信号として受付けられる
。また、立ち上がりエッジ割込みモードに設定する場合
、立ち上がりエッジが割込み要求を示している割込み要
求信号IRQは、立ち上がり後、シフトレジスタ2に供
給されるクロック周期でn−1サイクルよりも長い期間
、Hレベルが連続した場合のみ、割込み要求信号として
受け付けられる。また、立ち下がりエッジ割込みモード
に設定する場合、立ち下がりエッジが割込み要求を示し
ている割込み要求信号IRQは、立ち下がり後、シフト
レジスタ2に供給されるクロック周期でn−1サイクル
よりも長い期間、Lレベルが連続した場合のみ、割込み
要求信号として受け付けられる。したがって、割込み要
求信号入力端子1に入力されるノイズによる誤受付を回
避することができる。
Further, according to the second invention, when setting the H level interrupt mode, the interrupt request signal IRQ whose H level indicates an interrupt request is transferred to the shift register 2.
The interrupt request signal is accepted only when the H level continues for a period longer than n-1 cycles of the clock supplied to the interrupt request signal. In addition, when setting to the L level interrupt mode, the interrupt request signal IRQ whose L level indicates an interrupt request has a continuous L level for a period longer than n-1 cycles in the clock cycle supplied to the shift register 2. Only in this case, it is accepted as an interrupt request signal. In addition, when setting the rising edge interrupt mode, the interrupt request signal IRQ whose rising edge indicates an interrupt request remains at an H level for a period longer than n-1 cycles in the clock cycle supplied to the shift register 2 after rising. It is accepted as an interrupt request signal only if it is consecutive. In addition, when setting the falling edge interrupt mode, the interrupt request signal IRQ whose falling edge indicates an interrupt request has a period longer than n-1 cycles in the clock cycle supplied to the shift register 2 after falling. , is accepted as an interrupt request signal only when the L level is continuous. Therefore, erroneous reception due to noise input to the interrupt request signal input terminal 1 can be avoided.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明中、第1の発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the first invention of the present invention.

【図2】本発明中、第2の発明の原理説明図である。FIG. 2 is a diagram explaining the principle of the second invention in the present invention.

【図3】本発明の一実施例を示す図である。FIG. 3 is a diagram showing an embodiment of the present invention.

【図4】本発明の一実施例の動作を説明するためのタイ
ムチャートである。
FIG. 4 is a time chart for explaining the operation of an embodiment of the present invention.

【図5】本発明の一実施例の動作を説明するためのタイ
ムチャートである。
FIG. 5 is a time chart for explaining the operation of an embodiment of the present invention.

【図6】従来の割込み受付回路の一例を示す図である。FIG. 6 is a diagram showing an example of a conventional interrupt reception circuit.

【図7】図6の割込み受付回路の動作を示すタイムチャ
ートである。
FIG. 7 is a time chart showing the operation of the interrupt acceptance circuit in FIG. 6;

【図8】従来の割込み受付回路の他の例を示す図である
FIG. 8 is a diagram showing another example of a conventional interrupt reception circuit.

【図9】図8の割込み受付回路の動作を示すタイムチャ
ートである。
FIG. 9 is a time chart showing the operation of the interrupt acceptance circuit of FIG. 8;

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

1  割込み要求信号入力端子 2  シフトレジスタ 3、5  組合せ論理回路 6  マルチプレクサ 1 Interrupt request signal input terminal 2 Shift register 3, 5 Combinational logic circuit 6 Multiplexer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】割込み要求信号入力端子(1)と、該割込
み要求信号入力端子(1)に入力される割込み要求信号
(IRQ)を反転することなく又は反転して直並列変換
するn+iビット構成(但し、n=2以上の整数、i=
1以上の整数)のシフトレジスタ(2)と、該シフトレ
ジスタ(2)の並列出力を論理処理し、前記シフトレジ
スタ(2)の並列出力が前記割込み要求信号入力端子(
1)側からシフト方向にnビット以上連続してHレベル
又はLレベルである場合あるいは前記シフトレジスタ(
2)の並列出力が前記割込み要求信号入力端子(1)側
からシフト方向にnビット連続してHレベル又はLレベ
ルである場合、割込み受付信号を出力するように構成さ
れた組合せ論理回路(3)とを設けて構成されているこ
とを特徴とする割込み受付回路。
Claim 1: An interrupt request signal input terminal (1) and an n+i bit configuration in which an interrupt request signal (IRQ) inputted to the interrupt request signal input terminal (1) is serial-parallel converted without inverting or by inverting the interrupt request signal (IRQ). (However, n = integer greater than or equal to 2, i =
Logic processing is performed on the shift register (2) of the shift register (an integer greater than or equal to 1) and the parallel output of the shift register (2), and the parallel output of the shift register (2) is connected to the interrupt request signal input terminal (
1) When n bits or more are continuously at H level or L level in the shift direction from the side, or when the shift register (
A combinational logic circuit (3) configured to output an interrupt acceptance signal when the parallel output of (2) is at H level or L level for n bits consecutively in the shift direction from the interrupt request signal input terminal (1) side. ).
【請求項2】割込み要求信号入力端子(1)と、該割込
み要求信号入力端子(1)に入力される割込み要求信号
(IRQ)を反転することなく又は反転して直並列変換
するn+iビット構成(但し、n=2以上の整数、i=
1以上の整数)のシフトレジスタ(2)と、第1、第2
、第3、第4の出力端子(41、42、43、44)を
有し、前記シフトレジスタ(2)の並列出力を論理処理
し、前記シフトレジスタ(2)の並列出力が前記割込み
要求信号入力端子(1)側からシフト方向にnビット以
上連続してHレベルである場合には前記第1の出力端子
(41)に割込み受付信号を出力し、前記シフトレジス
タ(2)の並列出力が前記割込み要求信号入力端子(1
)側からシフト方向にnビット連続してHレベルである
場合には前記第2の出力端子(42)にも割込み受付信
号を出力し、前記シフトレジスタ(2)の並列出力が前
記割込み要求信号入力端子(1)側からシフト方向にn
ビット以上連続してLレベルである場合には前記第3の
出力端子(43)に割込み受付信号を出力し、前記シフ
トレジスタ(2)の並列出力が前記割込み要求信号入力
端子(1)側からシフト方向にnビット連続してLレベ
ルである場合には前記第4の出力端子(44)にも割込
み受付信号を出力するように構成された組合せ論理回路
(5)と、前記第1、第2、第3、第4の出力端子(4
1、42、43、44)に出力される割込み受付信号を
選択し、割込みモードを設定するためのマルチプレクサ
(6)とを設けて構成されていることを特徴とする割込
み受付回路。
2. An interrupt request signal input terminal (1) and an n+i bit configuration in which the interrupt request signal (IRQ) inputted to the interrupt request signal input terminal (1) is serial-parallel converted without inverting or by inverting the interrupt request signal (IRQ). (However, n = integer greater than or equal to 2, i =
(integer greater than or equal to 1) shift register (2), first and second
, third and fourth output terminals (41, 42, 43, 44), performs logical processing on the parallel outputs of the shift register (2), and outputs the parallel outputs of the shift register (2) as the interrupt request signal. If n bits or more are continuously at H level from the input terminal (1) side in the shift direction, an interrupt acceptance signal is output to the first output terminal (41), and the parallel output of the shift register (2) is The interrupt request signal input terminal (1
) side in the shift direction, an interrupt acceptance signal is also output to the second output terminal (42), and the parallel output of the shift register (2) is the interrupt request signal. n in the shift direction from the input terminal (1) side
If the level is L level continuously for more than one bit, an interrupt acceptance signal is output to the third output terminal (43), and the parallel output of the shift register (2) is output from the interrupt request signal input terminal (1) side. a combinational logic circuit (5) configured to output an interrupt acceptance signal also to the fourth output terminal (44) when n bits are continuously at L level in the shift direction; 2, 3rd, and 4th output terminals (4
1, 42, 43, 44) and a multiplexer (6) for selecting an interrupt acceptance signal outputted to the interrupt receiving circuit (1, 42, 43, 44) and setting an interrupt mode.
JP3077820A 1991-04-10 1991-04-10 Interrupt acceptance circuit Expired - Lifetime JP2590625B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3077820A JP2590625B2 (en) 1991-04-10 1991-04-10 Interrupt acceptance circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3077820A JP2590625B2 (en) 1991-04-10 1991-04-10 Interrupt acceptance circuit

Publications (2)

Publication Number Publication Date
JPH04311246A true JPH04311246A (en) 1992-11-04
JP2590625B2 JP2590625B2 (en) 1997-03-12

Family

ID=13644676

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3077820A Expired - Lifetime JP2590625B2 (en) 1991-04-10 1991-04-10 Interrupt acceptance circuit

Country Status (1)

Country Link
JP (1) JP2590625B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6327930A (en) * 1986-07-21 1988-02-05 Nec Corp Interruption control circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6327930A (en) * 1986-07-21 1988-02-05 Nec Corp Interruption control circuit

Also Published As

Publication number Publication date
JP2590625B2 (en) 1997-03-12

Similar Documents

Publication Publication Date Title
US5459855A (en) Frequency ratio detector for determining fixed frequency ratios in a computer system
US4618849A (en) Gray code counter
US6018560A (en) Up/down counter
KR20000017243A (en) A pulse-duration modulation wave generating circuit
US5200647A (en) High-speed signal multiplexing circuit for multiplexing high-speed signals
US8774292B2 (en) Data transfer system, data transfer method, receiving circuit, and receiving method
JPH04311246A (en) Interruption acceptance circuit
US5379038A (en) Parallel-serial data converter
US20040263266A1 (en) Arrangement and method for digital delay line
KR0170720B1 (en) Digital/analog converter interface apparatus
JP2590625C (en)
JP3008637B2 (en) Digital demodulation circuit
JP2565144B2 (en) Serial-parallel converter
KR100437833B1 (en) clock signal switch circuit
KR100236331B1 (en) Counter
KR100313931B1 (en) Control signal generating circuit
KR930005653B1 (en) Clock variable circuit
JP2508322B2 (en) Serial I / O circuit built-in micro computer
JPH06120842A (en) Serial/parallel conversion circuit
KR930007593Y1 (en) Control signal oscillating circuit for data input & output between apparatus
JPH0722915Y2 (en) Digital automatic optimum phase synchronization circuit
JPS61141223A (en) Erroneous pulse generating circuit
JPS63103521A (en) Parallel/serial conversion circuit
JPH03222539A (en) Start bit detection circuit
JPH0756651A (en) Clock generating circuit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19961022