JPS6027059B2 - interrupt control adapter - Google Patents
interrupt control adapterInfo
- Publication number
- JPS6027059B2 JPS6027059B2 JP3978881A JP3978881A JPS6027059B2 JP S6027059 B2 JPS6027059 B2 JP S6027059B2 JP 3978881 A JP3978881 A JP 3978881A JP 3978881 A JP3978881 A JP 3978881A JP S6027059 B2 JPS6027059 B2 JP S6027059B2
- Authority
- JP
- Japan
- Prior art keywords
- interrupt
- time
- signal
- control adapter
- holding
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
- G06F13/24—Handling requests for interconnection or transfer for access to input/output bus using interrupt
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Systems (AREA)
- Bus Control (AREA)
Description
【発明の詳細な説明】
本発明はプロセス端末を汎用計算機に接続するための割
込み処理装置(一般的にはインターフェース・コントロ
ール・ユニット:icu)に付加して用いるアダプタに
関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an adapter used in addition to an interrupt processing unit (generally an interface control unit: ICU) for connecting a process terminal to a general-purpose computer.
従来のicuは多種多様なインターフェースがあるが、
その中でプロセス端末からの割込み信号のみをホスト計
算機に伝えるicuにおいては、複数の割込み信号がラ
ンダムに発生すると受け付けられない割込みを生ずる場
合があった。Conventional ICUs have a wide variety of interfaces, but
Among these, in an ICU that transmits only interrupt signals from a process terminal to a host computer, if a plurality of interrupt signals are randomly generated, an interrupt may not be accepted.
本発明はこの点を解決するためicuの入力側に付加さ
れるアダプタであり、以下図面により詳述する。The present invention is an adapter that is added to the input side of the ICU to solve this problem, and will be described in detail below with reference to the drawings.
第1図は上記icuの一例であり、多数のプロセス(P
o〜Pn)からの割込信号(L〜ln)はしジスタRの
各ビットに入力されており、高速のクロツク(CLK)
により常にサンプルホールドされる。FIG. 1 shows an example of the above ICU, which has a large number of processes (P
The interrupt signals (L to ln) from the signals (o to Pn) are input to each bit of the register R, and the high-speed clock (CLK)
The sample is always held.
L〜lnのいずれかに割込み信号(正極性パルスとする
)が生じてそれがサンプルホールドされるとNORゲー
トGIの出力が“0”となり、ANDゲートG2を閉じ
るので、その時点のlo〜lnの状態が凍結される。一
方ゲートGIの出力は割込み代表信号として割込処理回
路IRTに通知され、mTはしジスタR中のどのビット
に“1”が立ったかを、順次アドレスADを与えてマル
チプレクサM円Xで1ビットづつ選択しつつ、その値に
応じた処理を行なう。(複数ビットが同時に立っている
場合もある。)すべてのビットの議取りが終わると瓜T
はリセット信号RSTをレジスタRに与え、それにより
レジスタRの出力オール“0”になるとゲートGIの出
力は“1”に戻り、よってゲートG2が開いて再びサン
プルホールドが開始される。ここで上記瓜Tによるレジ
スタRの読み取りには、クロツクCLKの周期に比べて
かなり長い間(TI)を要する。When an interrupt signal (positive polarity pulse) occurs in any of L to ln and it is sampled and held, the output of NOR gate GI becomes "0" and AND gate G2 is closed, so the current lo to ln state is frozen. On the other hand, the output of the gate GI is notified to the interrupt processing circuit IRT as an interrupt representative signal, and the mT indicates which bit in the register R is set to "1" by sequentially giving the address AD and transmitting one bit to the multiplexer M. While selecting one value at a time, processing is performed according to the value. (Multiple bits may be set at the same time.) When all bits have been discussed, the
gives a reset signal RST to the register R, and when the output of the register R becomes all "0", the output of the gate GI returns to "1", so that the gate G2 is opened and sample and hold is started again. Here, it takes a considerably longer time (TI) than the period of the clock CLK to read the register R by the above-mentioned clock T.
そのため、その間に新たに入力される割込み信号はしジ
スタRにはホールドされず、無視されることになる。第
3図aはそのことを示すタイムチャートで、例えば先ず
割込み信号loが生じ、それによってIRTが時間TI
の間動作するが、その間に生じた割込み信号lnは無視
されてしまう。本発明はこのような場合に後から生じた
信号lnを遅らせて、L‘こ関する時間TIの経過後に
再度割込み信号として入力するようにしたものである。Therefore, any new interrupt signal input during that period will not be held in register R and will be ignored. FIG. 3a is a time chart showing this. For example, first an interrupt signal lo is generated, and then the IRT is activated at a time TI.
However, the interrupt signal ln generated during that period is ignored. In such a case, the present invention delays the signal ln generated later and inputs it again as an interrupt signal after the time TI associated with L' has elapsed.
第2図は本発明の一実施例回路図であり、FFo〜FF
nはフリツプフロツプ、G3〜G5はアンドゲート、O
SCはクロック発振器、PGは制御パルス発生器である
。FIG. 2 is a circuit diagram of an embodiment of the present invention, in which FFo to FF
n is a flip-flop, G3 to G5 are AND gates, O
SC is a clock oscillator, and PG is a control pulse generator.
OSCの周期は上記CLKと同程度の高速であり(従っ
てCLKを利用してもよい)、L〜lnに非同期に生じ
る信号をFFo〜FFnにサンプルホールドする。但し
、このFFo〜FFnはデータ“1”のサンプルホール
ドのみOSCの出力信号CIに同期して行ない。データ
“0”のサンプルホールドは行なわず、リセット端子R
Sが“1”から“0”に立下がることをもってリセツト
されるものとする。このような機能のFFは当業者であ
れば容易に作成可能である。PGは信号CIを分周し、
icuにおけるIRTの動作時間TIより若干長い周期
T2を有し、かつそのパルス幅が割込み信号lo〜ln
のパルス幅と同程度のパルスC2を作成し、ゲートG3
〜G5の一方の入力に与える。また各ゲートG3〜G5
の出力は各FFo〜FFnのリセツト端子RSに結ばれ
るとともに、icuのレジスタRの各入力端子に接続さ
れる。この回路の動作は第3図bに示すとうりである。
先ず信号いまパルスCIでFFoにサンプルホールドさ
れ、その保持出力はパルスC2によってゲートG3から
Lo′として出力され、その立下がりでFFoはリセツ
トされる。出力L‘まicuのレジスタRにセットされ
て瓜Tにより時間TIの間処理が行なわれる。一方その
間に生じた信号lnはパルスCIによってFFnにサン
プルホールドされるが、C2の次のパルスが釆るまでゲ
ートからは出力されず保持されつづける。次のC2パル
スが釆るとゲートG5より出力ln′として出力され、
このとき前回のL′によるIRTの動作は終了している
(T2>TI故)ので再びレジスタRにセットされ、瓜
Tにより処理される。以上の如く本発明のような保持手
段(FFo〜FFn)及びゲート手段(G3〜G5)を
設けた簡単なアダプタを付加することにより、非同期に
生じる任意の割込信号も無視されることなく確実に処理
される。The period of OSC is as fast as the above-mentioned CLK (therefore, CLK may be used), and signals generated asynchronously from L to ln are sampled and held at FFo to FFn. However, in these FFo to FFn, only sampling and holding of data "1" is performed in synchronization with the output signal CI of the OSC. Data “0” sample and hold is not performed, and the reset terminal R
It is assumed that it is reset when S falls from "1" to "0". A person skilled in the art can easily create an FF with such a function. PG divides the signal CI,
It has a period T2 slightly longer than the operating time TI of the IRT in the ICU, and its pulse width is equal to that of the interrupt signal lo~ln.
Create a pulse C2 with the same pulse width as the gate G3.
~ Give to one input of G5. Also, each gate G3 to G5
The output of is connected to the reset terminal RS of each FFo to FFn, and also to each input terminal of the register R of the ICU. The operation of this circuit is as shown in FIG. 3b.
First, the signal FFo is sampled and held by the pulse CI, and its held output is output as Lo' from the gate G3 by the pulse C2, and FFo is reset at the fall of the signal. The output L' is set in the register R of the ICU, and processing is performed by the cucumber T for a time TI. On the other hand, the signal ln generated during that time is sampled and held in FFn by the pulse CI, but is not output from the gate and continues to be held until the next pulse of C2 occurs. When the next C2 pulse is reached, it is output from gate G5 as output ln',
At this time, since the previous IRT operation by L' has been completed (because T2>TI), it is set in the register R again and processed by the melon T. As described above, by adding a simple adapter provided with holding means (FFo to FFn) and gate means (G3 to G5) as in the present invention, it is possible to ensure that any interrupt signal that occurs asynchronously is not ignored. will be processed.
第1図は一般的icuの一例ブロック図、第2図は本発
明の一実施例、第3図は従来のタイムチャートa及び本
発明の一実施例のタイムチャートbである。
図中lo〜lnは割込み信号、FFo〜FFnはフリツ
プフロツブ、G2〜G5はアンドゲートである。
第1図第2図第3図 ′Q)
第3図 付)FIG. 1 is a block diagram of an example of a general ICU, FIG. 2 is an embodiment of the present invention, and FIG. 3 is a conventional time chart a and a time chart b of an embodiment of the present invention. In the figure, lo to ln are interrupt signals, FFo to FFn are flip-flops, and G2 to G5 are AND gates. Figure 1 Figure 2 Figure 3 'Q) Figure 3 attached)
Claims (1)
も1つの割込み信号が入力されるとその時点の各入力端
子状態を一定時間(T1)凍結してその状態を読取るよ
うな割込処理装置において、上記入力端子の前段に挿入
される割込み制御アダプタであつて、上記複数の割込み
入力を夫々非同期に保持する手段と、上記一定周期(T
1)より長い周期(T2)毎に上記保持手段の値を上記
入力端子へ伝播される手段と、該伝播された信号が特定
値の場合に対応する保持手段をリセツトする手段とを設
けたことを特徴とする割込み制御アダプタ。In an interrupt processing device that has a plurality of interrupt signal input terminals, and when at least one of the interrupt signals is input, the state of each input terminal at that time is frozen for a certain period of time (T1) and the state is read. , an interrupt control adapter inserted before the input terminal, comprising means for asynchronously holding the plurality of interrupt inputs, and a means for holding the plurality of interrupt inputs asynchronously;
1) Providing means for propagating the value of the holding means to the input terminal every longer period (T2), and means for resetting the corresponding holding means when the propagated signal is a specific value. An interrupt control adapter featuring:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3978881A JPS6027059B2 (en) | 1981-03-19 | 1981-03-19 | interrupt control adapter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3978881A JPS6027059B2 (en) | 1981-03-19 | 1981-03-19 | interrupt control adapter |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS57153324A JPS57153324A (en) | 1982-09-21 |
| JPS6027059B2 true JPS6027059B2 (en) | 1985-06-27 |
Family
ID=12562675
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3978881A Expired JPS6027059B2 (en) | 1981-03-19 | 1981-03-19 | interrupt control adapter |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6027059B2 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6328661U (en) * | 1986-05-12 | 1988-02-25 | ||
| JPS63121526U (en) * | 1987-02-02 | 1988-08-08 | ||
| JPH0335068U (en) * | 1989-08-17 | 1991-04-05 |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS57174725A (en) * | 1981-04-20 | 1982-10-27 | Hitachi Ltd | Interruption controlling system |
-
1981
- 1981-03-19 JP JP3978881A patent/JPS6027059B2/en not_active Expired
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6328661U (en) * | 1986-05-12 | 1988-02-25 | ||
| JPS63121526U (en) * | 1987-02-02 | 1988-08-08 | ||
| JPH0335068U (en) * | 1989-08-17 | 1991-04-05 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS57153324A (en) | 1982-09-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4160154A (en) | High speed multiple event timer | |
| JPS6027059B2 (en) | interrupt control adapter | |
| JPH0362228B2 (en) | ||
| JP3813994B2 (en) | Difference capture timer | |
| US6831583B1 (en) | Integrated circuit comprising a microprocessor and an analogue to digital converter which is selectively operable under the control of the microprocessor and independently of the microprocessor, and a method for operating the integrated circuit | |
| US5179688A (en) | Queue system with uninterrupted transfer of data through intermediate locations to selected queue location | |
| JPH10214174A (en) | Asynchronous fifo circuit | |
| US7039144B2 (en) | Large-input-delay variation tolerant (LIDVT) receiver adopting FIFO mechanism | |
| JP2984429B2 (en) | Semiconductor integrated circuit | |
| KR100239437B1 (en) | Serial interface communication | |
| JPH07129486A (en) | Serial communication circuit | |
| SU1193668A1 (en) | Multiplying device | |
| SU690476A1 (en) | Device for sequential discriminating of "ones" from n-digit binary code | |
| JPS6111803Y2 (en) | ||
| JPH0720142B2 (en) | Serial interface circuit | |
| SU1509890A1 (en) | Arrangement for forming structured files | |
| SU1488841A1 (en) | DEVICE FOR CALCULATION OF AVERAGE VALUE | |
| JPH03119598A (en) | Shift register driving circuit and microcomputer provided with the circuit | |
| KR900008887Y1 (en) | Digital data detecting circuit for compact disk | |
| JP2973613B2 (en) | Programmable counter | |
| JPH01232420A (en) | Stack device for data | |
| SU1259275A1 (en) | Interface | |
| JP3443215B2 (en) | Serial input and output device | |
| JPH0375909A (en) | System for reading out counter value | |
| JPH0476532B2 (en) |