JPS6121546A - Error detecting system of common memory - Google Patents

Error detecting system of common memory

Info

Publication number
JPS6121546A
JPS6121546A JP59140610A JP14061084A JPS6121546A JP S6121546 A JPS6121546 A JP S6121546A JP 59140610 A JP59140610 A JP 59140610A JP 14061084 A JP14061084 A JP 14061084A JP S6121546 A JPS6121546 A JP S6121546A
Authority
JP
Japan
Prior art keywords
output
signal
memory
detection section
common
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
JP59140610A
Other languages
Japanese (ja)
Inventor
Hiroaki Futami
二見 宏明
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP59140610A priority Critical patent/JPS6121546A/en
Publication of JPS6121546A publication Critical patent/JPS6121546A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain ease of failure retrieval even if the number of sets is increased by detecting the rising and falling of a memory request signal and obtaining a signal representing whether or not a predetermined time is satisfied to detect a fault at write. CONSTITUTION:A memory request signal is given to an input (a) and inputted to a rising differentiation detection section 9 and a falling differentation detection section 11. An output signal (b) of the detection section 9 becomes a start signal of a counter 10 and when it is inputted, an output (d) of the counter 10 goes to logical 1 for a write/read required minimum time Tmin. Further, the output (d) and an output (c) of the detection section 11 are inputted to an AND element 12, given to a latch circuit 13 as an output (e) and an output (f) of the circuit 13 becomes a fault device number code sample signal of a fault device number storage section 14. Further, this fault device number is displayed on a display device 15. Thus, a fault at the write is detected.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は共通バスを介して、複数の装置がアクセスする
共通メモリのエラー検出に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to error detection of a common memory accessed by a plurality of devices via a common bus.

(従来の技術) 従来、共通・ぐスを介して複数の装置がアクセス可能な
共通/モリは一般に第2図の様な構成で用いられている
。共通メモリ1は共通バス2を介して装置6−1〜6−
nに接続されており、共通メモリ1に対するアクセスは
バス制御部3に対して各装置がバス使用要求信号4を送
出し、バス使用許可信号5を受は取った装置がアクセス
可能となる。
(Prior Art) Conventionally, a common memory that can be accessed by a plurality of devices via a common memory has generally been used in a configuration as shown in FIG. The common memory 1 is connected to the devices 6-1 to 6- via the common bus 2.
In order to access the common memory 1, each device sends a bus use request signal 4 to the bus control section 3, and the device that receives or accepts the bus use permission signal 5 can access the common memory 1.

共通バス2には、共通メモリ1をアクセスするのに必要
な信号線はすべて含まれている。(例ニアドレス、デー
タ等)装置6−1〜6−nは通常プロセッサやDMA装
置が考えられる。が共通メモリをアクセスするものであ
ればこれに限定されるものでない。第3図は、ある装置
が共通メモリ1をアクセスした場合の動作タイムチャー
トを示す。第3図のメモリリクエスト信号3は共通メモ
リ1に対する起動信号でsbこの信号の立上シで共通メ
モリ1内の図示せぬ制御回路が起動され、この信号の論
理1の間に装置へのデータの書込み、あるいは装置から
のデータの読出し動作を行ない、共通°メモリ1からの
メモリアクセスエンド信号4を受0として1つのメモリ
サイクルが終結する。なお第3図(1) 、 <2)は
前記バス使用要求信号、バス使用許可信号であシメモリ
リクエスト信号3送出前に・バス使用要求を行い、バス
使用許可が与えられていることを示している。
The common bus 2 includes all signal lines necessary to access the common memory 1. (For example, near address, data, etc.) The devices 6-1 to 6-n are usually considered to be processors or DMA devices. is not limited to this, as long as it accesses the common memory. FIG. 3 shows an operation time chart when a certain device accesses the common memory 1. The memory request signal 3 in FIG. 3 is an activation signal for the common memory 1. When this signal rises, a control circuit (not shown) in the common memory 1 is activated, and while this signal is at logic 1, data is sent to the device. Writing or reading data from the device is performed, and the memory access end signal 4 from the common memory 1 is received as 0, thereby completing one memory cycle. Note that (1) and <2) in FIG. 3 are the bus use request signal and bus use permission signal, and indicate that a bus use request is made and bus use permission is granted before sending the memory request signal 3. ing.

また、メモリリクエスト信号3は、共通メモリ1に対す
る共通バス2内のアクセス((必要な信号線の有効信号
としても用いられておりメモリリクエスト信号3が論理
0となるとその信号線も無効となる。
The memory request signal 3 is also used as a valid signal for a necessary signal line to access the common memory 1 within the common bus 2, and when the memory request signal 3 becomes logic 0, that signal line also becomes invalid.

(発明が解決しようとする問題) このような構成においてメモリリクエスト信号3が論理
1である時間Toは、共通メモリ1内の図示せぬメモリ
素子にデータを書込んだシ、読出したシする必要最小時
間をTmjnとすると、メモリ素子のデータを保証する
には少くとも下記(1)式の関係を満足していなければ
ならない。
(Problem to be Solved by the Invention) In such a configuration, the time To when the memory request signal 3 is logic 1 is the time To when data is written or read from a memory element (not shown) in the common memory 1. Assuming that the minimum time is Tmjn, at least the following equation (1) must be satisfied in order to guarantee the data in the memory element.

To≧Tmjn  ・・・・・・・・(1)しかし第4
図で示す様に共通メモリ1のアクセス元の装置に障害が
発生し下記(2)式の関係の11時間で Tl<Trrlin・・・・・・・・(2)メモリリク
エスト信号3が終結した場合、あるいは第5図の様に、
バス制御部3に障害が発生しバス使用許可信号5が中断
し下記(3)式の関係の12時間で T2(Tmin・・・・・・・・・(3)メモリリクエ
スト信号3が終結した場合いずれもメモリリクエスト信
号3がTm1nよシ小さい為この時にメモリ素子に書込
まれたデータの保証がない°。
To≧Tmjn ・・・・・・・・・(1) However, the fourth
As shown in the figure, a failure occurred in the device accessing common memory 1, and Tl<Trrlin (2) Memory request signal 3 was terminated at 11 hours according to the relationship shown in equation (2) below. Or, as shown in Figure 5,
A failure occurred in the bus control unit 3, the bus use permission signal 5 was interrupted, and the memory request signal 3 was terminated at T2 (Tmin......(3)) in 12 hours according to the relationship shown in equation (3) below. In either case, since the memory request signal 3 is smaller than Tm1n, there is no guarantee of the data written to the memory element at this time.

また、読出しの場合でも読出しデータの保償される以前
にメモリサイクルが終結している。
Furthermore, even in the case of reading, the memory cycle ends before the read data is guaranteed.

この様な場合データの正当性をチェックする手段として
従来よシ冗長ビットを付加してデータを記憶し読み出し
時にこれを検査し誤シを検出するパリティチェック方式 あるいはハミングの符号系を用いたErrorChec
king and CorrecNon (以下ECC
と略す)75式がある。しかしこれらの方式は−ずれも
データのエラーの検出が読み出し時であるので、書込み
時の障害がその番地を読み出すまで発見されず障害の早
期発見が困難であった。
In such cases, as a means to check the validity of data, conventional methods include a parity check method that adds redundant bits to the data and checks it when reading out to detect errors, or ErrorCheck using a Hamming code system.
king and CorrecNon (hereinafter referred to as ECC
There is a Type 75 (abbreviated as ). However, in all of these methods, errors in data are detected at the time of reading, so failures during writing are not discovered until the address is read, making early detection of failures difficult.

また、複数の装置が共通メモリ1をアクセスするという
共通メモリの性格上、メモリ上の同一番地に対してデー
タを書込んだ装置とこれを読み出した装置が異なる場合
も多く、時間的にも経過した後なので複数の装置から障
害装置を探索するのが困難であるという欠点があった。
Furthermore, due to the nature of the common memory in which multiple devices access the common memory 1, the device that wrote data to the same location on the memory is often different from the device that read it, and the time lapse also occurs. The problem is that it is difficult to search for a faulty device among multiple devices.

この発明の目的は、共通メモリに対してアクセスした際
に発生した異常メモリサイクルを検出し、障害の原因と
なった装置の探索を容易とする共通メモリエラー検出方
式を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a common memory error detection method that detects an abnormal memory cycle that occurs when accessing a common memory and facilitates a search for a device that causes a failure.

(問題点を解決するだめの手段) この発明の要点は、共通メモリ上にメモリアクセス時間
がメモリ内容を保証できない様な短い場合を検出する検
出回路を設け、この検出信号でバス制御部から出力され
るバス使用許可信号をランチする障害装置番号記憶部と
この記憶部の内容を表示する表示装置を設けたことにあ
る。
(Another means to solve the problem) The main point of this invention is to provide a detection circuit on the common memory to detect when the memory access time is so short that the memory contents cannot be guaranteed, and to output this detection signal from the bus control unit. The present invention is provided with a faulty device number storage section for launching a bus use permission signal and a display device for displaying the contents of this storage section.

(作用) 本発明は以上の構成によってメモIJ IJクエスト信
号の立上シ、立下シの検出を行ってあらかじめ定めた時
間を満しているか否かの信号を得、データ誤シの原因と
なるメモリサイクルの異常を検出するとともにこの時の
アクセス装置の把握が行えるもので、これによって、前
記問題点を除去出来るのである。
(Function) With the above configuration, the present invention detects the rise and fall of the memo IJ IJ quest signal to obtain a signal indicating whether or not a predetermined time has been met, and to eliminate the cause of data errors. It is possible to detect an abnormality in a memory cycle and to understand the access device at the time, thereby eliminating the above-mentioned problem.

(実施例) 第1図は本発明による実施例を示すブロック図であり、
図中、前記第2図と同一番号のものは同一のものである
(Embodiment) FIG. 1 is a block diagram showing an embodiment according to the present invention,
In the figure, the same numbers as those in FIG. 2 are the same.

これに共通メモリ1内にエラー検出部7とバス制御部3
よシ現在共通バス2を使用している装置番号すなわち装
置6−1なら1装置6−2なら2装置6−nならnとい
う番号をエンコードした共通バス使用装置番号コード信
号8がエラー検出部7に接続されている。共通バス使用
装置番号コード信号8は本数をmとし装置台数をnとす
ると2m≧n ・・・・・・・・・(4) の関係がある。
In addition, an error detection section 7 and a bus control section 3 are stored in the common memory 1.
Error detection unit 7 outputs the common bus use device number code signal 8 which encodes the device number currently using the common bus 2, that is, 1 for device 6-1, 2 for device 6-2, 2 for device 6-n, and 2 for device 6-n. It is connected to the. When the number of common bus-using device number code signals 8 is m and the number of devices is n, there is a relationship as follows: 2m≧n (4).

第6図はエラー検出部7の詳細ブロック図であシ入力a
にメモリリクエスト信号が接続され、立上シ微分検出部
9立下シ微分検出部11に入力されている。立上り微分
検出部9の出力すはカウンタ10のスタート信号となシ
、これが入力されるとTmln間カウンタ10の出力d
が論理1となる。
FIG. 6 is a detailed block diagram of the error detection section 7.
A memory request signal is connected to the rising edge differential detection section 9 and the falling edge differential detection section 11 . The output of the rising differential detection section 9 is the start signal of the counter 10, and when this is input, the output d of the counter 10 between Tmln
becomes logic 1.

さらに出力dは、立下シ微分検出部11の出力CとAN
D素子12に入力され出力eとなってラッチ回路13に
接続され出力fが障害装置番号記憶部14の障害装置番
号コードサンプル信号となっている。さらに障害装置番
号は表示装置15に表示される。
Furthermore, the output d is the output C of the falling edge differential detection section 11 and the AN
The signal is input to the D element 12 and becomes the output e, which is connected to the latch circuit 13, and the output f becomes the failed device number code sample signal of the failed device number storage section 14. Furthermore, the faulty device number is displayed on the display device 15.

第7図はエラー検出部7の動作を示すタイムチャートで
あシ図中の(a)〜(g)は第6図の同一の名称のタイ
ミングを示している。入力aに第4図と同様にアクセス
元に障害が発生したことによりT1時間後(T 1 (
Tm1n)にサイクルが中断した場合を考える。出力す
に立上り微分が出力されカウンタ10を起動する。出力
dには、スタート信号入力後Tm1n期間論理1が出力
される。出力dが論理1の間に立下シ微分検出部11に
て立下りを検出すると出力Cに出力されAND素子12
にて論理積がとられる。この出力eをラッチ回路13’
C入力し障害の原因である1回目のエラー検出だンブを
有効とする様にラッチ回路13にて出力fを論理1に保
持する。障害装置番号記憶部14は出力fの立上シ時に
共通メモリ1をアクセスしていた装置番号を記憶するの
でそれ以後発生したエラーについてはラッチ回路13で
無視され記憶されず1回目のエラーが書換えられずに保
持される。さらに記憶された装置番号は表示装置15に
て表示される。
FIG. 7 is a time chart showing the operation of the error detection section 7, and (a) to (g) in the diagram show timings with the same names as in FIG. Similar to Fig. 4, a failure occurred in the access source of input a, so that after T1 time (T1 (
Consider the case where the cycle is interrupted at Tm1n). The rising differential is output to the output and starts the counter 10. A logic 1 is output to the output d for a period Tm1n after the start signal is input. When the differential detection section 11 detects a falling edge while the output d is at logic 1, it is output to the output C and the AND element 12
The logical AND is performed. This output e is transferred to the latch circuit 13'
The latch circuit 13 holds the output f at logic 1 so as to enable the first error detection block which is the cause of the failure. Since the faulty device number storage unit 14 stores the device number that was accessing the common memory 1 when the output f was turned on, subsequent errors are ignored by the latch circuit 13 and are not stored, but the first error is rewritten. It is retained without being retained. Furthermore, the stored device number is displayed on the display device 15.

なお、第6図はあくまでも本発明の一実施例に過ぎず共
通メモリをアクセスする際のメモリサイクルがデータを
保償されるだけのTm1n以下になったことを検出でき
るものであればどのようなものでもかまわない。また、
上記保証時間が満たされない時に共通バスの使用権を得
ている装置番号を知る為の共通バス使用装置雷害コード
信号8のかわシにバス制御部43よシ各装置6−!〜6
−nの個別に接続されているバス使用許可信号5でもよ
い。
Note that FIG. 6 is just one embodiment of the present invention, and any device that can detect that the memory cycle when accessing the common memory has fallen below Tm1n, which is sufficient to guarantee data, may be used. It doesn't matter if it's something. Also,
In order to know the device number that has obtained the right to use the common bus when the above guarantee time is not met, the device 6-! ~6
-n individually connected bus use permission signals 5 may also be used.

バス使用許可信号5は従来より存在している信号線であ
り、第6図のエラー検出部z内にバス使用許可信号5を
エンコードして共通バス使用装置番号コード信号を得る
ことのできるエンコーダを設けることにより第1の実施
例と同様の効果があシさらにエラー検出部7とバス制御
部3と間の信号線を減らす効果がある。
The bus use permission signal 5 is a conventional signal line, and an encoder capable of encoding the bus use permission signal 5 to obtain a common bus use device number code signal is installed in the error detection section z shown in FIG. By providing this, the same effects as in the first embodiment can be achieved, and the number of signal lines between the error detection section 7 and the bus control section 3 can be reduced.

さらにエラー検出した際、障害装置番号記憶部14にて
記憶した障害装置にエラーの検出を割込等で通知する事
によシ通知された装置はただちにエラー発生認識し他に
障害発生の波及を押さえる為に動作を停止するなどの対
応措置を取ることが可能となる効果もある。
Furthermore, when an error is detected, the faulty device stored in the faulty device number storage unit 14 is notified of the detection of the error by an interrupt or the like, so that the device that is notified immediately recognizes the occurrence of the error and prevents the spread of the fault to other devices. It also has the effect of making it possible to take countermeasures such as stopping the operation in order to suppress the situation.

(発明の効果) この発明は以上説明したように共通メモリに対して後に
データ誤りの原因となるメモリサイクルの異常を検出す
る回路とこの時にアクセスしている装置番号を記憶する
配憶回路を設けたことにより従来の・やりティチェック
方式やECC方式で発見することが出来なかった書込み
時の障害を検出でき、さらにアクセス元の装置がわかる
為、装置台数が多くなっても障害探索が容易に行なえる
のでその効果は犬である。
(Effects of the Invention) As explained above, the present invention provides a common memory with a circuit for detecting an abnormality in the memory cycle that later causes a data error and a storage circuit for storing the device number being accessed at this time. As a result, it is possible to detect failures during writing that could not be discovered using the conventional Yariti check method or ECC method.Furthermore, since the device from which the access is made can be known, it is easy to search for failures even when the number of devices increases. The effect is dog because it can be done.

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

第1図は本発明に係るシステム構成図、第2図は従来の
システム構成図、第3図は第2図においてメモリサイク
ルが正常終了したときのタイムチャート図、第4図、第
5図は各々第′2図においてメモリサイクルが異常終了
したときのタイムチャート図、第6図は本発明に係るエ
ラー検出部の概略ブロック図、第7図は第6図エラー検
出部のタイムチャート図である。 1・・・共通メモリ、2・・・共通バス、3・・・・ぐ
ス制御部、4・・・バス使用要求信号、5・・・・々ス
タート信号、7・・・エラー検出部、8・・・共通バス
使用装置番号コード信号、9・・・立上シ微分検出部、
1o・・・カウンタ、11・・・立下シ微分検出部、1
2・・・AND素子、ノ3・・・ラッチ回路、14・・
・障害装置番号記憶部、15・・・表示装置 特許出願人 沖電気工業株式会社 第3図 第4図 第5図 +4)ノtリア7ヤスエン1゛イ誘−11−一−−−−
−−−−−−−−−−第6図
Fig. 1 is a system configuration diagram according to the present invention, Fig. 2 is a conventional system configuration diagram, Fig. 3 is a time chart diagram when the memory cycle normally ends in Fig. 2, and Figs. 4 and 5 are Fig. 2 is a time chart when a memory cycle terminates abnormally, Fig. 6 is a schematic block diagram of an error detection section according to the present invention, and Fig. 7 is a time chart of the error detection section shown in Fig. 6. . DESCRIPTION OF SYMBOLS 1... Common memory, 2... Common bus, 3... Bus control unit, 4... Bus use request signal, 5... Start signal, 7... Error detection unit, 8... Common bus usage device number code signal, 9... Start-up differential detection section,
1o...Counter, 11...Fall differential detection section, 1
2...AND element, 3...Latch circuit, 14...
- Faulty device number storage unit, 15... Display device patent applicant Oki Electric Industry Co., Ltd.
−−−−−−−−−−Fig. 6

Claims (1)

【特許請求の範囲】[Claims] 共通バスを介して複数の装置がアクセスする共通メモリ
のエラー検出方式において、共通メモリへのデータ書込
みまたは共通メモリからのデータ読込み要求を指示する
メモリリクエスト信号が保証時間を満たしていないこと
を検出する検出手段と、上記保証時間が満たされないと
きに共通バスの使用権を得ている装置番号を記憶する記
憶手段と、表示手段とを有し、共通メモリへのアクセス
中に上記保証時間が満たされていないことを検出すると
そのとき共通バスの使用権を得ていた装置を表示手段に
て認識できるようにしたことを特徴とする共通メモリの
エラー検出方式。
In an error detection method for a common memory that is accessed by multiple devices via a common bus, it is detected that a memory request signal that instructs a request to write data to or read data from the common memory does not meet the guaranteed time. The device has a detecting means, a storage means for storing a device number that has obtained the right to use the common bus when the guaranteed time is not satisfied, and a display means, and the device includes a detecting means, a storage means for storing a device number that has obtained the right to use the common bus when the guaranteed time is not satisfied, and a display means. A common memory error detection method is characterized in that when it is detected that the common bus is not being used, the device that has obtained the right to use the common bus at that time can be recognized by display means.
JP59140610A 1984-07-09 1984-07-09 Error detecting system of common memory Pending JPS6121546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59140610A JPS6121546A (en) 1984-07-09 1984-07-09 Error detecting system of common memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59140610A JPS6121546A (en) 1984-07-09 1984-07-09 Error detecting system of common memory

Publications (1)

Publication Number Publication Date
JPS6121546A true JPS6121546A (en) 1986-01-30

Family

ID=15272708

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59140610A Pending JPS6121546A (en) 1984-07-09 1984-07-09 Error detecting system of common memory

Country Status (1)

Country Link
JP (1) JPS6121546A (en)

Similar Documents

Publication Publication Date Title
EP0032957B1 (en) Information processing system for error processing, and error processing method
US3735105A (en) Error correcting system and method for monolithic memories
US3576982A (en) Error tolerant read-only storage system
US6195770B1 (en) Data storage system
US4942575A (en) Error connection device for parity protected memory systems
US6950907B2 (en) Enhanced protection for memory modification tracking with redundant dirty indicators
EP0709782A2 (en) Error detection system for mirrored memory between dual disk storage controllers
JPS6391764A (en) Memory system having parity checking function
US6785777B2 (en) Control logic for memory modification tracking with hierarchical dirty indicators
JPS6121546A (en) Error detecting system of common memory
JPH0316655B2 (en)
JP2513615B2 (en) Storage device with ECC circuit
JP3311776B2 (en) Data transfer check method in disk subsystem
JPH06110721A (en) Memory controller
JP3106448B2 (en) Processor unit
JPH0117181B2 (en)
KR100538486B1 (en) Error detecting circuit for storing data in system memory
JPH05324487A (en) Memory control system
JPH01156834A (en) Diagnosing system for check circuit
JPH05225070A (en) Memory device
KR950015087A (en) Memory Diagnostic Device and Method
JPS63177240A (en) Control system for memory diagnosis
JPH0367346A (en) Address control circuit
JPS6310378A (en) Peripheral memory device
JPS60110047A (en) Error correction system