JPH03108044A - Storage device - Google Patents

Storage device

Info

Publication number
JPH03108044A
JPH03108044A JP1247537A JP24753789A JPH03108044A JP H03108044 A JPH03108044 A JP H03108044A JP 1247537 A JP1247537 A JP 1247537A JP 24753789 A JP24753789 A JP 24753789A JP H03108044 A JPH03108044 A JP H03108044A
Authority
JP
Japan
Prior art keywords
rewrite
error
syndrome
rewriting
bit
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
JP1247537A
Other languages
Japanese (ja)
Inventor
Kenzo Masumoto
増本 健三
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP1247537A priority Critical patent/JPH03108044A/en
Publication of JPH03108044A publication Critical patent/JPH03108044A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To efficiently rewrite data in a memory by performing the rewrite operation only at the time of detecting correctable error in read data. CONSTITUTION:If correctable one-bit error is detected by the memory access from a CPU, an address register 1 gives an array address 13 to a syndrome array 3. Contents of the register 1, the syndrome register 2, and the array 3 are compared with one another by a comparator 7. When they noncoincidence with one another, a syndrome is newly registered; but when they coincide with one another, an error counter 4 is counted up by +1. Contents of a rewrite bit holder 6 are set to '1' and are held till the end of the rewrite operation. If the value of the counter 4 is equal to or larger than 2, error is reported as fixed trouble to the higher-order CPU, and the value of the holder 6 is set to 0 to exclude the rewrite operation. Otherwise, the rewrite is performed by a rewrite controller 8, and the holder 6 is reset to 0 by a reset signal 14 after the end of write.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は記憶装置に利用され、特に、訂正可能エラーが
記憶装置に発生した場合の、読出データのエラー訂正後
のメモリアレイに対する再書込み制御方式を改善した記
憶装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is applied to a storage device, and in particular, when a correctable error occurs in the storage device, rewriting control for a memory array after error correction of read data is performed. This invention relates to a storage device with an improved method.

〔概要〕〔overview〕

本発明は、読出しデータ中の訂正可能エラーを訂正しメ
モリの再書込み行う手段を備えた記憶装置において、 前記訂正可能エラーを検出したときだけ再書込み動作を
行うようにすることにより、 メモリの再書込みを効率よく行えるようにしたものであ
る。
The present invention provides memory rewriting by performing a rewriting operation only when the correctable error is detected in a storage device equipped with means for correcting a correctable error in read data and rewriting the memory. This allows for efficient writing.

〔従来の技術〕[Conventional technology]

従来、この種の記憶装置における再書込み制御方式は、
例えば、第3図に示すパ)o−ル再書込み制御方式に示
されるように、一定周期間隔ごとに、メモリアレイにC
PU等からアクセスを行い(ステップ5ll) 、その
とき続出データに1ビツトエラーである訂正可能エラー
が検出されたときには(ステップ512) 、そのエラ
ー検出場所にエラー訂正後のデータを書き込み(ステッ
プ513) 、メモリアレイ中にエラーデータがないよ
うにし、アドレスをカウントアツプしくステップ514
)、一定周期計算用のタイマーをアップしくステップ5
15)、次のアドレスに同様に再書込み制御を行い、全
メモリアレイ領域に対して再書込み制御を行う制御方式
をとっていた。
Conventionally, the rewrite control method for this type of storage device is
For example, as shown in the parole rewrite control method shown in FIG.
Access is made from the PU, etc. (step 5ll), and if a correctable error, which is a 1-bit error, is detected in the successive data (step 512), the data after error correction is written to the error detection location (step 513), Make sure there is no error data in the memory array and count up the address in step 514.
), update the timer for constant period calculation Step 5
15), a control method was adopted in which rewrite control was performed in the same way for the next address, and rewrite control was performed for the entire memory array area.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

前述した従来の記憶装置における再書込み制御方式で、
一定周期間隔を例えばDRAM (ダイナミックランダ
ムアクセスメモリ)のリフレッシュ周期の16μsにし
た場合、メモリアレイに16個のモジュールがあると、
256kbitのDRAMでは1分で全メモリアレイの
パトロールが終わるが、4Mbitでは18分、16M
bitでは72分もかかってしまう。
In the rewrite control method in the conventional storage device mentioned above,
For example, if the fixed cycle interval is set to 16 μs, which is the refresh cycle of DRAM (dynamic random access memory), and there are 16 modules in the memory array,
With 256kbit DRAM, patrolling the entire memory array can be completed in 1 minute, but with 4Mbit it takes 18 minutes and 16MB
With bit, it takes 72 minutes.

しかし、リフレッシ5動作とパトロール再書込み制御を
同時に行うと、動作にかなりの時間がかかるため、CP
U等からのメモリアクセスを待たせることになり、シス
テムの性能が落ちてしまうことになる。そのため、再書
込制御の周期間隔を延ばす必要があり、全メモリアレイ
のパトロールが終わるまでに非常に長い時間がかかって
しまう欠点がある。
However, if the refresh 5 operation and patrol rewrite control are performed at the same time, the operation takes a considerable amount of time, so the CP
Memory accesses from U, etc. will be made to wait, resulting in a drop in system performance. Therefore, it is necessary to lengthen the periodic interval of rewrite control, and there is a drawback that it takes a very long time to complete patrolling the entire memory array.

本発明の目的は、前記の欠点を除去することにより、メ
モリの再書込みを効率よく行うことができる再書込み制
御方式を有する記憶装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a storage device having a rewrite control method that can efficiently rewrite memory by eliminating the above-mentioned drawbacks.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、読出しデータ中の訂正可能エラーを訂正し再
書込みを行う再書込み手段を備えた記憶装置において、
前記再書込み手段は、訂正可能エラー検出時、障害箇所
を示す障害アドレスと障害ビット位置を示すシンドロー
ムとを一組として登録格納するシンドローム格納手段と
、前記シンドローム格納手段に登録された各組について
そのエラー発生回数を計数し格納するエラー計数格納手
段と、前記シンドローム格納手段に登録された各組に対
応しエラーについて再書込みを行ったかどうかを示す再
書込みビットをセットする再書込みビットセット手段と
、前記再書込みビットセット手段に再書込みビットがセ
ットされており、前記エラー計数格納手段に格納された
エラー発生回数値があらかじめ定められた値より小さい
場合に再書込みを指示する再書込み制御手段とを含むこ
とを特徴とする。
The present invention provides a storage device equipped with rewriting means for correcting correctable errors in read data and rewriting the data.
The rewriting means includes a syndrome storage means for registering and storing a fault address indicating a fault location and a syndrome indicating a fault bit position as a set when a correctable error is detected; an error count storage means for counting and storing the number of times an error has occurred; a rewrite bit setting means for setting a rewrite bit indicating whether or not an error has been rewritten corresponding to each set registered in the syndrome storage means; Rewriting control means for instructing rewriting when a rewriting bit is set in the rewriting bit setting means and a value of the number of error occurrences stored in the error count storage means is smaller than a predetermined value. It is characterized by containing.

〔作用〕[Effect]

訂正可能エラーが検出されると、障害アドレスとシンド
ロームとを一組にしてシンドローム格納手段に登録格納
される。そして、そのエラー発生回数がエラー計数格納
手段により計数され格納される。−万博書込みビットセ
ト手段には前記シンドローム格納手段に登録格納された
各組に対応し再書込みビットがセットされる。
When a correctable error is detected, the fault address and syndrome are registered and stored as a set in the syndrome storage means. Then, the number of times the error occurs is counted and stored by the error count storage means. - In the Expo write bit setting means, a rewrite bit is set corresponding to each set registered and stored in the syndrome storage means.

そして、訂正可能エラー検出時に、再書込み制御手段は
、前記再書込みビットセラ)1段に再書込みビットがセ
ットされており、かつ前記エラー計数格納手段に登録さ
れたエラー発生回数値が例えば1の場合に、再書込の指
示を行う。
When a correctable error is detected, the rewrite control means controls the rewrite control means when the rewrite bit is set in the first stage of the rewrite bit cellar and the number of error occurrences registered in the error count storage means is, for example, 1. Then, give a rewrite instruction.

従って、再書込みは訂正可能エラー検出時だけ行われる
ことになり、再書込みの効率化を図ることが可能となる
Therefore, rewriting is performed only when a correctable error is detected, making it possible to improve the efficiency of rewriting.

〔実施例〕〔Example〕

以下、本発明の実施例について図面を参照して説明する
Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例を示すブロック構成図である
FIG. 1 is a block diagram showing one embodiment of the present invention.

本実施例は、訂正可能エラー発生時の障害アドレス11
を格納するアドレスレジスタ1と、ワンド0−ム12ヲ
格納するシンドロームレジスタ2と、アドレスレジスタ
1とシンドロームレジスタ2の内容を1組とし、訂正可
能エラー発生時に、登録されるシンドロームアレイ3と
、シンドロームアレイ3の内容の各々に対するエラーの
発生回数を登録するエラーカウンタ4と、エラーカウン
タ4の内容をカウントアツプする加算器5と、再書込み
制御が終了したかどうかを示す再書込みビットがセット
される再書込みビット保持器6と、発生したエラーが以
前に発生してシンドロームアレイ3に登録されているか
どうかを比べる比較器7と、再書込制御を行う再書込制
御88とを含んでいる。
In this embodiment, the fault address 11 when a correctable error occurs is
The contents of address register 1 and syndrome register 2 are set as one set, and when a correctable error occurs, syndrome array 3 and syndrome register 2 are registered. An error counter 4 registers the number of errors occurring for each of the contents of the array 3, an adder 5 counts up the contents of the error counter 4, and a rewrite bit indicating whether rewrite control has been completed is set. It includes a rewrite bit holder 6, a comparator 7 that compares whether the error that has occurred has occurred before and is registered in the syndrome array 3, and a rewrite control 88 that performs rewrite control.

本発明の特徴とするところは、第1図において、シンド
ローム格納手段としてのシンドロームアレイ3と、エラ
ー計数格納手段として、のエラーカウンタ4、加算器5
および比較器7と、再書込みビット保持手段としての再
書込みビット保持器6と、再書込み制御手段としての再
書込み制御部8とを設けたことにある。
The characteristics of the present invention are as shown in FIG.
A comparator 7, a rewrite bit holder 6 as a rewrite bit holding means, and a rewrite control section 8 as a rewrite control means are provided.

次に、本実施例の再書込み制御動作について第2図に示
す流れ図を参照して説明する。
Next, the rewrite control operation of this embodiment will be explained with reference to the flowchart shown in FIG.

CPU等からのメモリアクセスで訂正可能エラーである
1ビツトエラーが検出されると(ステップS1)、アド
レスレジスタ1はシンドロームアレイにアレイアドレス
13を与え、アドレスレジスタ1とシンドロームレジス
タ2とシンドロームアレイ3との内容を比較器7で比較
しくステップS2)、一致する内容がなければアドレス
レジスタ1とシンドロームレジスタ2との内容をシンド
ロームアレイ3に新規登録しくステップS3.55)一
致するときにはエラーカウントレジスタ4の内容に「l
」を加算して、カウント値を1つ増やす(ステップS3
.34)。そして再書込みビットレジスタ6の内容を「
1」にして再書込み動作が終了するまで保持する(ステ
ップ36)。またこのときエラーカウントレジスタ4の
値が「2」以上であれば(ステップS7)、固定障害と
して上位装置であるCPU等に報告しくステップS9)
、また再書込みピットレジスタ6の内容を「0」にして
以後再書込み動作から除外する。再書込み動作は再書込
み制御部8において行われ、ある周期間隔、例えばリフ
レッシニ周期に同期して行われる(ステップ38)。再
書込み動作終了後、対応する再書込みピットレジスタ6
はリセット信号14により「0」にリセットされる(ス
テップ510) 。
When a 1-bit error, which is a correctable error, is detected in memory access from the CPU or the like (step S1), address register 1 gives array address 13 to the syndrome array, and the address register 1, syndrome register 2, and syndrome array 3 are The contents are compared with the comparator 7 (Step S2), and if there is no matching contents, the contents of the address register 1 and syndrome register 2 are newly registered in the syndrome array 3 (Step S3.55)) If they match, the contents of the error count register 4 are ``l
” and increases the count value by one (step S3
.. 34). Then, the contents of rewrite bit register 6 are changed to “
1'' and held until the rewriting operation is completed (step 36). At this time, if the value of the error count register 4 is "2" or more (step S7), it is reported as a fixed fault to the host device such as the CPU (step S9).
, and also sets the contents of the rewrite pit register 6 to "0" and excludes it from subsequent rewrite operations. The rewriting operation is performed in the rewriting control unit 8, and is performed in synchronization with a certain periodic interval, for example, a refreshment period (step 38). After the rewrite operation is completed, the corresponding rewrite pit register 6
is reset to "0" by the reset signal 14 (step 510).

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

以上説明したように、本発明は、訂正可能エラーを検出
したときだけ再書込み動作を行うことにより、以下の効
果が得られる。
As described above, the present invention provides the following effects by performing a rewrite operation only when a correctable error is detected.

(1)再書込み制御が効率化され、CPU等からのメモ
リアクセスを待たせる頻度が非常に少なくなり、システ
ムの性能を低下させることがないこと。
(1) Rewriting control is made more efficient, the frequency of waiting for memory access from the CPU, etc. is extremely reduced, and system performance is not degraded.

(2)メモリアレイ中のエラーを消去する再書込みによ
りシステムの信頼度が向上すること。
(2) Rewriting to erase errors in the memory array improves system reliability.

(3)固定エラーの場合、再書込み制御から除外するこ
とにより、無駄な再書込み動作を行わなくともよいため
、システムの性能を低下させないこと。
(3) In the case of a fixed error, by excluding it from rewrite control, there is no need to perform a wasteful rewrite operation, so that the performance of the system is not degraded.

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

第1図は本発明の一実施例の要部を示すブロック構成図
。 第2図はその動作を示す流れ図。 第3図は従来例の動作を示す流れ図。 1・・・アドレスレジスタ、2・・・シンドロームレジ
スタ、3・・・シンドロームアレイ、4・・・エラーカ
ウンタ、5・・・加算器、6・・・再書込みビット保持
器、7・・・比較器、訃・・再書込み制御部、11・・
・障害アドレス、12・・・シンドローム、13・・・
アレイアドレス、14・・・リセット信号、81〜31
0.311〜315・・・ステップ。 第 1 図 第 図
FIG. 1 is a block diagram showing the main parts of an embodiment of the present invention. FIG. 2 is a flowchart showing the operation. FIG. 3 is a flowchart showing the operation of the conventional example. 1... Address register, 2... Syndrome register, 3... Syndrome array, 4... Error counter, 5... Adder, 6... Rewrite bit holder, 7... Comparison Equipment, death... Rewriting control section, 11...
・Fault address, 12...Syndrome, 13...
Array address, 14... Reset signal, 81-31
0.311-315...step. Figure 1 Figure

Claims (1)

【特許請求の範囲】 1、読出しデータ中の訂正可能エラーを訂正し再書込み
を行う再書込み手段を備えた記憶装置において、 前記再書込み手段は、 訂正可能エラー検出時、障害箇所を示す障害アドレスと
障害ビット位置を示すシンドロームとを一組として登録
格納するシンドローム格納手段と、前記シンドローム格
納手段に登録された各組についてそのエラー発生回数を
計数し格納するエラー計数格納手段と、 前記シンドローム格納手段に登録された各組に対応しエ
ラーについて再書込みを行ったかどうかを示す再書込み
ビットをセットする再書込みビットセット手段と、 前記再書込みビットセット手段に再書込みビットがセッ
トされており、前記エラー計数格納手段に格納されたエ
ラー発生回数値があらかじめ定められた値より小さい場
合に再書込みを指示する再書込み制御手段とを含む ことを特徴とする記憶装置。
[Scope of Claims] 1. In a storage device equipped with rewriting means for correcting a correctable error in read data and rewriting the data, the rewriting means: upon detecting a correctable error, generates a fault address indicating the location of the fault. syndrome storage means for registering and storing a syndrome indicating a fault bit position as a set; error count storage means for counting and storing the number of error occurrences for each set registered in the syndrome storage means; and the syndrome storage means a rewrite bit setting means for setting a rewrite bit indicating whether rewriting has been performed for the error corresponding to each set registered in the rewrite bit setting means; and a rewrite bit is set in the rewrite bit setting means, 1. A storage device comprising: rewrite control means for instructing rewriting when the number of error occurrences stored in the count storage means is smaller than a predetermined value.
JP1247537A 1989-09-21 1989-09-21 Storage device Pending JPH03108044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1247537A JPH03108044A (en) 1989-09-21 1989-09-21 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1247537A JPH03108044A (en) 1989-09-21 1989-09-21 Storage device

Publications (1)

Publication Number Publication Date
JPH03108044A true JPH03108044A (en) 1991-05-08

Family

ID=17164974

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1247537A Pending JPH03108044A (en) 1989-09-21 1989-09-21 Storage device

Country Status (1)

Country Link
JP (1) JPH03108044A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008250671A (en) * 2007-03-30 2008-10-16 Yokogawa Electric Corp Information processor and information processing method
DE10233642B4 (en) * 2001-07-25 2010-11-11 Samsung Electronics Co., Ltd., Suwon Error correction coding and decoding in a solid state storage device
JP2012108726A (en) * 2010-11-17 2012-06-07 Nec Computertechno Ltd Failure processing device, information processing device using the same, and failure processing method for information processing device
CN105874434A (en) * 2014-01-02 2016-08-17 高通股份有限公司 Bit remapping system
JP2019149069A (en) * 2018-02-28 2019-09-05 ラピスセミコンダクタ株式会社 Semiconductor device and method for detecting failure in semiconductor memory

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10233642B4 (en) * 2001-07-25 2010-11-11 Samsung Electronics Co., Ltd., Suwon Error correction coding and decoding in a solid state storage device
JP2008250671A (en) * 2007-03-30 2008-10-16 Yokogawa Electric Corp Information processor and information processing method
JP2012108726A (en) * 2010-11-17 2012-06-07 Nec Computertechno Ltd Failure processing device, information processing device using the same, and failure processing method for information processing device
CN105874434A (en) * 2014-01-02 2016-08-17 高通股份有限公司 Bit remapping system
JP2017502419A (en) * 2014-01-02 2017-01-19 クアルコム,インコーポレイテッド Bit remapping system
JP2019149069A (en) * 2018-02-28 2019-09-05 ラピスセミコンダクタ株式会社 Semiconductor device and method for detecting failure in semiconductor memory

Similar Documents

Publication Publication Date Title
JP3177207B2 (en) Refresh interval control apparatus and method, and computer
CN101853217B (en) Cache controlling apparatus, information processing apparatus, and computer-readable recording medium on or in which cache controlling program is recorded
US5412612A (en) Semiconductor storage apparatus
US4532628A (en) System for periodically reading all memory locations to detect errors
US5495491A (en) System using a memory controller controlling an error correction means to detect and correct memory errors when and over a time interval indicated by registers in the memory controller
US20090024884A1 (en) Memory controller method and system compensating for memory cell data losses
JPH03108044A (en) Storage device
US5479640A (en) Memory access system including a memory controller with memory redrive circuitry
JPH0991206A (en) Memory controller and memory check method
JP3130796B2 (en) Control storage device
JPS63308795A (en) Dynamic ram
JPS63187500A (en) Semiconductor storage device
JPS5841497A (en) Memory controlling system
JP3123855B2 (en) Patrol control circuit of memory device
JPH05210597A (en) Patrol circuit for storage device
JPH04125753A (en) On-lined diagnostic system for memory
JPS62250563A (en) Magnetic disk storage device
JPS60225954A (en) Storage device
JPS6022773B2 (en) Storage device
JPH04241653A (en) Error correcting system
JPH05108496A (en) Patrol control system
JPS6113259B2 (en)
JPS59168997A (en) Method of main memory patrolling of computer
JPH03157744A (en) Error correction rewrite system
JP2000010871A (en) Method and system for memory patrol