[go: up one dir, main page]

JPH01318132A - Data rewriting detecting circuit - Google Patents

Data rewriting detecting circuit

Info

Publication number
JPH01318132A
JPH01318132A JP63151849A JP15184988A JPH01318132A JP H01318132 A JPH01318132 A JP H01318132A JP 63151849 A JP63151849 A JP 63151849A JP 15184988 A JP15184988 A JP 15184988A JP H01318132 A JPH01318132 A JP H01318132A
Authority
JP
Japan
Prior art keywords
data
processor
memory
written
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.)
Pending
Application number
JP63151849A
Other languages
Japanese (ja)
Inventor
Naoki Aihara
直樹 相原
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 JP63151849A priority Critical patent/JPH01318132A/en
Publication of JPH01318132A publication Critical patent/JPH01318132A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To detect a change in data to be written in a prescribed area of a memory without laying load upon a processor by sending an address of an area to be written to a processor bus at the time of writing data from the processor to the prescribed area, and preparing time for executing reading operation up to the instruction of writing operation to the memory. CONSTITUTION:At the time of writing data from the processor 1 to the prescribed area of the memory 2, reading data (dr) read out from the prescribed area prior to its writing are stored in a holding means 100 of a data rewriting detecting circuit 6. After reading out the reading data (dr), writing data (dw) written from the processor 1 to the memory 2 are compared with the reading data (dr) stored in the means 100 by a comparing means 200 to detect discrepancy between the reading data (dr) and the writing data (dw) by the comparing means 200. At the time of detecting the discrepancy by the means 200, the detection is informed to the processor 1 by an informing means 300 to reduce the load of the processor 1.

Description

【発明の詳細な説明】 〔概要〕 プロセッサが繰返しメモリに書込むデータの変化を検出
するデータ書替検出回路に関し、プロセッサの処理能力
を低下させること無(、メモリに書込まれるデータの変
化を迅速に検出可能とすることを目的とし、 プロセッサからプロセッサバスを介してメモリの所定領
域にデータを書込む場合に、書込みに先立ち前記所定領
域から読出される読出データを保持する保持手段と、読
出データが読出された後、プロセッサからメモリに書込
まれる書込データと、保持手段に保持される読出データ
とを比較する比較手段と、比較手段が読出データと書込
データとの不一致を検出したことを、プロセッサに通知
する通知手段とを設ける様に構成する。
[Detailed Description of the Invention] [Summary] Regarding a data rewriting detection circuit that detects changes in data repeatedly written by a processor to a memory, it is possible to detect changes in data written to the memory without reducing the processing performance of the processor. In order to enable rapid detection, when data is written from a processor to a predetermined area of a memory via a processor bus, a holding means for holding read data read from the predetermined area prior to writing, and a reading a comparison means for comparing the write data written from the processor to the memory after the data is read and the read data held in the holding means; and the comparison means detects a mismatch between the read data and the write data. The system is configured to include notification means for notifying the processor.

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

本発明は、プロセッサが繰返しメモリに書込むデータの
変化を検出するデータ書替検出回路に関する。
The present invention relates to a data rewrite detection circuit that detects changes in data repeatedly written by a processor to a memory.

情報処理システムにおいて、プロセッサがメモリの所定
領域にデータを繰返し書込む一方、書込データに変化が
生じた場合に、変化に応じて次の処理を開始することが
要求される場合がある。
In an information processing system, while a processor repeatedly writes data to a predetermined area of a memory, when a change occurs in the written data, it may be required to start the next process in response to the change.

〔従来の技術〕[Conventional technology]

第5図は従来ある情報処理システムの一例を示す図であ
る。
FIG. 5 is a diagram showing an example of a conventional information processing system.

第5図において、プロセ・ノサ1、メモリ2、キーボー
ド3およびデイスプレィ4が、プロセッサバス5を介し
て相互に接続されている。
In FIG. 5, a processor 1, a memory 2, a keyboard 3 and a display 4 are interconnected via a processor bus 5.

プロセッサ1内には、プロセッサlが実行する情報処理
全殻を制御するオペレーティングシステム11と、プロ
セッサ1が実行する各情報処理を分担する複数のタスク
12と、所定時間の経過を通知するタイマ13とが示さ
れる。
The processor 1 includes an operating system 11 that controls all the information processing executed by the processor 1, a plurality of tasks 12 that share each information processing executed by the processor 1, and a timer 13 that notifies the passage of a predetermined time. is shown.

と、キーボード3に設けられた各種文字キーを操作して
入力された文字を、デイスプレィ4上に表示する処理を
プロセッサ1が実行する場合に、タスク12−1がキー
ボード3上の各種文字キーの操作状況を周期的に監視し
、操作状況を示ずデータdをメモリ2内の所定領域21
に書込み、タスク12−2がメモリ2内の所定領域21
に書込まれたデータdを読出し、データdの変化に応じ
てデイスプレィ4上の表示を更新するものとする。
When the processor 1 executes a process of displaying characters entered by operating various character keys provided on the keyboard 3 on the display 4, task 12-1 executes a process of displaying characters input by operating various character keys provided on the keyboard 3 on the display 4. The operation status is periodically monitored and the data d is stored in a predetermined area 21 in the memory 2 without indicating the operation status.
The task 12-2 writes to the predetermined area 21 in the memory 2.
The data d written in the data d is read out, and the display on the display 4 is updated in accordance with changes in the data d.

かかる場合に、タスク12−1はメモリ2内の所定領域
21に新たにデータdを書込む度に、タスク間通信機能
に基づき、タスク12−2を起動する様にオペレーティ
ングシステム11に依頼する。
In this case, each time the task 12-1 writes new data d to the predetermined area 21 in the memory 2, it requests the operating system 11 to start the task 12-2 based on the inter-task communication function.

タスク12−1からの依頼を受けたオペレーティングシ
ステム11は、タスク間通信機能によりタスク12−2
を起動する。
Upon receiving the request from task 12-1, the operating system 11 uses the inter-task communication function to request task 12-2.
Start.

起動されたタスク12−2は、メモリ2内の所定領域2
1を参照し、データdが変化したが否かを分析し、変化
している場合にはデイスプレィ4上の表示を更新する。
The activated task 12-2 is stored in a predetermined area 2 in the memory 2.
1, it is analyzed whether the data d has changed or not, and if it has changed, the display on the display 4 is updated.

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

以上の説明から明らかな如く、従来ある情報処理システ
ムにおいては、タスク12−1によりメモリ2内の所定
領域21に書込まれたデータdに基づき、デイスプレィ
4上の表示を変更するタス/’12−2を起動する為に
、オペレーティングシステム11を介するタスク間通信
機能を使用していた為、オペレーティングシステム11
のタスク間通信機能による処理時間が増大する問題点か
あった。
As is clear from the above description, in a conventional information processing system, the task /'12 changes the display on the display 4 based on the data d written to the predetermined area 21 in the memory 2 by the task 12-1. -2, the inter-task communication function via the operating system 11 was used, so the operating system 11
There was a problem in that the processing time increased due to the inter-task communication function.

なお、タスク間通信機能を使用する代わりに、タイマ1
3がタスク12−2を周期的に起動し、メモリ2内の所
定領域21に書込まれているデータdを監視させること
も考慮されるが、タイマ13に伴う処理が必要となり、
プロセッサ1の処理能力を低下させる恐れがあった。
Note that instead of using the inter-task communication function, timer 1
It is also considered that task 12-2 periodically activates task 12-2 to monitor data d written in a predetermined area 21 in memory 2, but this would require processing associated with timer 13.
There was a fear that the processing capacity of the processor 1 would be reduced.

本発明は、プロセッサの処理能力を低下させること無く
、メモリに書込まれるデータの変化を迅速に検出可能と
することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to enable rapid detection of changes in data written to memory without reducing processing performance of a processor.

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

第1図は本発明の原理を示す図である。 FIG. 1 is a diagram showing the principle of the present invention.

第1図において、lはプロセッサ、2はメモリ、5はプ
ロセッサバスである。
In FIG. 1, l is a processor, 2 is a memory, and 5 is a processor bus.

6は、本発明により設けられたデータ書替検出回路であ
り、100.200および300は、それぞれデータ書
替検出回路6に設けられた保持手段、比較手段および通
知手段である。
6 is a data rewrite detection circuit provided according to the present invention, and 100, 200, and 300 are holding means, comparison means, and notification means provided in the data rewrite detection circuit 6, respectively.

〔作用〕[Effect]

プロセッサ1がメモリ2の所定領域にデータを書込む場
合に、プロセッサバス5に書込み対象領域を示すアドレ
スを送出した後、メモリ2に書込動作を指示する迄に、
メモリ2が読出動作を行う期間が存在し、書込み対象領
域に書込み済みのデータが該期間中に読出される。
When the processor 1 writes data to a predetermined area of the memory 2, after sending an address indicating the area to be written to the processor bus 5 and before instructing the memory 2 to perform the write operation,
There is a period during which the memory 2 performs a read operation, and data already written in the write target area is read out during this period.

本発明はかかる書込動作に先行する読出動作を活用する
ものである。
The present invention takes advantage of a read operation that precedes such a write operation.

保持手段100は、プロセッサ1からプロセッサバス5
を介してメモリ2の所定領域にデータを書込む場合に、
書込みに先立ち所定領域から読出される読出データd、
を保持する。
The holding means 100 connects the processor 1 to the processor bus 5.
When writing data to a predetermined area of memory 2 via
read data d read from a predetermined area prior to writing;
hold.

比較手段200は、読出データd、が読出された後、プ
ロセッサ1からメモリ2に書込まれる書込データd。と
、保持手段100に保持される読出データd1とを比較
する。
The comparison means 200 writes write data d, which is written from the processor 1 to the memory 2, after the read data d is read. and the read data d1 held in the holding means 100 are compared.

通知手段300は、比較手段200が読出データd、と
書込データd8との不一致を検出したことを、プロセッ
サ1に通知する。
The notification means 300 notifies the processor 1 that the comparison means 200 has detected a mismatch between the read data d and the write data d8.

従って、メモリの所定領域に書込まれるデータが変化し
たことを、プロセッサに何等負担を掛けること無く検出
し、迅速にプロセッサに通知可能となる。
Therefore, it is possible to detect a change in the data written in a predetermined area of the memory without placing any burden on the processor, and promptly notify the processor.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第2図は本発明の一実施例による情報処理システムを示
す図であり、第3図は第2図におけるデータ書替検出回
路の一例を示す図であり、第4図は第3図における各種
信号を例示する図である。なお、全図を通じて同一符号
は同一対象物を示す。
2 is a diagram showing an information processing system according to an embodiment of the present invention, FIG. 3 is a diagram showing an example of the data rewriting detection circuit in FIG. 2, and FIG. 4 is a diagram showing various types of data in FIG. 3. It is a figure which illustrates a signal. Note that the same reference numerals indicate the same objects throughout the figures.

第3図においては、第1図における保持手段100とし
て読出データ保持回路61が設けられ、また第1図にお
ける比較手段200としてデータ比較回路62が設けら
れ、また第1図における通知手段300としてゲート6
3−1乃至63−m。
3, a read data holding circuit 61 is provided as the holding means 100 in FIG. 1, a data comparing circuit 62 is provided as the comparing means 200 in FIG. 1, and a gate is provided as the notifying means 300 in FIG. 6
3-1 to 63-m.

デコーダ64およびランチ回路65−1乃至65−mが
設けられている。
A decoder 64 and launch circuits 65-1 to 65-m are provided.

第2図乃至第4図において、キーボード3に設けられた
各種文字キーを操作して入力された文字を、デイスプレ
ィ4上に表示する処理をプロセッサ1が実行する為に、
プロセッサ1はプロセッサバス5を介してキーボード3
上の各種文字キーの操作状況を周期的に監視し、操作状
況を示すデータdを抽出した後、メモリ2内の所定領域
21に書込む為に、プロセッサバス5にメモリ2内の所
定領域21を示すアドレスa、を送出する。
In FIGS. 2 to 4, in order for the processor 1 to execute the process of displaying characters input by operating various character keys provided on the keyboard 3 on the display 4,
Processor 1 connects keyboard 3 via processor bus 5.
After periodically monitoring the operation status of the above various character keys and extracting data d indicating the operation status, data is sent to the processor bus 5 in order to be written to the predetermined area 21 in the memory 2. The address a indicating the address is sent.

なお現段階では、プロセッサlがプロセッサバス5を介
してメモリ2に送出する書込信号Wは、未だ読出指示状
態(例えば論理“1”)に設定されている。
Note that at this stage, the write signal W sent by the processor 1 to the memory 2 via the processor bus 5 is still set to a read instruction state (for example, logic "1").

その結果、アドレスa1および読出指示状態(論理“1
”)に設定された書込信号Wを入力されたメモリ2は、
それ迄に所定領域21に書込まれていたデータdを読出
しく以後読出データd、。
As a result, address a1 and read instruction state (logical “1”)
”), the memory 2 receives the write signal W set to
The data d written in the predetermined area 21 up to that point is then read out.

と称する)、プロセッサバス5に送出する。), and is sent to the processor bus 5.

プロセッサlがプロセッサバス5に送出したアドレスa
l、並びにメモリ2がプロセッサバス5に送出した読出
データd、は、プロセッサバス5を介してデータ書替検
出回路6にも伝達される。
Address a sent by processor l to processor bus 5
The read data d sent from the memory 2 to the processor bus 5 are also transmitted to the data rewrite detection circuit 6 via the processor bus 5.

データ書替検出回路6においては、プロセッサバス5を
介して伝達されたアドレスa、はデコーダ64に入力さ
れ、また読出データd1は読出データ保持回路61およ
びデータ比較回路62に入力される。
In data rewrite detection circuit 6, address a transmitted via processor bus 5 is input to decoder 64, and read data d1 is input to read data holding circuit 61 and data comparison circuit 62.

デコーダ64は、予め定められたアドレスal乃至al
lが入力されると、デコード信号r1乃至r、% (論
理“l”)を出力し、それぞれゲート63−1乃至63
−mに入力する。例えばメモリ2内の所定領域21を示
すアドレスa1が入力された場合に、デコード信号r1
がゲート63−1に入力されるとする。
The decoder 64 operates at predetermined addresses al to al.
When l is input, decode signals r1 to r and % (logic "l") are outputted to gates 63-1 to 63, respectively.
Enter -m. For example, when address a1 indicating a predetermined area 21 in memory 2 is input, decode signal r1
Suppose that ? is input to the gate 63-1.

一方読出データ保持回路61は、タイミング信号c1が
入力されると、入力されている読出データd7を保持す
る。なおタイミング信号C4は、プロセッサlからメモ
リ2に対するアクセスサイクルTに同期して、メモリ2
から読出された読出データd、が、プロセッサバス5上
で確定する時期に一致して、データ書替検出回路6内で
発生させられる。
On the other hand, when the timing signal c1 is input, the read data holding circuit 61 holds the input read data d7. Note that the timing signal C4 is synchronized with the access cycle T from the processor l to the memory 2.
The read data d read from the processor bus 5 is generated in the data rewrite detection circuit 6 at the same time as the read data d is determined on the processor bus 5.

データ比較回路62は、プロセッサバス5から直接入力
される読出データd1と、読出データ保持回路61に保
持された読出データd1とを比較し、両者が一致するこ
とを確認すると、出力する不一致信号nを論理“0”に
設定する。
The data comparison circuit 62 compares the read data d1 directly input from the processor bus 5 with the read data d1 held in the read data holding circuit 61, and when it is confirmed that the two match, it outputs a mismatch signal n. is set to logic “0”.

その結果、不一致信号n(論理“0”)を入力されてい
る各ゲー)63−1乃至63−mは何れも遮断状態とな
り、デコーダ64から入力されるデコード信号r1乃至
r、に拘わらず、出力する割込信号il乃至i、を論理
“0”に設定する。
As a result, all the games 63-1 to 63-m to which the mismatch signal n (logic "0") is input are cut off, and regardless of the decoded signals r1 to r input from the decoder 64, The output interrupt signals il to i are set to logic "0".

一方プロセソサ1は、プロセッサバス5にアドレスaを
送出してから所定時間が経過した後、キーボード3から
新たに抽出したデータd(以後書込データd1と称する
)をプロセッサバス5に送出すると共に、プロセッサバ
ス5に送出する書込信号Wを書込指示状態(例えば論理
“0”)に設定する。
On the other hand, after a predetermined period of time has elapsed since the processor 1 sent the address a to the processor bus 5, the processor 1 sends newly extracted data d (hereinafter referred to as write data d1) from the keyboard 3 to the processor bus 5. The write signal W sent to the processor bus 5 is set to a write instruction state (for example, logic "0").

その結果、アドレスal、書込データd、および書込指
示状態(論理“0”)に設定された書込信号Wを入力さ
れたメモリ2は、所定領域21に書込データd1を書込
む。
As a result, the memory 2 that receives the address al, the write data d, and the write signal W set to the write instruction state (logic "0") writes the write data d1 into the predetermined area 21.

プロセッサ1がプロセッサバス5に送出した書込データ
d8は、プロセッサバス5を介してデータ書替検出回路
6にも伝達され、読出データ保持回路61およびデータ
比較回路62に入力される。
The write data d8 sent to the processor bus 5 by the processor 1 is also transmitted to the data rewrite detection circuit 6 via the processor bus 5, and is input to the read data holding circuit 61 and the data comparison circuit 62.

読出データ保持回路61は、書込データd、が入力され
る間は、タイミング信号c1が入力されない為、保持済
みの読出データd7を引続き保持する。
Since the timing signal c1 is not input while the write data d is being input, the read data holding circuit 61 continues to hold the held read data d7.

データ比較回路62は、プロセッサバス5から入力され
る書込データd1と、読出データ保持回路61に保持さ
れた読出データd、とを比較する。
The data comparison circuit 62 compares the write data d1 inputted from the processor bus 5 and the read data d held in the read data holding circuit 61.

若しキーボード3から新たな文字の入力操作が行われず
、文字キーの操作状況が前回と変わらない場合には、デ
ータ比較回路62が比較する読出データd、、および書
込データd、は一致し、不一致信号nは論理“0”に設
定されるが、キーボード3から新たな文字の入力操作が
行われ、文字キーの操作状況が前回と変わっている場合
には、データ比較回路62が比較する読出データdrお
よび書込データdwは一致せず、不一致信号nは論理“
l”に設定される。
If no new character is input from the keyboard 3 and the character key operation status remains the same as before, the read data d and the write data d compared by the data comparison circuit 62 do not match. , the mismatch signal n is set to logic "0", but if a new character is input from the keyboard 3 and the character key operation status is different from the previous time, the data comparison circuit 62 performs a comparison. The read data dr and the write data dw do not match, and the mismatch signal n is a logic “
l”.

不一致信号nが論理“l”に設定されると、ゲート63
−1乃至63−mは導通状態となり、デコーダ64から
論理“1”に設定されたデコード信号r、が入力される
ゲート63−1は、出力する割込信号i、を論理“1”
に設定し、論理“0”に設定されたデコード信号r2乃
至r、を入力されるその他のゲート63−2乃至63−
mは、出力する割込信号i!乃至i、を論理“0”に設
定する。
When the mismatch signal n is set to logic "1", the gate 63
-1 to 63-m are in a conductive state, and the gate 63-1, which receives the decode signal r set to logic "1" from the decoder 64, outputs the interrupt signal i, which is set to logic "1".
The other gates 63-2 to 63- are input with decode signals r2 to r set to logic "0".
m is the interrupt signal i! to i, are set to logic "0".

ラッチ回路65−1乃至65−mは、それぞれ対応する
デー1−63−1乃至63−mから入力される割込信号
1.乃至i、を、入力されるタイミング信号C2に同期
して保持し、プロセッサlに伝達する。なおタイミング
信号C2は、プロセッサlからメモリ2に対するアクセ
スサイクルTに同期して、プロセッサ1から送出された
書込データd、が、プロセッサバス5上で確定する時期
に一致して、データ書替検出回路6内で発生させられる
The latch circuits 65-1 to 65-m receive interrupt signals 1-63-1 to 63-m respectively. i, are held in synchronization with the input timing signal C2 and transmitted to the processor l. Note that the timing signal C2 detects data rewriting in synchronization with the access cycle T from the processor 1 to the memory 2, and coincides with the time when the write data d sent from the processor 1 is finalized on the processor bus 5. generated within circuit 6.

一方プロセッサ1は、データ書替検出回路6から伝達さ
れる割込信号i、乃至i、の内、割込信号ilのみが論
理“1”に設定されたことを検出すると、メモリ2内の
所定領域21に書込まれた書込データd、に変化が生じ
たと判定し、デイスプレィ4上の表示の更新処理を開始
する。
On the other hand, when the processor 1 detects that only the interrupt signal il among the interrupt signals i to i transmitted from the data rewrite detection circuit 6 is set to logic "1", the It is determined that a change has occurred in the write data d written in the area 21, and the process of updating the display on the display 4 is started.

以上の説明から明らかな如く、本実施例によれば、デー
タ書替検出回路6は、プロセッサ1がキーボード3から
抽出した書込データd1が前回と変化したこと検出する
と、直ちにプロセッサlに伝達する割込信号11を論理
“1”に設定し、書込データdwの変化を通知する。従
って、プロセッサ1は書込データd1の変化の有無を分
析すること無く、直ちにデイスプレィ4上の表示の更新
処理を開始することが可能となる。
As is clear from the above description, according to this embodiment, when the data rewrite detection circuit 6 detects that the write data d1 extracted from the keyboard 3 by the processor 1 has changed from the previous time, it immediately transmits the information to the processor l. The interrupt signal 11 is set to logic "1" to notify a change in write data dw. Therefore, the processor 1 can immediately start updating the display on the display 4 without analyzing whether there is a change in the write data d1.

なお、第2図乃至第4図はあく迄本発明の一実施例に過
ぎず、例えばアドレスa、読出データd7、書込データ
d、、、書込信号W、タイミング信号C1およびc、の
送出時期は図示されるものに限定されることは無く、他
に幾多の変形が考慮されるが、何れの場合にも本発明の
効果は変わらない。また本発明の対象となる情報処理シ
ステムは、図示されるキーボード3からの入力文字をデ
イスプレィ4上に表示するものに限定されることは無(
、他に幾多の変形が考慮されるが、何れの場合にも本発
明の効果は変わらない。
Note that FIGS. 2 to 4 are only one embodiment of the present invention, and for example, the sending of address a, read data d7, write data d, . . . write signal W, and timing signals C1 and c. The timing is not limited to that illustrated, and many other modifications may be considered, but the effects of the present invention remain the same in any case. Furthermore, the information processing system to which the present invention is directed is not limited to one that displays characters input from the keyboard 3 shown in the figure on the display 4 (
Although many other modifications may be considered, the effects of the present invention remain the same in any case.

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

以上、本発明によれば、前記情報処理システムにおいて
、メモリの所定領域に書込まれるデータが変化したこと
を、プロセッサに何等負担を掛けること無く検出し、迅
速にプロセッサに通知可能となる。
As described above, according to the present invention, in the information processing system, it is possible to detect a change in data written in a predetermined area of the memory without imposing any burden on the processor, and to promptly notify the processor.

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

第1図は本発明の原理を示す図、第2図は本発明の一実
施例による情報処理システムを示す図、第3図は第2図
におけるデータ書替検出回路の一例を示す図、第4図は
第3図における各種信号を例示する図、第5図は従来あ
る情報処理システムの一例を示す図である。 図において、lはプロセッサ、2はメモリ、3はキーボ
ード、4はデイスプレィ、5はプロセッサバス、6はデ
ータ書替検出回路、11はオペレーティングシステム、
12はタスク、13はタイマ、21は所定領域、61は
読出データ保持回路、62はデータ比較回路、63−1
乃至63−mはゲート、64はデコーダ、65−1乃至
65−mはラッチ回路、100は保持手段、200は比
較茅 1 に 、とrζ、発日月にJろ11飄5シyqシ又ナム牛 2
 ω し2 牛2[株](こおける作り害警許たあ目外牛 3 口 *3区買;お1する各中東不ζ号 第 4 口
FIG. 1 is a diagram showing the principle of the present invention, FIG. 2 is a diagram showing an information processing system according to an embodiment of the present invention, FIG. 3 is a diagram showing an example of the data rewriting detection circuit in FIG. FIG. 4 is a diagram illustrating various signals in FIG. 3, and FIG. 5 is a diagram illustrating an example of a conventional information processing system. In the figure, l is a processor, 2 is a memory, 3 is a keyboard, 4 is a display, 5 is a processor bus, 6 is a data rewrite detection circuit, 11 is an operating system,
12 is a task, 13 is a timer, 21 is a predetermined area, 61 is a read data holding circuit, 62 is a data comparison circuit, 63-1
63-m to 63-m are gates, 64 is a decoder, 65-1 to 65-m are latch circuits, 100 is a holding means, 200 is a comparison unit, Namu beef 2
ω shi 2 cattle 2 [shares] (Kookeru production damage police, out of stock) 3 units * 3 ward purchases;

Claims (1)

【特許請求の範囲】 プロセッサ(1)からプロセッサバス(5)を介してメ
モリ(2)の所定領域にデータを書込む場合に、書込み
に先立ち前記所定領域から読出される読出データ(d_
r)を保持する保持手段(100)と、 前記読出データ(d_r)が読出された後、前記プロセ
ッサ(1)から前記メモリ(2)に書込まれる書込デー
タ(d_w)と、前記保持手段(100)に保持される
読出データ(d_r)とを比較する比較手段(200)
と、 前記比較手段(200)が前記読出データ(d_r)と
前記書込データ(d_w)との不一致を検出したことを
、前記プロセッサ(1)に通知する通知手段(300)
とを設けることを特徴とするデータ書替検出回路。
[Claims] When data is written from the processor (1) to a predetermined area of the memory (2) via the processor bus (5), read data (d_
r); write data (d_w) written from the processor (1) to the memory (2) after the read data (d_r) is read; and the holding means Comparison means (200) for comparing the read data (d_r) held in (100)
and notification means (300) for notifying the processor (1) that the comparison means (200) has detected a mismatch between the read data (d_r) and the write data (d_w).
A data rewrite detection circuit comprising:
JP63151849A 1988-06-20 1988-06-20 Data rewriting detecting circuit Pending JPH01318132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63151849A JPH01318132A (en) 1988-06-20 1988-06-20 Data rewriting detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63151849A JPH01318132A (en) 1988-06-20 1988-06-20 Data rewriting detecting circuit

Publications (1)

Publication Number Publication Date
JPH01318132A true JPH01318132A (en) 1989-12-22

Family

ID=15527615

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63151849A Pending JPH01318132A (en) 1988-06-20 1988-06-20 Data rewriting detecting circuit

Country Status (1)

Country Link
JP (1) JPH01318132A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53100747A (en) * 1977-02-15 1978-09-02 Toshiba Corp Detection/process method for data state change
JPS62289999A (en) * 1986-06-09 1987-12-16 Toshiba Corp Data writing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53100747A (en) * 1977-02-15 1978-09-02 Toshiba Corp Detection/process method for data state change
JPS62289999A (en) * 1986-06-09 1987-12-16 Toshiba Corp Data writing method

Similar Documents

Publication Publication Date Title
US4949241A (en) Microcomputer system including a master processor and a slave processor synchronized by three control lines
RU2137182C1 (en) Execution of data processing instruction
US5003458A (en) Suspended instruction restart processing system based on a checkpoint microprogram address
US4851992A (en) Register/saving/restoring system for saving and restoring data in a register of a slave processor
GB2281986A (en) Logging program counter on reset.
US5146569A (en) System for storing restart address of microprogram, determining the validity, and using valid restart address to resume execution upon removal of suspension
US4047245A (en) Indirect memory addressing
US5003468A (en) Guest machine execution control system for virutal machine system
US4956770A (en) Method and device to execute two instruction sequences in an order determined in advance
JPS58197553A (en) Program monitor
JPH08137751A (en) Processor device and control method thereof
JPH01318132A (en) Data rewriting detecting circuit
JP3628265B2 (en) Multiprocessor system unit
KR960014825B1 (en) Information processing system
US7818549B2 (en) Event driven digital signal processor with time constraints
JPS58169264A (en) Memory access system
JPS62115553A (en) Invalidating system for buffer storage
JP2684966B2 (en) I/O processor debug unit
JP3094516B2 (en) Retry method of information processing device
JPS63132362A (en) Command operation control system
JPS6325732A (en) Microprogram controller
JPH01147640A (en) Multi-programming debug device
JPH0258648B2 (en)
JPS62248043A (en) Memory switching circuit for fetching microcomputer instruction
JPH02120938A (en) Data processing method