KR910005974B1 - Non-volatilization semiconductor memory - Google Patents

Non-volatilization semiconductor memory Download PDF

Info

Publication number
KR910005974B1
KR910005974B1 KR1019880008956A KR880008956A KR910005974B1 KR 910005974 B1 KR910005974 B1 KR 910005974B1 KR 1019880008956 A KR1019880008956 A KR 1019880008956A KR 880008956 A KR880008956 A KR 880008956A KR 910005974 B1 KR910005974 B1 KR 910005974B1
Authority
KR
South Korea
Prior art keywords
circuit
data
error correction
error
code
Prior art date
Application number
KR1019880008956A
Other languages
Korean (ko)
Other versions
KR900002329A (en
Inventor
김진기
도재영
Original Assignee
삼성전자 주식회사
강진구
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 삼성전자 주식회사, 강진구 filed Critical 삼성전자 주식회사
Priority to KR1019880008956A priority Critical patent/KR910005974B1/en
Publication of KR900002329A publication Critical patent/KR900002329A/en
Application granted granted Critical
Publication of KR910005974B1 publication Critical patent/KR910005974B1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C17/00Read-only memories programmable only once; Semi-permanent stores, e.g. manually-replaceable information cards

Abstract

The memory equips the data correction memans which is tested easily. The memory comprises means generating the hamming parity code with the unti of the word or byte corresponding to each address, means storing the parity code corresponding to the input data into the memory cell, means decoding the data and parity bits after reading them, and means separating the memory cell, the error correction circuit, and other circuits each other.

Description

에러 정정수단을 가진 불휘발성 반도체 메모리Nonvolatile Semiconductor Memory with Error Correcting Means

제1도는 이 발명의 실시예를 나타낸 전체블럭도.1 is an overall block diagram showing an embodiment of the present invention.

제2도는 본 발명의 데이터 라이트시 활성화되는 회로를 나타낸 블록도.2 is a block diagram showing a circuit activated when data is written in the present invention.

제3도는 이 발명의 부호발생회로도에 대한 실시예.3 is an embodiment of the code generation circuit diagram of the present invention.

제4도는 이 발명에서 데이터 리드시 활성화되는 회로를 나타낸 블록도.4 is a block diagram showing a circuit that is activated when data is read in the present invention.

제5도는 이 발명의 복호회로 및 정정회롤에 대한 실시예.5 is an embodiment of a decoding circuit and a correction roll of the present invention.

제6도는 이 발명에서 에러정정수단을 내장한 불휘발성 메모리의 테스트 플로우챠트.6 is a test flowchart of a nonvolatile memory incorporating error correction means in this invention.

제7도는 이 발명의 데이터 선택회로의 실시예.7 is an embodiment of a data selection circuit of this invention.

제8도는 이 발명의 부호발생회로 테스트시 활성화되는 회로를 타나낸 블록도.8 is a block diagram showing a circuit activated during a test of the code generation circuit of the present invention.

제9도는 이 발명의 부호발생회로 테스트시 타임챠트.9 is a time chart of the code generation circuit test of the present invention.

제10도는 이 발명의 입력버퍼, 출력버퍼, 부호발생 검출 제어회로에 대한 실시예.10 is an embodiment of an input buffer, an output buffer, and a code generation detection control circuit of the present invention.

제11도는 이 발명의 에러발생회로에 대한 실시예이다.11 is an embodiment of the error generating circuit of this invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

1 : 어레이 2, 3 : 어드레스버퍼1: Array 2, 3: Address buffer

4 : 데코더 5 : 데이타라인 셀렉터4: decoder 5: data line selector

6 : 입출력부 7 : 출력버퍼6: input / output unit 7: output buffer

8 : 부호발생 검출제어회로 9 : 입력버퍼8: Code generation detection control circuit 9: Input buffer

10 : 정정회로 11 : 데이타 선택회로10: correction circuit 11: data selection circuit

12 : 복호회로 13 : 부호발생회로12: decoding circuit 13: code generating circuit

14 : 센스앰프 15 : 에러 발생회로14: sense amplifier 15: error generating circuit

16 : 에러 비트위치 선정회로16: error bit position selection circuit

Ex1,Ex2...E1,E2... : 익스크루시버 오아게이트Ex1, Ex2 ... E1, E2 ...: Exclusive Oagate

Bk0-Bk3 : 블럭 11, 12...IM : 인버터Bk0-Bk3: blocks 11, 12 ... IM: inverter

NA1, NA2,...NAM : 낸드게이트 NB1, NB2... : 낸드게이트NA1, NA2, ... NAM: NANDGATE NB1, NB2 ...: NANDGATE

이 발명은 에러정정수단을 가진 불휘발성 반도체 메모리에 관한 것이다. 기존의 불휘발성 반도체 메모리는 다른 메모리에 비해 고접적화가 됨에 따라 내부 셀은 비트성 고장에 나 신회성 및 수율이 커다란 문제점으로 대두되고 있는 실정이어서 에러정정부호에 의하여 데이터를 정정시켜 불휘발성 반도체 메모리의 비트성 고장에 의한 신뢰성 문제와 수율을 향상시킬 필요가 있는 것이었다.The present invention relates to a nonvolatile semiconductor memory having error correction means. As the conventional nonvolatile semiconductor memory becomes more integrated than other memories, the internal cell is a bit problem, and due to the problem of high reliability and yield, the non-volatile semiconductor memory is corrected by error correction code. It was necessary to improve the reliability problem and the yield caused by the bitness failure.

이 발명의 목적은 불휘발성 반도체 메모리에 에러정정 부호에 의한 데이타 정정수단을 제공함으로써 비트성 고장에 따른 신뢰성의 문제점을 해결하고 수율을 향상시키는데 있다.SUMMARY OF THE INVENTION An object of the present invention is to solve the problem of reliability and improve the yield due to a bit error by providing a data correction means by an error correction code in a nonvolatile semiconductor memory.

이 발명의 또다른 목적은 에러정정수단을 가진 불휘발성 반도체 메모리의 테스트를 용이하게 할 수 있는 수단을 제공하고자 하는 것이다.It is another object of the present invention to provide a means for facilitating a test of a nonvolatile semiconductor memory with error correction means.

상기 불휘발성 반도체 메모리의 에러정정수단은 데이터 라이트(Write)시 입력되는 데이터와, 입력되는 데이터에 의하여 발생되는 패리터(parity)가 메모리 셀에 모두 기록되게 하고 데이터 리드(Read)시 데이터 및 패리티에 의하여 복호되는 수단 및 에러가 정정되는 수단들을 포함한다. 그리고, 테스트되는 수단은 정정작용 없이 순수한 데이터 비트용의 메모리 셀 테스터, 패리티 비트용의 메모리 셀 테스트 부호발생회로 테스트, 그리고 복호회로 및 정정회로의 테스터들을 각각 독립적으로 실시할 수 있는 수단들이 포함된다.The error correction means of the nonvolatile semiconductor memory allows data input at the time of data write and parity generated by the input data to be written in the memory cell, and data and parity at the time of data read. Means for decoding by means and means for correcting errors. The means to be tested includes a memory cell tester for pure data bits, a memory cell test code generation circuit test for parity bits, and means for independently performing testers of the decoding circuit and the correction circuit without corrective action. .

이 발명의 특징은, 불휘발성 반도체 메모리에서 각 어드레스에 해당하는 워드나 바이트 단위로 에러정정 패리티 부호를 발생시킬 수 있는 수단을 구성하고, 데이터의 기록시에는 입력 데이터를 데이터 비트용 셀에 기록하는 수단과, 입력 데이터에 상응하는 패리티 부호를 셀에 기록하는 수단과, 리드시 데이터 비트 및 패리티 비트를 동시에 읽어들인 후 복호하는 수단과로 구성되어 워드나 바이트 단위로 발생되는 에러를 정정 할 수 있게 한 것에 있다. 또다른 특징은 메모리 셀 어레이와, 에러정정회로와, 다른 회로들이 서로 분리할 수 있는 수단을 제공하여 개별적으로 검증할 수 있는 기능을 갖게한 것이다.A feature of the present invention constitutes a means for generating an error correction parity code in units of words or bytes corresponding to each address in a nonvolatile semiconductor memory, and writes input data into a cell for data bits when data is written. And means for writing a parity code corresponding to the input data into the cell, and means for simultaneously reading and decoding data bits and parity bits at read time so as to correct errors occurring in units of words or bytes. It is in one. Another feature is that the memory cell array, the error correction circuit, and the other circuits provide a means for separating them from each other so that they can be individually verified.

이하, 이 발명의 실시예를 첨부된 도면에 의하여 상세히 설명하면 다음과 같다.Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

제1도는 이 발명의 실시예를 나타낸 전체블럭도로서 제1a도는 MN바이트의 메모리 셀을 어레(1)로서 EEPROM를 타나내고 있다. 이 EEPROM은 X열 어드레스버퍼(2)와 Y축 어드레스버퍼(3)로 구성되며 데코더(4)를 통하여 데이터라인 셀렉터(5)와 연결되어 어레이(1)내의 메모리 셀에 데이타를 라이트 및 리드하게 된다.FIG. 1 is an overall block diagram showing an embodiment of the present invention, and FIG. 1a shows an EEPROM as an array 1 of MN-byte memory cells. This EEPROM consists of an X-column address buffer (2) and a Y-axis address buffer (3) and is connected to the data line selector (5) via a decoder (4) to write and read data to memory cells in the array (1). do.

제1b도는 제1a도의 EEPROM과 연결되는 에러정정수단의 일실시예를 나타내고 있으며 이것은 N줄의 위드라인(W0-Wn-1) 및 M바이트(B0-Bm-1)의 메모리 셀에서 사용되는 예를 나타내고 있다. 여기서 1바이트는 8개의 데이터용 메모리 셀과 4개의패리티비트용 메모리 셀로 이루어져 총 12개의 메모리 셀로 구성된다. 그리고 에러정정부호는 1비트의 에러체크 및 1비트의 정정코오드(Hamming Code)를 사용하며 다른 정정 코오드로 이 발명에 그대로 적용할 수 있다.(B)도는 입출력부(6)를 통하여 입력버퍼(9) 및 출력버퍼(7)가 연결되고 입, 출력버퍼(9)(7) 사이에는 부호발생 검출 제어회로(8)가 연결되어 있다. 입력버퍼(9)는 데이터라인을 통하여 일측으로 에러발생회로(15)와 연결되는 동시에 부호발생회로(13)와 연결되어 입력되는 데이터와 입력되는 데이터에 따라 발생되는 패리티 신호를 공급하게 된다. 부호발생회로(13)와 연결된 센스앰프(14)는 리드시 데이터를 공급하며 데이터 선택회로(11)를 통하여 정정회로(10)와 연결되고 부호발생회로(13)에 연결된 복호회로(12)의 출력은 정정회로(10)와 연결되어 에러가 발생된 비트를 정정하도록 구성되어 있다.FIG. 1B shows an embodiment of error correction means connected to the EEPROM of FIG. 1A, which is an example used in N lines of Weedline (W0-Wn-1) and M-byte (B0-Bm-1) memory cells. Indicates. Here, one byte is composed of eight data memory cells and four parity bit memory cells, and is composed of a total of 12 memory cells. The error correcting code uses an error check of 1 bit and a correction code of 1 bit and can be applied to the present invention as another correction code. (B) shows an input buffer (B) through the input / output unit (6). 9) and the output buffer 7 is connected, and the code generation detection control circuit 8 is connected between the input and output buffers (9) (7). The input buffer 9 is connected to the error generating circuit 15 to one side through a data line and is connected to the code generating circuit 13 to supply a parity signal generated according to the input data and the input data. The sense amplifier 14 connected to the code generation circuit 13 supplies data at the time of reading and is connected to the correction circuit 10 through the data selection circuit 11 and of the decoding circuit 12 connected to the code generation circuit 13. The output is coupled to the correction circuit 10 and configured to correct an errored bit.

상기 회로는 데이터 라이트(Write)시 제2도와 연결된 구성을 갖게되고 데이터 리드(Read)시에는 제4도와 같이 연결된 구성을 갖게 된다.The circuit has a configuration connected to the second drawing when data writes and a configuration connected to the fourth drawing when data reading.

데이터 라이트시 동작을 제2도 및 제3도에 의하여 설명한다.The operation of writing data will be described with reference to FIGS. 2 and 3.

제2도는 데이터 라이트시 활성화되는 회로의 블록도이고, 제3도는 부호발행회로의 실시예를 나타내고 있다.2 is a block diagram of a circuit that is activated when data is written, and FIG. 3 shows an embodiment of a code issuing circuit.

먼저 입출력회로(6)와 연결된 입력버퍼(7)를 통하여 8개의 입력데이타(DIi)가 들어오면 이 8개의 입력데이타에 의하여 부호발생회로(13)에서 4개의 패리티부호(PWi)가 발생된다. 이 8개의 입력데이타(DIi)와, 부호발생회로(13)를 통한 패리티부호(PWi)는 데이터라인 셀렉터(5)를 통하여 메모리 어레이(1)에 저장된다.First, when eight input data DIi are input through the input buffer 7 connected to the input / output circuit 6, four parity codes PWi are generated in the code generation circuit 13 by the eight input data. The eight input data DIi and the parity code PWi through the code generation circuit 13 are stored in the memory array 1 via the data line selector 5.

제3도는 부호 발생회로의 실시예로서 8개의 데이터 리인(D/L)과 4개의 패리티라인(P/L)에 익스크루시 버오아게이트(EX1-EX5)로 구성된 블록(BK0)이 연결되어 있으며 블록(BK1-BK3)도 동일한 구조를 갖고 있다. 그리고 각각의 패리티라인(P/L)에는 MOS트랜지스터(MOS)들이 연결되어 클럭신호(C1)에 의한 제어를 받게 구성되어 있다.3 shows an embodiment of a code generation circuit, in which a block BK0 composed of an exclusive burner gate EX1-EX5 is connected to eight data lines D / L and four parity lines P / L. The blocks BK1-BK3 also have the same structure. MOS transistors MOS are connected to each parity line P / L to be controlled by the clock signal C1.

즉, 라이트시 클럭신호(C1)는 로직 H상태로써 공급되어 MOS트랜지스터(MOS)가 턴온되므로 4개의 패리티라인(P/L)은 로직 L레벨이 유지되고 데이터라인(D/L)의데이타들은 각 블록(BK0-BK3)의 익스크루 시버오아게이트들과 연산되어 4개의 패리티부호(Pw0-Pw3)를 발생시키 전술한 바와 같이 8개의 입력데이타(DIi)와 함께 어레이(1)에 쓰여진다.In other words, since the clock signal C1 is supplied as the logic H state and the MOS transistor MOS is turned on, the four parity lines P / L are maintained at the logic L level, and the data of the data lines D / L are maintained. The parity codes Pw0-Pw3 are generated by operating with the extruder oragates of each block BK0-BK3 and written to the array 1 together with the eight input data DIi as described above.

데이터리드 동작은 제4도 및 제5도에 의해 설명한다.The data read operation is described with reference to FIGS. 4 and 5.

제4도는 데이터리드시 활성화되는 회로의 블록도이고, 제5도는 복호회로(Decoder) 및 정정회로(Corrector)의 실시예를 나타내고 있다. 데이터리드시 데이터라인 셀렉터(5)를 통하여 메모리 어레이(1)에 지정된 데이터 및 패리티부호가 출력되고 센스앰프(14)에서 감지된 상기 출력은 데이터 선택회로(11) 및 부호 발생회로(13)에 전달된다.FIG. 4 is a block diagram of a circuit activated during data read, and FIG. 5 shows an embodiment of a decoder and a corrector. When data is read, data and a parity code designated to the memory array 1 are output through the data line selector 5 and the output detected by the sense amplifier 14 is transmitted to the data selection circuit 11 and the code generation circuit 13. Delivered.

부호발생회로(13)에서는 입력된 12비트의 신호로서 4개의 패리티부호를 출력시키고 복호회로(12)에서 복호된 패리티 신호를 정정회로(10)에 공급시켜 8개의 데이터중 에러가 발생된 데이터신호를 정정시켜(반전시킴) 출력버퍼(7)에 전달시키게되고 에러가 있는 데이터신호는 바로 출력버퍼(7)에 전달시키게 되어 입출력회로(6)를 통하여 정정된 데이터를 인출시키게 된다. 여기서 부호발생회로(13)는 제3도와 동일한 회로이고 데이터 리드시 클럭신호(C1)는 L상태가 된다. 그리고 제5도에서 복호회로(12)의 콘트롤시그널(

Figure kpo00001
)이 로직 L상태이면 낸드게이트(NA1-NAM) 및 인버터(I1-IM)로 구성된 복호회로의 출력을 항상 L상태가 되어 복호회로(13)는 디스에이블되므로 정정자기용이 일어나지 않게된다.The code generation circuit 13 outputs four parity codes as input 12-bit signals, and supplies a parity signal decoded by the decoding circuit 12 to the correction circuit 10 so that an error occurs among the eight data. Is corrected (inverted) to be delivered to the output buffer 7 and an error data signal is immediately transmitted to the output buffer 7 to draw out the corrected data through the input / output circuit 6. Here, the code generation circuit 13 is the same circuit as that in FIG. And the control signal of the decoding circuit 12 in FIG.
Figure kpo00001
If the L is in the logic L state, the output of the decoding circuit composed of the NAND gates NA1-NAM and the inverters I1-IM is always in the L state, and the decoding circuit 13 is disabled so that corrective magnetic use does not occur.

그러나 콘트롤시그널(

Figure kpo00002
)은 보통 데이터리드시 H상태가 된다. 정정회로(10)는 익스크루시버 오아게이트(E1-EM)로 구성되어 있는 것으로 일측입력은 센스앰프(14)에 연결되어 있고 타측입력은 복호회로(12)의 인버터(O1-IM)의 출력측과 연결되어 있다.However, the control signal (
Figure kpo00002
) Is usually H when data read. The correction circuit 10 is composed of an extruder oragate (E1-EM), with one input connected to the sense amplifier 14 and the other input connected to the output side of the inverter O1-IM of the decoding circuit 12. Connected with

여기서 복호회로(12)의 출력은 콘트롤시그널 역할을 하게되는 것으로 복호회로의 출력이 L상태인 경우에는 센싱된 출력이 그대로 패스되고, 복호회로의 출력이 로직H상태인 경우 센싱된 출력은 반전되어 패스된다. 센스앰프(14)를 통한 8개의 데이터비트와 4개의 패리티 비트가 센싱되고 센싱된 출력은 부호발생회로에서 부호를 발생시킨다. 발생된 부호는 복호회로(12)를 거침으로써 에러의 여부 및 에러가 발생된 데이터비트의 위치를 파악한다. 8개의 데이터(Dsi)중 1개의 에러가 발생되면 그 위치에 해당하는 복호회로의 출력이 H상태가 되고 이에의해 에러가 발생된 데이터는 정정되어(인버팅되어)패스되고 최종적으로 출력버퍼(7)를 통하여 정정된 1바이트의 데이터가 읽혀지게 된다.Here, the output of the decoding circuit 12 serves as a control signal. When the output of the decoding circuit is in the L state, the sensed output is passed as it is. When the output of the decoding circuit is in the logic H state, the sensed output is inverted. Passed. Eight data bits and four parity bits are sensed through the sense amplifier 14 and the sensed output generates a sign in the code generation circuit. The generated code passes through the decoding circuit 12 to determine whether there is an error and the location of the data bit in which the error occurred. When one error of the eight data Dsi occurs, the output of the decoding circuit corresponding to the position becomes H state, whereby the data in which the error occurs is corrected (inverted) and passed, and finally the output buffer 7 ), The corrected byte of data is read.

이 발명은 이와 같은 방식에 의하여 메모리소자를 제조한 후 테스트 할 경우 우연히 1바이트중 1비트의 메모리 셀의 결함(하드웨어적 에러)이 있으면 리드(Read)된 데이터가 에러 정정회로에 의하여 정정되기 때문에 이 결함을 발견할 수가 없고, 외견상으로 에러가 없는 것으로 된다. 따라서 에러정정 기능이 부가된 불휘발성 반도체 메모리에 대한 각종 테스트를 완전히 실시하기 위해서는 메모리 셀 자체 부호발새회로, 복호회로 및 정정회로를 각각 독립해서 테스트 할 필요가 있다. 특히 불휘발성 반도체 메모리에서는 라이트타임(Write time)이 길어서(수 ms) 직접 데이터를 쓰고 읽어내어 에러 정정회로를 검사하기에는 너무 많은 시간이 요구된다.According to the present invention, when a memory device is manufactured and tested in this manner, if there is a defect (a hardware error) of a 1-bit memory cell in one byte, the read data is corrected by an error correction circuit. This defect cannot be found and apparently there is no error. Therefore, in order to completely perform various tests on the nonvolatile semiconductor memory to which the error correction function is added, it is necessary to independently test the memory cell code generation circuit, the decoding circuit, and the correction circuit, respectively. In particular, in a nonvolatile semiconductor memory, the write time is long (a few ms), and too much time is required to directly write and read data to check the error correction circuit.

이 발명은 상술한 각종 테스트를 완전하게 실시할 수 있는 수단이 제공된다. 제6도는 이 발명에서 에러 정정수단을 내장한 불휘발성 반도체 메모리의 테스트 플로우 챠트를 나타내고 있다. 테스트방법은 크게 3가지로 구분된다.This invention is provided with the means which can fully implement the above-mentioned various tests. 6 shows a test flow chart of a nonvolatile semiconductor memory incorporating error correction means in this invention. There are three main test methods.

첫째, 에러정정기능을 디스에이블시키고 순수한 메모리 셀(데이타 비트용 메모리 셀 및 패리티 비트용 메모리 셀)을 검사하는 방법First, how to disable error correction and check pure memory cells (memory cells for data bits and memory cells for parity bits)

둘째, 부호발생회로(13)를 어레이(1)와 분리시키고 부호발생회로(13)자체를 검사하는 방법Second, a method of separating the code generation circuit 13 from the array 1 and inspecting the code generation circuit 13 itself.

셋째, 입력데이타를 강제적으로 원하는 위치에 1비트에러를 발생시켜 어레이에 저장한 후 리드함으로써 보호회로 및 정정회로를 검사하고 정정효과를 알아보는 방법이다.Thirdly, it is a method of inspecting the protection circuit and the correction circuit and finding the correction effect by forcibly generating the 1-bit error at a desired position and storing the read data in the array.

(1)메모리 셀 테스트(1) memory cell test

순수한 메모리 셀을 테스트하기 위하여 먼저 제5도에 나타난 복호회로(12)의 콘트롤시그널(

Figure kpo00003
)을 로직 L상태로 두어 먼저 데이터 정정동작을 중지시키고, 제7도의 데이터선택회로(11)는 , 콘트롤시그널(
Figure kpo00004
)(
Figure kpo00005
)를 양입력으로 하는 낸드게이트(NB1)와, 콘트롤시그널(
Figure kpo00006
)(
Figure kpo00007
)에 의해 선택되는 패리티부호(PRi)(Psi)와, 상기 낸드게이트(NB1)의 출력을 양입력으로 하는 낸드게이트(NB3)와, 상기 낸드게이트(NB1)의 출력을 인버팅시킨 신호와 8개의 데이터(Dsi)를 양입력으로 하는 낸드케이트(NB2)와, 상기 낸드게이트(NB2)(NB3)의 출력을 양입력으로하여 선택신호를 출력하는 낸드게이트(NB4)로 이루어졌다. 이 데이터 선택회로에서 콘트롤시그널(H2)이 L상태가 되면 8개의 데이터(Dsi)가 선택되므로 1바이트중 데이터비트용 8개의 메모리 셀을 정정작용없이 검사한다. 만약 콘트롤시그널(
Figure kpo00008
)이 로직 L상태이면 4개의 패리티부로(Psi)가 선택되고 출력버퍼(7)중 4개를 통해 패리티비트용 셀을 검사할 수 있다.To test a pure memory cell, first the control signal of the decoding circuit 12 shown in FIG.
Figure kpo00003
) Is placed in the logic L state to stop the data correction operation first, and the data selection circuit 11 of FIG.
Figure kpo00004
) (
Figure kpo00005
), The NAND gate (NB1) having both inputs, and the control signal (
Figure kpo00006
) (
Figure kpo00007
Parity code PRi (Psi) selected by the < RTI ID = 0.0 >),< / RTI > a NAND gate NB3 having the output of the NAND gate NB1 as a positive input, and a signal inverting the output of the NAND gate NB1. NAND gate NB2 having two data Dsi as positive inputs, and NAND gate NB4 outputting a selection signal using the outputs of the NAND gate NB2 NB3 as positive inputs. In the data selection circuit, when the control signal H2 is in the L state, eight data Dsi are selected, so eight memory cells for data bits in one byte are checked without corrective action. If control signal (
Figure kpo00008
In the logic L state, four parity units Psi are selected, and the cells for parity bits can be checked through four of the output buffers 7.

(2)부호발생회로 테스트(2) Code generation circuit test

부호발생회로(13)의 테스트를 제8도, 제9도, 제10도를 통해서 설명한다. 제8도는 부호발생회로 테스트시 활성화되는 회로의 블록도이고, 제9도는 입력버퍼(9), 출력버퍼(7), 부호발생 검출 제어회로(8)의 실시예를 나타내고 있으며, 제10도는 상기 동작의 타이밍도이다. 부호발생회로의 테스트시 콘트롤시그널(

Figure kpo00009
)은 로직 L상태가 되고 어레이(1)는 주변회로들과 분리되며 부호발생 검출제어회로(8)가 활성화 된다. 그리고 콘트롤시그널(
Figure kpo00010
)에 의해 데이터 선택회로(11)에서 4개의 패리티부호(PRi)를 선택하고 4개의 출력버퍼(7)에 입력시키고 콘트롤시그널(
Figure kpo00011
)은 L상태가 되어 복호회롤를 디스에이블시켜 에러정정작용을 중지시킨다. 이를 제10도의 타이밍도로서 살펴보면 콘트롤시그널(
Figure kpo00012
)이 L상태에서는 출력버퍼(7)가 인에이블되어 데이터가 읽혀지고, H상태에서는 디스에이블되고 I/O패드와 출력버퍼(7)가 차단된다.The test of the code generation circuit 13 will be described with reference to FIG. 8, FIG. 9, and FIG. FIG. 8 is a block diagram of a circuit that is activated during a code generation circuit test. FIG. 9 shows an embodiment of an input buffer 9, an output buffer 7, and a code generation detection control circuit 8. FIG. A timing diagram of the operation. Control signal during test of code generation circuit
Figure kpo00009
) Becomes the logic L state, the array 1 is separated from the peripheral circuits, and the sign generation detection control circuit 8 is activated. And control signal (
Figure kpo00010
4 selects the parity codes PRi from the data selection circuit 11 and inputs them to the four output buffers 7 and the control signal.
Figure kpo00011
) Becomes L state, which disables the decoding circuit roll and stops error correction. Looking at this as the timing diagram of FIG. 10, the control signal (
Figure kpo00012
In the L state, the output buffer 7 is enabled and data is read. In the H state, the output buffer 7 is disabled and the I / O pad and the output buffer 7 are blocked.

그리고 부호발생 검출 제어회로(8)에서 발생된 콘트롤시그널(C2)이 L동안 입력버퍼(9)에 들어온 데이터를 래치시키고 H상태에서는 래치를 푼다. 콘틀롤시그널(OE)의 라이징에지(Rising edge)부터 약 100ns후에 입력버퍼(9)에 들어와 있는 데이터를 래치시킨다. 이 데이터에 의해 부호발생회로에서 부호를 발생하고 콘트롤시그널(

Figure kpo00013
)에 L상태 구간동안 발생된 부호를 출력버퍼(7)를 통해 패드에서 읽혀지게 되고 콘트롤시그널(C2)의 라이징에지에서 래치를 풀고 다른 입력데이타를 받아들이게 된다.Then, the control signal C2 generated by the code generation detection control circuit 8 latches the data entered into the input buffer 9 for L and releases the latch in the H state. After about 100 ns from the rising edge of the control signal OE, the data entered into the input buffer 9 is latched. By this data, the code is generated in the code generator circuit and the control signal (
Figure kpo00013
The code generated during the L state period is read from the pad through the output buffer 7, and the latch is released from the rising edge of the control signal C2 to accept another input data.

이와 같은 일련의 제어에 의하여 각 입력데이타에 의해 발생된 부호를 체크함으로써 부호 발생회로(13)를 테스트할 수 있게 된다.The code generation circuit 13 can be tested by checking the code generated by each input data by such a series of control.

여기서, C3,C4는 내부 클럭신호이고, 부호발생회로 테스트시 콘트롤시그널(C3)은 H상태이고 콘트롤시그널(C4)은 L상태가 된다.Here, C3 and C4 are internal clock signals, the control signal C3 is in the H state, and the control signal C4 is in the L state during the code generation circuit test.

(3)복호회로, 정정호로 및 에러정정동작 테스트(3) Decoding circuit, correction path and error correction operation test

상기 테스트에서는 입력 데이터에 의해 부호를 발생시키고 입력데이타 및 부호를 메모리 셀에 라이팅(Writing)할 때 8개의 데이터 비트중 임의의 비트에에러가 발생된 것과 같이 강제로 입력 데이터와 반대의 데이터를 쓰고 이를 에러정정회로가 인에블된 상태에서 데이터를 리드(Read)해 봄으로써 에러정정동작을 체크하고 부호회로 및 정정회로를 검사한다. 이동작을 에러발생회로(15)의 실시예인 제11도로써 설명한다.In the test, a sign is generated by the input data, and when writing the input data and the sign to the memory cell, the data is forcibly written as opposed to the input data, such that an arbitrary bit error occurs among the eight data bits. The error correction operation is checked and the code circuit and the correction circuit are checked by reading the data while the error correction circuit is enabled. The shift operation will be described with reference to FIG. 11, which is an embodiment of the error generating circuit 15. FIG.

제11도에서 익스크루시버오아게이트의 일측 입력으로는 입력버퍼(9)를 통하여 들어온 데이터(DIi)가 입력되고 다른 입력에는 에러 비트위치 선정회로(16)의 출력이 공급된다. 평상시 콘트롤시그널(

Figure kpo00014
)은 H상태가 되어 에러비트위치 선정회로(16)의 출력은 항상 L상태가 되고, 이에 따라 입력버퍼(9)를 통해 들어온 입력데이타(DIi)는 인버터되지 않고 그대로 전달되어 정상적인 입력데이타가 메모리 셀에 쓰여지게 된다.In FIG. 11, data DIi, which is input through the input buffer 9, is input to one side input of the exclusive oragate, and an output of the error bit positioning circuit 16 is supplied to the other input. Normal control signal (
Figure kpo00014
) Is in the H state, and the output of the error bit position selection circuit 16 is always in the L state. As a result, the input data DIi input through the input buffer 9 is transferred without being inverter, and the normal input data is stored in memory. Will be written to the cell.

그러나 상기 테스트시 콘트롤시그널(H4)은 L상태가 되고 에러비트위치 선정입력(어드레스 A0-A2)에 의하여 임의로 8개의 입력데이타중 1비트를 선정한다. 즉, 에러비트 위치 선정회로의 8개의 출력중 선정된 1개의 출력은 H상태가 되고 나머지 7개의 출력은 L상태가 된다.However, during the test, the control signal H4 is in the L state and an arbitrarily select 1 bit of the eight input data by the error bit positioning input (addresses A0-A2). That is, one of the eight outputs of the error bit positioning circuit is in the H state and the remaining seven outputs are in the L state.

이와 같은 들어온 입력데이타를 반전시켜 에러가 발생된 것처럼 메모리 셀에 라이팅 한다. 단, 여기서 제1도에 타나낸 것과 같이 에러가 발생되기 전이 입력데이타에 의해 부호가 발생되어야 하고, 메모리 셀을 라이트할 때 에러가 발생된 데이터가 기록된다. 이렇게 1바이트중 임의의 데이타 위치에 강제로 에러를 발생시키고 에러 정정회로를 인에이블시킨 상태에서 정정작용을 검사함으로써 복호회로 및 정정회로를 테스트고 데이터 에러를 검출하여 정정했을 경우의 리드 엑세스타임을 측정할 수가 있는 것으로 통상적으로 정정 작용 수행시 엑세스타임이 다소 느려지게 된다.This input data is inverted and written to the memory cell as if an error occurred. However, as shown in FIG. 1, a sign must be generated by input data before an error occurs, and data in which an error occurs when writing a memory cell is recorded. The read access time when the decoding circuit and the correction circuit are tested and the data error is detected and corrected by forcibly generating an error at any data position in one byte and checking the corrective action with the error correction circuit enabled. In general, the access time is slightly slower when performing a corrective action.

이상에서와 가팅 이 발명은 불휘발성 반도체 메모리에 에러정정부호에 의한 데이터 정정수단을 제공하여 비트성 고장을 해결할 수 있어 수융 및 신뢰성을 향상시킬 수가 있으며, 여러 가지 회로 자체의 기능테스트를 독립적으로 실시하여 효과적으로 검증할 수 있는 효과가 있는 것이다.As described above, the present invention provides a nonvolatile semiconductor memory with data correction means by an error correction code to solve the bit fault, thereby improving convergence and reliability, and independently performing functional tests of various circuits. It is effective to verify effectively.

Claims (8)

불휘발성 반도체 메모리에서 각 어드레스에 해당하는 워드나 바이트단위로 에러정정 패리티부호를 발생시킬 수 있는 수단을 구성하고, 데이터의 기록시에는 입력 데이터를 데이터 비트용 셀에 기록하는 수단과, 입력데이타에 상응하는 패리티부호를 셀에 기록하는 수단과, 리드시 데이터비트 및 패리티비트를 동시에 읽혀들인 후 복호하는 수단과로 구성되어 워드나 바이트 단위로발생되는 에러를 정정할 수 있게 한 에러정정수단을 가진 불휘발성 반도체 메모리.Means for generating an error correction parity code in units of words or bytes corresponding to each address in a nonvolatile semiconductor memory, and means for writing input data into a cell for data bits when writing data, and input data for Means for writing a corresponding parity code into a cell, and means for simultaneously reading and decoding data bits and parity bits at the time of reading and having error correction means for correcting errors occurring in units of words or bytes. Nonvolatile Semiconductor Memory. 제1항에서 있어서, 에러정정수단은 데이터들과 상응하는 패리티부호를 발생시키는 부호발생회로(13)와, 상기 부호발생회로(13)에 연결되고 전정회로(10)에 복호된 출력을 공급시키는 복호회로(12)와, 입력버퍼(9)를 통하여 공급되는 데이터중 1비트의 에러가 발생되게 한 에러발생회로(15)와로 구성되게 한 에러정정수단을 가진 불휘발성 반도체 메모리.2. The apparatus of claim 1, wherein the error correction means comprises: a code generation circuit 13 for generating a parity code corresponding to the data, and a decoded output connected to the code generation circuit 13 and supplied to the pruning circuit 10; A nonvolatile semiconductor memory having an error correction means configured by a decoding circuit (12) and an error generating circuit (15) which causes an error of one bit of data supplied through an input buffer (9). 제2항에 있어서, 부호발생회로(13)는 데이터라인(D/L)과 트랜지스터가 연결된 패리티라닌(P/L)으로 구성시킨후 에러정정 코오드에 따라 익스크루시버 오아게이트(EX1-EX5)들로 구성된 블록(Bk0-Bk2)들이 연결되게 구성시킨 에러정정수단을 가진 불휘발성 반도체 메모리.3. The code generator circuit 13 is composed of a parity ranin (P / L) connected to a data line (D / L) and a transistor, and according to an error correcting code, the transceiver oragate (EX1-EX5). Non-volatile semiconductor memory having error correction means configured to be connected to the block (Bk0-Bk2) consisting of. 불휘발성 메모리 셀 어레이(1)와 에러정정회로와를 부리시키는 수단을 구성시키고 에러정정회로의 부호발생회로(13), 복호회로(12), 에러발생회로(15)가 각각 분리시키수 있는 수단과, 상기 에러정정회로의 각 부분회로가 각기 개별적으로 검증할 수 있는 수단을 가지는 에러정정수단을 가진 불휘발성 반도체 메모리.A means for constructing a nonvolatile memory cell array 1 and an error correction circuit and separating the code generation circuit 13, the decoding circuit 12, and the error generation circuit 15 of the error correction circuit, respectively. And error correction means having means for verifying each of the partial circuits of the error correction circuit individually. 제4항에 있어서, 상기 에러정정회로의 각 부분회로를 검증하기 위한 수단은, 입력데이타를 받아들이는 입력버퍼(9)와, 입력버퍼(9)를 통해 입력된 데이터에 의해 부호를 발생시키는 부호발생회로(13)와, 발생된 각각의 부호를 외부로 출력시키는 출력버퍼(7)의 폐루프로 이루어짐을 특징으로 하는 에러정정수단을 가진 불휘방성 반도체 메모리.5. The apparatus according to claim 4, wherein the means for verifying each partial circuit of the error correction circuit comprises: an input buffer 9 that accepts input data and a code that generates a code by data input through the input buffer 9; An anisotropic semiconductor memory having an error correcting means comprising a generating circuit 13 and a closed loop of an output buffer 7 for outputting each generated code to the outside. 제4항에 있어서, 상기 에러정정회로의 각부분회로를 검증하기 위한 수단은, 메모리 셀에서 판독된 데이타와 부호발생회로(13)에서 발생된 데이터를 콘트롤시그널(H1)(H2)에 의해 선택적으로 통과시키는 데이터선택회로 (11)로 어우러짐을 특징으로 하는 에러정정수단을 불휘발성 반도체 메모리.5. The device according to claim 4, wherein the means for verifying each circuit of the error correction circuit selects data read out from the memory cell and data generated from the code generation circuit 13 by the control signals H1 and H2. A non-volatile semiconductor memory comprising error correction means characterized in that it combines with a data selection circuit (11) to be passed through. 제4항에 있어서, 에러정정회로내에 에러발생을 제어할 수 있는 에러 발생회로(15)를 구성하여 입력어드레스에 의해 에러가 발생되는 비트의 위착 제어되게 한 에러정정수단을 가진 불휘발성 반도체 메모리.5. The nonvolatile semiconductor memory according to claim 4, comprising an error generating circuit (15) capable of controlling the occurrence of an error in the error correction circuit so as to control the position of the bit where an error occurs by an input address. 제6항에 있어서, 상기 데이터선택회로(11)는, 콘트롤시그널
Figure kpo00015
)(
Figure kpo00016
)를 양입력으로 하는 낸드게이트(NB1)와, 콘트롤시그널(
Figure kpo00017
)(
Figure kpo00018
)에 의해 선택되는 패리티부호(PRi)(Psi)와 상기 낸드게이트(NB1)의 출력을 양입력으로 하는 낸드게이트(NB3)와, 상기 낸드게이트(NB1)의 출력을 인버팅시킨 신호와 8개의 데이터(Dsi)를 양입력으로 하는 낸드게이트(NB2)와, 상기 낸드게이트(NB2),(NB3)의 출력을 양입력으로 하여 선택신호를 출력하는 낸드게이트(NB4)와, 로 이루어짐을 특징으로 하는 에러정정수단을 가진 불휘발성 메모리.
7. The control circuit according to claim 6, wherein the data selection circuit (11) comprises a control signal.
Figure kpo00015
) (
Figure kpo00016
), The NAND gate (NB1) having both inputs, and the control signal (
Figure kpo00017
) (
Figure kpo00018
NAND gate NB3 having the parity code PRi (Psi) and the output of the NAND gate NB1 selected as the two inputs, and an inverted signal of the NAND gate NB1 and eight signals. And a NAND gate NB2 having the data Dsi as a positive input, a NAND gate NB4 outputting a selection signal with the outputs of the NAND gates NB2 and NB3 being positive inputs, and Nonvolatile memory having error correction means.
KR1019880008956A 1988-07-18 1988-07-18 Non-volatilization semiconductor memory KR910005974B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019880008956A KR910005974B1 (en) 1988-07-18 1988-07-18 Non-volatilization semiconductor memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019880008956A KR910005974B1 (en) 1988-07-18 1988-07-18 Non-volatilization semiconductor memory

Publications (2)

Publication Number Publication Date
KR900002329A KR900002329A (en) 1990-02-28
KR910005974B1 true KR910005974B1 (en) 1991-08-09

Family

ID=19276184

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019880008956A KR910005974B1 (en) 1988-07-18 1988-07-18 Non-volatilization semiconductor memory

Country Status (1)

Country Link
KR (1) KR910005974B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100827662B1 (en) * 2006-11-03 2008-05-07 삼성전자주식회사 Semiconductor memory device and data error detection and correction method of the same

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4761910B2 (en) * 2005-10-05 2011-08-31 株式会社東芝 Nonvolatile semiconductor memory device and nonvolatile memory system using the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100827662B1 (en) * 2006-11-03 2008-05-07 삼성전자주식회사 Semiconductor memory device and data error detection and correction method of the same

Also Published As

Publication number Publication date
KR900002329A (en) 1990-02-28

Similar Documents

Publication Publication Date Title
US6392938B1 (en) Semiconductor memory device and method of identifying programmed defective address thereof
KR100399365B1 (en) Nonvolatile semiconductor memory device with a fail bit detecting scheme and method for counting the number of fail bits of the nonvolatile semiconductor memory device
US7200780B2 (en) Semiconductor memory including error correction function
JP3842238B2 (en) Memory system and test method thereof
US7490274B2 (en) Method and apparatus for masking known fails during memory tests readouts
US7739560B2 (en) Nonvolatile semiconductor memory device and method of self-testing the same
US5142541A (en) Error-bit generating circuit for use in a non-volatile semiconductor memory device
US20060253723A1 (en) Semiconductor memory and method of correcting errors for the same
US20010052090A1 (en) Storage device having an error correction function
US4926426A (en) Error correction check during write cycles
US20150370634A1 (en) Ecc method for double pattern flash memory
KR100718518B1 (en) Semiconductor memory device
JPH06267298A (en) Semiconductor memory with built-in parallel bit test mode
JP2007004955A (en) Nonvolatile semiconductor memory device
JP3935149B2 (en) Semiconductor integrated circuit
TW201503145A (en) Method and device for storing and reading reliable information in a NAND array
US6634003B1 (en) Decoding circuit for memories with redundancy
US5195099A (en) Semiconductor memory device having improved error correcting circuit
JPH06214891A (en) Circuit and method for masking of data
US4905242A (en) Pipelined error detection and correction apparatus with programmable address trap
KR910005974B1 (en) Non-volatilization semiconductor memory
JP2001351395A (en) Semiconductor memory integrated circuit
KR920010972B1 (en) Fault tolerant computer memory systems
JP3482543B2 (en) Semiconductor memory
KR100460708B1 (en) Error check and correcting circuit for testing of semiconductor memory

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20050708

Year of fee payment: 15

LAPS Lapse due to unpaid annual fee