JPS61143860A - Semiconductor memory - Google Patents

Semiconductor memory

Info

Publication number
JPS61143860A
JPS61143860A JP59267952A JP26795284A JPS61143860A JP S61143860 A JPS61143860 A JP S61143860A JP 59267952 A JP59267952 A JP 59267952A JP 26795284 A JP26795284 A JP 26795284A JP S61143860 A JPS61143860 A JP S61143860A
Authority
JP
Japan
Prior art keywords
error
error correction
memory cell
cell array
circuit
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
JP59267952A
Other languages
Japanese (ja)
Inventor
Toshifumi Kobayashi
小林 稔史
Kazutami Arimoto
和民 有本
Isato Ikeda
勇人 池田
Narihito Yamagata
整人 山形
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP59267952A priority Critical patent/JPS61143860A/en
Publication of JPS61143860A publication Critical patent/JPS61143860A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

PURPOSE:To detect a fixed defect of a memory cell array by using a memory means for storing generation of errors and a control means for controlling externally whether or not to execute the correction of errors. CONSTITUTION:An error checking circuit 3 delivers the error detecting signal as well as the error correction signal. An RS type flip-flop 5 is set by the error detecting signal, and the flip-flop 5 is reset when the error correction control signal shows an error correction mode. Whether or not to execut error correction is controlled by the error correction control signal given from a control means. Then an error correction circuit 4 corrects errors with the error correction control signal.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この分明は、エラー訂正回路ケ内蔵した半導体記憶装置
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] This invention relates to a semiconductor memory device incorporating an error correction circuit.

〔従来の技術〕[Conventional technology]

第2図は従来のエラー訂正回路を内蔵した半導体記憶装
置のブロック図であり1例えは特開昭59−5500号
公報等に示されている。第2図において、1は書込み情
報データからエラー検査用のデータ!生成する検査デー
タ生成回路、2は情報データ!記憶するメモリセルアレ
イ2aと、検査データ生成0路1で生成された検査デー
タを記憶するメモリセルアレイ2bとからなるメモリセ
ルアレイ、3は前記メモリセルアレイ2から読出した情
報データと検査データを入力として、エラー訂正信号を
出力するエラーチェック回路、4はこのエラーチェック
回路3から出力されたエラー訂正信号に基づいてメモリ
セルアレイ2から読出された情報データを訂正するエラ
ー訂正回路である。
FIG. 2 is a block diagram of a conventional semiconductor memory device incorporating an error correction circuit, and an example thereof is shown in Japanese Patent Laid-Open No. 59-5500. In FIG. 2, 1 is data for error checking from the write information data! The test data generation circuit that generates, 2 is information data! A memory cell array 3 consists of a memory cell array 2a for storing data and a memory cell array 2b for storing test data generated in the test data generation path 1, and a memory cell array 3 inputs the information data and test data read from the memory cell array 2 and detects errors. An error check circuit 4 that outputs a correction signal is an error correction circuit that corrects information data read from the memory cell array 2 based on the error correction signal output from the error check circuit 3.

従来のエラーチェック回路3′%:内蔵した半導体記憶
装置は上記のように構成され、第2図においてはエラー
訂正のためにハミング符号を使用し。
Conventional error check circuit 3'%: The built-in semiconductor memory device is constructed as described above, and in FIG. 2, a Hamming code is used for error correction.

情報データ8ビツトY単位としてエラー訂正を行うと仮
定する。メモリセルアVイ2へのデータ書込みの際に検
査データ生成回路1は情報データ8ビツトを符号化して
4ビツトのエラー検査用データを生成し、合計12ビツ
トが1つの単位としてメモリセルフレイ2に書込まれる
。データの読出しの際にも前記12ビツトのデータが同
時に読出され、エラーチェック回路3が読出された12
ビツトのデータを復号化し、エラー訂正信号を出力する
。このエラー訂正信号は読出した情報データ内のエラー
位置を示す信号であり、エラー訂正回路4がこの訂正信
号によって情報データを訂正する。ここで仮定したハミ
ング符号の場合、情報データと検査データの合計12ビ
ツトの中の誤りが1ビツトであれば訂正可能であり半導
体記憶装置からは正常なデータが読出される。したがっ
て、エラー訂正回路4を半導体記憶装置に内蔵するこト
ニヨって、α線に起因するソフトニラ−のように間欠的
に1ビット単位で発生するエラーに対しては、信頼性を
きわめて向上させることができ与る。
Assume that error correction is performed in units of 8 bits Y of information data. When writing data to the memory cell array V2, the test data generation circuit 1 encodes 8 bits of information data to generate 4 bits of error test data, and writes the 12 bits in total to the memory cell array 2 as one unit. be included. When reading data, the 12 bits of data are read out simultaneously, and the error check circuit 3
Decodes the bit data and outputs an error correction signal. This error correction signal is a signal indicating the error position in the read information data, and the error correction circuit 4 corrects the information data using this correction signal. In the case of the Hamming code assumed here, if the error is one bit out of a total of 12 bits of information data and test data, it can be corrected and normal data is read from the semiconductor memory device. Therefore, by incorporating the error correction circuit 4 into the semiconductor memory device, reliability can be greatly improved against errors that occur intermittently in units of one bit, such as soft nibbles caused by alpha rays. is possible.

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

従来のエラー訂正回路を内蔵した半導体記憶装置は上記
のように構成されているので、メモリセル内に固定的欠
陥ビットが存在しても、それが訂正可能な範囲であれば
正常に動作して、外部からは固定的欠陥ビット奮発見で
きない可能性があった。固定的欠陥を含むものは、含ま
ないものに比べてソフトエラーに対する信頼性が低下す
るが、前述のように外部から固定的欠陥の存在ヲ発見で
きない可能性かあるために、装置側々の信頼性を把握で
きないという問題点があった。
Conventional semiconductor memory devices with built-in error correction circuits are configured as described above, so even if a permanently defective bit exists in a memory cell, it will continue to operate normally as long as it is within the correctable range. However, there was a possibility that fixed defective bits could not be discovered from the outside. Items that contain fixed defects have lower reliability against soft errors than those that do not contain fixed defects, but as mentioned above, there is a possibility that the presence of fixed defects cannot be discovered from the outside, so the reliability of the equipment itself is reduced. The problem was that it was not possible to grasp gender.

この発明は、かかる問題点を解決するためになされたも
ので、メモリセル内に存在する固定的欠陥ビラトラ外部
から発見することが可能なエラー訂正回路内蔵の半・導
体記憶装置を得ることを目的とする。
The present invention was made in order to solve such problems, and an object of the present invention is to obtain a semiconductor memory device with a built-in error correction circuit that can detect fixed defects existing in memory cells from the outside. shall be.

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

この発明に係るエラー訂正回路内蔵の半導体記憶装置は
、エラーチェック信号を入力としてエラーチェック回路
がエラーを検出したことを記憶する記憶手段と、エラー
訂正回路の訂正実行l外部から制御する制御手段とを備
えたものである・〔作用〕 この発明においては、エラー訂正回路は外部からの制御
によってエラー訂正の実行を中止し、メモリセルフレイ
から読出した情報データtそのまま出力する。また、一
方エラーチェック回路がエラーを検出すると、エラー検
出信号を受けた記憶手段からの出力によってエラーフラ
ッグがセットされる。
A semiconductor storage device with a built-in error correction circuit according to the present invention includes a storage means for inputting an error check signal and storing information that the error check circuit has detected an error, and a control means for externally controlling correction execution l of the error correction circuit. [Operation] In the present invention, the error correction circuit suspends execution of error correction under external control and outputs the information data t read from the memory cell as is. On the other hand, when the error check circuit detects an error, an error flag is set by the output from the storage means that receives the error detection signal.

〔実施例〕〔Example〕

第1図はこの発明の一実施例を示すプpツク図であり、
符号1.2は第2図の従来例と同じである。3はエラー
訂正信号のほかにエラー検出信号を出力するエラーチェ
ック回路、また、エラー訂正を実行するか否かを制御す
る制御手段(図示せず)を外部に設けており、4はこの
外部の制御手段からのエラー訂正制御信号によって訂正
を実行するか否かを制御されるエラー訂正回路、5は1
「記エラーチェック回路3から出力されたエラー検出信
号によってセットされ、エラー訂正制御信号がエラー訂
正の実行を示しているときくリセットされるもので、エ
ラーが生じたことを記憶してお(記憶手段としてのR8
型のフリップフロップで。
FIG. 1 is a diagram showing an embodiment of the present invention.
The reference numeral 1.2 is the same as in the conventional example shown in FIG. 3 is externally provided with an error check circuit that outputs an error detection signal in addition to the error correction signal, and a control means (not shown) that controls whether or not to execute error correction. 1 is an error correction circuit whose execution or not of correction is controlled by an error correction control signal from a control means;
This is set by the error detection signal output from the error check circuit 3, and is reset when the error correction control signal indicates execution of error correction. R8 as a means
With type flip flops.

その出力はエラーフラッグとして外部に出力される。The output is output to the outside as an error flag.

上記のように構成された半導体記憶装置においては、通
常の場合、エラー訂正制御信号を訂正実行の状態にして
おけば、第1図の装置は従来例で示した第2図の装置と
全く同様の動作をする。
In the semiconductor memory device configured as described above, if the error correction control signal is normally set to the correction execution state, the device shown in FIG. 1 is exactly the same as the device shown in FIG. 2, which is a conventional example. perform the following actions.

また、メモリアルセルアレイ21C固定的欠陥が存在す
るか否かt調べる場合、エラー訂正制御信号を訂正禁止
の状態にした後に半導体記憶装置のテストを行う。この
ときのテストでは、情報で一タを記憶しているメモリセ
ルアンイ2aのデータがそのまま出力されるので、この
部分の固定的欠陥が発見できる。検査データを記憶して
いるメモリセルフレイ2bの固定的欠陥はテスト後にエ
ラーフラッグを調べることKよって会見できる。つまり
、テストは正常に終了したが、エラーフラッグがセット
されている場合は、検査データを記憶しているメモリセ
ルアレイ2bに固定的欠陥が存在することになる。
Furthermore, when checking whether a permanent defect exists in the memorial cell array 21C, the semiconductor memory device is tested after setting the error correction control signal to a correction inhibited state. In this test, since the data of the memory cell 2a which stores one piece of information is output as is, fixed defects in this part can be found. Fixed defects in the memory cell array 2b storing inspection data can be identified by checking the error flag after the test. In other words, if the test is completed normally but the error flag is set, this means that a fixed defect exists in the memory cell array 2b that stores the test data.

従って、第1図の半導体記憶装置では、メモリセルアン
イ2に存在する固定的欠陥tすべて発見することが可能
である。
Therefore, in the semiconductor memory device of FIG. 1, it is possible to discover all fixed defects t existing in the memory cell 2.

なお、上記実施例ではエラー訂正制御信号でエラーフラ
ッグをリセットするようにしたが、エラーフラッグ馨リ
セットする信号を別に設けてお(すば、通常動作時にエ
ラーフラッグをモニタしておくことによって、読出し時
にエラー訂正が行われたか否かを外部から知ることが可
能である。
In the above embodiment, the error flag is reset by the error correction control signal, but a signal for resetting the error flag may be provided separately (it would be better to monitor the error flag during normal operation so that the error flag can be read out). It is sometimes possible to know from the outside whether error correction has been performed.

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

この発明は以上説明したとおり、エラー検出信号を入力
としてエラーの発生を記憶しておく記憶手段と、エラー
訂正回路がエラー訂正を実行するか否かt外部から制御
する制御手段とを備えているのでメモリセルアレイに存
在する固定的欠陥が外部から発見可能となり、半導体記
憶装置の信頼性を把握することができるという効果があ
る。
As described above, the present invention includes a storage means for inputting an error detection signal and storing the occurrence of an error, and a control means for externally controlling whether or not the error correction circuit executes error correction. Therefore, fixed defects existing in the memory cell array can be discovered from the outside, and the reliability of the semiconductor memory device can be ascertained.

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

第1図はこの分明の一実施例を示す半導体記憶装置のプ
pツク図、第2図は従来例を示すブロック図である。 図において、1は検査データ生成回路、2.2&、2b
はメモリ乞ルア/イ、3はエラーチェック回路、4はエ
ラー訂正回路、5は7リツプフpツブである。 なお、各図中同一符号は同一または相当部分を示す。 代理人 大岩 増雄 (外2名) 羽 臥 1ト ベ       ぐ 区ベ ト        )ト K      < A       曝 工       l ト       1ト
FIG. 1 is a block diagram of a semiconductor memory device showing one embodiment of this invention, and FIG. 2 is a block diagram showing a conventional example. In the figure, 1 is an inspection data generation circuit, 2.2&, 2b
3 is an error check circuit, 4 is an error correction circuit, and 5 is a 7-rip-p-tub. Note that the same reference numerals in each figure indicate the same or corresponding parts. Agent Masuo Oiwa (2 others)

Claims (1)

【特許請求の範囲】[Claims] データ書込み時に書込み情報データからエラーの検査デ
ータを生成する検査データ生成回路と、前記書込み情報
データと前記検査データとを記憶するメモリセルアレイ
と、読出し時に前記メモリセルアレイから読出した情報
データと検査データとを入力としてエラー検出信号とエ
ラー訂正信号とを出力するエラーチェック回路と、前記
エラー検出信号を入力としてエラーの発生を記憶してお
く記憶手段と、前記エラー訂正信号に基づいて前記読出
し情報データを訂正するエラー訂正回路と、このエラー
訂正回路にエラー訂正を実行させるか否かを外部から制
御する制御手段とを備えたことを特徴とする半導体記憶
装置。
A test data generation circuit that generates error test data from write information data during data writing, a memory cell array that stores the write information data and the test data, and a memory cell array that stores the information data and test data read from the memory cell array during read. an error check circuit that receives the error detection signal as an input and outputs an error detection signal and an error correction signal; a storage means that receives the error detection signal as an input and stores the occurrence of an error; 1. A semiconductor memory device comprising: an error correction circuit for correcting errors; and a control means for externally controlling whether or not to cause the error correction circuit to perform error correction.
JP59267952A 1984-12-17 1984-12-17 Semiconductor memory Pending JPS61143860A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59267952A JPS61143860A (en) 1984-12-17 1984-12-17 Semiconductor memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59267952A JPS61143860A (en) 1984-12-17 1984-12-17 Semiconductor memory

Publications (1)

Publication Number Publication Date
JPS61143860A true JPS61143860A (en) 1986-07-01

Family

ID=17451876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59267952A Pending JPS61143860A (en) 1984-12-17 1984-12-17 Semiconductor memory

Country Status (1)

Country Link
JP (1) JPS61143860A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04289599A (en) * 1991-01-10 1992-10-14 Nec Corp Nonvolatile memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04289599A (en) * 1991-01-10 1992-10-14 Nec Corp Nonvolatile memory

Similar Documents

Publication Publication Date Title
KR920005297B1 (en) Fault tolerant computer memory system
TWI382190B (en) Testing device and testing method
JPH01201736A (en) Microcomputer
JPS6061837A (en) Error corrector
JP3039455B2 (en) Semiconductor memory device test method and semiconductor memory device
JPH02166700A (en) Non-volatile semiconductor memory
JPS61143860A (en) Semiconductor memory
JPS6011952A (en) Semiconductor memory device with error correcting means
JP2008176828A (en) Test circuit and test method of error detection correcting circuit
JPS62299000A (en) Semiconductor memory
JPH04119434A (en) Parity error detector
JPS61226853A (en) Test circuit for error detection correcting function semiconductor memory
JP4518790B2 (en) Semiconductor device and control method thereof
JPS6261974B2 (en)
JPH01133299A (en) Semiconductor memory device
JPH0346047A (en) Inspection circuit
JP3045532B2 (en) Memory device
JPH01156834A (en) Diagnosing system for check circuit
JPS61192100A (en) Semiconductor memory device
JPS62221756A (en) Storage device
JPS6161418B2 (en)
JPS61193246A (en) Memory one-bit error write circuit
JPS63753A (en) Test system for memory error checking and correcting circuit
JPS58186851A (en) Error checking device
JPS58175193A (en) Ecc function checking system