JPH02285444A - Storage - Google Patents
StorageInfo
- Publication number
- JPH02285444A JPH02285444A JP1105867A JP10586789A JPH02285444A JP H02285444 A JPH02285444 A JP H02285444A JP 1105867 A JP1105867 A JP 1105867A JP 10586789 A JP10586789 A JP 10586789A JP H02285444 A JPH02285444 A JP H02285444A
- Authority
- JP
- Japan
- Prior art keywords
- data
- register
- correction
- fault
- 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
Links
- 238000001514 detection method Methods 0.000 claims abstract description 18
- 230000008439 repair process Effects 0.000 description 4
- 238000011084 recovery Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- LKAPTZKZHMOIRE-KVTDHHQDSA-N (2s,3s,4s,5r)-3,4-dihydroxy-5-(hydroxymethyl)oxolane-2-carbaldehyde Chemical compound OC[C@H]1O[C@H](C=O)[C@@H](O)[C@@H]1O LKAPTZKZHMOIRE-KVTDHHQDSA-N 0.000 description 1
- 206010011224 Cough Diseases 0.000 description 1
- LKAPTZKZHMOIRE-UHFFFAOYSA-N chitose Natural products OCC1OC(C=O)C(O)C1O LKAPTZKZHMOIRE-UHFFFAOYSA-N 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は記憶装置の障害判別技術に関し、特にその記憶
手段の障害が固定であるか2間欠であるかを判定して間
欠の場合は正しい状態に書戻す機能を持つ記憶装置に関
するものである。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a technology for determining faults in storage devices, and in particular, it is determined whether the fault in the storage means is fixed or intermittent, and if the fault is intermittent, it is determined that the fault is correct. The present invention relates to a storage device that has a function of writing back the state.
従来、この種の記憶装置は、データにエラー訂正検出コ
ードを付加して記憶手段に書込み、該記憶手段から読み
出されたデータをエラー訂正検出手段に入力することに
より、もし読出しデータに訂正可能な障害があったな゛
らばデータを訂正して出力するようになっていた。Conventionally, this type of storage device adds an error correction detection code to data and writes it in a storage means, and inputs the data read from the storage means to an error correction detection means, thereby detecting whether the read data can be corrected. If there was a problem, the data would be corrected and output.
上述した従来の記憶装置は、読出しデータに訂正可能な
障害があってもエラー訂正を実行し、正しいデータを出
力するようになっているが、記憶手段に書込まれたデー
タ自体に障害が6っても訂正されずに残るため、該当ア
ドレスを再度読出してもそのアドレスに書込みがなけれ
ば再びエラーを検出し訂正が行なわれる。このように、
−度障害が発生し、読出し動作はかシが行なわれると、
障害箇所を読出すたびにエラー訂正を行ない正しいデー
タが出力される。しかし、記憶手段に対し読出し動作ば
かシが長時間続くと、その間に同じデータの他の部分に
も障害が発生すると、訂正不可能な障害になってしまう
という問題があった。The conventional storage device described above performs error correction and outputs correct data even if there is a correctable fault in the read data, but if there is a fault in the data itself written to the storage means. Even if the address is read out again, if there is no writing to that address, the error will be detected again and correction will be performed. in this way,
- If a failure occurs and the read operation is repeated,
Every time a faulty location is read, error correction is performed and correct data is output. However, if the read operation continues for a long time on the storage means, there is a problem that if a fault occurs in other parts of the same data during that time, the fault will become uncorrectable.
このような問題点を解決するため、本発明の記憶装置は
、データを記憶する記憶手段と、咳記憶手段の読出しデ
ータに対し接続されたエラー検出訂正手段と、プロセッ
サからの書込みデータと前記エラー検出訂正手段の出力
とを選択する第1の選択手段と、前記記憶手段にアドレ
スを出力する第1のレジスタ手段と、該第1のレジスタ
手段に接続され、前記エラー検出訂正手段の出力によシ
制御される第2のレジスタ手段と、プロセッサからのア
ドレス情報と前記第2のレジスタ手段の出力とを切替え
る第2の選択手段と、前記エラー検出訂正手段の訂正表
示出力を保持する第3のレジスタ手段と、前記6第1の
選択手段と第2の選択手段および第3のレジスタ手段を
制御する制御手段を有するものである。In order to solve such problems, the storage device of the present invention includes a storage means for storing data, an error detection and correction means connected to the read data of the cough storage means, and a storage device for storing the data written from the processor and the error detection means. first selection means for selecting the output of the error detection and correction means; first register means for outputting an address to the storage means; a second register means that is controlled by the processor, a second selection means that switches between the address information from the processor and the output of the second register means, and a third selection means that holds the correction display output of the error detection and correction means. The device has register means, and control means for controlling the six first selection means, second selection means, and third register means.
し九がって、本発明によれば、記憶手段からの読出しデ
ータに訂正可能な障害があった場合、そのデータが間欠
であるか固定であるかを判定して、間欠障害の場合には
正しいデータに書き直すことができる。Therefore, according to the present invention, when there is a correctable failure in the data read from the storage means, it is determined whether the data is intermittent or fixed, and in the case of an intermittent failure, the You can rewrite the data to be correct.
以下、本発明について図面を参照して説明する。 Hereinafter, the present invention will be explained with reference to the drawings.
図は本発明による記憶装置の一実施例を示す機能ブロッ
ク図である。同図において、1はデータを記憶する記憶
手段でアシ、この記憶手段1は第1の選択手段3の出力
と第1のレジスタ手段5の出力が接続され、該記憶手段
1からの読出しデータがエラー検出訂正手段2に接続さ
れている。このエラー検出訂正手段2の出力は第1の選
択手段3に接続され、また別の出力は第2のレジスタ手
段6と第3のレジスタ手段7に接続されている。The figure is a functional block diagram showing an embodiment of a storage device according to the present invention. In the figure, reference numeral 1 denotes a storage means for storing data, and this storage means 1 is connected to the output of the first selection means 3 and the output of the first register means 5, and the read data from the storage means 1 is connected to the output of the first selection means 3 and the output of the first register means 5. It is connected to the error detection and correction means 2. An output of this error detection and correction means 2 is connected to a first selection means 3, and another output is connected to a second register means 6 and a third register means 7.
さらK、第20選択手段4は第2のレジスタ手段6の出
力、アドレス信号11および制御手段8の出力がそれぞ
れ接続され、その選択された出力が第1のレジスタ手段
5に接続されている。また、この第1のレジスタ手段5
は記憶手段1以外に第2のレジスタ手段6にも接続され
、制御手段8の出力は第1の選択手段3.第2の選択手
段4および第3のレジスタ手段Tに接続されている。Further, the twentieth selection means 4 is connected to the output of the second register means 6, the address signal 11 and the output of the control means 8, respectively, and the selected output thereof is connected to the first register means 5. Further, this first register means 5
are connected to the second register means 6 in addition to the storage means 1, and the output of the control means 8 is connected to the first selection means 3. It is connected to the second selection means 4 and the third register means T.
次に上記実施例構成の動作を説明する。Next, the operation of the configuration of the above embodiment will be explained.
まず、書込み動作の場合、プロセッサ(図示せず)から
送出される書込みデータに訂正符号ビットを付加した書
込みデータ10とアドレス信号11が、それぞれ第1の
選択手段3.第2の選択手段4の出力として出力される
と、このアドレス情報拡第1のレジスタ手段5で保持さ
れたうえ、記憶手段1に入力されて該当アドレスに第1
の選択千歳3の内容が書込まれる。First, in the case of a write operation, write data 10, which is write data sent from a processor (not shown) with a correction code bit added thereto, and an address signal 11 are sent to the first selection means 3. When outputted as the output of the second selection means 4, this address information expansion is held in the first register means 5, and is also input to the storage means 1 and the first
The contents of the selection Chitose 3 are written.
また、読出し動作の場合、上記プロセッサからアドレス
信号11が送出され、第2の選択手段4を経て記憶手段
1に入力されると、この記憶手段1から該当アドレスの
情報が読出され、エラー検出訂正手R2に入力される。In the case of a read operation, when the address signal 11 is sent from the processor and inputted to the storage means 1 via the second selection means 4, the information of the corresponding address is read from the storage means 1, and error detection and correction is performed. It is input to hand R2.
ここで、エラー検出訂正手段2は、記憶手段1からの読
出しデータの障害の有無をチエツクし、もし訂正可能な
障害ならば訂正を行ない、プロセッサに訂正済読出しデ
ータ13を出力する。このとき、訂正したことを示す訂
正表示信号14を出力する。この訂正表示信号14は第
2のレジスタ手段6に入力され、第1のレジスタ手段5
の出力を第2のレジスタ手段6にセットする。す造わち
、第2のレジスタ手段6にはエラー訂正を実行したアド
レス情報が保持される。また、訂正表示信号14は診断
プロセッサ(図示せず)に送られる。この診断プロセッ
サは、訂正表示信号14を受けて制御信号12を出力す
ると、この制御信号12が入力された制御手段8では第
2の選択手段4に信号を出力するので、第2の選択手段
4は第2のレジスタ手段6の内容を出力する。そのため
、この第2のレジスタ手段6の内容が第1のレジスタ手
段5に保持される。Here, the error detection and correction means 2 checks whether or not there is a fault in the read data from the storage means 1, and if the fault is correctable, it is corrected and outputs corrected read data 13 to the processor. At this time, a correction display signal 14 indicating that the correction has been made is output. This correction display signal 14 is input to the second register means 6, and the first register means 5
The output of is set in the second register means 6. That is, the second register means 6 holds address information for which error correction has been performed. The correction indication signal 14 is also sent to a diagnostic processor (not shown). When this diagnostic processor receives the correction display signal 14 and outputs the control signal 12, the control means 8 to which this control signal 12 is input outputs the signal to the second selection means 4. outputs the contents of the second register means 6. Therefore, the contents of this second register means 6 are held in the first register means 5.
したがって、記憶手段1からは訂正可能障害が再び読出
されるとともに、エラー検出訂正手段2よシ訂正済読出
しデータ13が出力され、第1の選択手段3に入力され
る。すると、制御手段8からの制御信号によシ第1の選
択手段3は、訂正済読出しデータ13と同じ内容が出力
されて記憶手段1に入力される。ここで書込みを実行す
ると、記憶手段1には訂正済読出しデータが書込まれる
。Therefore, the correctable fault is read out again from the storage means 1, and the corrected read data 13 is outputted from the error detection and correction means 2 and input to the first selection means 3. Then, in response to a control signal from the control means 8, the first selection means 3 outputs the same content as the corrected read data 13 and inputs it into the storage means 1. When writing is executed here, the corrected read data is written into the storage means 1.
ここで再度読出しを実行すると、訂正済データが書込ま
れていればエラー検出訂正手段2の出力である訂正表示
信号14が出力されないので、障害の復旧が成功したこ
とがわかる。逆に訂正表示信号14が出力されれば、障
害の復旧が不成功だったことがわかる。この訂正表示信
号は第3のレジスタ手段γに入力され、制御手段8によ
ってセットされる。したがって、第3のレジスタ手段γ
の出力でるる間欠/固定判定信号15が「1」ならば、
障害復旧が不成功すなわち固定障害であることがわかる
。それ故に、記憶手段1に発生した訂正可能障害がすみ
やかに修理する必要があるのか、それともそのまま使用
を継続しても問題がないのか容易にわかるとともに、障
害の復旧に成功した場合は、何の修理も不要となる。If reading is executed again here, if the corrected data has been written, the correction display signal 14, which is the output of the error detection and correction means 2, will not be output, so that it can be seen that the recovery from the failure has been successful. On the other hand, if the correction display signal 14 is output, it can be seen that the failure recovery was unsuccessful. This correction display signal is input to the third register means γ and is set by the control means 8. Therefore, the third register means γ
If the intermittent/fixed judgment signal 15 output from is "1",
It can be seen that the failure recovery was unsuccessful, that is, the failure was fixed. Therefore, it is easy to see whether a correctable failure that has occurred in the storage means 1 requires immediate repair or whether there is no problem in continuing to use it, and if the failure is successfully recovered, what will happen? No repairs are required.
以上説明したように本発明は、記憶手段に訂正可能な障
害が発生した場合、読出した訂正済データを再度記憶手
段に書込むことによシ、間欠障害ならば障害を復旧させ
ることができ、また、修理を不要とすることができると
ともに、固定障害ならばすみやかに修理もしくは切離し
を行なう必要があることを知ることができる効果がある
。As explained above, in the present invention, when a correctable failure occurs in the storage means, the failure can be recovered by rewriting the read corrected data to the storage means, if it is an intermittent failure, In addition, it is possible to eliminate the need for repair, and it is also possible to know that if there is a fixed failure, it is necessary to promptly repair or disconnect it.
図は本発明の記憶装置の一実施例を示す機能ブロック図
である。
1−Φ・−記憶手段、2・・・・エラー検出訂正手段、
3・・・・$1の選択手段、4拳・・・第2の選択手段
、5・・・・第1のレジスタ手段、6・・・・第2のレ
ジスタ手段、7φ・・・第3のレジスタ手段、8・ee
・制御手段、10−・轡・書込みデータ、11@・−曽
アドレス信号、12・・・−制御信号、13・・−e訂
正済読出しデータ、1411訂正表示信号、151−・
間欠/固定判定信号。The figure is a functional block diagram showing an embodiment of the storage device of the present invention. 1-Φ - storage means, 2... error detection and correction means,
3...$1 selection means, 4 fist...second selection means, 5...first register means, 6...second register means, 7φ...third register means, 8・ee
-Control means, 10--Write data, 11@-So address signal, 12...-Control signal, 13...-e Corrected read data, 1411 Correction display signal, 151--
Intermittent/fixed judgment signal.
Claims (1)
憶手段の読出しデータに対し接続されたエラー検出訂正
手段と、プロセッサからの書込みデータと前記エラー検
出訂正手段の出力とを選択する第1の選択手段と、前記
記憶手段にアドレスを出力する第1のレジスタ手段と、
該第1のレジスタ手段に接続され、前記エラー検出訂正
手段の出力により制御される第2のレジスタ手段と、プ
ロセッサからのアドレス情報と前記第2のレジスタ手段
の出力とを切替える第2の選択手段と、前記エラー検出
訂正手段の訂正表示出力を保持する第3のレジスタ手段
と、前記各第1の選択手段と第2の選択手段および第3
のレジスタ手段を制御する制御手段を有し、前記記憶手
段からの読出しデータに訂正可能な障害がある場合、そ
のデータが間欠であるか固定であるかを判定して、間欠
障害のときに正しいデータに書き直すようにしたことを
特徴とする記憶装置。In a storage device, a first selection for selecting a storage means for storing data, an error detection and correction means connected to read data from the storage means, write data from a processor, and an output of the error detection and correction means. means; first register means for outputting an address to the storage means;
a second register means connected to the first register means and controlled by the output of the error detection and correction means; and a second selection means for switching between address information from the processor and the output of the second register means. and a third register means for holding the correction display output of the error detection and correction means, and each of the first selection means, the second selection means and the third register means.
control means for controlling the register means of the storage means, and when there is a correctable fault in the data read from the storage means, determines whether the data is intermittent or fixed, and determines whether the data is correct in the case of an intermittent fault. A storage device characterized by being rewritten as data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1105867A JPH02285444A (en) | 1989-04-27 | 1989-04-27 | Storage |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1105867A JPH02285444A (en) | 1989-04-27 | 1989-04-27 | Storage |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02285444A true JPH02285444A (en) | 1990-11-22 |
Family
ID=14418910
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1105867A Pending JPH02285444A (en) | 1989-04-27 | 1989-04-27 | Storage |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02285444A (en) |
-
1989
- 1989-04-27 JP JP1105867A patent/JPH02285444A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101147135A (en) | Memory error address management with firmware | |
| JPH02285444A (en) | Storage | |
| JPH03126146A (en) | Storage device | |
| JP3190867B2 (en) | Apparatus and method for detecting memory rewrite operation error | |
| JPH05225077A (en) | Hard error detection system for memory control circuit holding ecc | |
| JPH04239923A (en) | Error recovery system for soft visible register | |
| JPH05173899A (en) | Information processor | |
| JPH1125005A (en) | Method for controlling memory | |
| JPH04115340A (en) | Duplex storage circuit | |
| JPH0520215A (en) | Information processor | |
| KR100284044B1 (en) | Abnormal operation recovery method of functional devices with relation | |
| JPH04153754A (en) | Storage control system | |
| JP2601038B2 (en) | Microprogram error detection / correction device | |
| JPH0667989A (en) | Patrol circuit for memory | |
| JPH04182757A (en) | Address supplying system for control and storing circuit | |
| JPH0922387A (en) | Memory device | |
| JPH04162161A (en) | Storage controller | |
| JPH0854988A (en) | Magnetic disk processor | |
| JPH04324551A (en) | Memory circuit | |
| JPH02202655A (en) | Storage device | |
| JPH03286240A (en) | Memory system | |
| JPH10187202A (en) | Microprocessor controller | |
| JPS61175743A (en) | Memory control system | |
| JPH0417047A (en) | Storage fault evading system | |
| JPH04145540A (en) | Interface error checking system |