JPS61240352A - Interface-signal reading system - Google Patents

Interface-signal reading system

Info

Publication number
JPS61240352A
JPS61240352A JP60080288A JP8028885A JPS61240352A JP S61240352 A JPS61240352 A JP S61240352A JP 60080288 A JP60080288 A JP 60080288A JP 8028885 A JP8028885 A JP 8028885A JP S61240352 A JPS61240352 A JP S61240352A
Authority
JP
Japan
Prior art keywords
circuit
interface
processing
interface information
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.)
Pending
Application number
JP60080288A
Other languages
Japanese (ja)
Inventor
Hidenori Hayashi
秀紀 林
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 JP60080288A priority Critical patent/JPS61240352A/en
Publication of JPS61240352A publication Critical patent/JPS61240352A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To reduce processing load by so forming the titled system that a processor actuates an interruption processing program and executes the read of an interface information only when an interruption request signal is made. CONSTITUTION:When the interface information varies, a dissidence is generated between the input and output in flip-flop circuits FF1-FF4 that correspond to the said variation of the information. The dissidence is detected by a correspondent exclusive OR circuits EOR1-EOR4, and is transmitted to an interruption processing circuit 16 of a central processing unit 11. On receiving the dissidence signal from a comparator circuit 13, the circuit 16 informs an interruption processing signal to the processor 14, and the processing of reading the interface information is executed. At this processing, as the processor 14 reads out the interface information through a read circuit 12, the input and output in the FF1-FF4 become coincident, and the dissidence output is nullified, and the interruption signal also is automatically made invalid.

Description

【発明の詳細な説明】 〔概 要〕 周辺装置の状態を読み込むためのインタフェース回路を
有し、そのインタフェース回路の出力すなわち周辺装置
の状態の変化を監視する処理を行うインタフェース信号
読出方式であって、以前に読み出したインタフェース情
報と現在のインタフェース情報に不一致がある場合、処
理装置に割込みを発生させて、処理装置にインタフェー
ス情報の変化があったことを通知し、読込み動作を行わ
せるようにしたものである。
[Detailed Description of the Invention] [Summary] An interface signal reading method that includes an interface circuit for reading the state of a peripheral device and performs processing to monitor the output of the interface circuit, that is, changes in the state of the peripheral device. , if there is a mismatch between the previously read interface information and the current interface information, an interrupt is generated to the processing device to notify the processing device that there has been a change in the interface information, and the device performs a reading operation. It is something.

〔産業上の利用分野〕[Industrial application field]

本発明はインタフェース信号読出方式に関するもので、
さらに詳しく言えば、情報処理システムにおいて、周辺
装置の状態、を読み込むためのインタフェース回路を有
し、前記周辺装置の状態を示す情報の変化を検出し読出
しを実行するインタフェース情報の読出方式に関するも
のである。
The present invention relates to an interface signal reading method,
More specifically, the present invention relates to an interface information reading method for an information processing system, which includes an interface circuit for reading the state of a peripheral device, detects a change in information indicating the state of the peripheral device, and executes the readout. be.

情報処理システムにおいて中央制御装置cpuが周辺装
置の状態を読み込んで処理を行う場合、周辺装置の状態
が変化した場合、この変化を読み込んで処理を行う必要
がある。
In an information processing system, when the central control unit CPU reads the state of a peripheral device and performs processing, when the state of the peripheral device changes, it is necessary to read this change and perform processing.

本発明はかかる変化を読み込んで処理を行う方式に関す
るものである。
The present invention relates to a method for reading and processing such changes.

〔従来の技術〕[Conventional technology]

情報処理システムにおいて、インタフェース情報を読み
込む回路として、従来は第2図のごとき回路が使用され
ていた。
In an information processing system, a circuit as shown in FIG. 2 has conventionally been used as a circuit for reading interface information.

第2図において、1は中央処理装置、2は処理装置、3
は共通データバスをそれぞれ示している。
In FIG. 2, 1 is a central processing unit, 2 is a processing unit, and 3 is a central processing unit.
indicate a common data bus, respectively.

処理装置2は例えばデータバスバッファとしてICによ
って構成されている。
The processing device 2 is constituted by an IC as a data bus buffer, for example.

第2図の回路において、処理装置2は中央処理装置1よ
りの指令によりインタフェース信号を走査し、走査時に
検出したインタフェースの状態を共通データバス3を介
して中央処理装置1のメモリに書き込んでおき、現在検
出したインタフェース情報と以前メモリに書き込んだ情
報とを比較して、インタフェース情報の変化を検出して
いた。
In the circuit shown in FIG. 2, the processing unit 2 scans the interface signal according to a command from the central processing unit 1, and writes the state of the interface detected during scanning into the memory of the central processing unit 1 via the common data bus 3. , changes in the interface information were detected by comparing the currently detected interface information with the information previously written to memory.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

第2図に示すごとき従来の処理方式においては、処理装
置2において一定時間毎にインタフェース回路の読み出
しを行い、インタフェース情報の変化を検出゛していた
。かくのごとく一定時間毎にインタフェース信号の監繞
処理を行う必要があり、処理負荷が大きく、処理効率に
障害となっていた。
In the conventional processing system as shown in FIG. 2, the processing device 2 reads out the interface circuit at regular intervals to detect changes in the interface information. As described above, it is necessary to supervise and process interface signals at regular intervals, resulting in a heavy processing load and impeding processing efficiency.

本発明はインタフェース読み込みにおける力いる欠点を
除去し、インタフェース情報を中央処理装置に読み込む
際の処理装置の処理負荷を軽減し、中央処理装置の処理
効率を向上させることを目的としている。
An object of the present invention is to eliminate serious drawbacks in interface reading, reduce the processing load on a processing unit when reading interface information into a central processing unit, and improve the processing efficiency of the central processing unit.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、周辺装置からのインタフェース情報を入力し
これを保持し、さらに出力する記憶回路と、記憶回路の
入力および出力を2つの入力とする比較回路と、記憶回
路の出力を読み込む読み出し回路を具備する。
The present invention includes a memory circuit that inputs interface information from a peripheral device, holds it, and outputs it, a comparison circuit that uses the input and output of the memory circuit as two inputs, and a readout circuit that reads the output of the memory circuit. Be equipped.

そして前記インタフェース情報が変化したときに生ずる
前記記憶回路の入力信号と出力信号との不一致を前記比
較回路により比較し、その不一致比較出力を割込要求信
号として前記読み出し回路に送り、前記読み出し回路は
前記割込要求信号により割込み処理プログラムを起動し
て前記インタフェース情報の読み出しを実行する。
The comparison circuit compares the mismatch between the input signal and the output signal of the storage circuit that occurs when the interface information changes, and sends the mismatch comparison output as an interrupt request signal to the readout circuit. An interrupt processing program is activated by the interrupt request signal to execute reading of the interface information.

〔作 用〕[For production]

処理装置は中央処理装置から割込要求信号があったとき
にのみ割込み処理プログラムを起動して、インタフェー
ス情報の読み込みを行うようにしたもので、従来のごと
く一定時間毎の読出しを不要とし、処理装置の処理負荷
を軽減する。
The processing unit starts the interrupt processing program and reads the interface information only when an interrupt request signal is received from the central processing unit, eliminating the need for reading at regular intervals as in the past, and processing Reduce the processing load on the device.

〔実施例〕〔Example〕

第1図は本発明のレジスタの構成方式の実施例のブロッ
ク図を示す。
FIG. 1 shows a block diagram of an embodiment of the register configuration method of the present invention.

第1図において、11は中央処理装置、12は記憶回路
、13は比較回路、14は処理装置、15は共通データ
バス、16は割込処理回路をそれぞれ示す。
In FIG. 1, 11 is a central processing unit, 12 is a storage circuit, 13 is a comparison circuit, 14 is a processing device, 15 is a common data bus, and 16 is an interrupt processing circuit.

記憶回路12は入力されたインタフェース情報を保持す
るために、例えばフリップフロツブ回路FF1.FFz
、FFs、FFaにより構成され、比較回路13はフリ
ップフロップFF+、FFz、FPs、FFaの入力と
出力とを入力とするエクス゛クルーシブオア回路EOR
,。
The memory circuit 12 includes, for example, flip-flop circuits FF1 . FFz
, FFs, and FFa, and the comparator circuit 13 is an exclusive OR circuit EOR whose inputs and outputs are the inputs and outputs of the flip-flops FF+, FFz, FPs, and FFa.
,.

!!ORt 、 EORs 、 IEOR4、およびオ
ア回路ORにより構成され、処理装置14はデータバス
バッファDBD、 。
! ! The processing device 14 is composed of an ORt, an EORs, an IEOR4, and an OR circuit OR, and a data bus buffer DBD.

DBDz 、 DBD3 、 DBD4により構成され
る。
It is composed of DBDz, DBD3, and DBD4.

第°1図の回路において、最初にフリップフロツブ回路
FF、−FF、がクリアされ、その後インタフェース情
報を入力すると、その情報はFF+ −FF4に保持ラ
ッチされ、その出力は読み出し回路のデータバスバッフ
ァDBDI〜DBDオに送られる。
In the circuit shown in Figure 1, the flip-flop circuits FF and -FF are first cleared, and then when interface information is input, that information is held and latched in FF+ -FF4, and its output is sent to the data bus buffer of the readout circuit. Sent to DBDI-DBDO.

インタフェース情報が変化すると、その変化した情報に
対応するフリップフロップ回路(FF 、〜FF4)の
入力と出力との不一致が発生し、その不一致はそれに対
応するエクスクル−シブオア回路(EOR。
When the interface information changes, a mismatch occurs between the input and output of the flip-flop circuit (FF, to FF4) corresponding to the changed information, and this mismatch causes the corresponding exclusive-OR circuit (EOR).

〜EOR4)により検出され、その検出された出力はオ
ア回路ORを介して中央処理装置1の割込処理回路16
に送られる。
~EOR4), and the detected output is sent to the interrupt processing circuit 16 of the central processing unit 1 via the OR circuit OR.
sent to.

割込処理回路16は比較回路13より不一致信号を受取
ると、割込み処理信号を処理装置14に通知する。これ
により処理装置14はインタフェース情報の読出し処理
を行なう。この読出し処理により処理装置14は記憶回
路12を介してインタフェース情報を読込むと同時に、
読出し動作により記憶回路12のフリップフロップ回路
(FF 、〜FF#)の入力と出力が一致し、不一致出
力は無効となり、割込み信号も自動的に無効となる。
When the interrupt processing circuit 16 receives the mismatch signal from the comparison circuit 13, it notifies the processing device 14 of the interrupt processing signal. As a result, the processing device 14 performs a process of reading out the interface information. Through this reading process, the processing device 14 reads the interface information via the storage circuit 12, and at the same time,
As a result of the read operation, the inputs and outputs of the flip-flop circuits (FF, to FF#) of the storage circuit 12 match, the mismatched outputs are invalidated, and the interrupt signal is also automatically invalidated.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明したように、本発明によれば、処理装置
は常時一定時間おきにインタフェース情報の状態を監視
(走査)する処理が不要となり、インタフェース状態に
変化があったときだけ割込みにより処理装置に通知して
インタフェースの読込み処理を行えばよく、読込みのた
めの処理負荷を軽減し、このために浮いた処理能力を他
に振り向けることができる。
As described in detail above, according to the present invention, the processing device does not need to constantly monitor (scan) the state of the interface information at regular intervals, and the processing device only uses an interrupt when there is a change in the interface state. It is only necessary to notify the interface and perform the interface reading process, which reduces the processing load for reading and allows the processing power saved due to this to be allocated to other things.

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

第1図は本発明のインタフェース信号読出方式の1実施
例を示すブロック図、 第2図はインタフェース情報の変化を検出する従来の方
式のブロック図、 第1図において、 11は中央処理装置、 12は記憶回路、 13は比較回路、 14は読み出し回路、 15は共通データバス、 16は割込み処理回路である。 インタフェース信号 本発明の方式のブロック図 第1図 インタフェース信号 第2図
FIG. 1 is a block diagram showing an embodiment of the interface signal reading method of the present invention, and FIG. 2 is a block diagram of a conventional method for detecting changes in interface information. In FIG. 1, 11 is a central processing unit; 12 13 is a storage circuit, 13 is a comparison circuit, 14 is a readout circuit, 15 is a common data bus, and 16 is an interrupt processing circuit. Interface signals Block diagram of the method of the present invention Figure 1 Interface signals Figure 2

Claims (1)

【特許請求の範囲】 周辺装置の状態を読み込むためのインタフェース回路を
有し、前記インタフェース回路の出力であるインタフェ
ース情報の変化を検出処理する情報処理システムにおい
て、 前記インタフェース情報を入力しこれを保持しさらに出
力する記憶回路と、 前記記憶回路の入力および出力を2つの入力とする比較
回路と、 前記記憶回路の出力を読み込む読み出し回路とを具備し
、前記インタフェース情報が変化したときに生ずる前記
記憶回路の入力信号と出力信号との不一致を前記比較回
路により比較し、その不一致比較出力を割込要求信号と
して前記読み出し回路に送り、前記読み出し回路は前記
割込要求信号により割込み処理プログラムを起動して、
前記インタフェース情報の読み出しを実行することを特
徴とするインタフェース信号読出方式。
[Scope of Claims] An information processing system that includes an interface circuit for reading the state of a peripheral device and detects and processes changes in interface information that is an output of the interface circuit, comprising: inputting and retaining the interface information; The storage circuit further includes a storage circuit that outputs, a comparison circuit that uses the input and output of the storage circuit as two inputs, and a readout circuit that reads the output of the storage circuit, and the storage circuit that is generated when the interface information changes. The comparison circuit compares the mismatch between the input signal and the output signal, and sends the mismatch comparison output as an interrupt request signal to the readout circuit, and the readout circuit starts an interrupt processing program by the interrupt request signal. ,
An interface signal reading method characterized by reading out the interface information.
JP60080288A 1985-04-17 1985-04-17 Interface-signal reading system Pending JPS61240352A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60080288A JPS61240352A (en) 1985-04-17 1985-04-17 Interface-signal reading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60080288A JPS61240352A (en) 1985-04-17 1985-04-17 Interface-signal reading system

Publications (1)

Publication Number Publication Date
JPS61240352A true JPS61240352A (en) 1986-10-25

Family

ID=13714084

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60080288A Pending JPS61240352A (en) 1985-04-17 1985-04-17 Interface-signal reading system

Country Status (1)

Country Link
JP (1) JPS61240352A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0628268A (en) * 1992-07-07 1994-02-04 Nec Corp Microprocessor i/o access tracing system
US6125121A (en) * 1998-04-01 2000-09-26 Nec Corporation LAN interface device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0628268A (en) * 1992-07-07 1994-02-04 Nec Corp Microprocessor i/o access tracing system
US6125121A (en) * 1998-04-01 2000-09-26 Nec Corporation LAN interface device

Similar Documents

Publication Publication Date Title
JPH06103472B2 (en) Microprocessor for debugging
JPS61240352A (en) Interface-signal reading system
KR940005789B1 (en) Interrupt Control Device
JPH0784814A (en) Error detecting device of computer
JPS60142425A (en) Scanning control system
JP2504754B2 (en) Central processing unit
JPS63193689A (en) Equipment status informing system
JPH0354923Y2 (en)
JPH01116747A (en) Cache lsi
JPS59163653A (en) Debug device
JPS6265134A (en) Interruption processing system
JPS62120550A (en) Program debug system
JPS60225948A (en) Debugging device
JPS6329872A (en) Microcomputer
JPS6349964A (en) Handshake controller
JPH0713883A (en) Bus adapter device
JPH02297650A (en) Receiver
JPH053016B2 (en)
JPS61109154A (en) Error detecting system for fixed data register
JPH05241905A (en) Processor device
JPH0594325A (en) Monitoring controller
JPH02257348A (en) Information processor
JPH0574877B2 (en)
JPH04218857A (en) Slow/fast interface circuit
JPH01211054A (en) Memory control circuit