JPS621198A - Semiconductor memory - Google Patents

Semiconductor memory

Info

Publication number
JPS621198A
JPS621198A JP60139792A JP13979285A JPS621198A JP S621198 A JPS621198 A JP S621198A JP 60139792 A JP60139792 A JP 60139792A JP 13979285 A JP13979285 A JP 13979285A JP S621198 A JPS621198 A JP S621198A
Authority
JP
Japan
Prior art keywords
data
logic
circuit
bit
semiconductor memory
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.)
Granted
Application number
JP60139792A
Other languages
Japanese (ja)
Other versions
JPH0746517B2 (en
Inventor
Shinji Horiguchi
真志 堀口
Masakazu Aoki
正和 青木
Yoshinobu Nakagome
儀延 中込
Shinichi Ikenaga
伸一 池永
Katsuhiro Shimohigashi
下東 勝博
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP60139792A priority Critical patent/JPH0746517B2/en
Priority to US06/853,230 priority patent/US4726021A/en
Publication of JPS621198A publication Critical patent/JPS621198A/en
Publication of JPH0746517B2 publication Critical patent/JPH0746517B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • For Increasing The Reliability Of Semiconductor Memories (AREA)
  • Detection And Correction Of Errors (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To conduct independently the test of a memory cell for an inspecting bit, an encoder circuit and a decoder circuit by writing and reading an inspecting bit in the same manner as data. CONSTITUTION:In terms of testing the memory cell, the check data of '1' and '0' is written in a memory array while an ECCE holds logic '0' as it is. Then it is read out to check its contents, and the test of the memory cell itself including the inspecting bit memory cell is conducted. In terms of the test for encoding, the ECCE is set to logic '1' and aa to logic '0', and an information bit is written. Then the ECCE is set to logic '0' to set continuously the aa to logic '1', and the information bit and the inspecting bit are simultaneously read out to check data contents. In terms of the test for decoding, the ECCE and the aa are set to logic '0' to read the information bit. Then the aa is changed to logic '1' to read the inspecting bit. Next the ECCE and the aa are set to logic '1' and logic '0', respectively to read out the information bit, and data contents are checked.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は半導体メモリに関し、特に誤り訂正符号(以下
、 E CC(Error Correct、ing 
Code)と呼ぶ)による誤り訂正機能を搭載する半導
体メモリの各種チェックを容易にするのに好適な半導体
メモリに関するものである。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a semiconductor memory, and particularly to an error correction code (hereinafter referred to as ECC).
The present invention relates to a semiconductor memory suitable for facilitating various checks of a semiconductor memory equipped with an error correction function based on the code (referred to as "Code").

【発明の背景〕[Background of the invention]

各種データを記憶する半導体メモリは、近年。 Semiconductor memories that store various types of data have become popular in recent years.

益々高集積化される傾向にあるが、それに伴ってメモリ
セルの蓄積電荷量が減少してしまうために、ソフトエラ
ーの発生頻度が高くなっている。
Although there is a trend toward higher integration, the amount of charge stored in memory cells decreases, resulting in an increase in the frequency of soft errors.

その対策としては、■山田、他著「メモリLSIにおけ
る自己訂正方式」電子通信学会論文誌。
As a countermeasure, ■ Yamada et al., ``Self-correction method in memory LSI'', Journal of the Institute of Electronics and Communication Engineers.

1984年10月−von、J 67−C,No、10
゜pp777〜784、■Yamada、 J 、 、
 et、a Q 、 r ASubmicron  V
 L S I  Memory  wit、h  a 
 4 b−aT:、−a−Time  Built i
n  E CCC1rcuitJ  I  S S C
CDigest of  Technical  Pa
pers、pp 104−105 、 Feb、 19
84に記載されているように、FCCによる誤り訂正機
能をメモリチップ上に設ける方法がある。
October 1984-von, J 67-C, No. 10
゜pp777-784, ■Yamada, J.
et, a Q, r ASubmicron V
LSI Memory wit, h a
4 b-aT:, -a-Time Built i
n E CCC1rcuitJ I S S C
CDigest of Technical Pa
pers, pp 104-105, Feb, 19
As described in 84, there is a method of providing an FCC error correction function on a memory chip.

゛しかじ、上記の方法を実施してメモリ製造後のチェッ
クなど(テスティング)を行う場合は、誤り訂正機能を
搭載した半導体メモリであることを明示し、誤り訂正機
能も含めて各種のテストを行うが、例えば、FCCとし
て単−誤り訂正符号を用いた場合、偶然、1個のメモリ
セルにハードエラーがあると、読出したデータがFCC
によって訂正されるために、そのハードエラーを発見す
ることができず、見かけ上エラーがないことになる。
However, when carrying out post-manufacturing checks (testing) of the memory by implementing the above method, it must be clearly stated that the semiconductor memory is equipped with an error correction function, and various tests including the error correction function must be carried out. However, for example, if a single error correction code is used as the FCC, if there is a hard error in one memory cell by chance, the read data will become FCC.
Since the hard error is corrected by , the hard error cannot be discovered and there appears to be no error.

また、このハードエラー状態において、エラーのメモリ
セルと同じ誤り訂正の単位ブロックに属する他のメモリ
セルに、偶然、ソフトエラーが生じてしまうと1合計2
ビットのエラーが発生したことになるので、FCCによ
る誤り訂正が不可能になる。
In addition, in this hard error state, if a soft error happens to occur in another memory cell belonging to the same error correction unit block as the erroneous memory cell, 1 total of 2
Since a bit error has occurred, error correction by the FCC becomes impossible.

したがって、誤り訂正機能付半導体メモリに対する各種
テストを完全に実施するためには、メモリセル自体と、
符号化回路、復号回路などからなる誤り訂正機能とを、
各々独立にテストする必要があるが、未だ実用化できる
ものとして発表されていない。
Therefore, in order to completely perform various tests on semiconductor memory with error correction function, it is necessary to
An error correction function consisting of an encoding circuit, a decoding circuit, etc.
Each method needs to be tested independently, but none have been announced for practical use yet.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、このような従来の問題を解決し、FC
Cによる誤り訂正機能を搭載した半導体メモリにおいて
、検査ビット用のメモリセル自体のテスト、符号化回路
のテスト、復号回路のテストなどを各々独立に実施する
ことのできる半導体メモリを提供することにある。
The purpose of the present invention is to solve such conventional problems and to
An object of the present invention is to provide a semiconductor memory equipped with an error correction function based on C, which can independently test the memory cell itself for check bits, the encoding circuit, the decoding circuit, etc. .

〔発明の概要〕[Summary of the invention]

上記目的を達成するため1本発明の半導体メモリは、デ
ータに誤り訂正符号に基づく検査ビットを付加する符号
化手段と、上記検査ビット付のデータを誤り訂正する復
号手段を有する半導体メモリにおいて、上記検査ビット
を上記データと同様に書込み、読出す書込/読出手段(
端子aa、他)と、上記復号手段による誤り訂正を動作
停止にする手段(端子ECCE、他)を備えることに特
徴がある。
In order to achieve the above object, 1 the semiconductor memory of the present invention includes an encoding means for adding check bits based on an error correction code to data, and a decoding means for error correcting the data with the check bits. A write/read means (
The present invention is characterized in that it includes a terminal aa, etc.) and a means for stopping error correction by the decoding means (terminal ECCE, etc.).

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を図面により説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の第一の実施例を示す半導体メモリの構
°成図である。同図において、1はfiogzr本のア
ドレス信号をデコードしワード線ドライバ2を通してメ
モリアレー3のワード線Wo〜Wr +1の1本を指定
するデコーダ部、4は指定された(1本の)ワード線上
の全メモリセルのデータをデータ、IRDo =Dn 
s −1を通して読出し増幅するセンスアンプ群、6は
Qog2S本のアドレス信号をデコードしてデータ1i
Do =Dn s −1のうちn本を指定し、その指定
したセンスアンプ群4の(n個の)データをデータ線選
択口M5を介して、(n本の)共通人出$I10に送り
出すデコーダ部、10,20,30,40はそれぞれ復
号回路、符号化回路、セレクタ回路、書込み回路であり
、FCCによる誤り訂正機能を構成するものである。
FIG. 1 is a block diagram of a semiconductor memory showing a first embodiment of the present invention. In the figure, 1 is a decoder unit that decodes fiogzr address signals and specifies one of the word lines Wo to Wr +1 of the memory array 3 through the word line driver 2, and 4 is a decoder unit that decodes fiogzr address signals and specifies one of the word lines Wo to Wr +1 of the memory array 3. Data of all memory cells of IRDo=Dn
A group of sense amplifiers reads and amplifies Qog2S through s-1, and 6 decodes Qog2S address signals and outputs data 1i.
Do = Dn Specify n out of s -1, and send (n) data of the specified sense amplifier group 4 to (n) common output $I10 via data line selection port M5. The decoder sections 10, 20, 30, and 40 are a decoding circuit, an encoding circuit, a selector circuit, and a writing circuit, respectively, and constitute an error correction function by FCC.

本半導体メモリは、RA M (Randow+ A 
ccessMemory)であり、情報点数に、検査点
数m、符号長n(n=に+m)のFCCによる誤り訂正
機能を有する。また、ECCエネーブル信号を入力する
端子ECCEと検査用ビットを指定する端子aaを持ち
、通常の使用状層においては、端子ECCEが抵抗器R
,によって高電位(論理゛″1”)、一方の端子aaが
、抵抗器R2によって低電位(II理″O”)で誤り訂
正機能を働かせて各種のデータを記憶する。詳細は後述
するが、端子ECCEを低電位(論理u Ojl)にす
ることで誤り訂正機能の動作を停止させ、一方の端子a
aを高電位(論理” ! ”)にすることで検査ビット
を書込/読出させて、各部をチェックする。
This semiconductor memory is RAM (Randow + A
It has an error correction function using FCC with the number of information points, m check points, and code length n (n=+m). It also has a terminal ECCE for inputting the ECC enable signal and a terminal aa for specifying the test bit. In the normal usage layer, the terminal ECCE is connected to the resistor R
, one terminal aa is at a high potential (logic "1"), and the resistor R2 is at a low potential (II logic "O") to operate the error correction function and store various data. Although the details will be described later, the operation of the error correction function is stopped by setting the terminal ECCE to a low potential (logic u Ojl), and one terminal a
By setting a to a high potential (logic "!"), test bits are written/read and each part is checked.

次に、FCCによる誤り訂正機能を構成する各回路10
〜40の構成およびその動作について第2図〜第5図に
より述べる。
Next, each circuit 10 constituting the error correction function by the FCC
40 and its operation will be described with reference to FIGS. 2 to 5.

復号回路10は、ECCによる誤り訂正を行うため、第
2図に示すように、シンドローム生成回路11.誤り位
ll!指定回路12.誤り訂正用の排他的論理和(F 
OR)ゲート群とANDゲート群とで構成する。シンド
ローム生成回路11は共通入出力aI/○からのデータ
xO〜xn−tに対するシンドロームを生成し、それを
誤り位置指定回1%12に送出する。誤り位1i!!m
定回路I2はシンドロームを解析してデータXo=Xn
−4の誤り位置を推定し、出力するn本のうち、誤りが
あると推定した出力線のみを論理゛1″(他出力は全て
論理”0”)にする。
In order to perform error correction using ECC, the decoding circuit 10 includes a syndrome generation circuit 11. as shown in FIG. Wrong place! Designated circuit 12. Exclusive OR for error correction (F
It consists of a group of OR) gates and a group of AND gates. The syndrome generating circuit 11 generates a syndrome for the data xO to xn-t from the common input/output aI/○, and sends it to the error position designation time 1%12. Wrong rank 1i! ! m
Constant circuit I2 analyzes the syndrome and obtains data Xo=Xn
-4 error position is estimated, and of the n lines to be output, only the output line estimated to have an error is set to logic "1" (all other outputs are set to logic "0").

この時、ECCEが論理°′1”すなわち誤り訂正を行
う場合は、上記n本の出力がそのままANDゲート群を
通してFORゲート群に送られるので。
At this time, when the ECCE performs logic °'1'', that is, error correction, the n outputs are sent as they are to the FOR gate group through the AND gate group.

データXO””Xn−1のうち、誤りがあると推定され
たビットのみが反転し、出力yo”yn−tとなる。反
対に、ECCEが論理II OIIすなわち誤り訂正を
行わない場合は、ANDゲート群の出力全てが論理*h
 OPIとなり、データX0−Xn−1がそのまま出力
yo””yn−tとなる。
Only the bit estimated to have an error in the data XO"" All outputs of gate group are logic*h
It becomes OPI, and the data X0-Xn-1 directly becomes the output yo""yn-t.

セレクタ回路30は、復号回路10からのデータ7o”
Ye(ただし、n==7.に=4t m=3)を端子a
aおよびfiog2に本のアドレス内容に基づいて出力
端子D outに送出しメモリアレー3のデータを読出
すため、第3図に示すように、インバータ群、ANDゲ
ート群、ORゲートで構成する。
The selector circuit 30 receives data 7o'' from the decoding circuit 10.
Ye (however, n = = 7. = 4t m = 3) to terminal a
In order to read out the data of the memory array 3 by transmitting it to the output terminal D out based on the address contents of the book a and fiog2, it is constituted by a group of inverters, a group of AND gates, and an OR gate, as shown in FIG.

すなわち、3本のアドレス信号ai、atやl。That is, three address signals ai, at and l.

aaの内容で、入力したデータy o ” y eのう
ちの1つを選択しANDゲート群、ORゲートを通して
Dou七、に送出するが、このとき、aaが論理°゛0
′″であれば、上記選択をYO”Y3すなわち情報ビッ
トの中から行い1反対に、aaが論理411 ″であれ
ばy4〜y8すなわち検査ビットの中から行う。
Based on the contents of aa, one of the input data y o '' y e is selected and sent to Dou 7 through the AND gate group and the OR gate, but at this time, aa becomes logic °゛0.
If aa is logic 411'', the above selection is made from YO''Y3, that is, the information bits, and vice versa, if aa is logic 411'', then the selection is made from y4 to y8, that is, the check bits.

つまり、情報ビット)’O”Y3を読出すための本来の
アドレスai’+ai+1に、アドレスaaを追加した
ことで、情報ビット、検査ビットの両方を外部に読出す
ことが可能となる。
That is, by adding the address aa to the original address ai'+ai+1 for reading the information bit 'O''Y3, it becomes possible to read both the information bit and the check bit to the outside.

蓄込み回路40は、aaとQog2に本のアドレス内容
に基づいて、データyo=ys  (n=7゜k=4.
m=3)の中の1ビツトを入力端子Dinからのデータ
で置換し、符号化回路20に送出しメモリアレー3に再
び畜込むため、第4図に示すように、インバータ群とA
NDゲート群でなるテコーダ回1!41.インバータ群
、トランジスタ群で構成する。
The storage circuit 40 stores data yo=ys (n=7°k=4.
In order to replace one bit in the input terminal Din with data from the input terminal Din, send it to the encoding circuit 20, and store it again in the memory array 3, as shown in FIG.
Tecoder time 1 consisting of ND gate group!41. It consists of an inverter group and a transistor group.

すなわち、3本のアドレス信号aL+al+L*aaの
内容で、復号回路10からのデータyo〜y6のうちの
1つをDinからのデータで置換して符号化回路20に
送出するが、このとき、aaが論理II O11であれ
ば上記置換を)’o”ya(情報ビット)の中で行い、
反対に、aaが論理II 1 jjであればy4〜ye
(検査ビット)の中で行う。
That is, with the contents of the three address signals aL+al+L*aa, one of the data yo to y6 from the decoding circuit 10 is replaced with data from Din and sent to the encoding circuit 20, but at this time, aa If is logic II O11, perform the above substitution in )'o”ya (information bit),
On the other hand, if aa is logic II 1 jj, y4~ye
(inspection bit).

つまり、セレクタ回N30の場合と同様に、情報ビット
ya”ysを置換するための本来のアドレス信号、ai
 +1に、アドレスaaを追加したことで、情報ビット
、検査ビットの両方に対し。
In other words, as in the case of selector circuit N30, the original address signal ai to replace the information bit ya"ys
By adding address aa to +1, for both information bit and check bit.

外部から任意のデータを書込むことが可能となる。It becomes possible to write arbitrary data from outside.

なお1本実施例では、k≧mと仮定しているので、追加
するアドレスはaa1本で実現できるが、kくmのとき
には付加するアドレス本数を増やして対応する。
In this embodiment, it is assumed that k≧m, so the number of addresses to be added can be realized by one aa, but when k x m, the number of addresses to be added is increased.

符号化回路20は、f込み回路40からのデータzO”
”Zn−1を共通入出力、lll10のxo〜xn−t
に出力しメモリアレー3に嘗込むとき。
The encoding circuit 20 receives data zO'' from the f-containing circuit 40.
”Zn-1 is common input/output, xo~xn-t of ll10
When outputting to memory array 3.

情報ビット(Zo=Zk−t)はそのまま、一方の検査
ビット(Zk”Zn−t)をそのまま、または新しく生
成した検査ビットで置換にするため、第5図に示すよう
に、検査ビット生成回路21.トランジスタ群、インバ
ータで構成する。
In order to replace the information bit (Zo=Zk-t) as it is and one of the check bits (Zk"Zn-t) as is or with a newly generated check bit, a check bit generation circuit is used as shown in FIG. 21. Consists of a group of transistors and an inverter.

すなわち、検査ビット生成回路21が、Zo〜Zk−1
(情報ビット)の内容に基づいてm本からなるFCCの
検査ビットを生成し、このとき、aaが論理u OHで
あればxk−xn−1(検査ビットンに生成した検査ビ
ットを1反対に、11理II O#1であればZk−Z
n−1をそのまま送出し、 Z。
That is, the check bit generation circuit 21 generates Zo to Zk-1
Generate m FCC check bits based on the contents of (information bits), and at this time, if aa is logic u OH, xk-xn-1 (invert the generated check bits by 1 to 11 Reason II If O#1 then Zk-Z
Send n-1 as is, Z.

〜Zk−tと共にデータ線選択回路5を通してメモリア
レー3内に書込む。
~Zk-t and is written into the memory array 3 through the data line selection circuit 5.

ここで、半導体メモリの製造後のチェック(テスティン
グ)について上述した内容を整理すると、■、メモリセ
ルのテスト ECCEを論理゛″0″(誤り訂正機能を停止)のまま
で、メモリアレー3に1″および0″のチェックデータ
を書込み、その後読出してデータ内容をチェックし、検
査ビット用のメモリセルも含めたメモリセル自体のテス
トを実施する。なお、このときのaaは本来のアドレス
と同様にスキャンさせる。
Here, to summarize the above-mentioned contents regarding the post-manufacturing check (testing) of semiconductor memory, it can be summarized as follows: Check data of 1'' and 0'' is written, and then read out to check the data content and test the memory cells themselves, including the memory cells for test bits. Note that aa at this time is scanned in the same way as the original address.

■、符号化のテスト ECCEを論理”1”(誤り訂正機能を動作L  aa
を論理°“0″にして、情報ビットを書込み、その後E
CCEを論理” o ” <誤り訂正機能を停止)にし
て情報ビットを、続いてaaを論理”1”(検査ビット
を眉定)にして検査ビットを、共に読出し、データ内容
をチェックし、検査ビットが符号化回路20において正
しく付加されているかのテストを実施する。
■, Encoding test ECCE is set to logic “1” (error correction function is activated L aa
to logic “0” and write the information bit, then E
Set CCE to logic "o" (stop error correction function) to read the information bits, then set aa to logic "1" (inspection bits are fixed) to read the inspection bits, check the data contents, and then perform inspection. A test is performed to see if the bits are correctly added in the encoding circuit 20.

■、復号のテスト ECCEを論理゛0”、aaを論理°°0′″にして情
報ビットを書込み、続いて、aaを論理“1″に変えて
検査ビットを書込み、その後ECCEを論理“’1”、
aafi−論理rh OHにして情報ビットを読出し。
■, Decoding test Set ECCE to logic "0" and aa to logic °°0'' to write the information bit, then change aa to logic "1" and write the check bit, then set ECCE to logic "'" 1”,
aafi-Logic rh OH and read information bits.

データ内容をチェックし、情報ビットが復号回路10に
おいて正しく誤り訂正されているかのテストを実施する
。続いて、aaのみを論理II I 11に変え検査ビ
ットを読出して同様にチェックし、検査ビットに対する
訂正のテストを実施する。なお。
The data content is checked and a test is performed to see if the information bits are correctly error-corrected in the decoding circuit 10. Subsequently, only aa is changed to logic II I 11, the check bit is read out and checked in the same manner, and a correction test for the check bit is performed. In addition.

蓄込むデータは復号回路10で訂正可能な誤りを含めた
内容にする。
The data to be stored should contain errors that can be corrected by the decoding circuit 10.

本実施例では、ECCエネーブル信号、アドレス信号を
入力するために端子ECCE、aaを設けたが、他の端
子を時分割で兼用し開信号を入力してもよい。また1通
常動作時には使用しないような信号の組合せ(例えばス
タチックRAMにおいては、出カニネーブル信号OEと
書込エネーブル信号WEを同時に印加するなど)によっ
て、内部で信号を生成してもよい。
In this embodiment, the terminals ECCE and aa are provided for inputting the ECC enable signal and the address signal, but other terminals may also be used in a time-division manner to input the open signal. Alternatively, the signal may be generated internally by a combination of signals that are not used during normal operation (for example, in a static RAM, the output enable signal OE and the write enable signal WE are applied simultaneously).

次に1本発明の第二の実施例を第6図〜第12図により
詳細に述べる。
Next, a second embodiment of the present invention will be described in detail with reference to FIGS. 6 to 12.

第6図は、半導体メモリの構成図である。前述した第1
図と相違する点は、(1)データII D o〜I)n
−iをシリアル状に選択する点、すなわちr本のワード
線Wg ”Wr−1は、第1図と同様にデコーダ部lに
よりランダムに選択されるが、n本のデータ線DO=D
n−1は外部からのクロック信号5CLKに同期してシ
フトするシフトレジスタ部7によってDOro 1 +
’D2 ” ・・Dn −1の順に選択される。ただし
データ線Do””Dn−1は前述と同様にに本の情報ビ
ットD、−Dk−1記憶用とm本の検査ビットDk=D
n−1記憶用で構成する。したがって、メモリアレー3
に対する情報ビットの書込/読出は5CLK(15号に
同期して1ビツトずつに回のタイミングで行う。
FIG. 6 is a configuration diagram of a semiconductor memory. The first mentioned above
The differences from the diagram are (1) Data II Do ~ I) n
-i is selected serially, that is, the r word lines Wg'Wr-1 are randomly selected by the decoder l as in FIG. 1, but the n data lines DO=D
n-1 is DOro 1 +
'D2''...Dn-1 are selected in the order.However, the data line Do''''Dn-1 is used to store book information bits D, -Dk-1 and m check bits Dk=D, as described above.
It is configured for n-1 storage. Therefore, memory array 3
The writing/reading of information bits to and from the 5CLK is performed one bit at a time in synchronization with 5CLK (No. 15).

・ (it)ECCとして巡回符号を採用した鹿。これ
により、符号化回路25.復号回路15には、それぞれ
巡回符号の性質を利用してシリアル的に符号化、復号化
を実行する回路を用いる。
- (it) Deer that adopted cyclic code as ECC. As a result, the encoding circuit 25. The decoding circuit 15 uses a circuit that serially performs encoding and decoding using the properties of cyclic codes.

< m )s CL K信号、ECCエネーブル信号を
入力して、シフトレジスタ部7.符号化回路25゜復号
回路15を駆動するためのタイミングパルスを発生する
タイミング発生回路55を備える。なお、詳細は後述す
るが、必要に応じて5CLK信号がなくともタイミング
パルスを送出する。
<m) s CL K signal and ECC enable signal are input, and the shift register section 7. The encoding circuit 25 includes a timing generation circuit 55 that generates timing pulses for driving the decoding circuit 15. Although details will be described later, timing pulses are sent out even without the 5CLK signal as necessary.

(iv)データ線選択回路5からの共通入出力線■10
の接続先を復号回路15の出力器および入力側、符号化
回路25の入力側に切替えるスイッチ65を設けている
(iv) Common input/output line ■10 from data line selection circuit 5
A switch 65 is provided to change the connection destination between the output device and input side of the decoding circuit 15 and the input side of the encoding circuit 25.

第7図は、′!J6図の半導体メモリの処理フローチャ
ートである。第8図は、第6図での゛通常動作′時の動
作タイミング図である。
Figure 7 shows '! 6 is a processing flowchart of the semiconductor memory shown in FIG. J6; FIG. 8 is an operation timing diagram during the "normal operation" in FIG. 6.

半導体メモリは1図示してないが選択信号であるチップ
セレクト信号C8がL″で、デコーダ部1およびワード
線ドライバ2によって、ワード線W□ ”Wr−1の1
本が選択されると1図示してないが読出または書込を指
示する信号であるWE倍信号”L”(f込)のときには
、タイミング発生回路55から符号化回路25.シフト
レジスタ部7に5CLK信号に同期するタイミングパル
スをに回送出させて、データ線をDo iDI ro2
・・・・・・Dk−1の順に1つずつ切替えて、入力端
子Dinからのデータをメモリアレー3のそれに対応す
るメモリセルに書込む(第7図のステップ122)。
In the semiconductor memory 1, when the chip select signal C8, which is a selection signal (not shown), is L'', the decoder section 1 and the word line driver 2 select the word line W
When a book is selected, 1. Although not shown in the figure, when the WE multiplication signal is "L" (f included), which is a signal instructing reading or writing, the timing generating circuit 55 sends the encoding circuit 25. The shift register unit 7 sends out a timing pulse synchronized with the 5CLK signal twice, and the data line is connected to Do iDI ro2.
. . . Dk-1 is switched one by one, and the data from the input terminal Din is written into the corresponding memory cell of the memory array 3 (step 122 in FIG. 7).

なお、スイッチ65の接続先は符号化回路25の出力側
(端子C)である。
Note that the switch 65 is connected to the output side (terminal C) of the encoding circuit 25.

続いて、タイミング発生回路55から符号化回路25.
シフトレジスタ7にタイミングパルスをm回送量させて
、符号化回路25が生成、していたm個からなる検査ビ
ットを上記と同様の方法でメモリアレー3に書込む(ス
テップ123)。
Subsequently, from the timing generation circuit 55 to the encoding circuit 25.
The shift register 7 is caused to send m timing pulses, and the m check bits generated by the encoding circuit 25 are written into the memory array 3 in the same manner as described above (step 123).

上記動作を繰返すことにより、Dinからのデータ全て
とFCCの検査ビットをメモリアレー3内に書込む。
By repeating the above operation, all the data from Din and the check bit of FCC are written into the memory array 3.

一方、WE信号が’ H” (読出)のときには、先ず
On the other hand, when the WE signal is 'H' (read), first.

タイミング発生回路55からタイミングパルスを送出さ
せてシフトレジスタ部7.復号回路15を駆動し、シン
ドロームの計算を行わせる(ステップ131)。続いて
、°タイミング発生回路55から復号回路15.シフト
レジスタ部7に5CLK信号に同期するタイミングパル
スを送出させ、書込時と同様に、データ線をDo 、D
l +D2・・・・・・Dk−、の順に1つずつ切替え
て、メモリアレー3の対応するメモリセルからに個の情
報ビットを読出し、復号回路15で誤り訂正した後、出
力端子D outに出力する。それと同時に、訂正した
情報ビットをスイッチ65の端子A、テデー線選択回路
5を通してメモリアレー3の元のメモリセルに再び嘗込
む(第7図のステップ132)。
A timing pulse is sent from the timing generation circuit 55 to the shift register section 7. The decoding circuit 15 is driven to perform syndrome calculations (step 131). Subsequently, from the timing generation circuit 55 to the decoding circuit 15. The shift register unit 7 sends out a timing pulse synchronized with the 5CLK signal, and the data lines are connected to Do and D as in writing.
1+D2...Dk-, one by one, the information bits are read out from the corresponding memory cells of the memory array 3, and after error correction in the decoding circuit 15, the information bits are transferred to the output terminal Dout. Output. At the same time, the corrected information bit is read again into the original memory cell of the memory array 3 through the terminal A of the switch 65 and the teddy line selection circuit 5 (step 132 in FIG. 7).

続いて、タイミング発生回路55から復号回路15、シ
フトレジスタ部7にタイミングパルスを更にm回送、出
させ、上記情報ビットと同様、データ線をDk、Dkや
1.・・・・・・Dn−Lの順に1つずつ切譬えて、対
応するメモリセルからm個の検査ビットを読出し、復号
回路15で誤り訂正した後、スイッチ65の端子A、デ
ータ線選択回路5を通してメモリアレー3の元のメモリ
セルに再び瞥込む(ステップ133)、なお、m個の検
査ビットを再書込みはするがDoutに送出はしない。
Subsequently, timing pulses are further sent m times from the timing generation circuit 55 to the decoding circuit 15 and the shift register unit 7, and the data lines are set to Dk, Dk, 1 . . . . Read m check bits from the corresponding memory cells one by one in the order of Dn-L, and after error correction in the decoding circuit 15, terminal A of the switch 65, the data line selection circuit 5 to the original memory cell of memory array 3 (step 133), but rewriting the m test bits but not sending them to Dout.

上記の読出動作を繰返すことで、メモリアレー3内の指
定の情報ビットをDoutに出力する。
By repeating the above read operation, the designated information bit in the memory array 3 is output to Dout.

この場合、書込時、読出時も外部から印加する5CLK
信号のサイクル数はに回であり、書込む。
In this case, 5CLK is applied externally during writing and reading.
The number of cycles of the signal is 2 times, and it is written.

読出すデータ数もにビットである。すなわち、外部から
はにビットのシリアル半導体メモリに見え。
The number of data to be read is also bits. That is, from the outside it looks like a bit of serial semiconductor memory.

ECC用のm個の検査ビットは見えない。The m check bits for ECC are not visible.

第9図は、第6図での゛メモリセル(検査ビット用のメ
モリセルも含む)のテスト′時の動作タイミング図であ
る。
FIG. 9 is an operation timing chart during "testing of memory cells (including memory cells for test bits)" in FIG. 6.

半導体メモリは、C8信号と端子ECCEが共に11 
L 11で、ワード線W o−Wr−1の1本が選択さ
れると、WE倍信号’L”(IF込)のときには、第8
図(通常動作時)と同様、タイミング発生回路55から
符号化回路25.シフトレジスタ部7に5CLK信号に
同期するタイミングパルスをに回送量させ、データ線を
Do rDIII)2・−+Dk−4の順に切替えて、
Dinからのデータ(情報ビット)をスイッチ65のC
端子、データ線選択回路5を通してメモリアレー3の対
応するメモリセルに順次書込む(第7図のステップ11
2)。
In semiconductor memory, both the C8 signal and the terminal ECCE are 11.
When one of the word lines W o-Wr-1 is selected at L11, when the WE double signal is 'L' (IF included), the eighth
Similarly to the figure (during normal operation), from the timing generation circuit 55 to the encoding circuit 25. The shift register section 7 is made to forward a timing pulse synchronized with the 5CLK signal, and the data lines are switched in the order of DorDIII)2.-+Dk-4.
The data (information bits) from Din is transferred to C of switch 65.
Data is sequentially written into the corresponding memory cells of the memory array 3 through the terminal and data line selection circuit 5 (step 11 in FIG.
2).

続いて、上記と同様のタイミングパルスを、タイミンク
発生回路55から符号化回路25.シフトレジスタ部7
にm回送量させ、データ線をDk。
Subsequently, a timing pulse similar to that described above is sent from the timing generation circuit 55 to the encoding circuit 25. Shift register section 7
The data line is Dk.

Dk、□、Dk+2・・・・・・Dn−1の順に切蓄え
て、Dinからのデータ(検査ビット)をスイッチ65
のC端子、データ線選択回路5を通してメモリアレー3
の対応するメモリセルに順次書込む(ステップ113)
Dk, □, Dk+2...Dn-1 are cut and stored in the order of Dn-1, and the data (check bit) from Din is sent to the switch 65.
C terminal of the memory array 3 through the data line selection circuit 5.
(Step 113)
.

上記動作を繰返すことで、Dinからのデータ(情報お
よび検査ビット)をメモリアレー3の各メモリセルに蓄
込む。
By repeating the above operation, data (information and check bits) from Din is stored in each memory cell of the memory array 3.

一方、WE信号が“H”(読出)のときには、第8図(
通常動作)と同様に、シフトレジスタ部7.復号回路1
5にシンドロームの計算を行わせた後(第7図のステッ
プ141)、タイミング発生回路55から復号回路15
.シフトレジスタ部7に5CLK信号に同期するタイミ
ングパルスを送出させ、iF送込時同様に、データ線を
Do 、D I +D2・・・・・・Dk−1の順に切
替えて、メモリアレー3の対応するメモリセルからに個
の情報ビットを読出しD outに出力する。それと同
時にスイッチ65の端子A、データ線選択回路5を通し
てメモリアレー3に再び署込む(ステップ142)。
On the other hand, when the WE signal is "H" (read), FIG.
(normal operation), the shift register section 7. Decoding circuit 1
5 to calculate the syndrome (step 141 in FIG. 7), the timing generation circuit 55 to the decoding circuit 15
.. The shift register unit 7 sends out a timing pulse synchronized with the 5CLK signal, and the data lines are switched in the order of Do, DI + D2, . The information bits are read from the memory cell and output to D out. At the same time, the signal is again sent to the memory array 3 through the terminal A of the switch 65 and the data line selection circuit 5 (step 142).

続いて、上記と同様のタイミングパルスをさらに、タイ
ミング発生回路55から復号回路15゜シフトレジスタ
部7にm回送出させ、データ線をDk、Dk +t +
・・・・・・Dn−1の順に切替えて。
Subsequently, the timing pulse similar to the above is further sent m times from the timing generation circuit 55 to the decoding circuit 15° shift register unit 7, and the data lines are changed to Dk, Dk +t +
...Switch in the order of Dn-1.

対応するメモリセルからm個の検査ビットを読出しDo
utに出力する。同時にスイッチ6.5の端子A、デー
タ線選択回路5を通してメモリアレー3に再び沓込む(
ステップ143)。
Read m check bits from the corresponding memory cell Do
Output to ut. At the same time, the terminal A of the switch 6.5 is connected to the memory array 3 again through the data line selection circuit 5 (
Step 143).

上記の読出動作を繰返すことで、メモリアレー3の情報
および検査ビットをDoulhに出力する。
By repeating the above read operation, the information and check bits of the memory array 3 are output to Doulh.

メモリセルのテスト時は通常動作時と異なり。Testing memory cells is different from normal operation.

書込/R出ともに5CLK信号を(k + m )回印
加し、復号回路15によるデータの誤り訂正を動作停止
にする(なお、これは第2図と同様の手法で実現する)
。これにより、5CLK信号をn(=k + m )回
印加すると、メモリセルに蕾込んだ情報ビットのみなら
ず、検査ビットをも訂正なしでD outに読出せるの
で、メモリセル自体(検査ビット用のメモリセルも含む
)のテストが可能となる。
5 CLK signals are applied (k + m) times for both writing and R output, and the data error correction by the decoding circuit 15 is stopped (this is achieved using the same method as in FIG. 2).
. As a result, by applying the 5CLK signal n (=k + m) times, not only the information bits stored in the memory cell but also the test bits can be read out to D out without correction. (including memory cells) can be tested.

また、この場合、外部からは誤り訂正機能なしのnビッ
トのシリアル半導体メモリに見える。
Further, in this case, it appears from the outside as an n-bit serial semiconductor memory without an error correction function.

第10図は、第6図での“符号化のテスト′時の動作タ
イミング図である。
FIG. 10 is an operation timing chart during the "encoding test" in FIG. 6.

半導体メモリは、C8信号が”L”、端子ECCEがl
 Hz″で、WE倍信号’L”(iF込)のときには、
ワードAIno−Wr +tが1本選択されると、第8
図(通常動作時)と同様に、5CLK信号に同期するタ
イミングパルス(k回)で、Dinからのデータ(情報
ビット)をメモリアレー3に書込み(ステップ122)
、続いて、タイミングパルス(m回)で。
In the semiconductor memory, the C8 signal is “L” and the terminal ECCE is “L”.
Hz'' and when the WE double signal is 'L' (iF included),
When one word AIno-Wr +t is selected, the eighth
Similar to the figure (during normal operation), data (information bits) from Din is written to the memory array 3 using timing pulses (k times) synchronized with the 5CLK signal (step 122).
, followed by timing pulses (m times).

符号化回路25が生成したm個の検査ビットをメモリア
レー3に署込む(ステップ123)。
The m check bits generated by the encoding circuit 25 are signed into the memory array 3 (step 123).

上記動作を繰返すことで、Dinからのデータ全てとそ
れに対するFCCの検査ビットをメモリアレー3内に書
込む。
By repeating the above operation, all the data from Din and the FCC check bits for the data are written into the memory array 3.

一方、端子ECCEがl L Nで、WE倍信号H″(
読出)のときには、ワード線W□ −W r −1が1
本選択されると、第9図(メモリセルのテスト時)と同
様に、シンドロームの計算後、5CLK信号に同期する
タイミングパルス(k回)で、メモリアレー3の情報ビ
ットをに個読出してDout、に出力すると同時に、メ
モリアレー3に再び書込む(ステップ141,142)
。続いて、上記情報ビットと同様、5CLK信号に同期
するタイミングパルス(m回)で、メモリアレー3の検
査ビットをm個読出してDouしに出力すると同時に、
 メモリアレー3に再び苔込む(ステップ143)。
On the other hand, the terminal ECCE is l L N, and the WE double signal H'' (
(reading), the word line W□ -W r -1 is 1
When this selection is made, similarly to FIG. 9 (memory cell test), after calculating the syndrome, the information bits of the memory array 3 are read out using timing pulses (k times) synchronized with the 5CLK signal, and the Dout , and at the same time write it again to memory array 3 (steps 141 and 142).
. Next, similarly to the above information bits, m check bits of the memory array 3 are read out using timing pulses (m times) synchronized with the 5CLK signal and outputted at the same time.
The moss is added to the memory array 3 again (step 143).

上記の読出動作を繰返すことで、メモリアレー3内の情
報および検査ビットをD outに出力する。
By repeating the above read operation, the information and check bits in the memory array 3 are output to D out.

この場合、ECCEを°H”にして、情報ビットと符号
化回路25で付加した検査ビットをメモリセルに書込ん
だ後、それをECCEを’L”(誤り訂正機能を停止)
にして、情報ビットと検査ビットからなるnビットのデ
ータを誤り訂正なしで読出すので、符号化回路25にお
いて検査ビットを正しく付加しているかをテストするこ
とができる。
In this case, set ECCE to 'H', write the information bit and the check bit added by the encoding circuit 25 to the memory cell, and then set ECCE to 'L' (stops the error correction function).
Since n-bit data consisting of information bits and check bits is read out without error correction, it is possible to test whether the check bits are correctly added in the encoding circuit 25.

第11図は、第6図での′復号化のテスト′時の動作タ
イミンク図である。
FIG. 11 is an operation timing diagram during the ``decoding test'' in FIG. 6.

半導体メモリは、C8信号、端子ECCEが共に°゛L
″で、WE倍信号’L”(iF込)めときには、第9図
(メモリセルのテスト時)と同様に、5CLK信号に同
期するタイミングパルス(k回)で、Dinからのデー
タ(k個の情報ビット)をメモリアレー3のメモリセル
に書込み(ステップ112)、続いて、上記情報ビット
と同様のタイミングパルス(m回]で、Dinからのデ
ータ(m個の検査ビット)をメモリセルに順次書込む(
ステップ113)。
In semiconductor memory, both the C8 signal and the terminal ECCE are °゛L.
'', when the WE double signal is 'L' (including iF), the data from Din (k pieces) is sent by timing pulses (k times) synchronized with the 5CLK signal, as in Figure 9 (memory cell test). information bits) are written to the memory cells of memory array 3 (step 112), and then the data from Din (m check bits) are written to the memory cells using the same timing pulses (m times) as for the information bits. Write sequentially (
Step 113).

一方、WE倍信号’ H” (読出)のときには、第8
図(通常動作時)と同様に、シンドロームの計算後、5
CLK信号に同期するタイミングパルス(k回)で、メ
モリアレー3からに個の情報ビットを読出し、復号回W
!t15で誤り訂正してD out、に出力す。
On the other hand, when the WE double signal is 'H' (read), the 8th
Similar to the figure (during normal operation), after calculating the syndrome, 5
With timing pulses (k times) synchronized with the CLK signal, information bits are read from the memory array 3, and the decoding time W
! At t15, the error is corrected and output to D out.

ると同時に、再びメモリセルに書込み(ステップ131
.132)、続いて、タイミングパルス(m回)で、メ
モリアレー3からm個の検査ビットを読出し、復号回路
15で誤り訂正して再びメモリセルに書込む(ステップ
133)。
At the same time, the memory cell is written again (step 131).
.. 132), then m check bits are read out from the memory array 3 using timing pulses (m times), error-corrected by the decoding circuit 15, and written into the memory cell again (step 133).

上記の読出動作を繰返すことで、メモリアレー3内の情
報ビットをDoutに出力する。
By repeating the above read operation, the information bits in the memory array 3 are output to Dout.

この場合、ECCEをL IIにして、情報ビットおよ
び検査ビットを任意な内容でメモリアレー3に蕾込んだ
後、その情報ビットをECCEをHTlすなわち復号回
路15で誤り訂正して読出すので、復号回路15におい
て正しく訂正しているかがテストできる。なお、沓込む
データの内容は、例えば復号回路15で訂正可能な誤り
を含むようにする。また、情報ビットの訂正テストと共
に、検査ビットも実施するときには、第12図の方法で
行う。
In this case, after setting the ECCE to L II and loading the information bits and check bits with arbitrary contents into the memory array 3, the information bits are read out after error correction in the ECCE, that is, in the decoding circuit 15, so that they can be decoded. It is possible to test whether the circuit 15 corrects the correction correctly. Note that the contents of the data to be read include errors that can be corrected by the decoding circuit 15, for example. Furthermore, when performing a correction test on information bits as well as check bits, the method shown in FIG. 12 is used.

すなわち、半導体メモリは、C8信号、端子ECCE、
WE信号が共に゛L″状態である第一段階に、第11図
と同様、5CLK信号に同期するタイミングパルス(k
+m回)で、Dinからのに個の情報ビットとm個の検
査ビットの両方をメモリセルに畜込む(ステップ11.
2〜113)。
That is, the semiconductor memory has a C8 signal, a terminal ECCE,
In the first stage when both WE signals are in the "L" state, a timing pulse (k
+m times), store both the information bits and m check bits from Din into the memory cell (step 11.
2-113).

次に、端子ECCEとWE倍信号共に゛H″状悪である
第二段階に、第11図と同様、シンドロームの計算後、
5CLK信号に同期するタイミングパルス(k回)で、
メモリアレー3から情報ビットを読出し訂正してD o
utに出力した後、 タイミングパルス(m回)で、検
査ビットを読出し訂正して再びメモリアレー3に蓄込む
(ステップ131〜133)。
Next, in the second stage where both the terminal ECCE and the WE multiplied signal are in the "H" state, after calculating the syndrome, as in Fig. 11,
With timing pulses (k times) synchronized with 5CLK signal,
Read and correct information bits from memory array 3 and do
After outputting to ut, the check bits are read and corrected using timing pulses (m times) and stored in the memory array 3 again (steps 131 to 133).

続いて、CS信号と端子ECCEが共にI L II。Next, the CS signal and terminal ECCE are both IL II.

WE倍信号“°H”のままの状態である第三段階に。At the third stage, the WE double signal remains at “°H”.

第9図と同様、シンドロームの計算後、5CLK信号に
同期するタイミングパルス(k回)で、情報ビットを読
出してD outに出力し再びメモリアレー3に書込ん
だ後、同様のタイミングパルス(m回)で、第二段階で
訂正されている検査ビットを読出してD outに出力
し再びメモリアレー3に書込む(ステップ141〜14
3)。
Similarly to FIG. 9, after calculating the syndrome, the information bits are read out and output to D out using timing pulses (k times) synchronized with the 5CLK signal, and then written to the memory array 3 again, followed by similar timing pulses (k times). (steps 141 to 14), the check bits corrected in the second stage are read out, output to D out, and written to the memory array 3 again (steps 141 to 14).
3).

上記三段階の動作で、検査ビットが正しく訂正されたか
を外部にて判断することができる。また。
Through the above three-step operation, it is possible to externally determine whether the check bits have been correctly corrected. Also.

動作を三段階とせずに行う方法を第17図により述べる
A method of performing the operation without three steps will be described with reference to FIG.

第13図は、ECCエネーブル信号の入力端子を2個設
けた場合の半導体メモリ構成図である。
FIG. 13 is a configuration diagram of a semiconductor memory when two input terminals for ECC enable signals are provided.

同図において、ECCELは、タイミング発生回路56
および符号化回路26を前記と同様に制御する端子、E
CCE2は復号回路16を前記と同様に制御する端子で
ある。なお、その他は第6図と同様である。
In the figure, ECCEL is a timing generation circuit 56
and a terminal E for controlling the encoding circuit 26 in the same manner as above.
CCE2 is a terminal for controlling the decoding circuit 16 in the same manner as described above. Note that the other details are the same as in FIG. 6.

すなわち、検査ビットの復号テストは、先ず、書込みを
第11図(復号のテスト時)と同様に、C8信号、端子
ECCEL 、WE倍信号共に“L“(論理“0″)に
し端子ECCE2を°’ H” (論理” 1 ”)に
して、Dinからのデータ(情報および検査ビット)を
メモリアレー3に書込み、次の読出しを。
That is, in the decoding test of the check bit, first, as in FIG. 11 (during the decoding test), the C8 signal, the terminal ECCEL, and the WE double signal are set to "L" (logic "0"), and the terminal ECCE2 is set to "L" (logic "0"). ``H'' (logic ``1''), write data (information and check bits) from Din to memory array 3, and perform the next read.

ECCElを論理゛0″’、ECCE2を論理II I
 IIにして読出すことで、復号回路16が誤り訂正し
ている状態から直接、検査ビットを読出すことができ、
検査ビットの訂正を上記二段階でテストできる。なお、
その他のテスト時と通常動作時は、第6図の場合の実施
例をECCEI =ECCE2の状態で行う。
ECCEl is logic '0''', ECCE2 is logic II I
By setting the bit to II and reading it, the check bit can be read directly from the state where the decoding circuit 16 is correcting the error.
Correction of check bits can be tested in the above two steps. In addition,
During other tests and normal operation, the embodiment shown in FIG. 6 is carried out under the condition of ECCEI=ECCE2.

第14図は1本発明の第四実施例を示す半導体メモリの
構成図である。同図において、73は多値(3ビツト〕
のメモリアレー、67はデータ線選択回路75からの3
本のI10線をそれぞれ復号回路の入力側および出力側
、符号化回路の出力側に接続するスイッチである。なお
、入力端子Dinと出力端子D outの本数は3本と
なるが、他の各回路の動作は基本的には第6図と同様で
ある。
FIG. 14 is a configuration diagram of a semiconductor memory showing a fourth embodiment of the present invention. In the same figure, 73 is multivalued (3 bits)
, 67 is the 3rd memory array from the data line selection circuit 75.
This is a switch that connects the I10 line of the book to the input side and output side of the decoding circuit, and to the output side of the encoding circuit, respectively. Note that although the number of input terminals Din and output terminals D out is three, the operations of other circuits are basically the same as in FIG. 6.

符号化回路27が3ビツトそれぞれの符号化を前述と同
様の方法で行って多値メモリに杏込み。
The encoding circuit 27 encodes each of the three bits in the same manner as described above and stores them in the multilevel memory.

復号回路17が3ビツトそれぞれの誤り訂正を同じく前
述と同様の方法で行って多値メモリのデータ読出すこと
で、前述の各種テストを実施する。
The decoding circuit 17 performs error correction for each of the three bits in the same manner as described above and reads data from the multi-level memory, thereby carrying out the various tests described above.

このように、ECCエネーブル信号、検査ビットの外部
への入出力を指示して、ECC用の検査ビットを蓄積す
るメモリセル自体のテスト、符号化回路のテスト、復号
回路のテストなどを各々独立させることができるので、
従来よりテスティングの信頼性を高めることができる。
In this way, the ECC enable signal and the input/output of the check bits to the outside are instructed, so that the test of the memory cell itself that stores the check bits for ECC, the test of the encoding circuit, the test of the decoding circuit, etc. are made independent of each other. Because you can
The reliability of testing can be increased compared to conventional methods.

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

以上説明したように1本発明によれば、FCCによる誤
り訂正機能を搭載した半導体メモリにおいて、FCCの
検査ビット記憶用メモリセルへの蓄込みを端子Dinか
らの入力データまたは符号化回路での生成データで行い
、反対に、メモリアレーのデータを読出すとき、復号回
路による誤り訂正の動作、不動作および検査ビットの出
力、不出力を切替えて行うので、検査ビット用のメモリ
セル自体のテスト、符号化回路のテスト、復号回路のテ
ストなどを各々独立なものにすることが可能となる。
As explained above, according to one aspect of the present invention, in a semiconductor memory equipped with an error correction function by FCC, storage in memory cells for storing check bits of FCC is performed using input data from terminal Din or generation by an encoding circuit. Conversely, when reading data from the memory array, the decoding circuit switches between error correction operation, inoperation, and output and non-output of the check bits, so the test of the memory cell itself for the check bits, It becomes possible to perform encoding circuit tests, decoding circuit tests, etc. independently.

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

第1図、第6図、第13図、第14図はそれぞれ本発明
の第一、第二、第三、第四の実施例を示す半導体メモリ
の構成図、第2図は復号回路の回路図、第3図はセレク
タ回路の回路図、第4図は書込み回路の回路図、第5図
は符号化回路の回路図、第7図は第6図の゛通常動作′
時の動作タイミング図、第8図は第7図の処理フローチ
ャー]−5第9図は第6図の′メモリセルテスト′時の
動作タイミング図、第10図は第9図の処理フローチャ
ート、第11図は第6図の′符号化テスト′時の動作タ
イミング図、第12図は茅l1図の処理フローチャート
、第13図は第6図の゛復号テスト′時の動作タイミン
グ図、第15図は第6図の゛検査ビットの訂正デス82
時の動作タイミング図、第16図は第15図の処理フロ
ーチャートである。 L、6,71:デコーダ部、2.72:ワード線ドライ
バ、3,73:メモリアレー、4,74:センスアンプ
群、5+75−:データ線選択回路。 7.77:シフトレジスタ部、10,15,16゜17
:復号回路、11:シンドローム生成回路。 12:誤り位a指定回路、20,25.26,27:符
号化回路、21:横歪ビット生成回路、30:セレクタ
回路、40:iF込ミ回N、 41 :デコーダ回路、
55,56.57:タイミング発生回路、65,66.
67 :スイッチ、ECCE:ECCエネーブル信号の
入力端子、aa:検査ビットm定用の入力端子、 Di
n’:データの入力端子、Dout:データの出力端子
。 特許出願人 株式会社日立製作所 、l−?、/ 第   2   図 第   3   図 第4図 第   5   図 第   10    図 第   11    図 に)   !   く    り り 口  Q    J    m    OQ ≧ 
 OQ  ロ  ロ ロ    φ
1, 6, 13, and 14 are configuration diagrams of semiconductor memories showing first, second, third, and fourth embodiments of the present invention, respectively, and FIG. 2 is a circuit diagram of a decoding circuit. Figure 3 is the circuit diagram of the selector circuit, Figure 4 is the circuit diagram of the write circuit, Figure 5 is the circuit diagram of the encoding circuit, and Figure 7 is the ``normal operation'' of Figure 6.
FIG. 8 is a processing flowchart of FIG. 7]-5 FIG. 9 is an operation timing diagram of ``memory cell test'' of FIG. 6, FIG. 10 is a processing flowchart of FIG. 9, 11 is an operation timing diagram during the ``encoding test'' shown in FIG. 6, FIG. 12 is a processing flowchart in Figure 11, FIG. 13 is an operation timing diagram during the ``decoding test'' shown in FIG. 6, and 15 The figure is ``Check bit correction desk 82'' in Figure 6.
16 is a processing flowchart of FIG. 15. L, 6, 71: Decoder section, 2.72: Word line driver, 3, 73: Memory array, 4, 74: Sense amplifier group, 5+75-: Data line selection circuit. 7.77: Shift register section, 10, 15, 16° 17
: decoding circuit, 11: syndrome generation circuit. 12: Error position a designation circuit, 20, 25, 26, 27: Encoding circuit, 21: Lateral distortion bit generation circuit, 30: Selector circuit, 40: iF included number N, 41: Decoder circuit,
55, 56.57: Timing generation circuit, 65, 66.
67: Switch, ECCE: ECC enable signal input terminal, aa: Input terminal for test bit m determination, Di
n': Data input terminal, Dout: Data output terminal. Patent applicant: Hitachi, Ltd., l-? , / Figure 2, Figure 3, Figure 4, Figure 5, Figure 10, Figure 11)! Kuriri Mouth Q J m OQ ≧
OQ Ro Roro φ

Claims (4)

【特許請求の範囲】[Claims] (1)データに誤り訂正符号に基づく検査ビットを付加
する符号化手段と、上記検査ビット付のデータを誤り訂
正する復号手段を有する半導体メモリにおいて、上記検
査ビットを上記データと同様に書込み、読出す書込/読
出手段と、上記復号手段による誤り訂正を動作停止にす
る手段を備えることを特徴とする半導体メモリ。
(1) In a semiconductor memory having encoding means for adding check bits based on an error correction code to data and decoding means for error correcting the data with the check bits, the check bits are written and read in the same way as the data. 1. A semiconductor memory comprising: writing/reading means for outputting data; and means for disabling error correction by the decoding means.
(2)前記書込/読出手段は、前記半導体メモリがラン
ダムアクセクメモリのとき、書込み、読出すビットを前
記検査ビットから選択するアドレス信号を有することを
特徴とする特許請求の範囲第1項記載の半導体メモリ。
(2) The writing/reading means has an address signal for selecting a bit to be written or read from the check bits when the semiconductor memory is a random access memory. semiconductor memory.
(3)前記書込/読出手段は、検査ビットの書込み、読
出しを前記データの場合と同様のクロック信号により行
うことを特徴とする特許請求の範囲第1項記載の半導体
メモリ。
(3) The semiconductor memory according to claim 1, wherein the writing/reading means writes and reads the check bit using a clock signal similar to that used for the data.
(4)前記前記書込/読出手段および前記動作停止にす
る手段を備えるのが多値メモリであることを特徴とする
特許請求の範囲第1項記載の半導体メモリ。
(4) The semiconductor memory according to claim 1, wherein the semiconductor memory includes the writing/reading means and the operation stopping means and is a multilevel memory.
JP60139792A 1985-04-17 1985-06-26 Semiconductor memory and its testing method Expired - Lifetime JPH0746517B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP60139792A JPH0746517B2 (en) 1985-06-26 1985-06-26 Semiconductor memory and its testing method
US06/853,230 US4726021A (en) 1985-04-17 1986-04-17 Semiconductor memory having error correcting means

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60139792A JPH0746517B2 (en) 1985-06-26 1985-06-26 Semiconductor memory and its testing method

Publications (2)

Publication Number Publication Date
JPS621198A true JPS621198A (en) 1987-01-07
JPH0746517B2 JPH0746517B2 (en) 1995-05-17

Family

ID=15253530

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60139792A Expired - Lifetime JPH0746517B2 (en) 1985-04-17 1985-06-26 Semiconductor memory and its testing method

Country Status (1)

Country Link
JP (1) JPH0746517B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02260200A (en) * 1989-03-30 1990-10-22 Sharp Corp Plural-bit parallel function test method in semiconductor storage having plural-bit parallel test function
US8078949B2 (en) 2007-10-04 2011-12-13 Panasonic Corporation Semiconductor memory device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4578226B2 (en) * 2004-12-17 2010-11-10 富士通セミコンダクター株式会社 Semiconductor memory

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5593598A (en) * 1979-01-05 1980-07-16 Nec Corp Memory unit
JPS5622292A (en) * 1979-07-30 1981-03-02 Nippon Telegr & Teleph Corp <Ntt> Memory element
JPS58185097A (en) * 1982-04-23 1983-10-28 Hitachi Ltd Error detecting and correcting device
JPS6011952A (en) * 1983-07-01 1985-01-22 Mitsubishi Electric Corp Semiconductor memory device with error correcting means

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5593598A (en) * 1979-01-05 1980-07-16 Nec Corp Memory unit
JPS5622292A (en) * 1979-07-30 1981-03-02 Nippon Telegr & Teleph Corp <Ntt> Memory element
JPS58185097A (en) * 1982-04-23 1983-10-28 Hitachi Ltd Error detecting and correcting device
JPS6011952A (en) * 1983-07-01 1985-01-22 Mitsubishi Electric Corp Semiconductor memory device with error correcting means

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02260200A (en) * 1989-03-30 1990-10-22 Sharp Corp Plural-bit parallel function test method in semiconductor storage having plural-bit parallel test function
US8078949B2 (en) 2007-10-04 2011-12-13 Panasonic Corporation Semiconductor memory device

Also Published As

Publication number Publication date
JPH0746517B2 (en) 1995-05-17

Similar Documents

Publication Publication Date Title
US5491703A (en) Cam with additional row cells connected to match line
US4744061A (en) Dynamic semiconductor memory device having a simultaneous test function for divided memory cell blocks
US5261068A (en) Dual path memory retrieval system for an interleaved dynamic RAM memory unit
US4726021A (en) Semiconductor memory having error correcting means
US7212453B2 (en) Semiconductor memory having an error correction function
US7426683B2 (en) Semiconductor memory device equipped with error correction circuit
US7266759B2 (en) Semiconductor integrated circuit device and error checking and correcting method thereof
JP2780354B2 (en) Semiconductor memory device
JPS6116351A (en) Single error correction circuit for system memory
JP4050091B2 (en) Semiconductor memory device
KR100269319B1 (en) Semiconductor memory device including simultaneous enabling circuit for column select line and control method
JPS621198A (en) Semiconductor memory
US20110119563A1 (en) Semiconductor memory
TWI748507B (en) Data access system, and method for operating a data access system
JPS63184987A (en) Semiconductor storage device
US6751128B2 (en) Semiconductor memory device having shortened testing time
JPH02270200A (en) Semiconductor memory
JP2002056696A (en) Semiconductor storage
US5424984A (en) Semiconductor memory incorporating a plurality of data input buffers for multi-bit operation
JPH0411959B2 (en)
KR970005648B1 (en) Semiconductor memory with error correction means
JP2792331B2 (en) Semiconductor storage device
JP3217548B2 (en) Semiconductor storage device
JPS63140499A (en) Semiconductor memory device
CN116072183A (en) Write conversion circuit and memory

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term