JPH0452841A - Storage device - Google Patents
Storage deviceInfo
- Publication number
- JPH0452841A JPH0452841A JP2155437A JP15543790A JPH0452841A JP H0452841 A JPH0452841 A JP H0452841A JP 2155437 A JP2155437 A JP 2155437A JP 15543790 A JP15543790 A JP 15543790A JP H0452841 A JPH0452841 A JP H0452841A
- Authority
- JP
- Japan
- Prior art keywords
- memory access
- memory
- error
- storage device
- uncorrectable
- 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
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は記憶装置に関し、特にメモリアクセスの結果
メモリアクセスエラーを検出したときに障害処理を行な
う記憶装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a storage device, and more particularly to a storage device that performs failure processing when a memory access error is detected as a result of memory access.
一般に、記憶装置は中央処理装置、入出力制御装置など
にバスで接続され情報処理システムを構成している。そ
して、従来、この種の記憶装置は中央処理装置などから
のメモリアクセスの結果、外部バスを介して入力するア
ドレス−データ・コマンドによシ、メモリへのアクセス
制御が行なわれ、このメモリから読出され次データに対
して訂正不能エラーを検出すると、障害処理に移行し、
記憶装置はメモリアクセス要求元に対してメモリエラー
を報告し、情報処理システム全体を止めていた。Generally, a storage device is connected to a central processing unit, an input/output control device, etc. via a bus to constitute an information processing system. Conventionally, in this type of storage device, access to the memory is controlled by address-data commands input via an external bus as a result of memory access from a central processing unit, etc., and reading from this memory is performed. If an uncorrectable error is detected in the next data, the process moves to fault handling.
The storage device reported a memory error to the memory access requester, stopping the entire information processing system.
上述した従来の記憶装置はメモリアクセスエラーを検出
したときの障害処理時に、そのエラーが一時的なもので
あシ、再度メモリアクセスを行なえばエラーにならない
可能性があっても、無条件に情報処理システムを止めて
しまうという欠点がある。In the conventional storage devices described above, when a memory access error is detected and the failure is handled, even if the error is temporary and there is a possibility that the error will not occur if the memory access is performed again, the information is not stored unconditionally. The drawback is that it stops the processing system.
この発明に係る記憶装置はメモリからのデータの読出し
によって訂正不能エラーを検出したとき、再度アクセス
指示を行なうメモリアクセス指示回路と、メモリアクセ
スエラー横用によるメモリリトライアクセス実行の回数
を記憶するリトライカウンタと、所定回数のメモリアク
セスが終了したことを検出するカウント終了検出回路と
、所定回数のメモリリトライアクセスを行なってもメモ
リエラーを検出したときにメモリアクセス要求元にメモ
リエラー検出報告を出力する手段とを有している。The storage device according to the present invention includes a memory access instruction circuit that issues an access instruction again when an uncorrectable error is detected by reading data from the memory, and a retry counter that stores the number of memory retry access executions due to memory access error diversion. a count end detection circuit for detecting that a predetermined number of memory accesses have been completed; and a means for outputting a memory error detection report to a memory access requester when a memory error is detected even after performing a predetermined number of memory retry accesses. It has
この発明は情報処理システムの障害処理に移行する回数
が少なくなシ、システムを有効に使用することができる
。According to the present invention, the number of times the information processing system is shifted to failure processing is reduced, and the system can be used effectively.
第1図はこの発明に係る記憶装置の一実施例を示すブロ
ック図である。同図において、1はデータレジスタ、2
はアドレスレジスタ、3はコマンドレジスタ、4はこの
コマンドレジスタ3の出力であるコマンド3aの内容を
解読して読出しコマンドであればRAM5に対してアド
レスレジスタ2の出力のアドレス信号21でアドレスさ
れるデータを読み出し、誉込みコマンドであればRAM
5に対してアドレス信号2畠が示すアドレスにデータレ
ジスタ1の出力のデータ1畠を書き込むように動作する
メモリアクセス制御回路、6はこのRAM5から読み出
されたデータのチエツクを行なう訂正不能エラー検出回
路、7はリプライ表示ル乍、8はリトライアクセスの回
数をカウントするりトライカウンタ、9はこのリトライ
カウンタ8の出力を受けてそのカウント値が所定回数に
達しているか否かを判定し、所定回数に達していればそ
の旨の信号を出力するカウント終了検出回路、10はメ
モリリトライアクセスの念めのアクセス指示信号を出力
するメモリアクセス指示回路、11はリトライカウンタ
8のリトライ回数が所定値に達したことを表示するメモ
リエラー表示F/F、 12は上記データレジスタ1.
アドレスレジスタ2゜コマンドレジスタ3.メモリアク
セス制御回路4゜RAM5 、訂正不能エラー検出回路
6.リプライ表示F/F 7 、リトライカウンタ8.
カウント終了検出回路9.メモリアクセス指示回路10
およびメモリエラー表示1’/]i’11から構成した
主記憶装置、13はシステム共通のシステムバスである
。FIG. 1 is a block diagram showing an embodiment of a storage device according to the present invention. In the figure, 1 is a data register, 2
is an address register, 3 is a command register, and 4 is the output of this command register 3. The contents of the command 3a are decoded and if it is a read command, the data is addressed to the RAM 5 by the address signal 21 of the output of the address register 2. is read, and if it is an honor command, it is stored in RAM.
5, a memory access control circuit operates to write data 1 output from data register 1 to the address indicated by address signal 2, and 6 is an uncorrectable error detection circuit that checks the data read from RAM 5. 8 is a try counter for counting the number of retry accesses; 9 receives the output of the retry counter 8 and determines whether the count value has reached a predetermined number of times; A count end detection circuit outputs a signal to that effect if the number of retries has been reached; 10 is a memory access instruction circuit that outputs an access instruction signal as a precaution for memory retry access; 11 is a retry counter 8 when the number of retries reaches a predetermined value; A memory error display F/F, 12, indicates that the memory error has been reached.
Address register 2゜Command register 3. Memory access control circuit 4゜RAM5, uncorrectable error detection circuit 6. Reply display F/F 7, retry counter 8.
Count end detection circuit 9. Memory access instruction circuit 10
and memory error display 1'/]i' 11 is a main storage device, and 13 is a system bus common to the system.
なお、第2図は第1図に示す主記憶装置12を備えた情
報システムの概略ブロック図である。同図において、1
4は中央処理装置、15は入出力装置、16は診断装置
である。Note that FIG. 2 is a schematic block diagram of an information system including the main storage device 12 shown in FIG. 1. In the same figure, 1
4 is a central processing unit, 15 is an input/output device, and 16 is a diagnostic device.
次に上記構成に係る記憶装置の動作について第3図に示
す動作フローチャートを参照して説明する。まず、中央
処理装置14が主記憶装置12に対してメモリアクセス
を行なう場合、ステップS。Next, the operation of the storage device according to the above configuration will be explained with reference to the operation flowchart shown in FIG. First, when the central processing unit 14 performs memory access to the main storage device 12, step S is performed.
で、この中央処理装置14はシステムバス13にアドレ
スデータコマンドなどの情報を出力すると、ステップS
2で、主記憶装置12はこのシステムバス13に出力さ
れたアドレスデータコマンドを受は取ってアクセスを行
なう。すなわち、このアドレスデータコマンドはそれぞ
れデータレジスタ1、アドレスレジスタ2およびコマン
ドレジスタ3に格納される。そして、ステップS3でメ
モリアクセス制御回路4はコマンドレジメタ3の出力で
あるコマンド3mの内容を解読し、読出しコマンドであ
れば、RAM5に対してアドレスレジスタ2の出力のア
ドレス信号2aでアドレスされるデータを読み出し、ま
た、書込みコマンドであればRAM5に対してアドレス
信号2aが示すアドレスにデータレジスタ1の出力のデ
ータ1畠を書き込む。この場合、ステップS4でメモリ
アクセス制御回路4が読出しを行なった場合、RAM5
から読出されたデータはデータレジスタ1に格納される
と同時に、訂正不能エラー検出回路6によってデータ1
aのチエツク、すなわちメモリアクセスエラーがあるか
否かを検出する。そして、ステップS5で、訂正不能エ
ラー検出回路6が訂正不能エラーを検出しないときには
、ステップS6でエラーが無かったことをリプライ表示
F/F 7に報告すると共に、メモリアクセス制御回路
4はメモリアクセスを終了したことをリプライ表示F/
F Tに報告する。そして、メモリアクセス終了が報告
される時に、訂正不能エラーが無ければリプライ表示1
i’lB” 7をセットし、リプライ信号7mをメモリ
アクセス要求元の中央処理装#14に出力する。そして
、ステップS7で、中央処理装置14がリプライを受は
取ると、データレジスタ1の内容をシステム・バス13
を経由してデータを取り込み、中央処理装置14のメモ
リアクセスが終了する。When the central processing unit 14 outputs information such as address data commands to the system bus 13, it proceeds to step S.
At step 2, the main memory device 12 receives and accesses the address data command output to the system bus 13. That is, this address data command is stored in data register 1, address register 2, and command register 3, respectively. Then, in step S3, the memory access control circuit 4 decodes the contents of the command 3m output from the command register 3, and if it is a read command, it is addressed to the RAM 5 using the address signal 2a output from the address register 2. Data is read out, and if it is a write command, data 1 of the output of the data register 1 is written into the RAM 5 at the address indicated by the address signal 2a. In this case, when the memory access control circuit 4 performs reading in step S4, the RAM 5
At the same time, the data read from the data register 1 is stored in the data register 1, and the data 1
A is checked, that is, it is detected whether or not there is a memory access error. If the uncorrectable error detection circuit 6 does not detect an uncorrectable error in step S5, it reports that there is no error to the reply display F/F 7 in step S6, and the memory access control circuit 4 controls memory access. Display reply that it has finishedF/
Report to FT. Then, when the end of memory access is reported, if there is no uncorrectable error, the reply will be displayed as 1.
i'lB" 7 and outputs a reply signal 7m to the central processing unit #14 that is the source of the memory access request. Then, in step S7, when the central processing unit 14 receives the reply, the contents of the data register 1 are system bus 13
The data is fetched via the central processing unit 14, and the memory access of the central processing unit 14 is completed.
次に、ステップS5で、メモリアクセス制御回路4によ
るRAM5の読み出しにおいて、訂正不能エラー検出回
路6が訂正不能エラーであることを検出すると、リプラ
イ表示F/F 7のリプライ応答を抑止し、メモリアク
セス指示回路10およびリトライカウンタ8に対して訂
正不能エラーを報告する。そして、ステップS、で、リ
トライカウンタ8は訂正不能エラー信号6aと、メモリ
アクセス制御回路4からのメモリアクセス終了信号5a
を受けてその両者を検出すると、リトライアクセスの回
数であるカウント値をひとつ増加する。そして、ステッ
プS9で、カウント終了検出回路9はリトライカウンタ
8の出力を受けて、その値が所定回数に達しているか否
かを判定する。そして、所定回数に達していなければメ
モリアクセス指示回路10にその旨を伝え、メモリアク
セス指示回路10によって、メモリリトライアクセスの
几めのアクセス指示がメモリアクセス制御回%4に出力
し、再度RAM5からの読み出しが行なわれる。Next, in step S5, when the uncorrectable error detection circuit 6 detects an uncorrectable error when the memory access control circuit 4 reads out the RAM 5, the reply display F/F 7 suppresses the reply response and the memory access control circuit 4 detects an uncorrectable error. An uncorrectable error is reported to the instruction circuit 10 and retry counter 8. Then, in step S, the retry counter 8 receives the uncorrectable error signal 6a and the memory access end signal 5a from the memory access control circuit 4.
When both are detected, the count value, which is the number of retry accesses, is incremented by one. Then, in step S9, the count end detection circuit 9 receives the output of the retry counter 8 and determines whether the value has reached a predetermined number of times. If the predetermined number of times has not been reached, the memory access instruction circuit 10 is notified of this fact, and the memory access instruction circuit 10 outputs a detailed access instruction for memory retry access to the memory access control circuit %4, and then starts the RAM 5 again. is read out.
このように、メモリリトライアクセスはリトライカウン
タ8が所定回数に達するまで行なわれる。In this way, memory retry access is performed until the retry counter 8 reaches a predetermined number of times.
そして、ステップS9でリトライカウンタ8の回数が所
定値に達していれば、ステップS1゜で、カウント終了
検出回路9はその旨をメモリエラー表示F/F 11に
報告する。このメモリエラー表示F/F 11は訂正不
能のメモリエラーがあったことを表示し、メモリアクセ
ス要求元の中央処理装置14に対してその旨を伝え、ス
テップ8+1でシステムストップとなる。If the number of retry counters 8 has reached a predetermined value in step S9, the count end detection circuit 9 reports this to the memory error display F/F 11 in step S1°. The memory error display F/F 11 displays that an uncorrectable memory error has occurred, and notifies the central processing unit 14, which is the source of the memory access request, to that effect, and the system is stopped at step 8+1.
このように、メモリアクセスエラーがあっても、すぐに
は障害処理に移行せず、所定回数だけメモリアクセスが
繰シ返される。そして、所定回数のメモリアクセスを繰
り返しても、なおメモリアクセスエラーが続くときだけ
、障害処理に移行することになる。In this way, even if a memory access error occurs, the process does not immediately proceed to failure processing, but the memory access is repeated a predetermined number of times. Then, only if the memory access error continues even after repeating the memory access a predetermined number of times, the process shifts to failure processing.
以上詳細に説明したように、この発明に係る記憶装置に
よれば、メモリアクセスの結果、訂正不能などのメモリ
アクセスエラーを検出しても、再度メモリアクセスを行
なうことによシ、エラーとならずに読出せる可能性があ
るので、障害による情報処理システムの動作停止の確率
も少なくなシ、システムのより長期的な使用を可能にす
る効果がある。As explained in detail above, according to the storage device of the present invention, even if a memory access error such as an uncorrectable one is detected as a result of memory access, the error does not occur by accessing the memory again. Since there is a possibility that the data can be read out at any time, the probability that the information processing system will stop operating due to a failure is reduced, and the system can be used for a longer period of time.
第1図はこの発明に係る記憶装置の一実施例を示すブロ
ック図、第2図は第4図に示す主記憶装置12を備えた
情報処理システムの概略ブロック図、第3図は第1図の
動作を示すフローチャートである。
1・・・・データレジスタ、2・Φ・eアドレスレジス
タ、3・・・・コマンドレジスタ、4・・・・メモリア
クセス制御回路、5・e・・R7,M、l@・・・訂正
不能エラー検出回路、7−・・−リプライ表示F/F1
8・・・・リトライカウンタ、S−・会・カウント終了
検出回路、10・・・メモリアクセス指示回路、11・
・・・メモリエー表示Fβ、12・・・e主記憶装置、
13・・・バス、14・・・Φ中央処理装置、15・―
・入出力装置、16・−・・診断装置。
特許出願人 茨城日本電気株式会社FIG. 1 is a block diagram showing an embodiment of the storage device according to the present invention, FIG. 2 is a schematic block diagram of an information processing system equipped with the main storage device 12 shown in FIG. 4, and FIG. 3 is the same as that shown in FIG. 3 is a flowchart showing the operation of FIG. 1...Data register, 2...Φ・e address register, 3...Command register, 4...Memory access control circuit, 5...R7, M, l@...Cannot be corrected Error detection circuit, 7--Reply display F/F1
8... Retry counter, S--count end detection circuit, 10... Memory access instruction circuit, 11.
...memory display Fβ, 12...e main storage device,
13...Bus, 14...Φ central processing unit, 15...
- Input/output device, 16...Diagnostic device. Patent applicant: Ibaraki NEC Co., Ltd.
Claims (1)
よりメモリのアクセス制御を行い、読出したデータに訂
正不能エラーがあるか否かを検出する記憶装置において
、訂正不能エラーを検出したときに再度メモリリトライ
アクセスを実行し、所定回数のメモリリトライアクセス
を行なつても訂正不能エラーを検出したときにメモリア
クセス要求元にメモリエラー検出報告を行なうことを特
徴とする記憶装置。In a storage device that controls memory access using address/data commands input from an external bus and detects whether or not there is an uncorrectable error in the read data, memory retry access is performed again when an uncorrectable error is detected. 1. A storage device characterized in that when an uncorrectable error is detected even after a predetermined number of memory retry accesses, a memory error detection report is sent to a memory access request source.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2155437A JPH0452841A (en) | 1990-06-15 | 1990-06-15 | Storage device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2155437A JPH0452841A (en) | 1990-06-15 | 1990-06-15 | Storage device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0452841A true JPH0452841A (en) | 1992-02-20 |
Family
ID=15606014
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2155437A Pending JPH0452841A (en) | 1990-06-15 | 1990-06-15 | Storage device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0452841A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012173933A (en) * | 2011-02-21 | 2012-09-10 | Toshiba Corp | Data storage device and error detection correction method |
| JP2017084163A (en) * | 2015-10-29 | 2017-05-18 | 株式会社デンソー | Electronic control unit |
-
1990
- 1990-06-15 JP JP2155437A patent/JPH0452841A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012173933A (en) * | 2011-02-21 | 2012-09-10 | Toshiba Corp | Data storage device and error detection correction method |
| JP2017084163A (en) * | 2015-10-29 | 2017-05-18 | 株式会社デンソー | Electronic control unit |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0452841A (en) | Storage device | |
| JPH07141176A (en) | Command retry control method | |
| JP2600376B2 (en) | Memory controller | |
| JPH05274220A (en) | Memory bank busy control system | |
| JPH02173848A (en) | Memory access controller | |
| JPS5832422B2 (en) | Micro Shindan Houshiki | |
| JPS59144246A (en) | Data reception control system | |
| JPH0486932A (en) | Memory fault detecting system | |
| JPH0581059A (en) | Multi-processor system | |
| JPH0520131A (en) | Address monitoring method | |
| JPH0230060B2 (en) | ||
| JPH01156834A (en) | Diagnosing system for check circuit | |
| JPS59217298A (en) | Memory error relieve system | |
| JPS62278643A (en) | Retrial control system | |
| JPH0540583A (en) | Information processing system | |
| JPH05241905A (en) | Processor device | |
| JPH02139635A (en) | Error handling method | |
| JPS63266541A (en) | Data processor | |
| JPH02148340A (en) | System for controlling writing in control storage | |
| JPH0480860A (en) | Program loading system | |
| JPH0481953A (en) | Memory device | |
| JPH0452742A (en) | Abnormality detecting circuit for storage | |
| JPH04367955A (en) | Memory protecting system | |
| JPH08305637A (en) | Storage device | |
| JPS6236578B2 (en) |