JP2005293728A - Semiconductor memory device - Google Patents
Semiconductor memory device Download PDFInfo
- Publication number
- JP2005293728A JP2005293728A JP2004108082A JP2004108082A JP2005293728A JP 2005293728 A JP2005293728 A JP 2005293728A JP 2004108082 A JP2004108082 A JP 2004108082A JP 2004108082 A JP2004108082 A JP 2004108082A JP 2005293728 A JP2005293728 A JP 2005293728A
- Authority
- JP
- Japan
- Prior art keywords
- memory cell
- error
- parity
- circuit
- column
- 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
Images
Landscapes
- For Increasing The Reliability Of Semiconductor Memories (AREA)
Abstract
【課題】 半導体記憶装置におけるチップ面積の増加を抑制すると共に、ソフトエラーの訂正を可能にし、半導体記憶装置の信頼性を高めることを目的とする。
【解決手段】 ソフトエラーによりビット反転したエラーセル18に対応する行のローカルパリティセル18aのパリティ値、及び対応するリード/ライト回路およびエラー訂正回路18bにおけるグローバルセルのパリティ値を検出する。反転したローカルパリティの行及びグローバルパリティの列を逆にたどることによりエラーセル18を知る。そのエラーセルを、更に反転処理することにより、エラー訂正を行うことができる。即ち、エラーが検出されたリード/ライト回路及びエラー訂正回路18b、並びにエラーが検出されたローカルパリティセル18aのパリティ値を変更することによって、データ反転したエラーセルを訂正することが可能である。
【選択図】 図1An object of the present invention is to suppress an increase in chip area in a semiconductor memory device, to enable correction of a soft error, and to improve the reliability of the semiconductor memory device.
A parity value of a local parity cell 18a in a row corresponding to an error cell 18 bit-inverted by a soft error, and a parity value of a global cell in a corresponding read / write circuit and error correction circuit 18b are detected. The error cell 18 is known by reversing the inverted local parity row and global parity column. Error correction can be performed by further inverting the error cell. That is, by changing the parity value of the read / write circuit and error correction circuit 18b in which an error has been detected and the local parity cell 18a in which an error has been detected, it is possible to correct the error cell with the data inverted.
[Selection] Figure 1
Description
本発明は、ソフトエラー訂正機能を有する半導体記憶装置に関する。 The present invention relates to a semiconductor memory device having a soft error correction function.
ダイナミックランダムアクセスメモリ(以下、DRAMと称す。)は主に電子計算機等において低価格、大容量の主記憶メモリとして広く使われている。現在、使用されているDRAMのメモリセルの基本的な構造は、一つのトランジスタ及び一つのキャパシタから構成されている。 A dynamic random access memory (hereinafter referred to as DRAM) is widely used as a low-cost, large-capacity main memory mainly in electronic computers. The basic structure of a DRAM memory cell currently used is composed of one transistor and one capacitor.
このキャパシタに、例えばα線等の電荷をもつ宇宙線が地上に到達し、キャパシタに衝突すると、キャパシタ内に蓄えられた電荷量が変化する。一方、中性子線等の電荷を持たない宇宙線がDRAMを有する半導体基板に衝突すると、その際に生成されたイオンの影響によって、キャパシタ内に蓄えられた電荷量が変化し、記憶したデータが消失する場合がある。 When a cosmic ray having an electric charge such as α rays reaches the capacitor and collides with the capacitor, the amount of electric charge stored in the capacitor changes. On the other hand, when cosmic rays that do not have charges such as neutrons collide with a semiconductor substrate having DRAM, the amount of charge stored in the capacitor changes due to the influence of ions generated at that time, and the stored data is lost. There is a case.
このような現象によって発生するメモリ回路の誤動作は、一時的、偶発的なものであり、ソフトエラーと呼ばれ、メモリ回路に致命的なダメージを与えるハードエラーと区別されている。通常の頻度で発生するソフトエラーは、DRAM単体又はシステム内にエラー訂正機能を備えることにより、十分に対応できるようになっている。 A malfunction of the memory circuit caused by such a phenomenon is temporary and accidental, and is called a soft error, and is distinguished from a hard error that causes fatal damage to the memory circuit. A soft error that occurs at a normal frequency can be sufficiently dealt with by providing an error correction function in the DRAM alone or in the system.
従来からのエラー訂正方式としては、エラーコレクションコード(以下、ECCと称す。)回路が主として用いられる。例えば、記憶すべき64ビットのデータを1単位とし、このデータから論理演算で求めた8ビットの冗長データとともに記憶させ、合せて72ビットとしたデータの内、最大2ビットまでのデータエラーを論理演算により訂正を可能にする方式である。 As a conventional error correction method, an error correction code (hereinafter referred to as ECC) circuit is mainly used. For example, 64 bits of data to be stored in one unit and stored together with 8 bits of redundant data obtained from this data by a logical operation, and a data error of up to 2 bits among the data of 72 bits in total is logically stored. This is a method that enables correction by calculation.
また、ECC等のエラー訂正回路を用いた場合においてもエラーを認識するための試験回路及び試験方法等の工夫が提案されている。(例えば、特許文献1参照。)。 Further, devices such as a test circuit and a test method for recognizing an error even when an error correction circuit such as ECC is used have been proposed. (For example, refer to Patent Document 1).
図10は従来のECCによるエラー訂正方式を行う場合のイメージ図であり、例えば、パリティ用追加セルブロック70が、8列ブロック分追加されている。従来のECC方式では制約上72(64+8)ブロック構成を単位にせざるを得ない。このため、面積増加率は72/64≒+5.882% となる。即ち9/8倍になりチップ面積が増加する。従って、製品のコストが上がる。 FIG. 10 is a conceptual diagram when performing a conventional error correction method using ECC. For example, an additional cell block 70 for parity is added for 8 column blocks. In the conventional ECC method, 72 (64 + 8) block configuration must be used as a unit due to restrictions. Therefore, the area increase rate is 72 / 64≈ + 5.882%. That is, the chip area is increased by 9/8 times. Therefore, the cost of the product increases.
価格競争の激しいDRAM市場においては、チップ面積を少しでも小さくし、1枚の半導体基板当たりのチップ数を増やし、コストダウンする必要がある。従って、DRAMにおけるチップ面積の増加を抑制すると共に、ソフトエラーの訂正を可能にし、DRAMの信頼性を高めることが求められている。
本発明は半導体記憶装置におけるチップ面積の増加を抑制すると共に、ソフトエラーの訂正を可能にし、半導体記憶装置の動作における信頼性を高める。 The present invention suppresses an increase in chip area in a semiconductor memory device, enables correction of a soft error, and improves reliability in the operation of the semiconductor memory device.
上記の課題を解決するため、本発明の第1の態様は、半導体記憶装置として、行方向及び列方向にメモリセルが配置されたメモリセルアレイ、行デコーダ回路、列デコーダ回路、前記列方向のメモリセルに対応したセンスアンプ、及び前記列方向のメモリセルに対応したリード/ライト回路を具備し、前記メモリセルアレイにおける各行のパリティ値及び各列のパリティ値を演算する演算手段と、前記パリティ値を記憶する記憶手段と、前記パリティ値に関し、パリティエラーの発生をチェックするチェック手段と、前記パリティエラーが発生した行及び列の情報をもとに、エラーが発生したメモリセルを同定する同定手段と、エラーが発生した前記メモリセルを訂正する訂正手段とを有することを特徴とする。 In order to solve the above problems, according to a first aspect of the present invention, a semiconductor memory device includes a memory cell array in which memory cells are arranged in a row direction and a column direction, a row decoder circuit, a column decoder circuit, and a memory in the column direction. A sense amplifier corresponding to the cell, and a read / write circuit corresponding to the memory cell in the column direction, an arithmetic means for calculating a parity value of each row and a parity value of each column in the memory cell array, and the parity value Storage means for storing; check means for checking the occurrence of a parity error with respect to the parity value; identification means for identifying a memory cell in which an error has occurred based on information on a row and a column in which the parity error has occurred; And correction means for correcting the memory cell in which an error has occurred.
また、本発明の第2の態様は、半導体記憶装置として、m行並びにn列のメモリセルを有するメモリセルブロックがM行並びにN列に渡って配置されたブロック構成のメモリセルアレイ(m、n、M、Nは正の整数)、行デコーダ回路、列デコーダ回路、前記メモリセルブロックの列方向の前記メモリセルに対応したセンスアンプ、及び前記ブロック構成のブロック列ごとに配置されたリード/ライト回路とを具備し、前記各メモリセルブロック内に共通するm行並びにn列のメモリセルのパリティ値、及び前記ブロック列の前記メモリセルブロックに配置された前記メモリセルのパリティ値を演算する演算手段と、前記パリティ値を記憶する記憶手段と、前記パリティ値に関し、パリティエラーの発生をチェックするチェック手段と、前記パリティエラーが発生したメモリセルブロックの行及び列の情報、並びにメモリセルブロック内の行及び列の情報をもとに、エラーが発生したメモリセルを同定する同定手段と、エラーが発生した前記メモリセルを訂正する訂正手段とを有することを特徴とする。 According to a second aspect of the present invention, as a semiconductor memory device, a memory cell array (m, n) having a block configuration in which memory cell blocks having memory cells in m rows and n columns are arranged in M rows and N columns. , M and N are positive integers), row decoder circuit, column decoder circuit, sense amplifier corresponding to the memory cell in the column direction of the memory cell block, and read / write arranged for each block column of the block configuration An arithmetic circuit for calculating a parity value of m rows and n columns of memory cells common to each memory cell block and a parity value of the memory cells arranged in the memory cell block of the block column. Means, storage means for storing the parity value, check means for checking occurrence of a parity error with respect to the parity value, and Identifying means for identifying a memory cell in which an error has occurred based on information on the row and column of the memory cell block in which the error has occurred, and information on the row and column in the memory cell block, and the memory in which the error has occurred Correction means for correcting the cell.
本発明によれば、ローカルパリティセル及びグローバルパリティセルを用いることにより、従来のECC方式と比較し、チップ全体の面積増加を抑制し、かつ、エラー訂正が可能な半導体記憶装置を提供できる。 According to the present invention, by using a local parity cell and a global parity cell, it is possible to provide a semiconductor memory device that can suppress an increase in the area of the entire chip and can perform error correction as compared with the conventional ECC system.
以下、図面を参照して本発明の実施例を説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は、本発明による半導体記憶装置の第1の実施例における基本原理を示すブロック図である。 FIG. 1 is a block diagram showing the basic principle of a first embodiment of a semiconductor memory device according to the present invention.
本実施例の半導体記憶装置はDRAMであり、メモリセルアレイ10の中に1キロビット、即ち、32行×32列のデータメモリセル11を有する。また、各行に1個ずつのローカルパリティセル12を有する。ローカルパリティセル12にはそれぞれの行におけるパリティ値が格納される。また、ローカルパリティ値は、その行のすべてのセルに関するデータを排他的論理和によって計算し、偶数パリティとして記憶される。
The semiconductor memory device of this embodiment is a DRAM, and has 1 kilobit, that is, 32 rows × 32 columns of
また、ワード線に対してロウデコーダ13、ビット線に対して第1のセンスアンプ及びプリチャージ回路14、リード/ライト回路及びエラー訂正回路15、パリティ演算回路16及びカラムデコーダ17がそれぞれ配置されている。
Also, a
リード/ライト回路及びエラー訂正回路15の中には、それぞれグローバルパリティとして1ビットを記憶するグローバルパリティセルであるレジスタ(図示せず)が用意されている。また、グローバルパリティ値はその各列のすべてのセルデータを排他的論理和によって計算し、偶数パリティとして記憶される。
In the read / write circuit and the
次に、エラー検出の原理を説明する。データメモリセルの一つ、例えばエラーセル18がソフトエラーによりビット反転すると、そのエラーセル18に対応する行のローカルパリティセル18aのパリティ値、及び対応するリード/ライト回路およびエラー訂正回路18bにおけるグローバルパリティセルのパリティ値が前回の計算値から反転する。すなわち、前回の計算値と、今回の計算値が反転したローカルパリティの行及びグローバルパリティの列をたどることによりエラーセル18を知ることができる。
Next, the principle of error detection will be described. When one of the data memory cells, for example, the
そのエラーセルを、更に反転処理することにより、エラー訂正を行うことができる。 Error correction can be performed by further inverting the error cell.
図2は本発明における第2の実施例におけるメモリセルアレイ及び主要な周辺回路を示すブロック図である。 FIG. 2 is a block diagram showing a memory cell array and main peripheral circuits in the second embodiment of the present invention.
本実施例における半導体記憶装置はDRAMであり、メモリセルアレイ20として512行×64列のデータメモリセルブロック21が32行及び32列に渡って配置され、かつ、ローカルパリティセルブロック22が列の中央部分に配置されている。従って、列方向には合計33個のメモリセルブロックが配置されている。
The semiconductor memory device in this embodiment is a DRAM, and the
また、ワード線に対してロウデコーダ23、ビット線に対して第1のセンスアンプ及びプリチャージ回路24、リード/ライト回路及びエラー訂正回路25、パリティ演算回路26及びカラムデコーダ27がそれぞれ配置されている。
Also, a
エラー検出の原理を以下に説明する。データメモリセルの一つが、例えばソフトエラーによりビット反転する場合、先ずエラーセルを含むデータメモリセルブロック28に対応する列のローカルパリティセルブロック28aのローカルパリティセルにおけるパリティ値、及び対応するリード/ライト回路およびエラー訂正回路28bにおけるグローバルパリティセルにおけるパリティ値が前回の計算値から反転する。すなわち、その前回の計算値と、今回の計算値が反転したローカルパリティブロックの行及びグローバルパリティブロックの列をたどることによりエラーセルを含むメモリセルブロック28を知ることができる。更に、エラーセルを含むメモリセルブロック28の中で、実際にエラーを起こしたセルはエラーが検出されたローカルパリティセルブロックのエラー部と同一である。
The principle of error detection will be described below. When one of the data memory cells is bit-inverted due to, for example, a soft error, first, the parity value in the local parity cell of the local
また、実施例1と同様に、そのエラーセルを反転処理することにより、エラー訂正を行うことができる。 Similarly to the first embodiment, error correction can be performed by inverting the error cell.
図3はデータメモリセルブロック30におけるデータメモリセル31の配置を示す回路図である。データメモリセル31が512行×64列分、また、右端には第1のセンスアンプ及びプリチャージ回路35が64列分配置されている。
FIG. 3 is a circuit diagram showing the arrangement of the
次に、データメモリセルブロック30における動作を説明する。先ず、メモリ動作の待機時には、第1のセンスアンプ及びプリチャージ回路35におけるプリチャージ回路により、全てのビット線34であるBL0から/BL63は、同電位、即ちハイレベルとロウレベルの中間電位にリセットされる。
Next, the operation in the data
次に、図示しない外部から与えられた行番地に対応する行選択線33として、WL0からWL511の中でいずれかの行選択線33が1本だけ選択され、ハイレベルになる。
Next, only one
これにより、その選択線に接続されたトランジスタ32を介して、そのトランジスタ32に接続したキャパシタ32aに蓄えられたデータの電荷をビット線に移し、BLn又は/BLn(n:0〜63の整数)のどちらかの電位を数100mV程度、増減させる。
As a result, the charge of the data stored in the
続いて、第1のセンスアンプ及びプリチャージ回路35における第1のセンスアンプを動作させ、電位が増減した側のBLnまたは/BLnと電位が増減していない他方との電位差を論理的ハイレベル電位もしくはロウレベル電位にまで増幅する。この増幅により、WL選択時に電荷を放出したキャパシタは、再度、充電される。これがリフレッシュ動作である。
Subsequently, the first sense amplifier and the first sense amplifier in the
次に、図示しない外部から与えられた列番地に対し、64本の列選択線37から一つの線を選択し、ブロック内データバス36に接続する。更に、ブロック選択線38の制御により、データバス39に接続する。データバス39は図示しないリード/ライト回路に接続する。また、データバス39からのデータはDn及び/Dn(n:0〜31の整数)としてリード/ライト回路へ出力される。
Next, for a column address given from outside (not shown), one line is selected from the 64
図2に示した全体のブロック図に上述のデータメモリセルブロックを当てはめると、列方向に配置された32個のデータメモリセルブロック列からそれぞれ1個のデータメモリセルを同時に読み出し及び書き込みできる。 When the above-described data memory cell block is applied to the entire block diagram shown in FIG. 2, one data memory cell can be simultaneously read and written from 32 data memory cell block columns arranged in the column direction.
図4はローカルパリティブロック30aを詳細に示したものであり、前述の図3と構造は同じである。但し、データバス39からのデータはDp及び/Dpとしてリード/ライト回路へ出力される。
FIG. 4 shows the
図2に示した本実施例のブロック図におけるリード/ライト回路及びエラー訂正回路25の詳細な回路図を図5に示す。リード/ライト回路50は通常のDRAMに利用される回路と基本的に同じである。
FIG. 5 shows a detailed circuit diagram of the read / write circuit and
先ず、読み出し動作(リード)について説明する。図5に示すように、データバス51を通して出力されるデータDn及び/Dnを第2のセンスアンプ52を用いて増幅し、読み出しデータDataN及び/DataN(N:0〜31の整数)として出力する。第2のセンスアンプ52を用いて増幅する際、タイミング信号RDEが与えられる。ここでDnとDataNの間及び/Dnと/DataNの間はノードとして独立している。増幅された信号DataNは通常動作の場合は出力回路へ送られ、読み出し動作(リード)は終了する。
First, a read operation (read) will be described. As shown in FIG. 5, the data Dn and / Dn output through the
次に、図5における書き込み動作(ライト)について説明する。通常の書き込みは、図示しない入力バッファ回路からのデータ書き込みデータであるWnが入力し、一方、書き込みタイミング信号としてWTEが与えられる。インバータ、NAND回路及びNOR回路の組合せにより、書き込みゲート53を活性化するWRT0n或いはWRT1nが与えられ、Dnと/Dnのどちらかの信号がロウレベルに落とされ、前述のメモリセルの第1のセンスアンプ35を介してメモリセルに書き込まれる。
Next, the write operation (write) in FIG. 5 will be described. In normal writing, Wn as data write data from an input buffer circuit (not shown) is input, while WTE is given as a write timing signal. The combination of the inverter, NAND circuit and NOR circuit gives WRT0n or WRT1n for activating the
本実施例においては、通常のリード及びライトの動作以外に、メモリセルのエラーチェック及びエラー訂正に伴うリード及びライトの動作が必要になる。以下にエラーチェック及びエラー訂正について説明する。 In this embodiment, in addition to normal read and write operations, read and write operations associated with memory cell error checking and error correction are required. The error check and error correction will be described below.
先ず、エラー訂正動作を行う場合は、エラーセルの発生をチェックするため、後述するローカルパリティ演算回路60及びエラー訂正回路50aへデータを出力する。
First, when performing an error correction operation, data is output to a local
図6にローカルパリティを検出するローカルパリティ演算回路を示す。ローカルパリティ演算回路60の演算回路ユニット61は排他的論理和回路によって構成されている。それぞれのデータメモリセルブロックから生成されたデータD0〜D31を増幅したData0〜Data31の信号を読み出し、最終演算結果をローカルパリティ演算データ62としてローカルパリティ値DataPを出力する。排他的論理和回路を使用しているため,一つのデータがエラーにより反転すると、最終データであるDataPも反転する。
FIG. 6 shows a local parity calculation circuit for detecting local parity. The
次にエラー訂正機能及びその動作について説明する。図7はローカルパリティセルブロックに対応したリード/ライト回路50b及びエラー訂正回路50aである。
Next, an error correction function and its operation will be described. FIG. 7 shows a read /
先ず、ローカルパリティの書き込みは、図6に示したDataPを、図7に示す書き込みタイミング信号WTEと同期させ、データ書き込み信号DataPとして入力する。インバータ、NAND回路及びNOR回路の組合せにより、書き込みゲート53を活性化する信号PWRT0或いはPWRT1が与えられ、DP或いは/DPのどちらかの信号が、ロウレベルに落とされ、メモリセルの第1のセンスアンプ35を介してメモリセルに書き込まれる。
First, in writing local parity, DataP shown in FIG. 6 is input as data write signal DataP in synchronization with write timing signal WTE shown in FIG. The signal PWRT0 or PWRT1 for activating the
一方、ローカルパリティ値の読み出しは図5と同じであり、詳しい説明は省略する。結果として、セルに記憶した値を増幅してローカルパリティ信号であるLP及び/LPとして出力する。 On the other hand, reading of the local parity value is the same as in FIG. As a result, the value stored in the cell is amplified and output as LP and / LP which are local parity signals.
ローカルパリティのエラーチェックはエラーチェク回路57で行う。これは前回ローカルパリティセルに書き込んだパリティ値を読み出し、その値と今回のパリティ計算の結果であるDataPを比較し、一致しない場合は、ローカルパリティ発生信号LPERRを生成する。
The
次に、エラー訂正について説明する。図5のリード/ライト回路50から送られたデータDataNはエラー訂正回路50aに入力される。更に、排他的論理和回路によってグローバルパリティ演算レジスタ54に格納されているデータとの演算を行い、第1のシフトレジスタ56aを通してグローバルパリティ演算レジスタ54へ送られる。ここでは、順次送られるデータを演算処理し、データメモリセルブロック内の一列の処理を終了すると、第2のシフトレジスタ56bを介してグローバルパリティセルであるグローバルパリティ記憶レジスタ54aにその演算結果であるデータを格納する。このデータがグローバルパリティ値である。
Next, error correction will be described. Data DataN sent from the read /
また、一連の処理終了後、グローバルパリティ演算レジスタ54へリセット信号GPRSTを送り、次の列の演算処理を行う。
After a series of processing ends, a reset signal GPRST is sent to the global
グローバルパリティエラーの検出は、グローバルパリティ記憶レジスタ54aに格納されたグローバルパリティ値とグローバル演算レジスタ54に送られたデータを、排他的論理和回路を用いて演算する。即ち、両者が不一致の場合はエラーとなる。
To detect a global parity error, the global parity value stored in the global parity storage register 54a and the data sent to the
その結果はグローバルパリティエラーステータス回路55へ格納される。グローバルパリティエラーが発生した場合、ローカルパリティエラーLPERRを示す信号と共に、タイミング信号CWTEと同期させて、DataNと/DataNからDn又はDnを反転させたデータを書き込み、エラー訂正を行う。なお、グローバルパリティエラーの発生はタイミング信号GPCHECKにより制御される。
The result is stored in the global parity
本実施例はリフレッシュのサイクルを利用して、ローカルパリティ及びグローバルパリティの演算及び記憶、演算結果と記憶している結果が不一致の場合、内部でエラー訂正を行う。 In this embodiment, the refresh cycle is used to calculate and store local parity and global parity, and to perform error correction internally when the calculation result and the stored result do not match.
図8は本実施例におけるエラー訂正の動作を説明する概念図である。横軸は時間(時刻)、縦軸はリフレッシュアドレス或いはエラー発生アドレスとする。説明を判り易くするため、アドレスは0〜3だけにし、横軸である時間軸はリフレッシュの間隔を1とする。図中の白丸印○及び黒丸印●はリフレッシュ動作の時刻及びそのアドレスを示す。 FIG. 8 is a conceptual diagram for explaining the error correction operation in this embodiment. The horizontal axis represents time (time), and the vertical axis represents a refresh address or an error occurrence address. In order to make the explanation easy to understand, the addresses are only 0 to 3, and the time axis which is the horizontal axis is set to 1 for the refresh interval. The white circles ○ and black circles ● in the figure indicate the refresh operation time and its address.
リフレッシュ動作ステップS1として、時刻0ではアドレス0がリフレッシュ、時刻1ではアドレス1がリフレッシュ、以後、アドレスの順にリフレッシュを繰り返す。時刻3の△印はソフトエラーが発生した時刻と、そのアドレスを示す。
As the refresh operation step S1, address 0 is refreshed at time 0,
ソフトエラーが発生すると、時刻4から始まるリフレッシュ動作ステップS2の時刻5のリフレッシュ時にローカルパリティエラーの発生を検出する。続いて、時刻7のリフレッシュ動作ステップS2の終了時点でグローバルパリティエラーの発生を検出する。
When a soft error occurs, the occurrence of a local parity error is detected during the refresh operation at time 5 in the refresh operation step S2 starting from time 4. Subsequently, occurrence of a global parity error is detected at the end of the refresh operation step S2 at
更に、このグローバルパリティエラーを保持し、リフレッシュ動作ステップS3の時刻9のリフレッシュ時にローカルパリティエラーの再発生を検出し、この時点でローカルパリティエラーとグローバルパリティエラーを組み合わせることでエラー訂正を行う。その後、リフレッシュ動作ステップS3の終了時点で、グローバルパリティエラーがリセットされる。この段階において、エラーのない通常の状態に戻る。 Further, this global parity error is held, and the occurrence of a local parity error is detected at the time of refresh at time 9 in the refresh operation step S3. At this time, the error correction is performed by combining the local parity error and the global parity error. Thereafter, at the end of the refresh operation step S3, the global parity error is reset. At this stage, the normal state without error is restored.
その後、時刻12の△印において、再びソフトエラーが発生した場合、時刻3のソフトエラーと同様に、リフレッシュ動作ステップS4以降の手順によって、エラー訂正が可能である。 After that, when a soft error occurs again at the time Δ, the error can be corrected by the procedure after the refresh operation step S4 as in the case of the soft error at time 3.
これを図2の実施例上で実際の時間軸に例えてみると、リフレッシュコマンドを受けるごとに、32ビットのセルデータを読み出し、ローカルパリティセルの演算及びグローバルパリティの演算を行い、そのリフレッシュ規定を、8,192回/64ミリ秒とする場合、32Mビットのセルアレイを1回リフレッシュするためには、8.192秒を必要とする。従って、その2倍の16.384秒に1ビットの頻度のエラーを訂正できる。 When this is compared to the actual time axis in the embodiment of FIG. 2, every time a refresh command is received, 32-bit cell data is read, local parity cell calculation and global parity calculation are performed, and the refresh rule is defined. Is 8,192 times / 64 milliseconds, it takes 8.192 seconds to refresh a 32-Mbit cell array once. Therefore, an error with a frequency of 1 bit can be corrected in twice that of 16.384 seconds.
例えば、数時間/ビット以下の低発生頻度のソフトエラーに弱いセルをスクリーニングする場合、テスト装置を数時間〜数日以上に渡って使用する必要があり、テストコストの増大をもたらす。本発明はそれらのエラーセルをDRAMの内部で自動救済することで、不良品数の低減、テストコストの低減、信頼性の向上を実現することができる。 For example, when screening a cell that is vulnerable to a soft error with a low occurrence frequency of several hours / bit or less, it is necessary to use the test apparatus for several hours to several days or more, resulting in an increase in test cost. In the present invention, these error cells are automatically relieved in the DRAM, so that the number of defective products can be reduced, the test cost can be reduced, and the reliability can be improved.
図9は図2の列方向のメモリセルブロック数を33(32+1)から65(64+1)にしたものである。この場合においてもエラー訂正をするために追加したブロックはローカルパリティセルブロック22だけであり、面積増加率少ない。例えばソフトエラー訂正機能のないメモリセル面積を100%とするならば、図2のソフトエラー訂正方式での面積増加率は33/32=+3.1250%、図9のソフトエラー訂正方式での面積増加率は65/64=+1.5625%となる。
FIG. 9 shows the number of memory cell blocks in the column direction of FIG. 2 increased from 33 (32 + 1) to 65 (64 + 1). Even in this case, the only block added for error correction is the local
このように本発明の場合、列方向のメモリセルブロック数が多くなるに従い、エラー訂正機能を盛り込むために要する面積増加分は低下する。 Thus, in the case of the present invention, as the number of memory cell blocks in the column direction increases, the area increase required for incorporating the error correction function decreases.
10、20 メモリセルアレイ
11、31 データメモリセル
12 ローカルパリティセル
13、23 ロウデコーダ
14、24 第1のセンスアンプ
15、25 リード/ライト回路及びエラー訂正回路
16、26 パリティ演算回路
17、27 カラムデコーダ
18 エラーセル
18a エラーが検出されたローカルパリティセル
18b、28b エラーが検出されたリード/ライト回路及びエラー訂正回路
21、30 データメモリセルブロック
22 ローカルパリティセルブロック
28 エラーセルを含むデータメモリセルブロック
28a エラーが検出されたローカルパリティセルブロック
32 トランジスタ
32a キャパシタ
33 行選択線
34 ビット線
35 第1のセンスアンプ及びプリチャージ回路
36 ブロック内データバス
37 列選択線
38 ブロック選択線
39 データバス
30a ローカルパリティメモリセルブロック
31a ローカルパリティセル
50、50b リード/ライト回路
50a エラー訂正回路
51 データバス
52 第2のセンスアンプ回路
53 書き込みゲート
54 グローバルパリティ演算レジスタ
54a グローバルパリティ記憶レジスタ
55 グローバルパリティエラーステータス回路
56a 第1のシフトレジスタ
56b 第2のシフトレジスタ
60 パリティ演算回路
61 演算回路ユニット
62 ローカルパリティ演算データ
70 パリティ用追加セルブロック
10, 20
Claims (5)
前記メモリセルアレイにおける各行のパリティ値及び各列のパリティ値を演算する演算手段と、
前記パリティ値を記憶する記憶手段と、
前記パリティ値に関し、パリティエラーの発生をチェックするチェック手段と、
前記パリティエラーが発生した行及び列の情報をもとに、エラーが発生したメモリセルを同定する同定手段と、
エラーが発生した前記メモリセルを訂正する訂正手段とを
有することを特徴とする半導体記憶装置。 A memory cell array in which memory cells are arranged in a row direction and a column direction, a row decoder circuit, a column decoder circuit, a sense amplifier corresponding to the memory cells in the column direction, and a read / write circuit corresponding to the memory cells in the column direction Equipped,
Arithmetic means for calculating the parity value of each row and the parity value of each column in the memory cell array;
Storage means for storing the parity value;
Check means for checking the occurrence of a parity error with respect to the parity value;
Identification means for identifying the memory cell in which the error has occurred, based on the row and column information in which the parity error has occurred;
And a correction means for correcting the memory cell in which an error has occurred.
前記各メモリセルブロック内に共通するm行並びにn列のメモリセルのパリティ値、及び前記ブロック列の前記メモリセルブロックに配置された前記メモリセルのパリティ値を演算する演算手段と、
前記パリティ値を記憶する記憶手段と、
前記パリティ値に関し、パリティエラーの発生をチェックするチェック手段と、
前記パリティエラーが発生したメモリセルブロックの行及び列の情報、並びにメモリセルブロック内の行及び列の情報をもとに、エラーが発生したメモリセルを同定する同定手段と、
エラーが発生した前記メモリセルを訂正する訂正手段とを
有することを特徴とする半導体記憶装置。 Memory cell array (m, n, M, N is a positive integer) having a block configuration in which memory cell blocks having memory cells in m rows and n columns are arranged in M rows and N columns, a row decoder circuit, and a column decoder A circuit, a sense amplifier corresponding to the memory cell in the column direction of the memory cell block, and a read / write circuit arranged for each block column of the block configuration,
Arithmetic means for calculating a parity value of m rows and n columns of memory cells common in each memory cell block, and a parity value of the memory cells arranged in the memory cell block of the block column;
Storage means for storing the parity value;
Check means for checking the occurrence of a parity error with respect to the parity value;
Identification means for identifying the memory cell in which the error has occurred based on the row and column information of the memory cell block in which the parity error has occurred, and the row and column information in the memory cell block;
A semiconductor memory device, comprising: correction means for correcting the memory cell in which an error has occurred.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004108082A JP2005293728A (en) | 2004-03-31 | 2004-03-31 | Semiconductor memory device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004108082A JP2005293728A (en) | 2004-03-31 | 2004-03-31 | Semiconductor memory device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2005293728A true JP2005293728A (en) | 2005-10-20 |
Family
ID=35326495
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004108082A Pending JP2005293728A (en) | 2004-03-31 | 2004-03-31 | Semiconductor memory device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2005293728A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101433672B1 (en) | 2012-12-11 | 2014-09-23 | 한국과학기술원 | Concatenated BCH encoding circuit, storage device and storage system including the same |
| US9600359B2 (en) | 2012-05-31 | 2017-03-21 | Hewlett Packard Enterprise Development Lp | Local error detection and global error correction |
| CN114138544A (en) * | 2021-12-03 | 2022-03-04 | 海光信息技术股份有限公司 | Data reading and writing method and device and soft error processing system |
-
2004
- 2004-03-31 JP JP2004108082A patent/JP2005293728A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9600359B2 (en) | 2012-05-31 | 2017-03-21 | Hewlett Packard Enterprise Development Lp | Local error detection and global error correction |
| KR101433672B1 (en) | 2012-12-11 | 2014-09-23 | 한국과학기술원 | Concatenated BCH encoding circuit, storage device and storage system including the same |
| CN114138544A (en) * | 2021-12-03 | 2022-03-04 | 海光信息技术股份有限公司 | Data reading and writing method and device and soft error processing system |
| CN114138544B (en) * | 2021-12-03 | 2025-09-30 | 海光信息技术股份有限公司 | Data reading and writing method and device, and soft error processing system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR102658230B1 (en) | Semiconductor memory devices, memory systems including the same and method of operating semiconductor memory devices | |
| US10614906B2 (en) | Semiconductor memory devices, memory systems and methods of operating semiconductor memory devices | |
| US7167403B2 (en) | Semiconductor storage device and refresh control method therefor | |
| KR100864035B1 (en) | Memory circuit having parity cell array | |
| JP3892832B2 (en) | Semiconductor memory device | |
| US7392456B2 (en) | Predictive error correction code generation facilitating high-speed byte-write in a semiconductor memory | |
| EP1255197B1 (en) | System and method for correcting soft errors in random access memory devices | |
| CN100541440C (en) | Semiconductor memory device and pseudo SRAM | |
| KR20220094489A (en) | Semiconductor memory devices and methods of operating the same | |
| KR102787324B1 (en) | Semiconductor memory devices and memory systems including the same | |
| KR102660417B1 (en) | Semiconductor memory devices and methods of operating the same | |
| US7385849B2 (en) | Semiconductor integrated circuit device | |
| CN110942798B (en) | Semiconductor memory device, memory system, and method for operating a semiconductor memory device | |
| US20220382464A1 (en) | Semiconductor memory device and memory system including the same | |
| US7949933B2 (en) | Semiconductor integrated circuit device | |
| US20060282755A1 (en) | Random access memory having ECC | |
| JP4627411B2 (en) | Memory device and memory error correction method | |
| JP2005293728A (en) | Semiconductor memory device | |
| US20030046630A1 (en) | Memory using error-correcting codes to correct stored data in background | |
| JP7299374B1 (en) | Semiconductor memory device and control method for semiconductor memory device | |
| JP2003157696A (en) | Memory circuit having parity cell array | |
| JP2627491B2 (en) | Semiconductor storage device | |
| CN117393030A (en) | Memory, memory system and operation method of memory | |
| JPS60113394A (en) | Error correction method | |
| JPS63175299A (en) | Semiconductor storage device with ECC function |