JPH0441383B2 - - Google Patents
Info
- Publication number
- JPH0441383B2 JPH0441383B2 JP59196119A JP19611984A JPH0441383B2 JP H0441383 B2 JPH0441383 B2 JP H0441383B2 JP 59196119 A JP59196119 A JP 59196119A JP 19611984 A JP19611984 A JP 19611984A JP H0441383 B2 JPH0441383 B2 JP H0441383B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- output
- input
- circuit
- data read
- 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 - Lifetime
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
-
- 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/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4204—Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
- G06F13/4221—Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
- G06F13/4226—Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus with asynchronous protocol
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bus Control (AREA)
- Information Transfer Systems (AREA)
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、割込み信号を用いたコンピユータシ
ステムに使用するデジタル信号入力用のインター
フエース装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an interface device for inputting digital signals used in a computer system using interrupt signals.
第3図は割込み信号を用いるデジタル回路用イ
ンタフエース装置の従来例のブロツク図である。
以下、この従来例の動作を第4図のタイムチヤー
トを参照して説明する。
FIG. 3 is a block diagram of a conventional example of an interface device for a digital circuit using an interrupt signal.
The operation of this conventional example will be explained below with reference to the time chart of FIG.
さて、時刻t1に入力信号SI1の状態が変化する
と、状態変化検出回路21から検出信号がオア回
路23に出力され、さらにこの検出信号がフリツ
プフロツプ24のセツト入力端子Sに入力して、
フリツプフロツプ24の出力端子Qから割込み信
号SINTが出力される。この割込み信号SINTを受信
した外部装置が割込みリセツト信号SIRをフリツ
プフロツプ24のリセツト端子Rに出力した後、
時刻t2にデータ読出し信号SRを出力すると、この
データ読出し信号SRはバツフア25,26のイネ
ーブル信号として働き、出力信号Sp1,Sp2が読出
されていた。 Now, when the state of the input signal S I1 changes at time t1 , a detection signal is output from the state change detection circuit 21 to the OR circuit 23, and this detection signal is further input to the set input terminal S of the flip-flop 24.
An interrupt signal S_INT is output from the output terminal Q of the flip-flop 24. After the external device that received this interrupt signal S INT outputs an interrupt reset signal S IR to the reset terminal R of the flip-flop 24,
When the data read signal S R was output at time t 2 , this data read signal S R served as an enable signal for the buffers 25 and 26, and the output signals S p1 and S p2 were read out.
上述した従来のインタフエース装置では、時刻
t2に入力信号SI2の状態が変化し、変化後の入力
信号SI2にしたがつて出力信号Sp2が読出されたも
のとすると、入力信号SI2の状態変化に基づいて
割込み信号SINT、割込みリセツト信号SIRおよびデ
ータ読出し信号SRが発生し、時刻t2に読出された
出力信号Sp1,Sp2が時刻t3に再び読出されてしま
うという無駄な動作を生じる欠点があつた。
In the conventional interface device mentioned above, the time
Assuming that the state of the input signal S I2 changes at t 2 and the output signal S p2 is read out according to the input signal S I2 after the change, the interrupt signal S INT is output based on the state change of the input signal S I2 . , an interrupt reset signal S IR and a data read signal S R are generated, and the output signals S p1 and S p2 read out at time t 2 are read out again at time t 3 , resulting in a wasteful operation. .
本発明の目的は、データの読出しと同時に入力
信号が変化しても、同じデータの読出しを2度く
り返すという無駄な動作を生じないインタフエー
ス装置を提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide an interface device that does not cause unnecessary operations such as repeating the same data read twice even if the input signal changes at the same time as the data is read.
〔問題を解決するための手段〕
本発明のインタフエース装置は、第1の入力信
号を第1のラツチ回路の入力端と第1の比較回路
の一方の入力端とに接続し、第1のラツチ回路の
出力端を第1のバツフアの入力端と第1の比較回
路の他方の入力端とに接続し、第2の入力信号を
第2のラツチ回路の入力端と第2の比較回路の一
方の入力端とに接続し、第2のラツチ回路の出力
端を第2のバツフアの入力端と第2の比較回路の
他方の入力端とに接続し、第1、第2のラツチ回
路と第1、第2のバツフアをデータ読出し信号に
よつて制御し、第1、第2のバツフアの出力端を
それぞれ第1、第2の出力信号とし、第1、第2
の比較回路の出力端をオア回路の入力端に接続
し、このオア回路の出力端から割込み信号を得る
ように構成されている。[Means for Solving the Problem] The interface device of the present invention connects a first input signal to an input terminal of a first latch circuit and one input terminal of a first comparison circuit, and The output terminal of the latch circuit is connected to the input terminal of the first buffer and the other input terminal of the first comparison circuit, and the second input signal is connected to the input terminal of the second latch circuit and the other input terminal of the second comparison circuit. The output terminal of the second latch circuit is connected to the input terminal of the second buffer and the other input terminal of the second comparison circuit. The first and second buffers are controlled by a data read signal, the output terminals of the first and second buffers are used as first and second output signals, respectively, and the first and second buffers are controlled by a data read signal.
The output terminal of the comparison circuit is connected to the input terminal of an OR circuit, and the interrupt signal is obtained from the output terminal of the OR circuit.
次に、本発明の実施例について図面を参照して
説明する。
Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例に係るインタフエー
ス装置のブロツク図である。ラツチ回路11,1
2は外部装置からデータ読出し信号SRを入力する
と、それぞれ入力信号SI1,SI2を保持する。バツ
フア13,14は外部装置からデータ読出し信号
SRを入力すると、それぞれラツチ回路11,12
が保持した内容を出力信号Sp1,Sp2として外部装
置に出力する。比較回路15,16はそれぞれ入
力信号SI1とラツチ回路11の出力信号、入力信
号SI2とラツチ回路12の出力信号を入力して比
較し、両者のレベルが等しい場合にローレベル
の、異なる場合にハイレベルの信号を出力する。
オア回路17は比較回路15,16の各出力信号
の論理和をとり、結果を割込み信号SINTとして出
力する。 FIG. 1 is a block diagram of an interface device according to an embodiment of the present invention. Latch circuit 11,1
2 holds the input signals S I1 and S I2 , respectively, when the data read signal S R is input from an external device. Buffers 13 and 14 are data read signals from external devices.
When inputting S R , latch circuits 11 and 12 respectively.
The contents held by the controller are outputted to external devices as output signals S p1 and S p2 . Comparing circuits 15 and 16 input and compare the input signal S I1 and the output signal of the latch circuit 11, and the input signal S I2 and the output signal of the latch circuit 12, respectively, and when the two levels are equal, the level is low, and when they are different, the level is low. Outputs a high level signal to.
The OR circuit 17 takes the logical sum of the respective output signals of the comparison circuits 15 and 16, and outputs the result as an interrupt signal S_INT .
以下、本実施例の動作を第2図のタイムチヤー
トを参照して説明する。 The operation of this embodiment will be explained below with reference to the time chart of FIG.
一例として、初期状態はラツチ回路の入力信号
と出力信号は同一レベルとする。即ち、ラツチ回
路11の出力信号=入力信号SI1、ラツチ回路1
2の出力信号=入力信号SI2である。従つて、ラ
ツチ回路11の出力信号と入力信号SI1を比較し
て不一致の場合にハイレベルとする比較回路15
の出力はローレベルである。同様にラツチ回路1
2の出力信号と入力信号SI2を比較して不一致の
場合にハイレベルとする比較回路16の出力はロ
ーレベルである。よつて比較回路15,16の出
力を入力とするオア回路17の出力は、ローレベ
ルとなり、割込み通知状態の時にハイレベルとな
る割込み信号SINTはローレベルであり、外部装置
に割込み通知状態でないことを示す。 As an example, in the initial state, the input signal and output signal of the latch circuit are at the same level. That is, the output signal of latch circuit 11 = input signal S I1 , latch circuit 1
2 output signal=input signal S I2 . Therefore, the comparison circuit 15 compares the output signal of the latch circuit 11 and the input signal S I1 and sets it to high level if they do not match.
The output of is low level. Similarly, latch circuit 1
The output of the comparison circuit 16, which compares the output signal of No. 2 and the input signal S I2 and sets it to high level if they do not match, is at low level. Therefore, the output of the OR circuit 17, which receives the outputs of the comparison circuits 15 and 16 as input, becomes a low level, and the interrupt signal SINT , which becomes a high level when in an interrupt notification state, is at a low level and is not in an interrupt notification state to an external device. Show that.
また、外部装置からのデータ読出信号(アクテ
イブハイ)がローレベルとすると、バツフア1
3,14の各出力Sp1,Sp2の状態は不定である。 Also, if the data read signal (active high) from the external device is low level, the buffer 1
The state of each output S p1 and S p2 of No. 3 and No. 14 is undefined.
次に、時刻t4に入力信号SI1のレベルがハイレ
ベルに変化すると、ラツチ回路11の出力信号
(ローレベル)と入力信号SI1(ハイレベル)の各
レベルが異なるので、比較回路15はハイレベル
の信号を出力し、オア回路17を経てハイレベル
の割込み信号SINTが外部装置に出力される。そし
て、外部装置が時刻t5にデータ読出し信号SR(ハ
イレベル)を出力すると、データ読出し信号SRの
立上りエツヂでラツチ回路11,12はそれぞれ
入力信号SI1,SI2を保持し、バツフア13,14
によつてデータ読出し信号SRがハイレベルの期間
にラツチ回路11,12の各出力信号を出力信号
Sp1,Sp2として出力し、外部装置に読出される。
また、ラツチ回路11,12がそれぞれ入力信号
SI1,SI2を保持したことにより、比較回路15,
16の各2入力のレベルがそれぞれ等しくなるの
で、時刻t5において割込み信号SINTはローレベル
に立下がる。 Next, when the level of the input signal S I1 changes to high level at time t4 , the output signal (low level) of the latch circuit 11 and the level of the input signal S I1 (high level) are different, so the comparator circuit 15 A high level signal is output, and a high level interrupt signal S INT is outputted to an external device via the OR circuit 17. Then, when the external device outputs the data read signal S R (high level) at time t5 , the latch circuits 11 and 12 hold the input signals S I1 and S I2 , respectively, at the rising edge of the data read signal S R , and the buffer 13,14
, the output signals of the latch circuits 11 and 12 are output signals while the data read signal S R is at high level.
It is output as S p1 and S p2 and read out to an external device.
In addition, the latch circuits 11 and 12 each receive an input signal.
By holding S I1 and S I2 , the comparator circuit 15,
Since the levels of each of the two inputs of 16 become equal, the interrupt signal S INT falls to a low level at time t 5 .
ところで、第2図のようにデータ読出し信号SR
が出力された時刻t5に入力信号SI2のレベルがロ
ーレベルに変化し、変化後のデータ読出し信号SR
に対し入力信号SI2(ローレベル)にしたがつて出
力信号Sp2が読出されても、データ読出し信号SR
を入力したラツチ回路11,12がそれぞれ入力
信号SI1,SI2を保持するので、比較回路15,1
6の各2入力のレベルがそれぞれ等しくなり、時
刻t5に割込み信号SINTが立下がる。 By the way, as shown in Fig. 2, the data read signal S R
At time t5 when the input signal S I2 is output, the level of the input signal S I2 changes to low level, and the data read signal S R after the change
Even if the output signal S p2 is read out according to the input signal S I2 (low level), the data read signal S R
Since the latch circuits 11 and 12 that input the input signal S I1 and S I2 respectively hold the input signals S I1 and S I2 ,
The levels of each of the two inputs of 6 become equal, and the interrupt signal S INT falls at time t 5 .
一方、時刻t5において、入力信号SI2のレベル
がローレベルに変化し、その変化前にデータ読出
し信号SRの立上りがあると、ラツチ回路12の出
力信号はハイレベルのままであり、入力信号SI2
がローレベルであるから比較回路16の出力はハ
イ、即ち、オア回路17を経由して割込み信号
SINTはハイレベルのままとなる。 On the other hand, at time t5 , when the level of the input signal S I2 changes to low level and the data read signal S R rises before that change, the output signal of the latch circuit 12 remains at high level, and the input signal S I2 changes to low level. Signal S I2
is low level, the output of the comparison circuit 16 is high, that is, the interrupt signal is passed through the OR circuit 17.
S INT remains at a high level.
以上により、外部装置が最新の入力信号SI1,
SI2の状態を読み出せば、割込み信号SINTはローレ
ベルになり、逆に読み出していなければ割込み信
号SINTはいハイレベルとなる。従つて、同じデー
タの読出しを2度くり返すことはない。 With the above, the external device receives the latest input signal S I1 ,
If the state of S I2 is read, the interrupt signal S INT becomes low level, and conversely, if it is not read, the interrupt signal S INT becomes high level. Therefore, reading of the same data is not repeated twice.
以上説明したように本発明によれば、データの
読出しと同時に入力信号の状態が変化しても、同
じデータの読出しをくり返すことはなく、無駄な
動作を省くことができる。
As described above, according to the present invention, even if the state of an input signal changes at the same time as data is read, the same data is not read repeatedly, and unnecessary operations can be omitted.
第1図は本発明の一実施例に係るインタフエー
ス装置のブロツク図、第3図は従来例に係るイン
タフエース装置のブロツク図、第2図、第4図は
それぞれ第1図、第3図のインタフエース装置の
タイムチヤートである。
11,12……ラツチ回路、13,14……バ
ツフア、15,16……比較回路、17……オア
回路、SI1,SI2……入力信号、Sp1,Sp2……出力
信号、SR……データ読出し信号、SINT……割込み
信号。
FIG. 1 is a block diagram of an interface device according to an embodiment of the present invention, FIG. 3 is a block diagram of an interface device according to a conventional example, and FIGS. 2 and 4 are FIGS. 1 and 3, respectively. This is a time chart of the interface device. 11, 12... Latch circuit, 13, 14... Buffer, 15, 16... Comparison circuit, 17... OR circuit, S I1 , S I2 ... Input signal, S p1 , S p2 ... Output signal, S R ...Data read signal, S INT ...Interrupt signal.
Claims (1)
置からデータ読出し信号を入力して、前記外部装
置にデータを出力するインタフエース装置におい
て、 前記データ読出し信号によつて複数の入力信号
をそれぞれ保持する複数のラツチ回路と、 前記データ読出し信号によつて前記複数のラツ
チ回路の各出力信号をそれぞれ入力して複数の出
力信号を出力する複数のバツフアと、 前記複数の入力信号の各々と、前記複数のラツ
チ回路の各出力信号とを入力し、比較して両者が
異なる場合に不一致状態を示す信号を出力する複
数の比較回路と、 該複数の比較回路のうち少なくとも1つが信号
を出力したときに、前記割込み信号を出力する論
理回路とを備えたことを特徴とするインタフエー
ス装置。[Scope of Claims] 1. An interface device that outputs an interrupt signal to an external device, inputs a data read signal from the external device, and outputs data to the external device, comprising: a plurality of latch circuits each holding an input signal; a plurality of buffers each inputting each output signal of the plurality of latch circuits in response to the data read signal and outputting a plurality of output signals; and the plurality of input signals. and each output signal of the plurality of latch circuits, and outputs a signal indicating a mismatch state if the two are different from each other, and at least one of the plurality of comparison circuits An interface device comprising: a logic circuit that outputs the interrupt signal when the signal is output.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19611984A JPS6175455A (en) | 1984-09-19 | 1984-09-19 | Interface device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19611984A JPS6175455A (en) | 1984-09-19 | 1984-09-19 | Interface device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6175455A JPS6175455A (en) | 1986-04-17 |
| JPH0441383B2 true JPH0441383B2 (en) | 1992-07-08 |
Family
ID=16352554
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP19611984A Granted JPS6175455A (en) | 1984-09-19 | 1984-09-19 | Interface device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6175455A (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59160223A (en) * | 1983-03-03 | 1984-09-10 | Mitsubishi Electric Corp | Signal input device |
-
1984
- 1984-09-19 JP JP19611984A patent/JPS6175455A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6175455A (en) | 1986-04-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0219015A (en) | Multifunctional flip-flop circuit | |
| US5148052A (en) | Recirculating transparent latch employing a multiplexing circuit | |
| JP2563679B2 (en) | Bidirectional input / output signal separation circuit | |
| JPH0441383B2 (en) | ||
| JPH06325565A (en) | Fifo memory having count function | |
| JPH0546535A (en) | Data transfer interface device | |
| JP2505878B2 (en) | Multibus system | |
| JP2975638B2 (en) | Semiconductor integrated circuit | |
| JP3275975B2 (en) | Interface circuit | |
| JPH04149656A (en) | Information processor | |
| JPH02304610A (en) | Detecting device for turn-on and turn-off of power source of peripheral equipment | |
| JPS60117847A (en) | Data control circuit | |
| JPS6246017B2 (en) | ||
| JPS62156751A (en) | interface circuit | |
| JPH0377406A (en) | Oscillation control circuit | |
| JPS63263857A (en) | Data input/output device | |
| JPH05236026A (en) | Digital signal monitor circuit | |
| JPH04352057A (en) | Interruption information circuit | |
| JPH06237159A (en) | Signal input circuit | |
| JPH0536943U (en) | Clear pulse generation circuit | |
| JPH01276241A (en) | Multiple interrupting device | |
| JPS59148199A (en) | Memory parity circuit | |
| JPS6349867A (en) | Outputting device for serial data | |
| JPH04264950A (en) | Data bus control circuit for semiconductor integrated circuit | |
| JPH03257610A (en) | Reset circuit |