KR950000426B1 - Non-volatile memory device with error correcting circuit of plural byte unit - Google Patents

Non-volatile memory device with error correcting circuit of plural byte unit Download PDF

Info

Publication number
KR950000426B1
KR950000426B1 KR1019910018832A KR910018832A KR950000426B1 KR 950000426 B1 KR950000426 B1 KR 950000426B1 KR 1019910018832 A KR1019910018832 A KR 1019910018832A KR 910018832 A KR910018832 A KR 910018832A KR 950000426 B1 KR950000426 B1 KR 950000426B1
Authority
KR
South Korea
Prior art keywords
parity
memory
data
bits
cell array
Prior art date
Application number
KR1019910018832A
Other languages
Korean (ko)
Other versions
KR930008869A (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 KR1019910018832A priority Critical patent/KR950000426B1/en
Publication of KR930008869A publication Critical patent/KR930008869A/en
Application granted granted Critical
Publication of KR950000426B1 publication Critical patent/KR950000426B1/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation

Landscapes

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

Abstract

The memory (EEPROM) comprises a memory bit loading means for storing memory bits inputted as a byte unit in page buffers of a first group, a parity extractor for receiving the stored memory bits as the unit of certain bytes to generate some parity bits, a parity loading means for storing some parity bits in page buffers of a second group, a program section for writing simultaneously in the selected cells of memory array and parity cell, a write parity extractor for generating a write parity, and an error correcting circuit for comparing memory data bits with parity bits.

Description

복수 바이트 단위의 틀림 정정회로를 내장한 불휘발성 메모리장치Nonvolatile Memory Device with Multiple Fault Incorrect Circuits

제 1 도는 종래의 일실시예1 is a conventional embodiment

제 2 도는 종래의 또다른 실시예2 is another conventional embodiment

제 3 도는 본 발명에 따른 블럭다이어그램3 is a block diagram according to the present invention.

제 4 도는 제 3 도의 메모리 어레이 구성도4 is a diagram illustrating a memory array of FIG. 3

제 5 도는 본 발명에 따른 라이트 과정을 보여주는 개략도5 is a schematic diagram showing a light process according to the present invention.

제 6 도는 본 발명에 따른 리이드 과정을 보여주는 개략도6 is a schematic diagram showing a lead process according to the present invention.

제 7 도는 본 발명에 사용되는 패리티 저너레이터의 내부구성도7 is an internal configuration diagram of a parity generator used in the present invention.

제 8 도는 제 5 도에 따른 동작타이밍도8 is an operation timing diagram according to FIG.

본 발명은 불휘발성 메모리 장치에 관한 것으로, 특히 랜덤라이트가 가능한 복수 바이트 단위의 틀림 정정회로에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a nonvolatile memory device, and more particularly, to a wrong correction circuit in units of multiple bytes capable of random writing.

메모리 소자의 신뢰성(reliability) 및 수율(yield)을 향상시키기 위해서 메모리셀의 결함을 검사하고 정정하는 에러 정정회로(error check and correction circuit ; ECC)가 일반적으로 사용된다. 1바이트의 단위의 에러 정정회로를 사용하는 경우, 메모리셀의 50%에 해당하는 패리티셀이 필요하며, 메모리가 고집적화됨에 따라 칩사이즈가 증가되는 문제가 있다. 이를 극복하기 위하여는 단일바이트가 아닌 복수 바이트 단위로, 예를들면 4바이트, 8바이트 단위의 에러 정정회로를 사용함으로써 메모리셀에 대한 패리티셀의 비율을 줄여야 한다. 그러나 복수 바이트 단위에 에러 정정회로를 사용할 경우 반드시 단위 바이트에 해당하는 한조의 데이타가 순서대로 입력되어 동시에 라이트동작이 이루어져야 한다.Error check and correction circuits (ECCs) for checking and correcting defects in memory cells are generally used to improve the reliability and yield of memory devices. When using an error correction circuit of one byte, a parity cell corresponding to 50% of the memory cell is required, and there is a problem in that the chip size increases as the memory is highly integrated. In order to overcome this problem, it is necessary to reduce the ratio of parity cells to memory cells by using error correction circuits in units of multiple bytes instead of single bytes, for example, 4 bytes and 8 bytes. However, when an error correction circuit is used for a multibyte unit, a set of data corresponding to a unit byte must be sequentially input and write operation must be performed at the same time.

상기한 1바이트 단위의 에러 정정회로를 사용하는 종래의 불휘발성 메모리장치의 일예가 제 1 도에 도시되어 있다. 제 1 도에 도시된 이이피롬은 8비트의 데이타와 4비트의 패리티로 이루어진 1바이트(12비트)를 단위로 에러검색 및 정정을 할 수 있는 시스템이다. 제 1 도를 참조하면, 데이타 입력버퍼를 통하여 입력된 8비트의 데이타는 패리티 저너레이터에서 발생된 4비트의 패리티 데이타와 함께 메모리 어레이(11)로 라이드된다. 메모리 어레이(11)에 저장된 1바이트의 데이타(패리티 데이타 포함)는 센스앰프(12)를 통하여 전송된다. 센스앰프(12)를 통과한 데이타에 에러가 발생되었으면, 패리티 저너레이터(13), 패리티 디코더(14)와 익스클루시브 오아게이트(15)에 이르는 경로를 통하여 검색 및 정정된다.An example of a conventional nonvolatile memory device using the above error correction circuit in units of one byte is shown in FIG. The Y pyrom shown in FIG. 1 is a system capable of error search and correction in units of 1 byte (12 bits) composed of 8 bits of data and 4 bits of parity. Referring to FIG. 1, eight bits of data input through the data input buffer are loaded into the memory array 11 together with four bits of parity data generated by the parity generator. One byte of data (including parity data) stored in the memory array 11 is transmitted through the sense amplifier 12. If an error occurs in the data passing through the sense amplifier 12, it is searched and corrected through the paths to the parity generator 13, the parity decoder 14, and the exclusive oragate 15.

이러한 에러 정정회로에서는 패리티 비트가 데이타 비트의 50%이므로, 데이타 비트의 수가 증가하면 할수록 패리티 비트의 수가 늘어남으로 인하여 칩사이즈와 증가를 불가피하게 된다.In such an error correction circuit, since the parity bits are 50% of the data bits, the chip size and increase are inevitable due to the increase in the number of parity bits as the number of data bits increases.

제 1 도의 에러 정정회로에서 나타난 문제점을 해결하기 위하여, 복수 바이트 단위로 에러 정정을 행하는 롬(ROM)이 제 2 도에 도시되어 있다. 이는 국내공고 특허 공보번호 제 90-4812 호(출원인 : 히다찌, 우선권 주장일 : 1982. 2. 15)에 개지된 것이다. 상기 특허에서는 복수 바이트 단위, 예를들어, 4바이트 단위로 에러 정정을 행한다면 패리티 데이타가 6비트이므로 이는 32비트(4바이트)에 대하여 18.8%에 해당하는 패리티셀이 필요하다. 결과적으로 제 2 도와 같이, 복수 바이트 단위의 에러 정정회로에서는 단위 바이트의 크기가 증가함에 따라 필요한 패리티셀의 양이 줄어들어 칩사이즈의 증가를 억제할 수 있다.In order to solve the problem shown in the error correction circuit of FIG. 1, a ROM (ROM) that performs error correction in units of a plurality of bytes is shown in FIG. This is disclosed in Korean Patent Publication No. 90-4812 (Applicant: Hitachi, Date of Priority: February 15, 1982). In the patent, if the error correction is performed in units of a plurality of bytes, for example, in units of 4 bytes, the parity data is 6 bits, which requires 18.8% parity cells for 32 bits (4 bytes). As a result, as in the second diagram, in the error correction circuit of a multi-byte unit, as the size of the unit byte increases, the amount of required parity cells decreases, so that the increase in chip size can be suppressed.

그러나, 상대적인 패리티셀의 수가 적기 때문에, 정정효율은 1바이트의 경우(제 1 도)보다 떨어진다. 그 이유는 상기 제 1 도의 경우와 같이 1바이트 단위의 에러 정정정회로에서는 12비트(8데이타 버퍼+4패리티비트)당 1비트를 정정할 수 있지만, 제 2 도의 경우와 같이, 4바이트 단위의 에러 정정회로에서는 38비트(32데이타 비트+6패리티 비트)당 1 비트를 정정하기 때문이다. 상기 제 2 도의 롬에서는, X디코더의 출력신호와 Y디코더의 출력신호에 의하여 38개의 메모리셀(패리티셀 포함)들이 동시에 선택되어 리이드 동작이 수행되며, 에러 정정회로(ECC)에서 에러 정정된 32비트의 데이타신호가 순서적으로 4회에 걸쳐 외부단자 DC0 내지 DC7로 전송된다.However, since the relative number of parity cells is small, the correction efficiency is lower than that of one byte (FIG. 1). The reason for this is that as in the case of FIG. 1, in the error correction correcting circuit in one byte unit, one bit per 12 bits (8 data buffers + 4 parity bits) can be corrected, but as in the case of FIG. This is because the error correction circuit corrects one bit per 38 bits (32 data bits + 6 parity bits). In the ROM of FIG. 2, 38 memory cells (including parity cells) are simultaneously selected by the output signal of the X decoder and the Y decoder, and the read operation is performed. Bit data signals are sequentially transmitted to the external terminals DC0 to DC7 four times.

상기한 바와 같이, 리이드 동작만을 수행하는 롬에 있어서는 복수 바이트 단위로 에러 정정을 행하더라도, 4바이트 단위로 컬럼디코딩을 한 후, 상기 4바이트중에서 선택된 어드레스에 해당하는 1바이트를 선택하는 센스앰프 디코딩을 해야 하기 때문에, 에러 정정과 리이드 동작상에 어려움은 없다. 즉, 상기 제 2 도의 메모리 어레이 및 패리티 어레이는 불휘발성의 롬셀들로 구성되어 있으므로, 데이타를 랜덤하게 기억을 시키거나 일시에 기억시키거나 간에 상기한 에러정정 동작에는 영향을 미치지 않는다.As described above, in the ROM performing only a read operation, even if error correction is performed in units of a plurality of bytes, after decoding the column in units of 4 bytes, a sense amplifier decoding for selecting 1 byte corresponding to the selected address from the 4 bytes is performed. There is no difficulty in error correction and lead operation. That is, since the memory array and the parity array of FIG. 2 are composed of nonvolatile ROM cells, the above-described error correction operation is not affected whether the data is randomly stored or temporarily stored.

그러나, 전기적으로 소거 및 프로그램이 가능한 롬, 즉 이이피롬(EEPROM)에서 복수 바이트 단위의 에러 정정회로를 사용하는 경우에 있어서는 반드시 복수 바이트가 동시에 라이트(write)되고 순서대로 데이타가 입력되어야만 정확한 패리티 비트가 발생되기 때문에, 랜덤(random)하게 데이타를 라이트 할 수 없는 제약이 있다.However, in the case of using a multi-byte error correction circuit in an electrically erasable and programmable ROM, that is, an EEPROM, the correct parity bit must be written only when multiple bytes are simultaneously written and data is input in order. Is generated, there is a constraint that data cannot be written randomly.

따라서 본 발명의 목적은 이이피롬에서 입력 데이타가 랜덤하게 입력 되더라도 복수 바이트 단위로 에러 정정동작이 가능 하도록 하는 가능한 장치를 제공함에 있다.Accordingly, an object of the present invention is to provide a device capable of enabling an error correction operation in units of a plurality of bytes even when input data is randomly input in EPI.

본 발명의 다른 목적은 복수 바이트 단위의 에러 정정회로를 가지는 이이피롬에 있어서 입력데이타를 랜덤하게 라이트할 수 있는 장치를 제공함에 있다.Another object of the present invention is to provide an apparatus capable of randomly writing input data in an EPROM having an error correction circuit of a plurality of bytes.

상기 본 발명의 목적을 달성하기 위하여 본 발명에 따른 이이피롬 장치는, 외부에서 바이트 단위로 입력 된 데이타를 메모리셀 어레이내에 있는 페이지 버퍼들에 일시적으로 저장시킨 다음 이들을 복수 바이트 단위로 패리티 저너레이터에 입력시켜 복수 바이트 단위의 데이타 비트에 해당되는 패리티 비트들을 패리티셀 어레이에 있는 페이지 버퍼들에 일시적으로 저장시킨다. 그후 상기 페이지 버퍼들에 저장된 데이타 비트들 및 패리티 비트들을 프로그램 모드에서 메모리셀 어레이 및 패리티셀 어레이에 각각 라이트 한다. 이것에 필요한 본 발명의 구성은, 상기 바이트 단위의 메모리 비트들을 메모리셀 어레이의 페이지 버퍼에 기억시키는 메모리 비트 로딩수단과, 상기 페이지 버퍼들에 저장된 메모리 비트를 복수 바이트 단위로 입력하여 소정갯수의 패리티 비트들을 발생하는 패리티 추출수단과, 상기 패리티 비트들을 패리티셀 어레이의 페이지 버퍼들에 일시적으로 저장시키는 패리티 비트 로딩수단과, 상기 메모리셀 어레이와 패리티셀 어레이의 페이지 버퍼들에 저장된 데이타 비트들 및 패리티 비트들을 상기 셀 어레이들로 라이트하는 프로그램 수단을 구비한다. 상기 메모리셀 어레이로부터 읽혀진 데이타는 에러정정 디코더와 커렉터에서 보정되어 독출된다.In order to achieve the object of the present invention, the YPIROM device according to the present invention temporarily stores externally input data in byte units in page buffers in a memory cell array, and then stores them in a parity generator in units of multiple bytes. The parity bits corresponding to the data bits of the multi-byte unit are temporarily stored in the page buffers of the parity cell array. The data bits and parity bits stored in the page buffers are then written to the memory cell array and the parity cell array, respectively, in program mode. The configuration of the present invention required for this is, the memory bit loading means for storing the memory bits of the byte unit in the page buffer of the memory cell array, and the predetermined number of parity by inputting the memory bits stored in the page buffers in plural byte units Parity extraction means for generating bits, parity bit loading means for temporarily storing the parity bits in the page buffers of the parity cell array, data bits and parity stored in the page buffers of the memory cell array and the parity cell array. Program means for writing bits to said cell arrays. The data read from the memory cell array is corrected and read by the error correction decoder and the corrector.

이하 본 발명을 첨부된 도면을 참조하여 상세히 설명한다. 제 3 도는 본 발명에 따른 이이피롬이 개략적인 구성을 보여준다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. 3 shows a schematic configuration of Ypyrom according to the present invention.

제 3 도에 도시된 메모리 어레이(100)는 1024페이지(1페이지=128바이트=1jbit)로 구성된 1M비트의 용량을 가지는 것으로 한다. 그리고 본 발명에서는 4바이트 단위로 에러 정정을 하는 경우에 대하여 실시예를 적용하였다. 각 페이지는 로우어드레스 버퍼(130)과 로우디코더(140)에 의하여 선택된다. 제 1 컬럼 어드레스 YAi를 입력하는 제 1 컬러어드레스버퍼(150)와 제 1 컬럼디코더(160)는 각 페이지 내에서 각 바이트가 4바이트 단위로 선택되도록 컬럼게이트(120)를 제어한다. 제 2 컬럼어드레스 YBi를 입력하는 제 2 컬럼 어드레스버퍼(310) 및 제 2 컬럼디코더(290)는 상기 제 1 컬럼디코더(160)에 의하여 일차적으로 선택된 4바이트중에서 1바이트를 선택한다. 페이지 버퍼(110)는 각각의 비트라인을 통하여 상기 컬럼게이트(120)를 구성하는 각각의 컬럼선택 트랜지스터(제 3 도에는 도시되지 않음)에 각각 연결된 래치들로 구성되어 있으며, 입력된 데이타를 임시로 기억하는 역할을 한다. 데이타 입력버퍼(280) 및 데이타 출력버퍼(250)는 입력 및 출력되는 외부 및 내부 데이타를 씨모오스 레벨로 변환하여 내부 및 외부로 공급한다.The memory array 100 shown in FIG. 3 is assumed to have a capacity of 1M bits composed of 1024 pages (1 page = 128 bytes = 1 jbit). In the present invention, an embodiment is applied to the case of error correction in units of 4 bytes. Each page is selected by the low address buffer 130 and the low decoder 140. The first color address buffer 150 and the first column decoder 160 that input the first column address YAi control the column gate 120 such that each byte is selected in units of 4 bytes in each page. The second column address buffer 310 and the second column decoder 290 inputting the second column address YBi select one byte from among the four bytes first selected by the first column decoder 160. The page buffer 110 is composed of latches respectively connected to respective column select transistors (not shown in FIG. 3) constituting the column gate 120 through respective bit lines, and temporarily input data. To play a role. The data input buffer 280 and the data output buffer 250 convert the input and output external and internal data into the CMOS level and supply them to the internal and external.

상기, 어드레스 버퍼들과 디코더들, 페이지 버퍼, 컬럼게이트 및 데이타 입출력 버퍼는 통상적인 이이피롬 장치에서 기본적으로 내장되는 요소들임을 알아두기 바란다. 그리고, 패리티 저너레이터(200), 에러 정정디코더(230) 및 커렉터(220)는 에러 정정회로를 구성하는 기본요소들이다.Note that the address buffers, decoders, page buffers, column gates, and data input / output buffers are elements that are basically embedded in a typical EPI device. The parity generator 200, the error correction decoder 230, and the corrector 220 are basic elements constituting the error correction circuit.

상기 패리티 저너레이터(200)는 4바이트 단위에 에러 정정에 사용되는 6비트의 패리티 비트를 발생시킨다. 상기 에러 정정 디코더(230)는 상기 6비티의 패리티 비트를 입력하여 결함된 셀의 위치에 해당하는 데이타(32비트)를 커렉터(220)로 공급한다. 한편, 데이타입력버퍼(270)로부터 8비트의 입력데이타를 입력하는 입력데이타 셀렉터(270)는 상기 제 2 컬럼디코더(29)로부터 출력된 정보에 따라 4바이트중 1바이트를 선택하도록 컬럼게이트(120)를 제어한다. 패리티 셀렉터(300)는 패리티 저너레이터(200)에서 발생된 6비트의 패리티 데이타를 상기 패리티셀 어레이내의 페이지 버퍼로 전송한다. 패리티 센스앰프(400)는 페이지 버퍼(110)에 로딩된 6비트의 패리티 데이타를 독출하며, 내부 컬럼어드레스 발생회로(170)는 각조(4바이트)의 패리티 데이타를 선택된 어드레스에 해당하는 페이지 버퍼에 로딩하기 위하여 자동적으로 어드레스를 발생시켜, 이를 상기 제 1컬럼디코더(160)와 패리티 셀렉터(300)로 공급한다.The parity generator 200 generates 6-bit parity bits used for error correction in units of 4 bytes. The error correction decoder 230 inputs the six bits of parity bits to supply data (32 bits) corresponding to the position of the defective cell to the collector 220. Meanwhile, the input data selector 270 for inputting 8-bit input data from the data input buffer 270 selects one byte out of four bytes according to the information output from the second column decoder 29. ). The parity selector 300 transmits 6-bit parity data generated by the parity generator 200 to the page buffer in the parity cell array. The parity sense amplifier 400 reads 6-bit parity data loaded in the page buffer 110, and the internal column address generation circuit 170 stores parity data of each set (4 bytes) in the page buffer corresponding to the selected address. An address is automatically generated for loading and supplied to the first column decoder 160 and the parity selector 300.

제 4 도는 상기 제 3 도에 도시된 메모리셀 어레이(100)의 구성의 일례를 보여준다. 블록으로 나누어진 페이지들(101-111)은 입출력단위를 기준으로 구분되어 있다. 즉 하나의 입출력 단위가 8비트이므로 메모리 데이타는 32비트(4바이트)이고, 여기에 대응하는 6비트의 패리티 데이타를 합하면, 총 38비트가 1조가 된다. 한 페이지가 128바이트로 구성되어 있으므로, 한 페이지는 32조로 이루어짐을 알 수 있다. 그리고, 각각의 페이지는 1K비트(1024비트)의 용량을 가지고 있다. 따라서, 이와 같은 방식으로 메모리셀 어레이가 구성되어 있는 경우, 한 페이지(128바이트, 32조)에 필요한 패리티 데이타는 32×6=192비트이며, 상기 제 4 도에서와 같이, 좌우로 반씩 나누어 96비트로 구성된 두 개의 패리티셀 어레이(105,111)로 배치시킬 수 있다. 하나의 페이지가 32조(128바이트=4바이트×32)로 구성되어 있으므로, 한 페이지를 에러 정정하기 위해서는 매 주기마다 6비트씩 32회의 패리티 데이타 발생주기가 운용됨을 알 수 있다.4 shows an example of the configuration of the memory cell array 100 shown in FIG. The pages 101 to 111 divided into blocks are divided based on the input / output unit. That is, since one input / output unit is 8 bits, the memory data is 32 bits (4 bytes). When the corresponding 6-bit parity data is added, a total of 38 bits is one set. Since one page is composed of 128 bytes, it can be seen that one page is composed of 32 sets. Each page has a capacity of 1K bits (1024 bits). Therefore, when the memory cell array is constructed in this manner, the parity data required for one page (128 bytes, 32 sets) is 32 x 6 = 192 bits, and as shown in FIG. Two parity cell arrays 105 and 111 composed of bits may be disposed. Since one page is composed of 32 sets (128 bytes = 4 bytes x 32), it can be seen that 32 times of parity data generation cycles are operated for 6 bits every cycle in order to error correct one page.

제 5 도는 본 발명에 따른 에러정정 모드시에 이루어지는 라이트 과정을 설명하기 위한 것이다. 상기 제 5 도에서는 페이지 버퍼(110), 제 1 컬럼디코더(150), 컬럼게이트(120), 페이지 셀렉터(300), 패리티 센스앰프(400), 페이지 센스앰프(500), 센스앰프(270), 입력데이타 셀렉타(270) 및 데이타 입력버퍼(280), 패리티 저너레이터(200)가 사용되고 있으며, 이들의 실시회로가 드러나 있다. 패리티 저너레이터(200)의 출력인 S1, S2, S3, S4, S5, S6는 6비트의 패리티 데이타를 나타낸다. 메모리 데이타가 실리는 32개(4바이트)의 데이타라인 DL1-DL32과 패리티 데이타가 실리는 6개의 패리티 라인 PL1-PL6이 있다. 상기 패리티셀 어레이(105)는, 메모리셀 어레이들(101,102,103,104)과 마찬가지로, 각각의 비트라인에 연결된 페이지 버퍼(110)들을 구비하고 있다. 패리티셀 어레이(105)의 내부구성은 메모리셀 어레이의 구성과 동일하므로 도시하지 않았다. 워드라이(WL)과 스트링 선택라인(SL)에 의하여 메모리셀(또는 패리티셀)이 선택되며, 비트라인 선택신호(SBL)에 의하여 페이지 버퍼(110)와 선택된 비트라인이 연결된다. 제 1 컬럼디코더(160a,…,160d)에서 신호 YD는 컬럼어드레스신호 Pi, Qi 및 Ri가 유효한 값으로 출력되도록 한다.5 is a view for explaining the writing process performed in the error correction mode according to the present invention. In FIG. 5, the page buffer 110, the first column decoder 150, the column gate 120, the page selector 300, the parity sense amplifier 400, the page sense amplifier 500, and the sense amplifier 270 are illustrated. The input data selector 270, the data input buffer 280, and the parity generator 200 are used, and their implementation circuits are revealed. S1, S2, S3, S4, S5, and S6, which are outputs of the parity generator 200, represent 6-bit parity data. There are 32 data lines DL1-DL32 carrying memory data and six parity lines PL1-PL6 carrying parity data. Like the memory cell arrays 101, 102, 103, and 104, the parity cell array 105 includes page buffers 110 connected to respective bit lines. Since the internal structure of the parity cell array 105 is the same as that of the memory cell array, it is not shown. The memory cell (or parity cell) is selected by the word line WL and the string selection line SL, and the page buffer 110 and the selected bit line are connected by the bit line selection signal SBL. The signal YD in the first column decoders 160a, ..., 160d causes the column address signals Pi, Qi and Ri to be output with valid values.

제 5 도에 표시된 제어신호들 LD, LCHfa, YW1, LCHfd등은 제 3 도의 제어회로(180)로부터 만들어질 수 있으며, 이는 공지의 이이피롬에서 사용하는 신호들임을 알아두기 바란다.The control signals LD, LCHfa, YW1, LCHfd and the like shown in FIG. 5 may be made from the control circuit 180 of FIG. 3, which is a signal used in a known Y pyrom.

제 6 도는 본 발명에 따른 에러 정정모드시에 수행되는 리이드과정을 설명하기 위한 개략도이다. 도시된 바와 같이, 에러 정정디코더(230)와 커렉터(220)와 센스앰프 디코더(240) 및 데이타 출력버퍼(250)의 내부구성이 나타나 있다.6 is a schematic diagram illustrating a lead process performed in the error correction mode according to the present invention. As shown, the internal configuration of the error correction decoder 230, the collector 220, the sense amplifier decoder 240 and the data output buffer 250 is shown.

제 7 도는 본 발명에서 사용되는 패리티 저너레이터(200)의 내부구성을 보여준다. 익스클루시브 오아게이트들로 구성되어 각각의 패리티 비트 S1, S2, S3, S4, S5 및 S6을 발생하는 논리조합회로들(201,…,206)의 입력은, 패리티셀 어레이(105)로부터 독출되어 나오는 6비트의 패리티 데이타와 메모리셀 어레이(100)의 임의의 선택된 페이지(101)로부터 독출되어 나오는 32비트(4바이트)의 메모리 데이타로 이루어진다. 상기 6비트의 패리티 데이타는 상기 제 5 도와 6도에 도시한 바와 같이, 패리티 셀렉터(300)와 에러 정정 디코더(230)로 공급된다.7 shows the internal structure of the parity generator 200 used in the present invention. The inputs of the logic combination circuits 201, ..., 206, which are composed of exclusive oragates and generate respective parity bits S1, S2, S3, S4, S5, and S6, are read from the parity cell array 105. 6 bits of parity data and 32 bits (4 bytes) of memory data read out from an arbitrary selected page 101 of the memory cell array 100. The 6-bit parity data is supplied to the parity selector 300 and the error correction decoder 230, as shown in the fifth and sixth degrees.

제 8 도는 상기 제 5 도에 기초하여 본 발명의 라이트 동작을 설명하는 타이밍도이다. 에러 정정을 위한 라이트 동작시에는 외부에서 입력되는 데이타를 어드레스 선택에 따라 한페이지에 해당하는 128바이트를 메모리셀 어레이(100)의 각 비트라인에 연결된 각각의 페이지 버퍼(110)에 일시적으로 기억시키는 데이타 로딩기간(Td1)과, 상기 페이지 버퍼(110)에 일시저장된 메모리 데이타를 패리티 저널레이터(200)에서 입력하여 각 조(4바이트, 32비트)에 해당하는 6비트의 패리티 데이타(S1,…,S6)를 발생하는 패리티셀 어레이(105)의 각 비트라인에 연결된 패리티 페이지 버퍼에 이를 일시적으로 저장시키는 패리티 발생기간(Tpg), 페이지 버퍼에 저장된 데이타를 메모리셀에 라이트하는 프로그램기간(Tpgm)을 이루어진다.FIG. 8 is a timing diagram illustrating the write operation of the present invention based on the above FIG. 5. FIG. In the write operation for error correction, 128-byte data corresponding to one page is temporarily stored in each page buffer 110 connected to each bit line of the memory cell array 100 according to address selection. The data loading period Td1 and the memory data temporarily stored in the page buffer 110 are inputted from the parity journaler 200, and 6-bit parity data S1,..., Corresponding to each group (4 bytes, 32 bits) are input. A parity generation period Tpg for temporarily storing it in a parity page buffer connected to each bit line of the parity cell array 105 generating S6, and a program period Tpgm for writing data stored in the page buffer to a memory cell. Is done.

그러면, 상기 제 8 도의 타이밍도를 참조하여 본 발명에 따른 에러정정 동작을 설명한다. 하기의 설명에서는, 본 발명이 이이피롬에서 복수 바이트 단위(예로 4바이트 단위)로 라이트가 가능하도록 하는데 있으므로, 어떻게 4바이트 단위의 데이타가 동시에 리이드/라이트 되면서 에러정정 동작이 이루어지는지에 대하여 상세하게 설명될 것이다.Next, an error correction operation according to the present invention will be described with reference to the timing diagram of FIG. In the following description, since the present invention enables writing in multiple byte units (e.g., 4 byte units) in EPIROM, it will be described in detail how an error correction operation is performed while reading and writing data in 4 byte units at the same time. Will be.

먼저, 데이타 로딩기간(Td1)에서, 데이타 입력버퍼(280)를 통하여 입력된 입력데이타는 입력데이타 셀렉터(270)에 의하여 1바이트씩 선택되고, 최종적으로 제 1 컬럼디코더(160)에 의하여 입력어드레스에 해당하는 페이지 버퍼에 로딩(loading)된다. 제 8 도에 도시한 바와 같이, 128회의 어드레스 트랜지션에 응답하여 128바이트의 입력 데이타가 랜덤하게 각각의 페이지 버퍼로 로딩되는 것이다(1회의 어드레스 트랜지션시에 1바이트의 입력 데이타가 들어옴). 한 페이지에 해당하는 입력데이타(128바이트)가 모두 페이지 버퍼로 로딩되면, 패리티 발생기간(Tpg)으로 들어간다. 패리티 발생기간은 제 5 도의 패리티 셀럭터(300)의 인버터에 인가되는 패리티 인에이블신호 LD가 "로우"상태로 트랜지션됨에 의하여 시작된다. 이 기간에서는 한 페이지의 32조에 해당하는 내부컬럼 어드레스 발생회로(170)에서 자동적으로 내부컬럼 어드레스가 발생된다. 상기 내부컬럼 어드레스에 응답하여 제 1 컬럼디코더(160)를 인에이블시키는 신호 YD가 "하이"상태로 됨에 따라, 컬럼게이트(120)에 의하여 한 조(4바이트)의 데이타가 페이지 센스앰프(500)를 통하여 읽혀진다.First, in the data loading period Td1, input data input through the data input buffer 280 is selected by one byte by the input data selector 270, and finally the input address by the first column decoder 160. It is loaded into the page buffer corresponding to As shown in FIG. 8, in response to 128 address transitions, 128 bytes of input data are randomly loaded into each page buffer (1 byte of input data is entered in one address transition). When all input data (128 bytes) corresponding to one page is loaded into the page buffer, it enters the parity generation period (Tpg). The parity generation period starts when the parity enable signal LD applied to the inverter of the parity selector 300 of FIG. 5 is transitioned to the "low" state. In this period, the internal column address is automatically generated by the internal column address generation circuit 170 corresponding to 32 sets of one page. As the signal YD, which enables the first column decoder 160 in response to the internal column address, becomes “high,” a set (4 bytes) of data are transmitted by the column gate 120 to the page sense amplifier 500. Is read through).

여기서, 페이지 버퍼(110)에 저장된 데이타가 상기 페이지 센스앰프(500)에 의하여 독출되기 위해서는, 제 5 도에서, 비트라인 선택신호 SBL과 비트라인 디스차아지신호 DCB가 각각 "하이" 및 "로우"상태로 되어야 함은 당연하다. 그리고, 이때 워드라인은 동작에 아무런 영향을 주지 않는다.Here, in order for data stored in the page buffer 110 to be read by the page sense amplifier 500, in FIG. 5, the bit line selection signal SBL and the bit line discharge signal DCB are " high " and " low " "It is natural to be in a state. In this case, the word line does not affect the operation.

상기 페이지 센스앰프(500)로부터 독출된 한 조(4바이트)의 메모리 데이타는 패리티 저너레이터(200)에 입력되고, 입력된 한 조의 메모리 데이타에 해당하는 6비트의 라이트용의 패리티 데이타가 발생된다. 이 6비트의 패리티 데이타가 해당하는 어드레스에 따라 패리티셀 어레이(105)의 패리티 페이지 버퍼에 로딩된다. 상기와 같이, 메모리셀 어레이의 페이지 버퍼(110)에서 로딩된 한조의 데이타를 독출하는 것으로부터 패리티 페이지 버퍼에 패리티 데이타를 로딩하는 과정이 32회 반복됨으로써, 32조(128바이트)의 데이타 용량을 가지는 1 페이지에 대한 패리티 발생기간이 완료된다. 그래서, 입력데이타와 이에 해당하는 패리티 데이타가 페이지 버퍼에 일시 저장되는 것이다.A set (4 bytes) of memory data read from the page sense amplifier 500 is input to the parity generator 200, and 6-bit write parity data corresponding to the input set of memory data is generated. . This 6-bit parity data is loaded into the parity page buffer of the parity cell array 105 in accordance with the corresponding address. As described above, the process of loading the parity data into the parity page buffer from the reading of a set of data loaded from the page buffer 110 of the memory cell array is repeated 32 times, thereby providing a data capacity of 32 trillion (128 bytes). The parity generation period for one page having is completed. Thus, input data and corresponding parity data are temporarily stored in the page buffer.

여기서, 메모리셀 어레이와 패리티셀 어레이의 구성은 정보용량에 따른 차이만 있을뿐, 기본 구성을 동일하다. 또한, 이들 어레이들에 구비된 페이지 버퍼들의 기능 및 구성도 동일함을 알아두기 바란다.Here, the configuration of the memory cell array and the parity cell array is only different according to the information capacity, and the basic configuration is the same. In addition, it should be noted that the functions and configurations of the page buffers provided in these arrays are the same.

그다음, 프로그램기간(Tpgm)에서는, 통상의 프로그램방식과 마찬가지로 페이지 버퍼에 일시 기억된 입력데이타와 패리티 데이타가 각각 메모리셀 어레이와 패리티셀 어레이의 선택된 메모리셀에 동시에 라이트된다. 즉, 1K비트(128바이트)의 입력데이타와 192비트의 패리티 데이타가 동시에 라이트되는 것이다. 리이드동작에서는, 선택된 어드레스에 응답하여 제 1 컬럼디코더(160)에 의하여 한 조(4바이트=32비트)의 메모리 데이타와 6비트의 패리티 데이타가 각각 센스앰프(210) 및 패리티 센스앰프(400)에 의하여 독출되고, 독출된 메모리 데이타와 패리티 데이타는 패리티 저너레이터(200)에 입력된다. 패리티 저너레이터(200)에서는 상기 한 조의 메모리 데이타에 해당하는 6비트의 리이드용의 패리티 데이타를 발생되며 이를 에러정정 디코더(230)로 공급한다. 에러정정 디코더(230)의 출력은 상기 독출된 메모리 데이타와 함께, 커렉터(220)의 익스클루시브 오아게이트에서 일대일로 비교되어, 상기 메모리 데이타에서 임의의 비트가 에러상태이면 상기 리이드 패리티 데이타에 의하여 정정된다. 그러면, 제 3 도의 제 2 컬럼디코더(290)의 출력 YS1-YS4에 의하여 제어되는 센스앰프 디코더(240)를 통하여 디코딩되고, 데이타 출력버퍼(250)를 통하여 최종적으로 선택된 1바이트의 데이타가 얻어진다.Then, in the program period Tpgm, input data and parity data temporarily stored in the page buffer are written to the selected memory cells of the memory cell array and the parity cell array, respectively, similarly to the normal program method. In other words, 1K bits (128 bytes) of input data and 192 bits of parity data are simultaneously written. In the read operation, in response to the selected address, the first column decoder 160 stores a set (4 bytes = 32 bits) of memory data and 6 bits of parity data, respectively, in the sense amplifier 210 and the parity sense amplifier 400. Read by the memory data and the parity data are input to the parity generator 200. The parity generator 200 generates 6-bit read parity data corresponding to the set of memory data and supplies the parity data to the error correction decoder 230. The output of the error correction decoder 230 is compared one-to-one at the exclusive or gate of the corrector 220 with the read memory data, and if any bit in the memory data is in an error state, Is corrected. Then, it is decoded by the sense amplifier decoder 240 controlled by the outputs YS1-YS4 of the second column decoder 290 of FIG. 3, and finally, the data of 1 byte selected through the data output buffer 250 is obtained. .

상술한 바와 같이, 본 발명은 입력데이타가 랜덤하게 입력되더라도 복수 바이트 단위의 입력데이타에 해당하는 패리티 데이타를 발생시키고, 상기 입력데이타와 패리티 데이타를 셀 어레이에 동시에 라이트하고 리이드할 수 있음으로 해서, 이이피롬에서 복수 바이트 단위로 에러정정 동작을 수행할 수 있는 효과가 있다.As described above, the present invention can generate parity data corresponding to input data in units of a plurality of bytes even when input data is randomly input, and simultaneously write and read the input data and the parity data to a cell array. There is an effect that the error correction operation can be performed in units of multiple bytes in EPIROM.

Claims (3)

페이지 버퍼들을 각각 구비한 메모리셀 어레이 및 패리티셀 어레이를 가지는 이이피롬에 있어서, 바이트 단위로 입력되는 메모리 비트들을 제 1 군의 페이지 버퍼들에 저장시키는 메모리 비트 로딩수단과, 상기 제 1 군의 페이지 버퍼들에 저장된 메모리 비트들을 복수 바이트 단위로 입력하여 소정갯수의 패리티 비트들을 발생하는 패리티 추출수단과, 상기 소정갯수의 패리티 비트들을 제 2 군의 페이지 버퍼들에 저장시키는 패리티 비트 로딩수단을 구비하여, 상기 제 1 군 및 제 2 군의 페이지 버퍼들에 저장된 복수 바이트 단위의 메모리 비트들 및 소정갯수의 패리티 비트들이 각각 상기 메모리셀 어레이 및 패리티셀 어레이의 선택 메모리셀들 및 패리티셀들에 각각 동시에 라이트됨을 특징으로 하는 이이피롬.An EPIROM having a memory cell array and a parity cell array, each having page buffers, comprising: memory bit loading means for storing memory bits input in byte units in a first group of page buffers, and the first group of pages Parity extracting means for inputting memory bits stored in the buffers in units of a plurality of bytes to generate a predetermined number of parity bits, and parity bit loading means for storing the predetermined number of parity bits in a second group of page buffers; And a plurality of bytes of memory bits and a predetermined number of parity bits stored in the first and second group of page buffers are simultaneously applied to the selected memory cells and the parity cells of the memory cell array and the parity cell array, respectively. Ipyrom characterized by being lighted. 제 1 항에 있어서, 상기 복수 바이트 단위의 메모리 비트들과 소정갯수의 패리티 비트들이 동시에 리이드됨을 특징으로 하는 이이피롬.2. The Epyrom according to claim 1, wherein the plurality of byte memory bits and a predetermined number of parity bits are read at the same time. 메모리셀 어레이 및 패리티셀 어레이를 가지며, 바이트 단위로 메모리 데이타를 입출력하는 아이피롬에 있어서, 데이타를 일시적으로 저장하며 상기 메모리셀 어레이 및 패리티셀 어레이에 각각 구비된 제 1 및 제 2 군의 페이지 퍼버들과, 상기 제 1 군의 페이지 버퍼들로부터 상기 메모리 데이타를 복수 바이트 단위로 입력하여 상기 복수 바이트 단위의 메모리 데이타에 해당하는 라이트 패리티 데이타를 발생하는 라이트 패리티 추출수단과, 상기 라이트 패리티 데이타를 상기 제 2 군의 페이지 버퍼들에 저장시키는 패리티 로딩수단과, 상기 제 1 군 및 제 2 군의 페이지 버퍼들에 저장된 메모리 데이타와 라이트 패리티 데이타를 상기 메모리셀 어레이 및 패리티셀 어레이의 선택된 셀들에 동시에 라이트하는 프로그램수단과, 상기 패리티셀 어레이로부터 라이트 패리티 데이타를 입력하여 리이드 패리티 데이타를 발생하는 리이드 패리티 추출수단과, 상기 리이드 패리티 데이타와 복수 바이트의 메모리 데이타를 동시에 입력하여 상기 메모리 데이타의 메모리 비트들을 상기 리이드 패리티 데이타의 리이드 패리티 비트들과 각각 비교하는 에러 정정 수단을 구비함을 특징으로 하는 이이피롬.1. An iROM having a memory cell array and a parity cell array for inputting and outputting memory data in byte units, wherein the first and second groups of page furs are temporarily stored in the memory cell array and the parity cell array. Write parity extracting means for inputting the memory data from the page buffers of the first group into a plurality of byte units to generate write parity data corresponding to the memory data of the plurality of byte units; Parity loading means for storing in page buffers of a second group, and memory data and write parity data stored in the page buffers of the first and second groups at the same time to the selected cells of the memory cell array and the parity cell array. Program means and the parity cell array. Lead parity extracting means for inputting read write parity data to generate lead parity data, and simultaneously inputting the lead parity data and a plurality of bytes of memory data to convert the memory bits of the memory data into lead parity bits of the read parity data; Y pyrom, characterized in that it comprises an error correction means for comparing each.
KR1019910018832A 1991-10-25 1991-10-25 Non-volatile memory device with error correcting circuit of plural byte unit KR950000426B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019910018832A KR950000426B1 (en) 1991-10-25 1991-10-25 Non-volatile memory device with error correcting circuit of plural byte unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019910018832A KR950000426B1 (en) 1991-10-25 1991-10-25 Non-volatile memory device with error correcting circuit of plural byte unit

Publications (2)

Publication Number Publication Date
KR930008869A KR930008869A (en) 1993-05-22
KR950000426B1 true KR950000426B1 (en) 1995-01-19

Family

ID=19321775

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019910018832A KR950000426B1 (en) 1991-10-25 1991-10-25 Non-volatile memory device with error correcting circuit of plural byte unit

Country Status (1)

Country Link
KR (1) KR950000426B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100672761B1 (en) * 2001-06-28 2007-01-22 주식회사 하이닉스반도체 The method for forming contact plug

Also Published As

Publication number Publication date
KR930008869A (en) 1993-05-22

Similar Documents

Publication Publication Date Title
KR950003013B1 (en) Eeprom with error correcting circuit
US6510537B1 (en) Semiconductor memory device with an on-chip error correction circuit and a method for correcting a data error therein
US4747080A (en) Semiconductor memory having self correction function
US7096406B2 (en) Memory controller for multilevel cell memory
US10403387B2 (en) Repair circuit used in a memory device for performing error correction code operation and redundancy repair operation
KR100877701B1 (en) Semiconductor memory device and redundancy method of the same
KR940000901B1 (en) Semiconductor memory device having mask rom
KR100634414B1 (en) Nand flash memory device having parity generator for error detection and error detect method thereof
US7227782B2 (en) NAND flash memory device capable of improving read speed
EP0172734A2 (en) Semiconductor memory device
US10360091B2 (en) Semiconductor memory device
US7508725B2 (en) Semiconductor memory device
US7937647B2 (en) Error-detecting and correcting FPGA architecture
KR100382255B1 (en) A flexible ecc/parity bit architecture
US7656322B2 (en) Semiconductor memory device having error correction function
JP2776839B2 (en) Semiconductor memory
JP2008021390A (en) Semiconductor storage device
US11423999B2 (en) Memory and its addressing method including redundant decoding and normal decoding
US10043588B2 (en) Memory device
KR950000426B1 (en) Non-volatile memory device with error correcting circuit of plural byte unit
EP0189699B1 (en) Interdigitated bit line rom
US6542422B1 (en) Semiconductor memory device performing high speed coincidence comparison operation with defective memory cell address
CN111326204A (en) Semiconductor device with a plurality of semiconductor chips
JP5617776B2 (en) MEMORY CIRCUIT, MEMORY DEVICE, AND MEMORY DATA ERROR CORRECTION METHOD
CN114765054B (en) Error correction system

Legal Events

Date Code Title Description
A201 Request for examination
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: 20061221

Year of fee payment: 13

LAPS Lapse due to unpaid annual fee