JP5263251B2 - Semiconductor memory device - Google Patents

Semiconductor memory device Download PDF

Info

Publication number
JP5263251B2
JP5263251B2 JP2010214751A JP2010214751A JP5263251B2 JP 5263251 B2 JP5263251 B2 JP 5263251B2 JP 2010214751 A JP2010214751 A JP 2010214751A JP 2010214751 A JP2010214751 A JP 2010214751A JP 5263251 B2 JP5263251 B2 JP 5263251B2
Authority
JP
Japan
Prior art keywords
error correction
bit
memory device
semiconductor memory
error
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 - Fee Related
Application number
JP2010214751A
Other languages
Japanese (ja)
Other versions
JP2010282725A (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.)
Fujitsu Semiconductor Ltd
Original Assignee
Fujitsu Semiconductor 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 Fujitsu Semiconductor Ltd filed Critical Fujitsu Semiconductor Ltd
Priority to JP2010214751A priority Critical patent/JP5263251B2/en
Publication of JP2010282725A publication Critical patent/JP2010282725A/en
Application granted granted Critical
Publication of JP5263251B2 publication Critical patent/JP5263251B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Description

本発明は半導体記憶装置に関し、特にエラー訂正機能を有する半導体記憶装置に関する。   The present invention relates to a semiconductor memory device, and more particularly to a semiconductor memory device having an error correction function.

近年、情報機器に搭載されるDRAM(Dynamic Random Access Memory)などの半導体記憶装置において、必要となるメモリ容量は急速に増大している。このメモリ容量の増大には微細化技術の進展で対応してきたが、微細化技術が進むとメモリセルの信頼性が低下してくる。これを防止するために、メモリセルアレイに余分に記憶領域(冗長領域)を設けて、通常のメモリセルアレイ領域の不良のあるメモリセルの代わりに、冗長領域の良品のメモリセルを選択して、不良を救済する冗長技術があった。この技術により、製品そのものの信頼性の低下は防止できるが、近年、DRAMのようなリフレッシュ動作を必要とするメモリセルで、保持時間が突発的に変動することにより、製品出荷後に不良が発生する問題があった。   In recent years, the required memory capacity of semiconductor memory devices such as DRAM (Dynamic Random Access Memory) mounted on information equipment has been rapidly increasing. This increase in memory capacity has been dealt with by progress in miniaturization technology, but as the miniaturization technology progresses, the reliability of memory cells decreases. In order to prevent this, an extra storage area (redundant area) is provided in the memory cell array, and a defective memory cell in the redundant area is selected instead of a defective memory cell in the normal memory cell array area. There was redundant technology to remedy. Although this technology can prevent a decrease in the reliability of the product itself, in recent years, a memory cell that requires a refresh operation such as a DRAM causes a failure after product shipment due to a sudden change in retention time. There was a problem.

このような保持期間の突発的な変動による不良の対応策の1つとして、ECC(Error Checking and Correcting)機能を搭載するということが挙げられる。一般的によく使われている1ビット訂正可能なECCを用いた場合、読み出しデータに1ビットのエラーがあってもECCを使って訂正することができる。また、ECC機能を搭載することで、冗長技術による不良の救済の肩代わりをさせるという方法も考えられる。つまり、ECCコード(例えばハミング符号)内のエラーが1ビットの場合には、冗長領域を使用することはせず、毎回1ビットエラーの状態で読み出してエラー訂正を行うということである。   As one of countermeasures against defects due to such a sudden change in the retention period, an ECC (Error Checking and Correcting) function is installed. When a 1-bit correctable ECC that is generally used is used, even if there is a 1-bit error in the read data, it can be corrected using the ECC. In addition, there is a method of using the ECC function to take over the remedy for defects by the redundancy technique. That is, when the error in the ECC code (for example, a Hamming code) is 1 bit, the redundant area is not used, and error correction is performed by reading in a 1-bit error state every time.

このようにすることで、ある程度までの単ビット不良(1回の読み出し動作で2個以上の不良が出てしまうのではなく、BL(ビット線)ショート/断線などが原因で、1回の読み出しで1個の不良しかでないもの)には冗長領域を使用しなくてすむ。それにより、今まででは不良ビットが多すぎて所定の冗長領域では救済できないため不良チップとなって捨てていたものも良品チップとすることができるので、歩留まり向上に寄与することができる。   By doing this, single bit failure to a certain extent (two or more failures are not generated by one read operation, but one read operation is caused by BL (bit line) short / break). In this case, it is not necessary to use a redundant area. As a result, since there are too many defective bits that cannot be remedied in a predetermined redundant area, a chip that has been discarded as a defective chip can be made a non-defective chip, which can contribute to an improvement in yield.

しかし、ECC機能によって冗長技術による不良ビットの救済の肩代わりをした単ビット不良の数が多すぎると、保持時間の突発的な変動による不良ビットを救える確率が低くなってしまう。ここで重要になるのが、製品として出荷するときにどれだけの数までなら、ECC機能によって冗長技術による不良ビットの救済の肩代わりをすることができるかを決めておくことと、それを試験することができるということである。   However, if there are too many single bit defects that have been taken over by the ECC function to repair the defective bits by the redundancy technique, the probability that the defective bits can be saved due to a sudden change in the holding time will be low. What is important here is to determine how many can be used when shipping as a product, and to determine if the ECC function can replace the defective bits with redundancy technology and test it. Is that you can.

そのために、エラー訂正を行った回数を計数できるカウンタと、エラー訂正回数の上限を設定できるレジスタを配置し、且つ比較回路を用いてこのカウンタとレジスタの値を比較して、比較結果を出力するという機能が必要となる。   For this purpose, a counter that can count the number of times that error correction has been performed and a register that can set the upper limit of the number of error corrections are arranged, and a comparison circuit is used to compare the value of the counter and the register and output the comparison result. This function is required.

上記のような機能を有する半導体記憶装置は、例えば、特許文献1、2、3などに開示されており、以下のような構成となる。
図9は、従来の半導体記憶装置の構成を示す図である。
A semiconductor memory device having the above functions is disclosed in, for example, Patent Documents 1, 2, and 3, and has the following configuration.
FIG. 9 is a diagram showing a configuration of a conventional semiconductor memory device.

従来の半導体記憶装置20は、図示しないメモリコアのメモリセルアレイに記憶されたデータのうち、データビットを記憶するデータビット部21とパリティビットを記憶するパリティビット部22と、データビットとパリティビットを参照してエラー訂正を行うエラー訂正回路23と、入力データに応じて、例えばハミング符号に基づく演算などによりパリティビットを生成するパリティ演算回路24と、エラー訂正回数を計数するカウンタ25と、エラー訂正回数の上限値を格納するレジスタ26と、計数したエラー訂正回数とレジスタ26に格納されたエラー訂正の上限値を比較する比較回路27と、出力回路28及び入力回路29を有している。   A conventional semiconductor memory device 20 includes a data bit unit 21 for storing data bits, a parity bit unit 22 for storing parity bits, data bits and parity bits among data stored in a memory cell array of a memory core (not shown). An error correction circuit 23 that performs error correction with reference, a parity calculation circuit 24 that generates a parity bit by calculation based on a Hamming code, for example, according to input data, a counter 25 that counts the number of error corrections, and error correction It has a register 26 for storing the upper limit value of the number of times, a comparison circuit 27 for comparing the counted error correction number and the upper limit value of the error correction stored in the register 26, an output circuit 28 and an input circuit 29.

この従来の半導体記憶装置20において、エラー訂正回路23は、例えば64ビットのデータビットと、7ビットのパリティビットを参照して1ビットエラー検出及びエラー訂正を行う。検出された不良ビットが反転されることでエラー訂正がなされ、その結果が出力回路28を介して出力される。カウンタ25は、試験時に計数開始信号が入力されるとエラー訂正回数の計数を行う。そして比較回路27は、エラー訂正回数と、予めレジスタ26に格納されていたエラー訂正回数の上限値とを比較し、エラー訂正回数が所定の上限値を超えたか否かが判定される。上限値を超えた場合には、出力回路28はアラームを出力する。   In this conventional semiconductor memory device 20, the error correction circuit 23 performs 1-bit error detection and error correction with reference to, for example, 64 data bits and 7 parity bits. Error detection is performed by inverting the detected defective bit, and the result is output via the output circuit 28. The counter 25 counts the number of error corrections when a count start signal is input during the test. Then, the comparison circuit 27 compares the error correction count with the upper limit value of the error correction count previously stored in the register 26, and determines whether or not the error correction count exceeds a predetermined upper limit value. When the upper limit is exceeded, the output circuit 28 outputs an alarm.

特開昭49−60450号公報(p3,第2図)JP 49-60450 (p3, Fig. 2) 特開平1−94599号公報(p4、p5,第1図)JP-A-1-94599 (p4, p5, FIG. 1) 特開平6−131884号公報(段落番号〔0006〕〜〔0008〕,第1図)Japanese Patent Laid-Open No. 6-131884 (paragraph numbers [0006] to [0008], FIG. 1)

しかし、従来の半導体記憶装置では、試験パターンによっては、同じアドレスのデータに複数回アクセスすることがあるが、この際に不良ビットを複数回カウントしてしまうという問題があった。   However, in the conventional semiconductor memory device, depending on the test pattern, the data at the same address may be accessed a plurality of times. However, there is a problem that the defective bit is counted a plurality of times.

発明の一観点によれば、不良ビットを訂正するエラー訂正機能を有する半導体記憶装置において、1ビットエラー訂正可能な符号を構築するために必要なデータビットとパリティビットごとに、エラー訂正を行ったか否かのエラー訂正情報を記憶するエラー訂正記憶部を備えた半導体記憶装置が提供される。   According to one aspect of the invention, in a semiconductor memory device having an error correction function for correcting a defective bit, whether error correction has been performed for each data bit and parity bit necessary to construct a code capable of correcting 1-bit error. There is provided a semiconductor memory device including an error correction storage unit for storing error correction information on whether or not.

開示の半導体記憶装置によれば、エラー訂正回数の計数の際に、試験パターンによっては、同じアドレスのエラーを複数回訂正して、正確なエラー訂正回数が把握できなくなる問題を解決できる。   According to the disclosed semiconductor memory device, when the number of error corrections is counted, an error at the same address is corrected a plurality of times depending on the test pattern, and the problem that the accurate error correction number cannot be grasped can be solved.

第1の実施の形態の半導体記憶装置の構成を示す図である。1 is a diagram showing a configuration of a semiconductor memory device according to a first embodiment. 第2の実施の形態の半導体記憶装置の構成を示す図である。It is a figure which shows the structure of the semiconductor memory device of 2nd Embodiment. 第3の実施の形態の半導体記憶装置の構成を示す図である。It is a figure which shows the structure of the semiconductor memory device of 3rd Embodiment. 第4の実施の形態の半導体記憶装置の構成を示す図である。It is a figure which shows the structure of the semiconductor memory device of 4th Embodiment. エラー訂正記憶ビットへのエラー訂正情報の書き込みの様子を示すタイミングチャートである。It is a timing chart which shows the mode of writing of the error correction information to the error correction storage bit. エラー訂正記憶ビットへのエラー訂正情報のライト後におけるメモリコアの記憶状態を示す図である。It is a figure which shows the memory | storage state of a memory core after writing of the error correction information to an error correction storage bit. エラー訂正記憶ビットの読み出し及び計数の様子を示すタイミングチャートである。5 is a timing chart showing how error correction storage bits are read and counted. 第5の実施の形態の半導体記憶装置の構成を示す図である。It is a figure which shows the structure of the semiconductor memory device of 5th Embodiment. 従来の半導体記憶装置の構成を示す図である。It is a figure which shows the structure of the conventional semiconductor memory device.

以下、本発明の実施の形態を図面を参照して詳細に説明する。
図1は、第1の実施の形態の半導体記憶装置の構成を示す図である。
第1の実施の形態の半導体記憶装置10aは、データビットを記憶するデータビット部11とパリティビットを記憶するパリティビット部12と、データビットとパリティビットを参照してエラー訂正を行うエラー訂正回路13と、入力データに応じて、例えばハミング符号に基づく演算などによりパリティビットを生成するパリティ演算回路14と、エラー訂正回数を計数するカウンタ15aと、エラー訂正回数の上限値を設定するレジスタ16aと、計数したエラー訂正回数とレジスタ16aに格納したエラー訂正回数の上限値とを比較する比較回路17と、出力回路18及び入力回路19を有している。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a diagram showing a configuration of the semiconductor memory device according to the first embodiment.
The semiconductor memory device 10a according to the first embodiment includes a data bit unit 11 that stores data bits, a parity bit unit 12 that stores parity bits, and an error correction circuit that performs error correction with reference to the data bits and the parity bits. 13, a parity calculation circuit 14 that generates a parity bit by calculation based on a Hamming code, for example, according to input data, a counter 15a that counts the number of error corrections, and a register 16a that sets an upper limit value of the number of error corrections The comparator 17 compares the counted number of error corrections with the upper limit of the number of error corrections stored in the register 16a, and includes an output circuit 18 and an input circuit 19.

データビット部11とパリティビット部12は、図示しないメモリコアのメモリセルアレイにより構成されている。メモリセルアレイは、例えば、1つのコラム選択線で4つまたは8つのメモリセルを選択するような、4ビットもしくは8ビット単位で構成されている。   The data bit unit 11 and the parity bit unit 12 are configured by a memory cell array of a memory core (not shown). The memory cell array is configured in units of 4 bits or 8 bits, for example, in which 4 or 8 memory cells are selected by one column selection line.

なお、センスアンプやライトアンプ、アドレスを指定するコラムデコーダやロウデコーダなどは図示を省略している。
第1の実施の形態の半導体記憶装置10aにおいて、エラー訂正回数の上限値を記憶するレジスタ16aは、従来のものと異なり、外部から入力される上限値設定信号(以下第1の実施の形態では外部上限値取り込み信号という。)に応じて上限値を変更する。設定用上限値は、例えば、試験時に外部上限値取り込み信号がハイレベルになると、図示しないデータ入出力ピンを介してレジスタ16aに取り込まれる。この上限値が、ECC機能によって冗長技術による不良ビットの救済の肩代わりをする上限の値となる。
A sense amplifier, a write amplifier, a column decoder for designating an address, a row decoder, and the like are not shown.
In the semiconductor memory device 10a of the first embodiment, the register 16a for storing the upper limit value of the number of error corrections is different from the conventional one, and an upper limit value setting signal (hereinafter referred to as the first embodiment) is input from the outside. The upper limit value is changed according to the external upper limit value capturing signal). The setting upper limit value is taken into the register 16a via a data input / output pin (not shown), for example, when the external upper limit value taking signal becomes a high level during the test. This upper limit value is an upper limit value that can be used to repair defective bits by the redundancy technique by the ECC function.

以下、半導体記憶装置10aの動作を説明する。
データ書き込み時には、図示しないデータ入出力ピンより入力されたデータは、入力回路19を介して、データビット部11の指定されたアドレスに記憶される。この際、パリティ演算回路14にて入力データに応じ、ECCコード(例えばハミング符号)に基づく演算によりパリティビットが生成され、パリティビット部12の所定のアドレスに記憶される。
Hereinafter, the operation of the semiconductor memory device 10a will be described.
At the time of data writing, data input from a data input / output pin (not shown) is stored at a specified address of the data bit unit 11 via the input circuit 19. At this time, a parity bit is generated by a calculation based on an ECC code (for example, a Hamming code) in accordance with input data in the parity calculation circuit 14 and stored in a predetermined address of the parity bit unit 12.

例えば、1ビットエラー訂正のECCコードを構築する場合、8ビットのデータビットに対して4ビットのパリティビットが生成され、16ビットのデータビットに対しては5ビットのパリティビット、64ビットのデータビットに対して7ビットのパリティビット、128ビットのデータビットに対しては8ビットのパリティビットが生成されて、パリティビット部12に記憶される。   For example, when an ECC code for 1-bit error correction is constructed, 4-bit parity bits are generated for 8-bit data bits, 5-bit parity bits for 64-bit data bits, 64-bit data A 7-bit parity bit is generated for each bit, and an 8-bit parity bit is generated for the 128-bit data bits and stored in the parity bit unit 12.

一方、データ読み出し時には、1回の読み出しで、データビット部11とパリティビット部12の指定されたアドレスから、ECCコードを構築する例えば64ビットのデータビットと7ビットのパリティビットが読み出される。この際エラー訂正回路13は、データビットと、パリティビットとを参照して、1ビットエラー検出及びエラー訂正を行い、不良ビットが検出された場合にはそのビットを反転することにより訂正したデータを出力する。   On the other hand, at the time of data reading, for example, 64-bit data bits and 7-bit parity bits for constructing an ECC code are read from the addresses specified in the data bit part 11 and the parity bit part 12 in one reading. At this time, the error correction circuit 13 refers to the data bit and the parity bit to perform 1-bit error detection and error correction, and when a defective bit is detected, the error correction circuit 13 inverts the bit to correct the corrected data. Output.

次に試験時の動作を説明する。
試験時には、所定の試験パターンに応じて、アドレスをインクリメントまたはデクリメントして、データビット部11及びパリティビット部12の全てのアドレスのデータへのアクセスを行う。エラー訂正回路13では、ECCコードを構築する例えば64ビットのデータビットと、それに対応した7ビットのパリティビットを参照して、1ビットのエラー検出及びエラー訂正を行う。カウンタ15aは、試験時に外部ピンから入力される計数開始信号がハイレベルになるとエラー訂正回数の計数を開始する。このとき、カウンタから出力される計数値と、レジスタ16aに記憶されたエラー訂正回数の上限値が、比較回路17に入力されて比較される。比較回路17での比較結果は、出力回路18を介して出力される。カウンタ15aでの計数値が、レジスタ16aに設定された上限値に満たなければ、カウンタ15aはそのままエラー訂正回数の計数を継続して行う。所定の試験パターンを終えると、例えばカウンタ15aに入力される計数開始信号がロウレベルになって、エラー訂正回数の計数を停止する。また、試験中に上限値に達すると、出力回路18は例えばアラームを出力し、カウンタ15aは計数を中止する。
Next, the operation during the test will be described.
At the time of the test, the address is incremented or decremented according to a predetermined test pattern, and the data at all addresses in the data bit part 11 and the parity bit part 12 are accessed. The error correction circuit 13 performs 1-bit error detection and error correction with reference to, for example, 64-bit data bits for constructing the ECC code and 7-bit parity bits corresponding thereto. The counter 15a starts counting the number of error corrections when the count start signal input from the external pin at the time of the test becomes a high level. At this time, the count value output from the counter and the upper limit value of the number of error corrections stored in the register 16a are input to the comparison circuit 17 and compared. The comparison result in the comparison circuit 17 is output via the output circuit 18. If the count value in the counter 15a does not satisfy the upper limit value set in the register 16a, the counter 15a continues to count the number of error corrections as it is. When the predetermined test pattern is completed, for example, the count start signal input to the counter 15a becomes a low level, and the count of the number of error corrections is stopped. When the upper limit value is reached during the test, the output circuit 18 outputs an alarm, for example, and the counter 15a stops counting.

ところで、この上限値は、ECC機能によって冗長技術による不良ビットの救済の肩代わりをする上限であるから、上限値が小さすぎるとエラー訂正回数によっては冗長領域が多く必要になってしまう。また、上限値が大きすぎるとエラー訂正回数が多い場合に保持時間の突発的な変動による不良ビットを救える確率が低くなる。そのため、第1の実施の形態の半導体記憶装置10aでは、試験時に、このレジスタ16aに設定される上限値の調整ができるようにしている。具体的には、エラー訂正回数のカウントの終了後、入力される外部上限値取り込み信号を例えばハイレベルにして、図示しないデータ入出力ピンより、設定用上限値をレジスタ16aに取り込み、新たな上限値として設定する。   By the way, the upper limit value is an upper limit that can be used to repair defective bits by the redundancy technique using the ECC function. If the upper limit value is too small, a large number of redundant areas are required depending on the number of error corrections. On the other hand, if the upper limit value is too large, the probability of saving a defective bit due to a sudden change in holding time when the number of error corrections is large is reduced. Therefore, in the semiconductor memory device 10a of the first embodiment, the upper limit value set in the register 16a can be adjusted during the test. Specifically, after the count of the number of error corrections is completed, the input external upper limit value capture signal is set to a high level, for example, and the setting upper limit value is captured to the register 16a from a data input / output pin (not shown), and a new upper limit is set. Set as a value.

例えば、エラー訂正回数のカウントの終了後、アラーム発生の有無に応じて、上限値を変更して、それによってアラーム発生の有無が変化するかで、おおよそのエラー訂正回数を検出し、さらに保持期間の突発的な変動による不良の分を見積もって上限値を設定する。これにより、試験時のエラー訂正回数に合わせて上限値を設定することができるようになる。   For example, after counting the number of error corrections, the upper limit value is changed according to the presence or absence of an alarm, and the approximate number of error corrections is detected depending on whether the presence or absence of an alarm changes. The upper limit is set by estimating the amount of defects due to sudden fluctuations. As a result, the upper limit value can be set according to the number of error corrections during the test.

次に、第2の実施の形態の半導体記憶装置を説明する。
図2は、第2の実施の形態の半導体記憶装置の構成を示す図である。
第1の実施の形態の半導体記憶装置10aと同じ構成要素については同一符号とし、説明を省略する。
Next, a semiconductor memory device according to a second embodiment will be described.
FIG. 2 is a diagram illustrating a configuration of the semiconductor memory device according to the second embodiment.
The same components as those of the semiconductor memory device 10a of the first embodiment are denoted by the same reference numerals, and description thereof is omitted.

第2の実施の形態の半導体記憶装置10bにおいて、上限値を設定するレジスタ16bは、第1の実施の形態の半導体記憶装置10aと異なり、外部から上限値設定信号(第2の実施の形態では、計数値記憶信号という。)が入力されると(ハイレベルになると)、カウンタ15aでのエラー訂正回数の計数結果をエラー訂正回数の上限値として設定する。   In the semiconductor memory device 10b of the second embodiment, the register 16b for setting the upper limit value is different from the semiconductor memory device 10a of the first embodiment, and an upper limit value setting signal (in the second embodiment, from the outside). , A count value storage signal) is input (when the count value is stored at a high level), the count result of the error correction count in the counter 15a is set as the upper limit value of the error correction count.

以下、第2の実施の形態の半導体記憶装置10bの動作を説明する。リード及びライト時の動作は、第1の実施の形態の半導体記憶装置10aと同様であるので説明を省略する。   Hereinafter, an operation of the semiconductor memory device 10b according to the second embodiment will be described. Since operations at the time of reading and writing are the same as those of the semiconductor memory device 10a of the first embodiment, description thereof is omitted.

試験時には、カウンタ15aによるエラー訂正回数の計数後、例えば、計数値記憶信号をハイレベルにして、レジスタ16bに計数結果を記憶する。そして、ストレス試験などを行った所定時間経過後に、再び前回と同じ試験パターンで試験を行い、比較回路17によりレジスタ16bに設定した前回の計数結果とカウンタ15aから出力される今回の計数結果とを比較する。今回の計数結果が前回のものよりも増えていれば、例えばアラームが出力回路18から出力され、経時劣化を把握することができる。   At the time of the test, after the number of error corrections by the counter 15a is counted, for example, the count value storage signal is set to the high level and the count result is stored in the register 16b. Then, after a predetermined time after performing the stress test, the test is performed again with the same test pattern as the previous time, and the previous count result set in the register 16b by the comparison circuit 17 and the current count result output from the counter 15a are obtained. Compare. If the current counting result is greater than the previous one, for example, an alarm is output from the output circuit 18 and the deterioration with time can be grasped.

なお、第1の実施の形態の半導体記憶装置10aのレジスタ16aに、上記の計数値記憶信号を入力するようにして、計数値記憶信号がハイレベルのときに、外部から上限値を取り込む代わりに、カウンタ15aの計数値をレジスタ16aに記憶するようにしてもよい。   Instead of fetching the upper limit value from the outside when the count value storage signal is at a high level by inputting the count value storage signal to the register 16a of the semiconductor memory device 10a of the first embodiment. The count value of the counter 15a may be stored in the register 16a.

次に、第3の実施の形態の半導体記憶装置を説明する。
図3は、第3の実施の形態の半導体記憶装置の構成を示す図である。
第1乃至第2の実施の形態の半導体記憶装置10aと同じ構成要素については同一符号とし、説明を省略する。
Next, a semiconductor memory device according to a third embodiment will be described.
FIG. 3 is a diagram illustrating the configuration of the semiconductor memory device according to the third embodiment.
The same components as those of the semiconductor memory device 10a according to the first or second embodiment are denoted by the same reference numerals, and the description thereof is omitted.

第3の実施の形態の半導体記憶装置10cにおいて、レジスタ16cは、第1の実施の形態の半導体記憶装置10aと異なり、外部から上限値設定信号(第3の実施の形態では、上限値インクリメント/デクリメント信号という。)が入力されると(ハイレベルになると)、クロック信号に同期して上限値をインクリメントまたはデクリメントする。   In the semiconductor memory device 10c of the third embodiment, the register 16c differs from the semiconductor memory device 10a of the first embodiment in that an upper limit value setting signal (in the third embodiment, the upper limit value increment / When a decrement signal is input (when it becomes high level), the upper limit value is incremented or decremented in synchronization with the clock signal.

以下、第3の実施の形態の半導体記憶装置10cの動作を説明する。リード及びライト時の動作は、第1乃至第2の実施の形態の半導体記憶装置10aと同様であるので説明を省略する。   The operation of the semiconductor memory device 10c according to the third embodiment will be described below. Since operations at the time of reading and writing are the same as those of the semiconductor memory device 10a of the first and second embodiments, description thereof is omitted.

試験時には、カウンタ15aによるエラー訂正回数の計数後、例えば、上限値インクリメント/デクリメント信号をハイレベルにすると、レジスタ16cは、予め記憶していた上限値をクロック信号に同期してインクリメントまたはデクリメントする。そしてそのたびに、エラー訂正回数の計数結果と比較する。例えば、アラームが発生していない場合、上限値をデクリメントしていくと、ある値でエラー訂正回数の計数結果より小さくなり、アラームが発生する。一方、アラームが発生している場合、上限値をインクリメントしていくと、ある値でエラー訂正回数の計数結果を上回るのでアラームが発生しなくなる。すなわち、比較回路17からの信号によりエラー訂正回数の詳細を把握することができる。   During the test, after the error correction count is counted by the counter 15a, for example, when the upper limit value increment / decrement signal is set to the high level, the register 16c increments or decrements the upper limit value stored in advance in synchronization with the clock signal. And each time, it compares with the count result of the number of times of error correction. For example, when an alarm has not occurred, if the upper limit value is decremented, a certain value becomes smaller than the count result of the number of error corrections, and an alarm is generated. On the other hand, when an alarm is generated, if the upper limit value is incremented, the alarm does not occur because a certain value exceeds the count result of the number of error corrections. That is, the details of the number of error corrections can be grasped from the signal from the comparison circuit 17.

なお、第1の実施の形態の半導体記憶装置10aのレジスタ16aに、カウンタ15aでのエラー訂正回数の計数後、上記の上限値インクリメント/デクリメント信号を入力するようにして、エラー訂正回数の詳細を把握できるようにしてもよい。   Incidentally, after counting the number of error corrections by the counter 15a to the register 16a of the semiconductor memory device 10a of the first embodiment, the above upper limit increment / decrement signal is input, and the details of the number of error corrections are described. You may make it understandable.

次に、第4の実施の形態の半導体記憶装置を説明する。
図4は、第4の実施の形態の半導体記憶装置の構成を示す図である。
第1乃至第3の実施の形態の半導体記憶装置10aと同じ構成要素については、同一符号とし、説明を省略する。
Next, a semiconductor memory device according to a fourth embodiment will be described.
FIG. 4 is a diagram showing a configuration of the semiconductor memory device according to the fourth embodiment.
The same components as those of the semiconductor memory device 10a of the first to third embodiments are denoted by the same reference numerals, and description thereof is omitted.

第4の実施の形態の半導体記憶装置10dは、同じアドレスのデータに複数回アクセスすることがあるような試験パターンで試験を行う場合に、不良ビットを複数回カウントしてしまうことを防止する機能を有する。そのような機能を実現するために、半導体記憶装置10dは、1ビットエラー訂正可能なECCコード(例えば、ハミング符号)を構築するために必要なデータビットとパリティビットごとに、エラー訂正を行ったか否かのエラー訂正情報を記憶するエラー訂正記憶ビット12aを有している。そして、カウンタ15bは、計数開始信号が入力されると、エラー訂正記憶ビット12aに記憶されたエラー訂正情報を基に、エラー訂正を行った回数を計数する。   The semiconductor memory device 10d according to the fourth embodiment has a function of preventing defective bits from being counted a plurality of times when a test is performed using a test pattern in which data at the same address may be accessed a plurality of times. Have In order to realize such a function, the semiconductor memory device 10d performs error correction for each data bit and parity bit necessary for constructing an ECC code (for example, a Hamming code) capable of correcting 1-bit error. It has an error correction storage bit 12a for storing error correction information on whether or not. When the count start signal is input, the counter 15b counts the number of times that error correction has been performed based on the error correction information stored in the error correction storage bit 12a.

通常、メモリセルアレイは、4ビットまたは8ビット単位で構成されている。つまり、1つのコラム選択線で、4つまたは8つのメモリセルが選択される。例えば、8ビット構成の場合、データビット64ビットに対してパリティビット7ビットでハミング符号が構築される場合、パリティビットを記憶するには7ビットでよいので1ビットの余剰分が存在する。この1ビットをエラー訂正記憶ビット12aに割り当てることで、メモリセルアレイの増加なしにこの機能を実現できる。   Usually, the memory cell array is configured in units of 4 bits or 8 bits. That is, four or eight memory cells are selected by one column selection line. For example, in the case of an 8-bit configuration, when a Hamming code is constructed with 7 parity bits for 64 data bits, 7 bits are sufficient to store the parity bits, so there is a surplus of 1 bit. By assigning this 1 bit to the error correction storage bit 12a, this function can be realized without increasing the memory cell array.

以下、第4の実施の形態の半導体記憶装置10dの動作を説明する。
リード及びライト時の動作は、第1乃至第3の実施の形態の半導体記憶装置10aと同様であるので説明を省略する。
The operation of the semiconductor memory device 10d according to the fourth embodiment will be described below.
Since operations at the time of reading and writing are the same as those of the semiconductor memory device 10a of the first to third embodiments, description thereof will be omitted.

試験時には、まず、半導体記憶装置10dは、メモリセルアレイの全てのアドレスのデータにアクセスして、エラー訂正回路13にて1ビットエラー検出及びエラー訂正を行う。   During the test, first, the semiconductor memory device 10d accesses data at all addresses in the memory cell array, and the error correction circuit 13 performs 1-bit error detection and error correction.

図5は、エラー訂正記憶ビットへのエラー訂正情報の書き込みの様子を示すタイミングチャートである。
ここでは、まずロウアドレスAdd(0)を選択して、メモリコア(Core)より例えばデータビット64ビット及びパリティビット7ビットごとリードして、エラー訂正回路13によるエラーの検出及びエラー訂正を行う。その結果を、エラー訂正情報として、メモリコアのエラー訂正記憶ビット12aにライトする。例えば、エラー訂正を行った場合には“1”、エラー訂正を行わなかった場合には“0”を記憶する。以上の処理を、全てのロウアドレスAdd(1)、Add(2)、…、Add(m−1)、Add(m)に対して行うことで、全てのアドレスのデータがアクセスされ、エラー訂正情報がエラー訂正記憶ビット12aにライトされる。
FIG. 5 is a timing chart showing how error correction information is written to the error correction storage bits.
Here, the row address Add (0) is first selected, and for example, 64 data bits and 7 parity bits are read from the memory core (Core), and the error correction circuit 13 detects and corrects the error. The result is written in the error correction storage bit 12a of the memory core as error correction information. For example, “1” is stored when error correction is performed, and “0” is stored when error correction is not performed. By performing the above processing on all row addresses Add (1), Add (2),..., Add (m−1), Add (m), data at all addresses is accessed, and error correction is performed. Information is written to the error correction storage bit 12a.

図6は、エラー訂正記憶ビットへのエラー訂正情報のライト後におけるメモリコアの記憶状態を示す図である。
1ビットエラー訂正可能なECCコードを構築するために必要なデータビット64ビットとパリティビット7ビットごとに、エラー訂正記憶ビットにはエラー訂正を行った場合には“1”、エラー訂正を行わなかった場合には“0”が記憶される。
FIG. 6 is a diagram illustrating a storage state of the memory core after writing the error correction information to the error correction storage bit.
For every 64 data bits and 7 parity bits required to construct an ECC code that can correct a 1-bit error, the error correction storage bit is “1”, and no error correction is performed. In the case of “0”, “0” is stored.

次に、エラー訂正回数を計数する際の動作を説明する。
図7は、エラー訂正記憶ビットの読み出し及び計数の様子を示すタイミングチャートである。
Next, the operation when counting the number of error corrections will be described.
FIG. 7 is a timing chart showing how the error correction storage bits are read and counted.

例えば、カウンタ15bに計数開始信号が入力されると、全てのロウアドレスAdd(0)〜Add(m)が順に選択されリードが行われる。これにより、図示しないメモリコアの内部では、エラー訂正記憶ビット12aのデータ読み出される。カウンタ15bは、エラー訂正記憶ビット12aに記憶されたデータが、エラー訂正を行ったことを示す“1”の場合のみカウントアップしていく。図7では、計数の結果、エラーの個数が5807個(16進数で16AF個)あったことを示している。計数結果は、出力回路18を介して出力される。   For example, when a count start signal is input to the counter 15b, all row addresses Add (0) to Add (m) are sequentially selected and read. As a result, the data of the error correction storage bit 12a is read inside the memory core (not shown). The counter 15b counts up only when the data stored in the error correction storage bit 12a is “1” indicating that error correction has been performed. FIG. 7 shows that the number of errors as a result of counting is 5807 (16 AF in hexadecimal). The counting result is output via the output circuit 18.

通常の試験パターンでは、全てのアドレスのデータへのアクセスを複数回繰り返すため、エラー訂正の回数をカウンタ15bでそのまま計数すると、同じアドレスを複数回カウントしてしまう。そのため、正確なエラー訂正回数が把握できないという問題があった。しかし、第4の実施の形態の半導体記憶装置10dでは、エラー訂正記憶ビット12aを用いているので、同じアドレスのエラーを複数回訂正しても、エラー訂正記憶ビットには“1”が上書きされるだけなので、最後にこの数を計数することで正確なエラー訂正回数を計数できる。   In a normal test pattern, access to the data of all addresses is repeated a plurality of times. Therefore, if the number of error corrections is directly counted by the counter 15b, the same address is counted a plurality of times. For this reason, there is a problem that the exact number of error corrections cannot be grasped. However, since the semiconductor memory device 10d of the fourth embodiment uses the error correction storage bit 12a, even if the error at the same address is corrected a plurality of times, the error correction storage bit is overwritten with “1”. Therefore, the exact number of error corrections can be counted by counting this number at the end.

次に、第5の実施の形態の半導体記憶装置を説明する。
図8は、第5の実施の形態の半導体記憶装置の構成を示す図である。
第1乃至第4の実施の形態の半導体記憶装置10aと同じ構成要素については同一符号とし、説明を省略する。
Next, a semiconductor memory device according to a fifth embodiment will be described.
FIG. 8 is a diagram showing a configuration of the semiconductor memory device according to the fifth embodiment.
The same components as those of the semiconductor memory device 10a of the first to fourth embodiments are denoted by the same reference numerals, and description thereof is omitted.

第5の実施の形態の半導体記憶装置10eは、第4の実施の形態の半導体記憶装置10dに、第1の実施の形態の半導体記憶装置10aで示した上限値設定用のレジスタ16aと、比較回路17を追加した構成となっている。   The semiconductor memory device 10e of the fifth embodiment is compared with the semiconductor memory device 10d of the fourth embodiment in comparison with the upper limit value setting register 16a shown in the semiconductor memory device 10a of the first embodiment. The circuit 17 is added.

このような構成によれば、正確なエラー訂正回数の計数結果に応じて、レジスタ16aに設定した上限値を任意に設定できる。
なお、第5の実施の形態の半導体記憶装置10eに、更に、図2で示したような計数値記憶信号を入力するようにして、計数値記憶信号がハイレベルのときには、外部からの設定用上限値の代わりにカウンタ15aでの計数結果をレジスタ16aに記憶するようにしてもよい。これにより経時劣化をより正確に把握できる。
According to such a configuration, the upper limit value set in the register 16a can be arbitrarily set in accordance with the accurate error correction count result.
It should be noted that when the count value storage signal is at a high level by further inputting the count value storage signal as shown in FIG. 2 to the semiconductor memory device 10e of the fifth embodiment, it is for external setting. Instead of the upper limit value, the count result of the counter 15a may be stored in the register 16a. Thereby, deterioration with time can be grasped more accurately.

10a 半導体記憶装置
11 データビット部
12 パリティビット部
13 エラー訂正回路
14 パリティ演算回路
15a カウンタ
16a レジスタ
17 比較回路
18 出力回路
19 入力回路
DESCRIPTION OF SYMBOLS 10a Semiconductor memory device 11 Data bit part 12 Parity bit part 13 Error correction circuit 14 Parity operation circuit 15a Counter 16a Register 17 Comparison circuit 18 Output circuit 19 Input circuit

Claims (1)

不良ビットを訂正するエラー訂正機能を有する半導体記憶装置において、
1ビットエラー訂正可能な符号を構築するために必要なデータビットとパリティビットごとに、エラー訂正を行ったか否かのエラー訂正情報を記憶するエラー訂正記憶部と、
同じアドレスのデータビットを複数回訂正すると、前記データビットに対応付けられた前記エラー訂正情報を同じ値で上書きするエラー訂正回路と、
前記エラー訂正情報を参照し、エラー訂正を行ったことを示す値の数を計数する計数部と、
を有することを特徴とする半導体記憶装置。
In a semiconductor memory device having an error correction function for correcting a defective bit,
An error correction storage unit for storing error correction information indicating whether or not error correction has been performed for each data bit and parity bit necessary for constructing a code capable of correcting 1-bit error;
When correcting the data bit of the same address multiple times, an error correction circuit that overwrites the error correction information associated with the data bit with the same value;
A counter that refers to the error correction information and counts the number of values indicating that error correction has been performed;
A semiconductor memory device comprising:
JP2010214751A 2010-09-27 2010-09-27 Semiconductor memory device Expired - Fee Related JP5263251B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010214751A JP5263251B2 (en) 2010-09-27 2010-09-27 Semiconductor memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010214751A JP5263251B2 (en) 2010-09-27 2010-09-27 Semiconductor memory device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2004370316A Division JP2006179101A (en) 2004-12-22 2004-12-22 Semiconductor storage device

Publications (2)

Publication Number Publication Date
JP2010282725A JP2010282725A (en) 2010-12-16
JP5263251B2 true JP5263251B2 (en) 2013-08-14

Family

ID=43539320

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010214751A Expired - Fee Related JP5263251B2 (en) 2010-09-27 2010-09-27 Semiconductor memory device

Country Status (1)

Country Link
JP (1) JP5263251B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022067003A (en) * 2020-10-19 2022-05-02 ソニーセミコンダクタソリューションズ株式会社 Memory cell array unit

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5235585B2 (en) * 1972-10-12 1977-09-09
JPH0194599A (en) * 1987-10-05 1989-04-13 Mitsubishi Electric Corp Semiconductor memory device
JPH0387000A (en) * 1989-08-30 1991-04-11 Mitsubishi Electric Corp Semiconductor memory device
JPH054266U (en) * 1991-07-03 1993-01-22 横河電機株式会社 Memory device
JP3178912B2 (en) * 1992-10-14 2001-06-25 株式会社東芝 Semiconductor memory chip
JPH08203292A (en) * 1995-01-31 1996-08-09 Fuji Film Micro Device Kk Nonvolatile memory
JP4073799B2 (en) * 2003-02-07 2008-04-09 株式会社ルネサステクノロジ Memory system

Also Published As

Publication number Publication date
JP2010282725A (en) 2010-12-16

Similar Documents

Publication Publication Date Title
JP2006179101A (en) Semiconductor storage device
US10446253B2 (en) Semiconductor memory device and repair method thereof
US10019312B2 (en) Error monitoring of a memory device containing embedded error correction
US20090199056A1 (en) Memory diagnosis method
US8572444B2 (en) Memory apparatus and testing method thereof
US10606696B2 (en) Internally-generated data storage in spare memory locations
US10795763B2 (en) Memory system and error correcting method thereof
US11392454B2 (en) Memory controllers, memory systems and memory modules
US10916325B2 (en) Memory chip and test system including the same
CN110046056B (en) Memory device for detecting and correcting data errors and method of operating the same
US8122320B2 (en) Integrated circuit including an ECC error counter
US20050240838A1 (en) Semiconductor memory device having code bit cell array
KR20220060156A (en) Semiconductor memory devices and method of operating semiconductor memory devices
US10901842B2 (en) Memory system and operating method thereof
JP2005004947A (en) Memory device and memory error correction method
US10915398B2 (en) Memory system and operating method thereof
JP5263251B2 (en) Semiconductor memory device
US10665297B2 (en) Memory systems for memory devices and methods of operating the memory systems
US10867663B2 (en) Control method for memory and non-transitory computer-readable media
US9519539B2 (en) Monitoring data error status in a memory
CN116719666A (en) Semiconductor memory device and repair method thereof
JP4921216B2 (en) Memory control circuit, storage system, information processing apparatus, and memory control method
JP2005293728A (en) Semiconductor memory device
JP2010176333A (en) Computer device, data storage method, and storage processing program
KR20100091409A (en) Non volatile memory device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100927

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120801

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120807

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121005

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20121204

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130304

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20130311

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130402

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130415

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees