JPS63271555A - Storage control system - Google Patents

Storage control system

Info

Publication number
JPS63271555A
JPS63271555A JP62106019A JP10601987A JPS63271555A JP S63271555 A JPS63271555 A JP S63271555A JP 62106019 A JP62106019 A JP 62106019A JP 10601987 A JP10601987 A JP 10601987A JP S63271555 A JPS63271555 A JP S63271555A
Authority
JP
Japan
Prior art keywords
data
error
memory
main memory
block
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
JP62106019A
Other languages
Japanese (ja)
Inventor
Tomoaki Kubota
智晶 久保田
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 JP62106019A priority Critical patent/JPS63271555A/en
Publication of JPS63271555A publication Critical patent/JPS63271555A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To prevent soft errors from being accumulated by storing error corrected data in a cache memory when data read out of a main memory has an error, setting the error bit of an address array and rewriting the data in the main storage when a block is substituted. CONSTITUTION:If the data read out of the main storage 2 has an error and the error is correctable, the data corrected by an error correcting circuit 5 is stored in, for example, a block 1 of the cache memory 3 and the error bit E1 of the address array 4 is set. Then when the block 1 becomes an object of rewriting, the data in the block 1 is written in the main storage 2 on condition that a write bit W1 is set, but the data is written in the main storage 2 similarly even when the error bit E1 is set. Consequently, correct data is written in an address from the cache memory 3 without fail and soft errors are reduced.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は誤り訂正データの再書込みに関し、特に中ヤツ
クユメモリを利用した再書込み方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to rewriting of error correction data, and particularly to a rewriting method using an intermediate memory.

(従来の技術) 近年のLSI技術の進歩によってメモリ素子の集積度は
飛躍的に増大し、これによってメモリセルの微小化が進
み、主記憶のソフトエラー問題が無視できなくなってき
た。ソフトエラーは物理的な破壊故障によるものではな
に、再度、データを書直せば回復するという特徴がある
(Prior Art) Recent advances in LSI technology have dramatically increased the degree of integration of memory elements, which has led to miniaturization of memory cells, making it impossible to ignore the problem of soft errors in main memory. Soft errors are not caused by physical destructive failures, but can be recovered by rewriting the data.

したがって、データに誤り訂正符号を付加しておけばソ
フトエラーは訂正可能であり、物理的な破壊故障ではな
いということから特に対策をとらないか、あるいは主記
憶からデータを読出す際に訂正可能な誤りが存在する場
合には、これを訂正して直ちに書直すことによりソフト
エラーの蓄積を防ぐという公知の方式がとられていた。
Therefore, if an error correction code is added to the data, soft errors can be corrected, and since they are not physical destructive failures, no special measures should be taken, or they can be corrected when reading data from main memory. A known method has been used to prevent the accumulation of soft errors by correcting and immediately rewriting when a soft error exists.

(発明が解決しようとする問題点) 上述した従来の方式では、前者の場合にソフトエラーが
発生しても主記憶上のデータは新しい書込みデータが書
込まれる場合を除いてソフトエラーを含んだままであり
、ソフトエラーが蓄積されることによシ訂正不可能なエ
ラーが起る危険性が大きいという欠点がある。
(Problem to be Solved by the Invention) In the conventional method described above, even if a soft error occurs in the former case, the data in the main memory does not contain the soft error unless new write data is written. However, there is a drawback that there is a large risk that uncorrectable errors will occur due to the accumulation of soft errors.

一方、後者の場合には訂正後のデータを再び主記憶知書
込むための特別の回路が必要となり、ハードウェア量が
増大して制御が複雑になるという欠点がある。
On the other hand, in the latter case, a special circuit is required to write the corrected data into the main memory again, which has the disadvantage that the amount of hardware increases and the control becomes complicated.

本発明の目的は、主記憶の他に複数個のブロックに分割
された千ヤツシュメモリと、午ヤッシュメモリの各ブロ
ックに対応したアドレス情報を格納したアドレスアレイ
とを備え、アドレスアレイIC誤りビット領域を設け、
主記憶から読出されたデータに誤りがちる場合には誤り
を訂正したデータを千ヤツシュメモリに格納して中央処
理装置へ転送すると同時に、アドレスアレイの誤りビッ
トをセットしておき、当該ブロックが置換えられる場合
に1誤りビツトがセットされていれば主記憶にデータを
書戻すことによって上記欠点を除去し、ハードウェアの
増大を抑えて構成した記憶制御方式を提供することにあ
る。
An object of the present invention is to include, in addition to a main memory, a thousand memory which is divided into a plurality of blocks, and an address array storing address information corresponding to each block of the memory, and an address array IC error bit area. established,
If the data read from the main memory contains errors, the error-corrected data is stored in the memory and transferred to the central processing unit, and at the same time the error bit in the address array is set, and the block in question is replaced. The object of the present invention is to provide a storage control system which eliminates the above drawback by writing data back to the main memory if one error bit is set in the event of an error, and which suppresses the increase in hardware.

(問題点を解決するための手段) 本発明による記憶制御方式は主記憶と、午ヤッシュメモ
リと、アドレスアレイと、中央処理装置と、誤り訂正回
路とを具備して構成したものである。
(Means for Solving the Problems) A storage control system according to the present invention includes a main memory, a main memory, an address array, a central processing unit, and an error correction circuit.

主記憶はIAb訂正符号を付加したデータを格納するた
めのものであり、キャッシュメモリはスワップ方式で複
数個のブロックに分割されたデータを記憶するためのも
のである。
The main memory is for storing data added with an IAb correction code, and the cache memory is for storing data divided into a plurality of blocks using a swap method.

アドレスアレイは、牟ヤッシュメモリの各ブロックに対
応して誤りビットを含むアドレス情報を格納するための
ものである。
The address array is for storing address information including error bits corresponding to each block of the muyash memory.

中央処理装置は、キャッシュメモリおよびアドレスアレ
イに接続されていて、情報を処理するためのものである
A central processing unit is connected to the cache memory and address array for processing information.

誤り訂正回路は、主記憶からデータを読出した際に誤り
訂正が行われたことを示すため誤りビットにより中央処
理装置からメモリアイセスがあり、キャッシュメモリ上
にデータが存在せず、主記憶からデータを読出した場合
に読出しデータに訂正可能な誤りがあると、誤りを訂正
しなデータをキャッシュメモリに格納して中央処理装置
へ転送すると同時に、アドレスアレイの誤りビットをセ
ットしておき、当該ブロックが置換えられる場合に誤り
ビットがセットされていれば主記憶に書戻すためのもの
である。
When the error correction circuit reads data from the main memory, there is a memory access from the central processing unit due to an error bit to indicate that error correction has been performed. If there is a correctable error in the read data when reading the block, the error is not corrected and the data is stored in the cache memory and transferred to the central processing unit, and at the same time, the error bit in the address array is set. This is for writing back to the main memory if the error bit is set when the data is replaced.

(実施例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は、本発明による記憶制御方式を実現する一実施
例を示すブロック図である。第1図において、1は中央
処理装置、2は主記憶、3は千ヤックユメモリ、4は中
ヤックユメモリ3上のデータのアドレス情報を示すため
のアドレスアレイ、Sは主記憶2の読出しデータに訂正
可能な誤りがある場合に、これを訂正するための誤り訂
正回路である。
FIG. 1 is a block diagram showing an embodiment of the storage control system according to the present invention. In FIG. 1, 1 is a central processing unit, 2 is a main memory, 3 is a 100% memory, 4 is an address array for indicating address information of data on the middle memory 3, and S is correctable to read data from the main memory 2. This is an error correction circuit that corrects any errors that may occur.

第2図に示すようにキャッシュメモリ3は4個のブロッ
クく分割されており、アドレスアレイ4は平ヤツクユメ
モリ3の各ブロックのアドレス情報と、各ブロックに中
央処理装置1から書込みが行われたか否かを示すための
書込みビットWO〜W3と、主記憶2から読出されたデ
ータに誤り訂正が行われたか否かを示すための誤りビッ
トEO・〜E3とにより構成されている。
As shown in FIG. 2, the cache memory 3 is divided into four blocks, and the address array 4 contains the address information of each block of the plain memory 3 and whether or not each block has been written to by the central processing unit 1. It is composed of write bits WO to W3 for indicating whether data read from main memory 2 has been corrected, and error bits EO to E3 for indicating whether or not error correction has been performed on data read from main memory 2.

スワップ(ストアイン)方式の中ヤッシュメモリ3では
、中央処理装置1からキャッシュメモリ3上に存在する
領域に書込みが行われる場合、キャッシュメモリ3にの
みデータが書込まれ、主記憶2には書込まれない。
In the swap (store-in) system memory 3, when the central processing unit 1 writes to an area existing on the cache memory 3, the data is written only to the cache memory 3 and not to the main memory 2. Not included.

しかし、中央処理装置1からアクセスしたアドレスがキ
ャッシュメモリ3上に存在しない場合、主記憶2の新た
な領域からキャッシュメモリ3のいずれかのブロックに
はデータが読出されるが、主記憶2への書込みが行われ
ていたブロックでは主記憶2への書込みも同時に続けて
行われる。
However, if the address accessed from the central processing unit 1 does not exist on the cache memory 3, data is read from a new area of the main memory 2 to any block of the cache memory 3; In the block where writing was being performed, writing to the main memory 2 continues at the same time.

本発明では書込みが行われていたブロックのデータは主
記憶2に書込まれるという動作に着目し、主記憶2から
読出されたデータに誤りがあシ、且つ、それが訂正可能
であるとき、誤り訂正回路Sにより訂正されなデータを
、例えばキャッシュメモリ3のブロック1に格納し、同
時にアドレスアレイ4の誤りビットE1をセットしてお
くものとする。次に、ブロック1が書替えの対象となっ
たとき、書込みピッ)Wlがセットされていれば、ブロ
ック1のデータは主記憶2へ書込まれるが、誤りビット
E1がセットされている場合でも同様に主記憶2ヘデー
タが書込まれる。
The present invention focuses on the operation in which the data of the block that has been written is written to the main memory 2, and when there is an error in the data read from the main memory 2 and the error can be corrected, It is assumed that data that has not been corrected by the error correction circuit S is stored in, for example, block 1 of the cache memory 3, and at the same time, the error bit E1 of the address array 4 is set. Next, when block 1 becomes the target of rewriting, if the write bit (Wl) is set, the data of block 1 will be written to main memory 2, but the same applies even if the error bit E1 is set. Data is written to main memory 2.

したがって、主記憶2上にソフトエラーが発生した場合
でも、ソフトエラーの発生したアドレスが読出され、且
つ、そのエラーが訂正可能であるとき、そのアドレスは
必ず午ヤッシュメモリ3から正しいデータが書込まれて
ソフトエラーは消滅することになる。
Therefore, even if a soft error occurs in the main memory 2, if the address where the soft error occurred is read and the error can be corrected, correct data will always be written to that address from the main memory 3. The soft error will disappear.

(発明の効果) 以上説明したように本発明は、主記憶の他に複数個のブ
ロックに分割された千ヤッシュメモリ々、中ヤツシュメ
モリの各ブロックに対応したアドレス情報を格納したア
ドレスアレイとを備え、アドレスアレイに誤りビット領
域を設け、主記憶から読出されたデータに誤)がある場
合、には誤り分訂正したデータをキャッシュメモリに格
納して中央処理′A置へ伝送すると同時に、アドレスア
レイの誤りビットをセットしておき、当該ブロックが1
操換えられる場合に、誤りビットがセットされていれば
主記憶にデータ全書関すことによって、きわめて少量の
ハードウェアの増加で、ソフトエラーの起ったアドレス
に再書込みをすることができるので、ソフトエラーの蓄
積全防止できるという効果が、ちる。
(Effects of the Invention) As explained above, the present invention includes, in addition to the main memory, a thousand memory that is divided into a plurality of blocks, and an address array that stores address information corresponding to each block of the middle memory. In preparation, an error bit area is provided in the address array, and if there is an error in the data read from the main memory, the error-corrected data is stored in the cache memory and transmitted to the central processing 'A' location. The error bit of the array is set and the block in question is 1.
If the error bit is set when the software is replaced, by writing all the data to the main memory, it is possible to rewrite the address where the soft error occurred with a very small amount of additional hardware. The effect of completely preventing the accumulation of errors is Chiru.

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

第1図は、本発明による記憶制御方式を突現する一実施
例を示すブロック図である。 第2図は、従来技術による記憶制御方式を実現する一例
を示すブロック図である。 1・−・中央処理装置 2・・・主記憶 3・・・中ヤツシュメモリ 4・・・アドレスアレイ S・・・誤り訂正回路
FIG. 1 is a block diagram showing an embodiment of the storage control method according to the present invention. FIG. 2 is a block diagram showing an example of implementing a storage control method according to the prior art. 1...Central processing unit 2...Main memory 3...Middle memory 4...Address array S...Error correction circuit

Claims (1)

【特許請求の範囲】[Claims] 誤り訂正符号を付加したデータを格納するための主記憶
と、スワップ方式で複数個のブロックに分割されたデー
タを記憶するためのキャッシュメモリと、前記キャッシ
ュメモリの各ブロックに対応して誤りビットを含むアド
レス情報を格納するためのアドレスアレイと、前記キャ
ッシュメモリおよび前記アドレスアレイに接続されてい
て情報を処理するための中央処理装置と、前記主記憶か
らデータを読出した際に誤り訂正が行われたことを示す
ため前記誤りビットにより、前記中央処理装置からメモ
リアクセスがあり、前記キャッシュメモリ上にデータが
存在せず、前記主記憶からデータを読出した場合に読出
しデータに訂正可能な誤りがあると前記誤りを訂正した
データを前記キャッシュメモリに格納して前記中央処理
装置に転送すると同時に、前記アドレスアレイの誤りビ
ットをセットしておき、当該ブロックが置換えられる場
合に前記誤りビットがセットされていれば前記主記憶に
書戻すための誤り訂正回路とを具備して構成したことを
特徴とする記憶制御方式。
A main memory for storing data with an error correction code added, a cache memory for storing data divided into a plurality of blocks using a swap method, and a main memory for storing error bits corresponding to each block of the cache memory. an address array for storing address information including; a central processing unit connected to the cache memory and the address array for processing information; and a central processing unit for performing error correction when reading data from the main memory. The error bit indicates that there is a memory access from the central processing unit, there is no data in the cache memory, and there is a correctable error in the read data when the data is read from the main memory. and the error-corrected data is stored in the cache memory and transferred to the central processing unit, and at the same time, an error bit in the address array is set, and when the block is replaced, the error bit is set. and an error correction circuit for writing back to the main memory.
JP62106019A 1987-04-28 1987-04-28 Storage control system Pending JPS63271555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62106019A JPS63271555A (en) 1987-04-28 1987-04-28 Storage control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62106019A JPS63271555A (en) 1987-04-28 1987-04-28 Storage control system

Publications (1)

Publication Number Publication Date
JPS63271555A true JPS63271555A (en) 1988-11-09

Family

ID=14422941

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62106019A Pending JPS63271555A (en) 1987-04-28 1987-04-28 Storage control system

Country Status (1)

Country Link
JP (1) JPS63271555A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04229484A (en) * 1990-07-23 1992-08-18 Internatl Business Mach Corp <Ibm> Method and device for shortening memory-fetch time
CN102063940A (en) * 2009-11-16 2011-05-18 索尼公司 Nonvolatile memory and memory system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56169295A (en) * 1980-05-30 1981-12-25 Fujitsu Ltd Error retrieval system of information processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56169295A (en) * 1980-05-30 1981-12-25 Fujitsu Ltd Error retrieval system of information processor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04229484A (en) * 1990-07-23 1992-08-18 Internatl Business Mach Corp <Ibm> Method and device for shortening memory-fetch time
CN102063940A (en) * 2009-11-16 2011-05-18 索尼公司 Nonvolatile memory and memory system
JP2011108306A (en) * 2009-11-16 2011-06-02 Sony Corp Nonvolatile memory and memory system
TWI414941B (en) * 2009-11-16 2013-11-11 Sony Corp Nonvolatile memory and memory system
US8683290B2 (en) 2009-11-16 2014-03-25 Sony Corporation Save area for retaining corrected data

Similar Documents

Publication Publication Date Title
US7849382B2 (en) Memory control circuit, nonvolatile storage apparatus, and memory control method
US8140940B2 (en) Method and apparatus for controlling memory
EP1206739B1 (en) Methods and apparatus for correcting soft errors in digital data
JP2830308B2 (en) Information processing device
JP4962060B2 (en) Parity error recovery circuit
JP3270367B2 (en) Semiconductor storage device
JP4956230B2 (en) Memory controller
JPS6221143B2 (en)
US6631489B2 (en) Cache memory and system with partial error detection and correction of MESI protocol
JPS63271555A (en) Storage control system
JPS6129024B2 (en)
KR860002027B1 (en) Key memory error processing system
JPH0756640B2 (en) Storage device
JP3123855B2 (en) Patrol control circuit of memory device
KR100328818B1 (en) How to save data in flash memory
JPS63278162A (en) Error correction device in information processor
JP3178913B2 (en) Semiconductor file device
JP3281982B2 (en) Data buffer
JPS6223902B2 (en)
JPH02143352A (en) Memory error detection and correction system
JPH0373014B2 (en)
JPS61272851A (en) Storage device
JPS6356751A (en) Memory patrol control system
JPH054266U (en) Memory device
JPH02132539A (en) Memory patrol control system