JPH0351972A - State change detection system for input data - Google Patents

State change detection system for input data

Info

Publication number
JPH0351972A
JPH0351972A JP18687989A JP18687989A JPH0351972A JP H0351972 A JPH0351972 A JP H0351972A JP 18687989 A JP18687989 A JP 18687989A JP 18687989 A JP18687989 A JP 18687989A JP H0351972 A JPH0351972 A JP H0351972A
Authority
JP
Japan
Prior art keywords
data
state change
cpu
common ram
input ports
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
JP18687989A
Other languages
Japanese (ja)
Inventor
Masaru Mori
勝 森
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 JP18687989A priority Critical patent/JPH0351972A/en
Publication of JPH0351972A publication Critical patent/JPH0351972A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the load on a CPU and to speed up detection as to whether or not there is a state change by sampling data of plural input ports and detecting whether or not there is the state change through a circuit without the intervention of a CPU. CONSTITUTION:Buffers 41 and 4N receive data D1 and DN from input ports I1 and IN individually and a counter 2 specifies an address signal ADR1 to a common RAM 1; and a control circuit 3 generate a chip select CS and write/ read control signals EB1 and EB2 for the buffers 41 and 4N and common RAM 1, and sample data in data units of the input ports are written in the common RAM 1. A comparing circuit 5 inputs current data DATA1 of sample data of the data D1 and DN from the buffers 41 and 4N and last data DATA2 from the common RAM 1 to detect whether or not there is the state change of data, and sends out an interruption processing request IRQ to a CPU 6 when detecting the state change. Consequently, the load on the CPU is reduced and the detection of the state change of the data of the input ports is speeded up.

Description

【発明の詳細な説明】 〔概要〕 複数の入力機器からのデータをサンプリングし其の状態
変化を検出した時にcpuがそれに対応した処理を行う
システムの、特に入力ポートからのデータの状態変化を
検出する方式に関し、複数の入力ポートからのデータの
サンプリングと状態変化の検出とを、cpuを介さない
回路で行うことにより、CPUの負荷の軽減と状態変化
の検出のスピードアップを目的とし、 複数の入力ポートからのデータを個別に受け渡しするバ
ッファを介し該データの書込み読出しに共通に使用され
るアクセス面として2面を有する共通RAMと、該共通
RAMの書込み読出しのアドレス割付信号および制御回
路で共通RAMの書込み制御信号と前記バッファから入
力ポート単位のサンプルデータを選択するチップセレク
ト信号とを作成するカウンタと、該共通RAMからの前
回データと該バッファからの今回データとを比較し状態
変化を検出する比較回路5と、該比較回路の検出信号を
割込処理要求信号として今回データの割込処理をし該デ
ータのアドレス信号を出力するCPUと、該CPuの出
力のアドレス信号を解読して該バッファからのデータの
送出を選択するチップセレクト信号を出力するデコーダ
を具え、複数の入力ポートのデータのサンプリングと状
態変化の検出を、CPUに制御されない共通RAMとカ
ウンタと比較回路により行い、該CPUが入力データの
状態変化時のみ処理要求を受け処理するように構戒する
[Detailed Description of the Invention] [Summary] A system in which a CPU performs corresponding processing when data from multiple input devices is sampled and a change in the state thereof is detected, in particular detecting a change in the state of data from an input port. The purpose of this method is to reduce the load on the CPU and speed up the detection of state changes by sampling data from multiple input ports and detecting state changes using a circuit that does not involve the CPU. A common RAM that has two access surfaces that are commonly used for writing and reading data through buffers that individually transfer data from input ports, and a common address allocation signal and control circuit for writing and reading the common RAM. A counter that creates a RAM write control signal and a chip select signal that selects sample data for each input port from the buffer, and detects a state change by comparing the previous data from the common RAM and the current data from the buffer. A comparison circuit 5 that uses the detection signal of the comparison circuit as an interrupt processing request signal to perform interrupt processing on the current data and output an address signal for the data, and a CPU that decodes the address signal output from the CPU and outputs an address signal for the data. It is equipped with a decoder that outputs a chip select signal that selects the sending of data from the buffer, and samples the data of a plurality of input ports and detects state changes using a common RAM, a counter, and a comparison circuit that are not controlled by the CPU. takes care to receive and process processing requests only when the state of input data changes.

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

本発明は複数の入力機器のデータをポーリングしサンプ
リングしてその状態変化を検出し、CPUがそれに対応
した処理を行うシステムに係り、特に入力ポートからの
データの状態変化を検出する方式に関する。
The present invention relates to a system in which data from a plurality of input devices is polled and sampled to detect changes in the state thereof, and a CPU performs corresponding processing, and particularly relates to a method for detecting changes in the state of data from input ports.

CPUを使って複数の入力ポートからのデータをポーリ
ングしサンプリングして処理するシステムは、なるべく
高速で且つ多数の処理を行うことが要求されている。こ
の為、サンプリングの周期の短縮と、状態変化の発生か
らCPUの処理までの時間の短縮を行う必要がある。又
、CPUがサンプリングの全部の間その処理に係わって
いる形となっているので、この状態を改善する必要があ
る。
Systems that use a CPU to poll, sample, and process data from a plurality of input ports are required to perform a large number of processes as quickly as possible. Therefore, it is necessary to shorten the sampling period and the time from the occurrence of a state change to the processing by the CPU. Also, since the CPU is involved in the processing during the entire sampling process, there is a need to improve this situation.

〔従来の技術〕[Conventional technology]

従来の入力データの状態変化検出方式は、第4図のブロ
ック図の如く、1つのCPU 6A  が、複数?入力
ポートL,Iz〜のデータD,,D.〜を受け渡しする
バッファ41A.41、.〜を、周期T,の1つのサン
プリング信号で全入力ポートL,  Iz〜のデータD
+,   Dz””’の  11+21’−−−’+n
−11+nl 、  h+2z  ’−”’+n−IZ
+n2〜を一括してサンプリングし、各サンプルデータ
の状態変化を検出した時に、それに対応する処理を行う
が、この場合、入力ポートのデータD,, 02〜に状
態変化が生じなくとも、CPυ6Aが定められた複数の
入力ポートI,, I!〜の全サンプルデータについて
状態変化の検出を行い続けている。
In the conventional input data state change detection method, as shown in the block diagram of FIG. 4, one CPU 6A can detect multiple state changes. Data D, , D. of input ports L, Iz~. Buffer 41A. 41,. ~, with one sampling signal of period T, data D of all input ports L, Iz~
+, Dz""'11+21'---'+n
-11+nl, h+2z '-”'+n-IZ
+n2~ are sampled all at once, and when a change in the state of each sample data is detected, the corresponding processing is performed. A plurality of defined input ports I,, I! We continue to detect state changes for all sample data of ~.

そして、CP0 6Aが1つの入力ポートhのデータh
,2+ ’−−−’i−11+nlを1度サンプリング
してから再度サンプリングする迄のサンプリング周期は
、第3図Φ)の如<、CPUの■マシンサイクル分T,
だけかかっていた。
Then, CP0 6A is the data h of one input port h
, 2+ '---'i-11+nl is sampled once until it is sampled again, as shown in Fig. 3 Φ).
It took only a few minutes.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従って従来方式は以下の様な問題点があった。 Therefore, the conventional method has the following problems.

(1)1つのCPUが、サンプリングと状態変化の有無
の検出の両方に使用される為、状態変化をチェックする
サンプルデータの項目数が多くなった場合、CPUの処
理時間が増大して状態変化から其の検出までの時間が大
きくなり処理が遅くなる。(2) cpuはサンプリン
グと状態変化の有無の検出だけでなく他の処理を行って
いる場合が殆どである為、別処理の途中で入力ポートの
データの状態変化が発生しても直ぐにその変化を検出で
きない。
(1) One CPU is used for both sampling and detecting the presence or absence of state changes, so if the number of sample data items to check for state changes increases, the CPU processing time will increase and the state will change. The time from detection to detection becomes longer and processing becomes slower. (2) In most cases, the CPU performs other processing in addition to sampling and detecting the presence or absence of a state change, so even if a change in the state of input port data occurs during another process, the change is immediately detected. cannot be detected.

本発明は、複数の入力ポートのデータのサンプリングと
状態変化の有無の検出とを、cpuを介さない回路で行
うことにより、CPUの負荷軽減による有効利用と、状
態変化の有無の検出のスピードアップとを図ることを課
題とする。
The present invention reduces the load on the CPU and increases the speed of detecting the presence or absence of a state change by sampling data from multiple input ports and detecting the presence or absence of a state change using a circuit that does not involve the CPU. The challenge is to achieve this goal.

〔課題を解決するための手段〕[Means to solve the problem]

この課題は、第l図に示す如く、複数Nの入力ポートi
,,i.からの各データol, D Hの一時の受け渡
しに個別に使用されるバッファ4、4Nを介し、データ
の書込み読出しに共通に使用される面として2面を有す
る共通12AM lと、共通RAM 1の2面の書込み
読出しのアドレス割付信号ADR,お?び制御回路3で
該共通RAM 1の書込みの制御信号EB,,EB,と
該バッファ4..4 .からの入カデータD+, D 
Hのサンプルデータの送出を各入力データ単位で選択す
るチップセレクト信号CS++,CS+■とを作戊する
カウンタ2と、該共通RAM 1からの前回データDA
TA.と前記バッファ41, 4 sからの今回データ
DATA .とを比較し状態変化を検出する比較回路5
と、該比較回路の検出信号を割込要求信号IRQとして
入力しバッファ41、.4Nからの今回データDATA
 ,を割込処理して今回データDATA ,のアドレス
信号ADlhを出力するCP[I 6と、該CPU6の
出力するアドレス信号ADR2を解読してバッファ41
4NのデータD., o .の送出を選択するチップセ
レクト信号cs2,,cs.■を出力するデコーダ7と
を具え、複数の入カポー}It,Isからの各データD
,,D.の状態変化を、CPU 6に制御されない共通
RAM 1とカウンタ2と比較回路5により検出し、C
PtI 6は該状態変化の発生時のみ比較回路5から処
理要求を受け処理するように構或する本発明によって解
決される。
This problem consists of a plurality of N input ports i, as shown in FIG.
,,i. A common 12AM l, which has two surfaces commonly used for writing and reading data, and a common RAM 1 Address allocation signal ADR for writing and reading on the second side, O? The control circuit 3 outputs write control signals EB, EB for the common RAM 1 and the buffer 4. .. 4. Input data from D+, D
A counter 2 that generates chip select signals CS++ and CS+■ for selecting the sending of sample data of H for each input data unit, and the previous data DA from the common RAM 1.
T.A. and the current data DATA . from the buffer 41, 4s. Comparison circuit 5 that detects a state change by comparing
, the detection signal of the comparison circuit is input as an interrupt request signal IRQ to the buffers 41, . Current data DATA from 4N
, and outputs the address signal ADlh of the current data DATA.
4N data D. , o. Chip select signals cs2, , cs . ■A decoder 7 that outputs each data D from a plurality of input ports }It, Is.
,,D. A change in the state of the C
PtI 6 is solved by the present invention, which is configured to receive and process a processing request from comparator circuit 5 only when the state change occurs.

?発明の入力データの状態変化検出方式の基本構或を示
す第l図の原理図において、 1は、複数Nの入力ポートr,,r,からのデータD,
,DHの受け渡しに個別に使用されるバッファ41、4
Nを介し、データの書込み読出しに共通に使用される面
として2面を有する共通RAMである。
? In the principle diagram of FIG. 1 showing the basic structure of the input data state change detection method of the invention, 1 represents data D, from a plurality of N input ports r,, r,
, DH buffers 41 and 4 used individually for receiving and receiving DH.
This is a common RAM having two surfaces that are commonly used for writing and reading data via N.

2は、共通RAM 1の2面の書込み続出しのアドレス
割付信号ADR,および制御回路3で該共通RAM 1
の書込みの制御信号EB.,EB2と前記バッファ4I
,4Nから各人カポートデータD., D .のサンプ
ルデータの送出を選択するチップセレクト信号CSz,
CS,2の作戒に使用されるカウンタである。
2 is an address allocation signal ADR for successive writing on two sides of the common RAM 1, and a control circuit 3 is used to control the common RAM 1.
write control signal EB. , EB2 and the buffer 4I
, 4N to each person's cover data D. , D. A chip select signal CSz, which selects the sending of sample data of
This is a counter used for the discipline of CS,2.

3は、カウンタ2の出力により共通RAM 1の書込み
の制御信号EB,,EB.と、バッファ4+, 4 N
からの各入力ポートデータD,,D.のサンプルデータ
の送出を選択するチップセレクト信号CS.,CSlz
とを作戒する制御回路である。
3 is a write control signal EB, EB . and buffer 4+, 4 N
Each input port data D,,D. A chip select signal CS. ,CSlz
This is a control circuit that regulates the

414Nは、複数の人カポーH+,IsからのデータD
1,DHの受け渡しに個別に使用されるバッファである
414N is data D from multiple people Kapo H+, Is
1. This is a buffer used individually for DH transfer.

?は、バッファ4+, 4 sからサンプルした今回デ
ータDATA . と共通RAM 1からの前回データ
DATA 2を入力して、データの状態変化の有無を検
出する比較回路である。
? is the current data DATA . sampled from buffer 4+, 4 s. This is a comparison circuit which inputs the previous data DATA 2 from the common RAM 1 and detects whether there is a change in the state of the data.

6は、比較回路5の検出信号を割込処理要求IRQとし
て受けて割込処理をし、バッファ41、4Mからの今回
データDATA .を処理するCPUである。
6 receives the detection signal from the comparator circuit 5 as an interrupt processing request IRQ, processes the interrupt, and outputs the current data DATA . This is a CPU that processes

7は、CPU 6が処理した今回データDATA1のア
ドレス信号ADRzを解読しバッファ4., 4 Nの
チップセレクト信号cs,,,cs.■を出力するデコ
ーダである。
7 decodes the address signal ADRz of the current data DATA1 processed by the CPU 6 and sends it to the buffer 4. , 4 N chip select signals cs, , cs. This is a decoder that outputs ■.

?作用〕 バッファ4+. 4 Nは、複数Nの入力ポート■1.
INからデータD,, D Nを個別に受け取り、其の
サンプルデータを共通RAM 1へ書き込む。この時、
カウンタ2が共通RAM 1へのアドレス信号ADR.
を指定し、制御回路3に、バッファ41、4Nと共通R
AM 1のチップセレクトCSや書込みWEと読出しR
Eの制御信号EB,,EB.を作威させ、各入力ポート
のデータ単位のサンプルデータを共通RAM 1へ書き
込む。
? Effect] Buffer 4+. 4 N is a plurality of N input ports ■1.
It individually receives data D, , D N from IN and writes the sample data to common RAM 1. At this time,
Counter 2 sends address signal ADR. to common RAM 1.
, and the control circuit 3 has a common R with the buffers 41 and 4N.
AM 1 chip select CS, write WE and read R
E control signals EB,, EB. , and writes the sample data in data units of each input port to the common RAM 1.

比較回路5は、バッファ41、 4 .からの入力ポー
ト1、iNの各データD,,D.のサンプルデータの現
在データDATA , と共通RAM 1からの前回デ
ータDATA2とを入力して、データの状態変化の有無
を検出し、状態変化を検出した時に、CPU 6へ割込
処理要求IRQを送出する。
The comparison circuit 5 includes buffers 41, 4 . Input port 1, iN each data D,,D. It inputs the current sample data DATA, and the previous data DATA2 from the common RAM 1, detects whether there is a change in the state of the data, and sends an interrupt processing request IRQ to the CPU 6 when a change in state is detected. do.

CPU 6は、複数の入力ポートI,.INの各データ
D,,D.のサンプルデータの状態変化の発生時のみ、
比較回路5から割込処理要求IRQを受けて現在データ
DATA ,を処理するので、状態変化の処理は速やか
に行われる。
The CPU 6 has a plurality of input ports I, . Each data D,,D of IN. Only when a state change occurs in the sample data of
Since the interrupt processing request IRQ is received from the comparator circuit 5 and the current data DATA is processed, the state change processing is quickly performed.

すなわち、本発明の入力データの状態変化検出方式は、
複数の入力ポートからのデータのサンプリングとサンプ
ルデータの状態変化の有無の検出とを、CPUを介さな
い共通RAM 1 とカウンタ2と比較回路5で行うこ
とにより、CPU 6の負荷軽減と、入力ポートのデー
タの状態変化の検出のスピードアップを図れるので問題
は解決される。
That is, the input data state change detection method of the present invention is as follows:
By sampling data from multiple input ports and detecting the presence or absence of a change in the state of the sample data using the common RAM 1, counter 2, and comparison circuit 5 without going through the CPU, the load on the CPU 6 can be reduced and the input port The problem is solved because it is possible to speed up the detection of changes in the state of data.

〔実施例〕〔Example〕

第2図は本発明の実施例の入力データの状態変化検出方
式の構成を示すブロック図であり、第3図(a)はその
動作を説明するためのサンプリング周期図である。
FIG. 2 is a block diagram showing the configuration of the input data state change detection method according to the embodiment of the present invention, and FIG. 3(a) is a sampling period diagram for explaining its operation.

第2図のブロック図において、共通RAM 1は、入力
ポートからのデータD1〜D.のサンプルデータの書込
み読出しに使用される面として2面(1),(2)を有
するRAMであって、複数Nの人カポート■〜■、から
のデータD1〜DHの一時的受け渡しに個別に使用され
るバッファ414Nの各受信バッファREC 1を介し
、各データのサンプルデータの書込み読出しに共通に使
用される。
In the block diagram of FIG. 2, a common RAM 1 stores data D1 to D. A RAM having two surfaces (1) and (2) used for writing and reading sample data, and is used individually for temporarily transferring data D1 to DH from a plurality of N people's ports. It is commonly used for writing and reading sample data of each data via each receiving buffer REC 1 of the buffer 414N used.

カウンタ2は、第3図(a)に示す如く、人カボーH+
〜■8からの各データDI−DNの1サンプリング周期
T1のうち別処理αを除く1人カポート分T2を計数す
るカウンタCOUNTで構成され、共通RAMlの2面
(1), (2)の書込み読出しのアドレス割付信号A
DR.の発生および制御回路3のCONT ,で共通?
AM 1の書込み肝,読出しRε,チップセレクトCS
の制御信号EB,,EB2 と前記バッファ4,. 4
 .からの各入力ポートデータD.,D.のサンプルデ
ータの送出を選択するチップセレクト信号CSz,CS
+■の作戒に使用される。
As shown in FIG. 3(a), the counter 2 is
~■ Consists of a counter COUNT that counts T2 for one person excluding the separate processing α out of one sampling period T1 of each data DI-DN from 8, and writes to two sides (1) and (2) of the common RAMl. Read address allocation signal A
DR. Common to generation and control circuit 3 CONT,?
AM 1 write key, read Rε, chip select CS
control signals EB, EB2 and the buffers 4, . 4
.. Each input port data from D. ,D. Chip select signals CSz, CS that select the sending of sample data of
+■ Used for etiquette.

比較回路5は、比較器COMPで構成され、バッファ’
L, 4 sからの入力ポートI,.INの各データo
,. 02の各入力データ単位のサンプルデータの現在
データDATA I と、共通RAM lからの前回デ
ータDATA2とを入力してデータの状態変化の有無を
検出し、状態変化を検出した時に、CPU 6へ割込処
理要求IRQを送出する。
The comparison circuit 5 is composed of a comparator COMP, and a buffer '
L, 4 input ports from I, . Each data of IN
、. The current data DATA I of the sample data of each input data unit of 02 and the previous data DATA2 from the common RAM I are input to detect whether there is a change in the state of the data, and when a change in state is detected, the Sends an IRQ request for processing.

現在データDATA ,は状態変化が生していてもいな
くとも、共通RAM 1の2面RAMの第1ポート側(
1)に書込まれる。この場合、書込みの番地ADR ,
は、カウンタ4のCOUNTにより決定される。また、
書込みの制御信号EB.は制御回路3のCONT+にて
作威される。
The current data DATA, on the first port side of the two-sided RAM of common RAM 1 (
1). In this case, the write address ADR,
is determined by COUNT of counter 4. Also,
Write control signal EB. is activated by CONT+ of the control circuit 3.

前回データDATAzはカウンタCOUNTによりデー
タの番地ADR .を指定してから制御回路3のCON
T .の制御信号EB.を使って共通RAM 1の第2
ポート側(2)から読み取られ比較回路5のCOMPへ
送出される。
The previous data DATAz is determined by the counter COUNT at the data address ADR. After specifying the CON of control circuit 3
T. control signal EB. Common RAM 1 using 2nd
It is read from the port side (2) and sent to COMP of the comparison circuit 5.

CPυ6は、複数の入カポー1−1,,INの各データ
D.,DNの各サンプルデータの状態に変化が発生した
時のみ、比較回路5から割込処理要求IRQを受けて、
それに応じた割込処理を行い、入力ポートI1.INか
らの現在データDATA ,のパッファ8のREC.へ
の読込み動作を始める。このバッファ8の読込み動作は
、CPU 6からデコーダ7のCONT 2へのアドレ
ス信号ADR2に応じて発生され、バッファ8のREC
.へ供給するチップセレクト信号CS2を操作して行う
ので、現在データDATA .の状態変化の処理は速や
かGご行われる。
CPυ6 stores each data D. of a plurality of input ports 1-1,,IN. , DN only when a change occurs in the state of each sample data, receives an interrupt processing request IRQ from the comparator circuit 5,
Interrupt processing is performed accordingly, and the input port I1. Current data DATA from IN, REC of puffer 8. Start reading operation to. This read operation of the buffer 8 is generated in response to the address signal ADR2 from the CPU 6 to the CONT 2 of the decoder 7, and the read operation of the buffer 8 is
.. This is done by manipulating the chip select signal CS2 supplied to the current data DATA. Processing of the state change will be performed immediately.

すなわち、第2図の実施例の入力データの状態変化検出
方式は、複数の入力ポートからのデータのサンプリング
と状態変化の有無の検出を、CPUを介さない共通RA
M 1とカウンタ2と比較回路5で行うことにより、C
PU 6の負荷軽減と同時に、入力ポートのデータの状
態変化の検出のスピードアップが図れるので問題は無い
In other words, the input data state change detection method of the embodiment shown in FIG.
By using M1, counter 2, and comparison circuit 5, C
There is no problem because it is possible to reduce the load on the PU 6 and at the same time speed up the detection of changes in the data state of the input port.

[発明の効果] 以上説明した如く、本発明によれば、CPUが複数の入
力ポートの各データの全部を常時ポーリングする必要が
なくなりcpυの処理時間が短縮される。そして入力ポ
ートからの各データの監視と別の処理も可能となるので
、CPUの有効利用を図れる効果がある。
[Effects of the Invention] As described above, according to the present invention, it is no longer necessary for the CPU to constantly poll all of the data of a plurality of input ports, and the processing time of cpυ is shortened. Furthermore, since it is possible to monitor each data from the input port and perform other processing, there is an effect that the CPU can be used effectively.

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

第1図は本発明の入力データの状態変化検出方式の基本
構或を示す原理図、 第2図は本発明の実施例の入力データの状態変化検出方
式の構成を示すブロック図、 第3図は本発明の実施例の動作を説明するためのサンプ
リング周期図、 第4図は従来の入力データの状態変化検出方式のブロッ
ク図である。 図において、 ■は共通RAM、2はカウンタ、3は制御回路、414 はバッファ、 5 は比較回路、 6 は cpu, 7 はデコーダである。
FIG. 1 is a principle diagram showing the basic structure of the input data state change detection method of the present invention, FIG. 2 is a block diagram showing the structure of the input data state change detection method of the embodiment of the present invention, and FIG. 4 is a sampling period diagram for explaining the operation of the embodiment of the present invention, and FIG. 4 is a block diagram of a conventional input data state change detection method. In the figure, 2 is a common RAM, 2 is a counter, 3 is a control circuit, 414 is a buffer, 5 is a comparison circuit, 6 is a CPU, and 7 is a decoder.

Claims (1)

【特許請求の範囲】[Claims] 複数の入力ポート(I_1、I_N)からのデータ(D
_1、D_N)を個別に受け渡しするバッファ(4_1
、4_N)を介し、該複数のデータの書込み読出しに共
通に使用されるアクセス面として2面を有するRAM(
1)と、該共通RAMの2面の書込み読出しのアドレス
割付信号(ADR_1)および制御回路(3)で該共通
RAMの書込みの制御信号(EB_1、EB_2)と該
バッファ(4_1、4_N)からの入力データ(D_1
、D_N)をサンプルしたデータの送出を各入力ポート
単位で選択するチップセレクト信号(CS_1_1、C
S_1_2)とを作成するカウンタ(2)と、該共通R
AMからの前回データ(DATA_2)と該バッファ(
4_1、4_N)からの今回データ(DATA_1)と
を比較し状態変化を検出する比較回路(5)と、該比較
回路の検出信号を割込処理要求信号として今回データ(
DATA_1)の割込処理をし該データのアドレス(A
DR_2)を出力するCPU(6)と、該CPUの出力
(ADR_2)を解読して該バッファ(4_1、4_N
)からのデータの送出を選択するチップセレクト信号(
CS_2_1、CS_2_2)を出力するデコーダ(7
)を具え、複数の入力ポート(I_1、I_N)からの
各データ(D_1、D_N)のサンプリングと状態変化
の検出を、CPU(6)に制御されない共通RAM(1
)とカウンタ(2)と比較回路(5)により行い、該C
PUが入力データの状態変化の発生時のみ処理要求を受
け処理することを特徴とした入力データの状態変化検出
方式。
Data (D
Buffer (4_1, D_N) for transferring individually
, 4_N), the RAM (
1), the address allocation signal (ADR_1) for writing and reading two sides of the common RAM and the control circuit (3) for writing and reading the common RAM from the write control signals (EB_1, EB_2) and the buffers (4_1, 4_N). Input data (D_1
, D_N) for each input port to select the transmission of sampled data (CS_1_1, C
S_1_2) and a counter (2) for creating the common R
The previous data (DATA_2) from AM and the buffer (
A comparison circuit (5) detects a state change by comparing the current data (DATA_1) from 4_1, 4_N), and a comparison circuit (5) detects a state change by comparing the current data (DATA_1) from 4_1, 4_N).
DATA_1) interrupt processing and address of the data (A
DR_2), and a CPU (6) that decodes the output (ADR_2) of the CPU and outputs the buffer (4_1, 4_N
Chip select signal (
CS_2_1, CS_2_2)
), sampling of each data (D_1, D_N) from multiple input ports (I_1, I_N) and detection of state changes are performed using a common RAM (1
), counter (2) and comparison circuit (5), and the C
An input data state change detection method characterized in that a PU receives and processes a processing request only when a state change of input data occurs.
JP18687989A 1989-07-19 1989-07-19 State change detection system for input data Pending JPH0351972A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18687989A JPH0351972A (en) 1989-07-19 1989-07-19 State change detection system for input data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18687989A JPH0351972A (en) 1989-07-19 1989-07-19 State change detection system for input data

Publications (1)

Publication Number Publication Date
JPH0351972A true JPH0351972A (en) 1991-03-06

Family

ID=16196283

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18687989A Pending JPH0351972A (en) 1989-07-19 1989-07-19 State change detection system for input data

Country Status (1)

Country Link
JP (1) JPH0351972A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004036400A1 (en) * 2002-10-18 2004-04-29 Nokia Corporation A method for changing the mode of a card, a system, a card, and a device
DE112005000687B4 (en) * 2004-03-29 2012-03-22 Intel Corporation Mechanism for repeating signals over an unrelated connection

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004036400A1 (en) * 2002-10-18 2004-04-29 Nokia Corporation A method for changing the mode of a card, a system, a card, and a device
DE112005000687B4 (en) * 2004-03-29 2012-03-22 Intel Corporation Mechanism for repeating signals over an unrelated connection

Similar Documents

Publication Publication Date Title
US6708246B1 (en) Signal processing device with bus ownership control function
JP2002230977A (en) Arbiter device for multi-port memory, and semiconductor device
US5343557A (en) Workstation controller with full screen write mode and partial screen write mode
JPH0351972A (en) State change detection system for input data
US6335903B2 (en) Memory system
JPH0916468A (en) Memory access system
JP2990800B2 (en) Interrupt processing device
JP2560312B2 (en) Information processing system
JPH05134889A (en) Redundant system for process controller
KR200213107Y1 (en) Apparatus for detection of interruputing source in processor board
KR0171287B1 (en) Multi-queue control method of main memory unit
US20030046465A1 (en) System and method for servicing interrupts
JPH0434629A (en) Busy check system for memory access control device
JPH05108476A (en) Main storage controller
JPH0447350A (en) Main storage read/response control
JPH03232052A (en) Exclusive access system for shared data
JPH03189755A (en) Inter-memory transfer device
JP2642087B2 (en) Data transfer processing mechanism between main storage devices
JPH0512219A (en) Process transferring system
JPH1196103A (en) I/o controller with memory monitoring function
JPH02278362A (en) Data transfer control system
JPH02156351A (en) Cache memory device
JPH02307123A (en) Computer
JPS61269545A (en) Computer system
JPH071487B2 (en) Buffer memory invalidation address generation method