JPS6022773B2 - Storage device - Google Patents

Storage device

Info

Publication number
JPS6022773B2
JPS6022773B2 JP55047616A JP4761680A JPS6022773B2 JP S6022773 B2 JPS6022773 B2 JP S6022773B2 JP 55047616 A JP55047616 A JP 55047616A JP 4761680 A JP4761680 A JP 4761680A JP S6022773 B2 JPS6022773 B2 JP S6022773B2
Authority
JP
Japan
Prior art keywords
address
circuit
predetermined time
data
read
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.)
Expired
Application number
JP55047616A
Other languages
Japanese (ja)
Other versions
JPS56145598A (en
Inventor
英常 黒川
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
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP55047616A priority Critical patent/JPS6022773B2/en
Publication of JPS56145598A publication Critical patent/JPS56145598A/en
Publication of JPS6022773B2 publication Critical patent/JPS6022773B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Description

【発明の詳細な説明】 本発明は半導体記憶素子を用いた記憶装置に関する。[Detailed description of the invention] The present invention relates to a memory device using a semiconductor memory element.

半導体記憶素子においては最近ソフトエラーと称する障
害が問題となっている。ソフトエラーはハードウェア上
の機能障害によって生ずるいわゆる故障とは異なり、ハ
ードウェアに欠陥がないにもかかわらず生ずるエラーと
いう。このソフトエラーのなかでも、半導体記憶素子の
ケースが基板などから発生されるQ線により記憶された
情報が反転してしまうというエラーが特に問題となって
いる。このQ線によるソフトエラーは確率的なものであ
ることが知られており、一般に単位時間当りのエラー発
生確率が記憶素子のQ線に対する強弱を示す尺度として
使用されている。この単位時間当りのエラー発生確率が
高いということは、すなわち、記憶素子に一度書き込ま
れた情報が長時間にわたって書き換えられなし、で保存
されている場合には情報が反転してしまう確率が高いと
いうことを意味する。従釆の記憶装置にあっては1ビッ
トエラー訂正機能がない装置では1回の反転により記憶
装置の障害となってしまうし、また1ビットエラー訂正
機能を有している装置でも2回の反転が起こるまで1度
書き込まれた内容がそのまま保存されている状態にある
と、その情報を読み出したときにはエラー訂正不能な障
害となってしまうという欠点がある。本発明の目的はソ
フトエラーにより障害となる確率を低くすることが可能
な記憶装置を提供することにある。
Recently, problems called soft errors have become a problem in semiconductor memory devices. A soft error is different from a so-called failure caused by a malfunction in hardware, and is an error that occurs even though there is no defect in the hardware. Among these soft errors, an error in which information stored in the case of a semiconductor memory element is reversed due to Q-rays generated from a substrate or the like is particularly problematic. It is known that this soft error due to the Q line is stochastic, and the probability of error occurrence per unit time is generally used as a measure of the strength of the storage element with respect to the Q line. This high probability of error occurrence per unit time means that once information is written to a memory element, it is not rewritten for a long time, and if it is stored, there is a high probability that the information will be reversed. It means that. In conventional storage devices, if the device does not have a 1-bit error correction function, one reversal will cause the storage device to fail, and even if the device has a 1-bit error correction function, two reversals will cause the storage device to fail. If the contents that have been written are stored as they are until the error occurs, there is a drawback that when the information is read out, it becomes an error that cannot be corrected. An object of the present invention is to provide a storage device that can reduce the probability of failure due to soft errors.

本発明の装置は、半導体記憶素子を用いた記憶アレイを
有する記憶装置において、予め定めた周期で予め定めた
時間だけ前記記憶装置に対する外部アクセスを禁止する
回路と、前記記憶アレイの記憶位置を示すアドレスを予
め定めた順序で発生するアドレス発生回路と、このアド
レス発生回路からのアドレスと前記予め定めた時間以外
の時間に外部から与えられるアドレスとを比較する比較
回路と、前記アドレス発生回路からのアドレスで指定さ
れる記憶位置に対する講出し書込み動作を行なうアクセ
ス回路を、このアクセス回路の読出し動作に応答して前
記記憶アレイから読み出されたデータの誤りを検出訂正
する誤り検出訂正回路と、この誤り検出訂正回路により
誤りを検出訂正したデータを格納するレジスタと、n番
目の周期の前記予め定めた時間に前記記憶アレイの第1
のアドレスから読み出されたデータの誤りを前記誤り検
出訂正回路で検出訂正して前記レジス夕に格納し前記n
番目の周期の前記予め定めた時間とn+1番目の周期の
前記予め定めた時間との間の時間に前記比較回路でアド
レスの一致を検出しないかまたは一致を検出しても外部
から謙出し指示が与えられたときに前記n+1番目の前
記予め定めた時間に前記レジスタのデータを前記記憶ア
レイの第1のアドレスに書き込みこの書き込み動作が終
了したのち前記アドレス発生回路から第1のアドレスと
異なる第2のアドレスを発生させ、前記n番目の周期の
前記予め定めた時間とn+1番目の周期の前記予め定め
た時間との間の時間に前記比較回路で一致を検出し外部
から書込み動作があった場合に前記アドレス生成回路か
ら第2のアドレスを発生させたのちn+1番目の周期の
前記予め定めた時間に前記記憶アレイの第2のアドレス
から読み出されたデータの謀りを前記誤り検出訂正回路
で検出訂正したのち前記レジスタに格納するように制御
する回路とを備えたことを特徴とする。
In a storage device having a storage array using semiconductor storage elements, the device of the present invention includes a circuit that prohibits external access to the storage device for a predetermined period of time at a predetermined period, and a circuit that indicates a storage location of the storage array. an address generation circuit that generates addresses in a predetermined order; a comparison circuit that compares the address from the address generation circuit with an address externally applied at a time other than the predetermined time; an error detection and correction circuit that detects and corrects errors in data read from the memory array in response to a read operation of the access circuit that performs a write operation to a storage location specified by an address; a register for storing data whose errors have been detected and corrected by an error detection and correction circuit;
The error detection and correction circuit detects and corrects an error in the data read from the address of n, and stores it in the register.
The comparator circuit does not detect an address match between the predetermined time of the th cycle and the predetermined time of the n+1th cycle, or even if a match is detected, an external output instruction is not received. The data in the register is written to the first address of the storage array at the (n+1)th predetermined time when the write operation is completed. address is generated, a match is detected in the comparator circuit at a time between the predetermined time in the n-th cycle and the predetermined time in the n+1-th cycle, and a write operation is performed from the outside. after generating a second address from the address generation circuit, the error detection and correction circuit detects a tampering in the data read from the second address of the storage array at the predetermined time of the (n+1)th period; The present invention is characterized by comprising a circuit for controlling the correction to be stored in the register.

次に本発明について図面を参照して詳細に説明する。Next, the present invention will be explained in detail with reference to the drawings.

第1図に示す本発明の−実施例は、記憶アレイ10、書
込みデータレジスタ20、ハミング生成回路30、議出
しデータレジスタ40、ハミングエラー訂正検出回路5
0、アドレスレジスタ60、アクセス制御回路70、レ
ジスタ1、アドレス生成回路2、比較回路3、制御回路
4、データ選択回路5、アドレス選択回路6および図示
されていないタイミング回路から構成されている。
The embodiment of the present invention shown in FIG.
0, an address register 60, an access control circuit 70, a register 1, an address generation circuit 2, a comparison circuit 3, a control circuit 4, a data selection circuit 5, an address selection circuit 6, and a timing circuit (not shown).

次に、第1図および第2図を参照して本発明の動作を詳
細に説明する。制御回路4は、記憶装置の動作の時間割
当を次にように行なう。
Next, the operation of the present invention will be explained in detail with reference to FIGS. 1 and 2. The control circuit 4 allocates time for the operation of the storage device as follows.

すなわち、第2図の時間軸tに示すように、記憶装置を
アクセスする装置(以下CPU)が使用可能な時間↑2
を使用不可能な時間↑,とに分割して割り当てる。時間
丁2 においてCPUからアクセスされると、書込み動
作の場合には記憶アレイ10への書込みデータは書込み
データレジスタ20の内容がデータ選択回路5を介して
記憶アレイ10に送られアドレスはアドレスレジスタ6
0の内容がアドレス選択回路6を介して送られ、また謙
出し動作の場合にはアドレスレジスタ60で指定される
アドレスの情報が読み出されハミングエラー訂正検出回
路50エラー訂正され、読出しデータレジスタ40を介
してCP川こ送出するように、アクセス制御回路70が
制御する。時間ィ,においては、制御回路4の制御の下
に1回の議出し動作または書込み動作が行なわれる。
In other words, as shown on the time axis t in Fig. 2, the usable time of the device (hereinafter referred to as CPU) that accesses the storage device is ↑2
is divided into unusable time ↑, and allocated. When accessed by the CPU at time 2, in the case of a write operation, the contents of the write data register 20 are sent to the memory array 10 via the data selection circuit 5, and the address is sent to the address register 6.
The contents of 0 are sent via the address selection circuit 6, and in the case of a readout operation, the information at the address specified by the address register 60 is read out and error-corrected by the Hamming error correction detection circuit 50, and then sent to the read data register 40. The access control circuit 70 controls the CP stream to be sent via the CP stream. At time B, one drafting operation or writing operation is performed under the control of the control circuit 4.

第2図の制御信号TRは論理“0”のときCPUからの
アクセス不可を示し、論理“1”はアクセス可能を示し
ている。時間to後の時間丁,においては、アドレス生
成回路2ではアドレスAが生成されており、制御回路4
で発生する読出し書込み制御信号R/Wは論出し動作指
示Rを示しているので、記憶アレイ10のアドレスAの
情報が読み出され、訂正可能なエラーがあればハミング
エラー訂正検出回路50でエラー訂正されレジスタ1に
格納され再書込みデータDoとして保持される。時間7
2の間では、アドレス生成回路2で生成しているアドレ
スとCPUからのアドレスを保持するアドレスレジスタ
60のアドレスがアクセス毎に比較回路3で比較される
。制御回路4では謙出し書込み制御信号R/Wを生成し
ており、時間7,で議出し動作を行なった後には書込み
動作指示Wを示すように制御するが、続く時間72の間
に比較回路3からアドレス一致が報告され、その時のC
PUからのアクセス要求が書込み動作を示すときには、
論出し書込み制御信号R/Wを書込み指示Wから講出し
指示Rに反転させる。ところで、時間toとt,との間
の時間72 において、CPUからの書込み動作要求時
にアドレス一致がないので、時間t,後の時間7,にお
いては書込み動作となり、アドレス生成回路2からのア
ドレスAで示すアドレスに、レジス夕1で保持するDo
が書き込まれる。
When the control signal TR in FIG. 2 is logic "0", it indicates that the CPU cannot access it, and when it is logic "1", it indicates that it is accessible. At time t after time to, address A is generated in the address generation circuit 2, and the control circuit 4
Since the read/write control signal R/W generated at 1 indicates the logic operation instruction R, the information at address A of the storage array 10 is read out, and if there is a correctable error, the Hamming error correction detection circuit 50 detects the error. The corrected data is stored in register 1 and held as rewrite data Do. time 7
2, the address generated by the address generation circuit 2 and the address of the address register 60 that holds the address from the CPU are compared by the comparison circuit 3 every access. The control circuit 4 generates a readout write control signal R/W, and after the start operation is performed at time 7, it is controlled to indicate the write operation instruction W, but during the following time 72, the comparator circuit Address match is reported from 3, and C at that time
When the access request from the PU indicates a write operation,
The issue write control signal R/W is inverted from the write instruction W to the issue instruction R. By the way, at time 72 between times to and t, there is no address match when a write operation is requested from the CPU, so at time 7, which is after time t, a write operation occurs, and the address A from the address generation circuit 2 is The address held in register 1 is the address indicated by
is written.

この書込み動作の終了後アドレス生成回路2はアドレス
(A十1)を生成し、読出し書込み制御信号R/Wは議
出し動作指示Rとなり、時間t2後の時間7・において
はアドレス(A十1)の情報が読み出されデータD,と
してレジスタ1に格納、保持されるとともに講出し書込
み制御信号R/Wは書込み動作指示Wを示す。時惜別2
とt3との間の時間72 内の時間t23において、C
PUからの書込み要求時にアドレス一致が検出されると
、論出し書込み制御信号R/Wは書込み動作指示Wから
読出し動作指示Rに反転され、アドレス生成回路2では
、アドレス(A+2)が生成される。従って時間ら‘こ
続く時間丁,での動作は議出し動作となりアドレス(A
十2)の情報が読み出されエラー訂正されてデータD2
としてレジスタ1に格納保持される。
After the write operation is completed, the address generation circuit 2 generates the address (A11), the read/write control signal R/W becomes the start operation instruction R, and at time 7 after time t2, the address (A11) is generated. ) is read out and stored and held in the register 1 as data D, and the initial write control signal R/W indicates a write operation instruction W. Farewell to time 2
At time t23 within time 72 between C and t3, C
When an address match is detected at the time of a write request from the PU, the logical write control signal R/W is inverted from the write operation instruction W to the read operation instruction R, and the address generation circuit 2 generates the address (A+2). . Therefore, the operation at time d, which follows time ra', becomes a deliberation operation and the address (A
12) information is read out and error corrected, resulting in data D2
It is stored and held in register 1 as .

時借地肌蜂の動作は以上の動作と同一である。以上の説
明から明らかなように、アドレス生成回路2で記憶アレ
イ10の全てのアドレスを生成して、これら全てのアド
レスに対して上述の読出し書込み動作を行なうことによ
り、CPUから書込みが行なわれなくとも一定周期で少
なくとも一回は全てのアドレスに対して情報の書込み動
作が行なわれる。
The behavior of the landlock bee is the same as the behavior described above. As is clear from the above explanation, by generating all the addresses of the storage array 10 in the address generation circuit 2 and performing the above-mentioned read/write operations on all these addresses, the CPU is prevented from writing. In both cases, information is written to all addresses at least once in a fixed period.

従って、この周期を長時間書直されないで放置されてい
るデータがソフトエラーにより訂正不能な状態になる確
率をある程度無視できる時間内に定めることにより、ソ
フトエラーの影響を十分軽減することができる。
Therefore, by setting this cycle within a time period in which the probability that data that has been left unwritten for a long time becomes uncorrectable due to soft errors can be ignored to some extent, the influence of soft errors can be sufficiently reduced.

本発明には、ソフトエラーの影響を軽減できるという効
果がある。
The present invention has the effect of reducing the influence of soft errors.

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

第1図は本発明の一実施例を示す図、第2図は本発明の
動作を説明するための図である。 第1図において、1…レジスタ、2…アドレス生成回路
、3・・・比較回路、4・・・制御回路、5・・・デー
タ選択回路、6・・・アドレス選択回路、10・・・記
憶アレイ、20・・・書込みデータレジスタ、30・・
・ハミング生成回路、40…読出しデータレジスタ、5
0・・・ハミングエラー訂正検出回路、60・・・アド
レスレジスタ、70・・・アクセス制御回路。 多Z図発/四
FIG. 1 is a diagram showing an embodiment of the present invention, and FIG. 2 is a diagram for explaining the operation of the present invention. In FIG. 1, 1...Register, 2...Address generation circuit, 3...Comparison circuit, 4...Control circuit, 5...Data selection circuit, 6...Address selection circuit, 10...Storage Array, 20...Write data register, 30...
- Hamming generation circuit, 40...read data register, 5
0... Hamming error correction detection circuit, 60... address register, 70... access control circuit. Multi-Z Zuhatsu / 4

Claims (1)

【特許請求の範囲】[Claims] 1 半導体記憶素子を用いた記憶アレイを有する記憶装
置において、予め定めた周期で予め定めた時間だけ前記
記憶装置に対する外部アクセスを禁止する回路と、前記
記憶アレイの記憶位置を示すアドレスを予め定めた順序
で発生するアドレス発生回路と、このアドレス発生回路
からのアドレスと前記予め定めた時間以外の時間に外部
に与えられるアドレスとを比較する比較回路と、前記ア
ドレス発生回路からのアドレスで指定される記憶位置に
対する読出し書込み動作を行なうアクセス回路と、この
アクセス回路の読出し動作に応答して前記記憶アレイか
ら読み出されたデータの誤りを検出訂正する誤り検出訂
正回路と、この誤り検出訂正回路により誤りを検出し訂
正されたデータを格納するレジスタと、n番目の周期の
前記予め定めた時間に前記記憶アレイの第1のアドレス
から読み出されたデータの誤りを前記誤り検出訂正回路
で検出訂正して前記レジスタに格納し前記n番目の周期
の前記予め定めた時間とn+1番目の周期の前記予め定
めた時間との間に前記比較回路でアドレスの一致しない
かまたは一致を検出しても外部から読出し指示が与えら
れたときには前記n+1番目の前記予め定めた時間に前
記レジスタのデータを前記記憶アレイの第1号のアドレ
スに書き込みこの書込み動作が終了したのち前記アドレ
ス発生回路から第1のアドレスと異なる第2のアドレス
を発生させ前記n番目の周期の前記予め定せた時間とn
+1番目の周期の前記予め定めた時間との間の時間に前
記比較回路で一致を検出し外部から書込み動作があつた
ときに前記アドレス生成回路から第2のアドレスを発生
させたのちn+1番目の周期の前記予め定めた時間に前
記記憶アレイの第2のアドレスから読み出されたデータ
の誤りを前記誤り検出訂正回路で検出訂正したのち前記
レジスタに格納するように制御する回路とを備えたこと
を特徴とする記憶装置。
1. A memory device having a memory array using semiconductor memory elements, which includes a circuit that prohibits external access to the memory device for a predetermined time at a predetermined period, and a predetermined address indicating a storage location of the memory array. an address generation circuit that generates an address in sequence, a comparison circuit that compares the address from this address generation circuit with an address given externally at a time other than the predetermined time, and an address specified by the address from the address generation circuit. an access circuit that performs a read/write operation with respect to a storage location; an error detection and correction circuit that detects and corrects errors in data read from the storage array in response to the read operation of the access circuit; a register for detecting and storing corrected data; and detecting and correcting errors in data read from the first address of the storage array at the predetermined time of the n-th cycle by the error detection and correction circuit. between the predetermined time of the n-th cycle and the predetermined time of the n+1-th cycle, the comparator circuit determines whether or not the addresses match. When a read instruction is given, the data in the register is written to the first address of the storage array at the (n+1)th predetermined time and after this write operation is completed, the data is read from the address generation circuit as the first address. generating a different second address at the predetermined time and n of the nth period;
The comparison circuit detects a match between the +1st period and the predetermined time, and when an external write operation occurs, the address generation circuit generates a second address, and then the n+1th address is generated. and a circuit for controlling the error detection and correction circuit to detect and correct errors in data read from the second address of the storage array at the predetermined time of the cycle, and then to store the data in the register. A storage device characterized by:
JP55047616A 1980-04-11 1980-04-11 Storage device Expired JPS6022773B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55047616A JPS6022773B2 (en) 1980-04-11 1980-04-11 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55047616A JPS6022773B2 (en) 1980-04-11 1980-04-11 Storage device

Publications (2)

Publication Number Publication Date
JPS56145598A JPS56145598A (en) 1981-11-12
JPS6022773B2 true JPS6022773B2 (en) 1985-06-04

Family

ID=12780148

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55047616A Expired JPS6022773B2 (en) 1980-04-11 1980-04-11 Storage device

Country Status (1)

Country Link
JP (1) JPS6022773B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01151342U (en) * 1988-04-04 1989-10-19

Also Published As

Publication number Publication date
JPS56145598A (en) 1981-11-12

Similar Documents

Publication Publication Date Title
US4532628A (en) System for periodically reading all memory locations to detect errors
US4319356A (en) Self-correcting memory system
US4598402A (en) System for treatment of single bit error in buffer storage unit
JPS6022773B2 (en) Storage device
US20030046630A1 (en) Memory using error-correcting codes to correct stored data in background
JP3130796B2 (en) Control storage device
JPS63187500A (en) Semiconductor storage device
JPH03108044A (en) Storage device
JPH06149685A (en) Memory error recovering circuit
JP3123855B2 (en) Patrol control circuit of memory device
JPH04115340A (en) Duplex storage circuit
JPH05210597A (en) Patrol circuit for storage device
JPS62120557A (en) Storage system
JPH0756816A (en) Controller for memory
JPH04337857A (en) Micro processor
JPH0667989A (en) Patrol circuit for memory
JPH0675864A (en) Memory error recovery system
JPH07248976A (en) Storage controller
JPH054266U (en) Memory device
JPS6042504B2 (en) Storage device failure handling method
JPH05108496A (en) Patrol control system
JPH06139153A (en) Memory control system
JPH03157744A (en) Error correction rewrite system
JPH04218849A (en) Storage device
JPH02132539A (en) Memory patrol control system