KR100903695B1 - Information setting method of nonvolatile storage device, and nonvolatile storage device - Google Patents

Information setting method of nonvolatile storage device, and nonvolatile storage device Download PDF

Info

Publication number
KR100903695B1
KR100903695B1 KR1020077011622A KR20077011622A KR100903695B1 KR 100903695 B1 KR100903695 B1 KR 100903695B1 KR 1020077011622 A KR1020077011622 A KR 1020077011622A KR 20077011622 A KR20077011622 A KR 20077011622A KR 100903695 B1 KR100903695 B1 KR 100903695B1
Authority
KR
South Korea
Prior art keywords
information
operation information
stored
nonvolatile memory
unit
Prior art date
Application number
KR1020077011622A
Other languages
Korean (ko)
Other versions
KR20070084468A (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 KR1020077011622A priority Critical patent/KR100903695B1/en
Publication of KR20070084468A publication Critical patent/KR20070084468A/en
Application granted granted Critical
Publication of KR100903695B1 publication Critical patent/KR100903695B1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/10Programming or data input circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/26Sensing or reading circuits; Data output circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/30Power supply circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/34Determination of programming status, e.g. threshold voltage, overprogramming or underprogramming, retention
    • G11C16/3436Arrangements for verifying correct programming or erasure

Abstract

검증 센스 증폭기(19)는 리라이트 대상인 비휘발성 메모리 셀의 데이터를 읽어낸다. 읽어낸 데이터는 비교 회로(21)에 있어서 기대 데이터와 비교된다. 리라이트 완료에 따라서 비교 회로(21)로부터 일치 신호(MCH)가 출력된다. 셀렉터(23)으로부터는, 리라이트 대상의 비휘발성 메모리 셀(MC)에 대응하여 휘발성 데이터 유지부(25)의 디코드 신호(STR)(i)/SWAP(i)가 출력된다. 검증 지시신호 PGV/ERV에 따라서, 검증 센스 증폭기(19)에 읽어낸 데이터가 휘발성 데이터 유지부(25)에 저장된다. 검증 지시 신호 PGV/ERV를 대신하여 일치 신호 (MCH)로 제어하면, 리라이트 완료에 따라서 휘발성 데이터 유지부(25)에 데이터가 저장저장. 휘발성 기억부로부터 동작 정보를 다시 읽어낼 필요가 없다.

Figure R1020077011622

리라이트, 비휘발성 기억부, 휘발성 기억부, 동작 정보

The verify sense amplifier 19 reads data of the nonvolatile memory cell to be rewritten. The read data is compared with the expected data in the comparison circuit 21. As the rewrite is completed, the matching signal MCH is output from the comparing circuit 21. From the selector 23, the decode signal STR (i) / SWAP (i) of the volatile data holding unit 25 is output in correspondence with the nonvolatile memory cell MC to be rewritten. In accordance with the verify instruction signal PGV / ERV, the data read into the verify sense amplifier 19 is stored in the volatile data holding unit 25. If control is performed by the coincidence signal (MCH) in place of the verification instruction signal PGV / ERV, the data is stored and stored in the volatile data holding unit 25 in accordance with rewrite completion. There is no need to read back the operation information from the volatile storage.

Figure R1020077011622

Rewrite, Nonvolatile Memory, Volatile Memory, Operation Information

Description

비휘발성 기억장치의 정보 설정 방법 및 비휘발성 기억장치 {INFORMATION SETTING METHOD OF NONVOLATILE STORAGE DEVICE, AND NONVOLATILE STORAGE DEVICE}Information setting method of nonvolatile memory and nonvolatile memory {INFORMATION SETTING METHOD OF NONVOLATILE STORAGE DEVICE, AND NONVOLATILE STORAGE DEVICE}

본 발명은 비휘발성 기억장치에 있어서의 동작 정보의 설정에 관한 것이다. 특히, 본 발명은 동작 정보(operation information)를 비휘발성 기억 영역에 저장하며, 전원이 투입되는 기간 중에는 상기 동작 정보를 휘발성 데이터 저장 영역에 저장하는 기술에 관한 것이다. The present invention relates to setting of operation information in a nonvolatile memory device. In particular, the present invention relates to a technique for storing operation information in a nonvolatile storage area, and storing the operation information in a volatile data storage area during a power-on period.

특허 문헌 1에 개시되어 있는 반도체 장치에서는, 도 7에 도시된 바와 같이, 전기적으로 리라이트(rewrite)가 가능한 비휘발성 메모리 셀로 구성되어 있는 메모리 셀 어레이(110)에는, 초기 설정 데이터를 저장하기 위한 초기 설정 데이터 영역이 제공되어 있다. 또한, 메모리 셀 어레이(110)에서 발생하는 불량 칼럼에 대응하는 불량 칼럼 어드레스를 저장하기 위한 불량 칼럼 어드레스 레지스터(190)가 설치되어 있다. 또한, 내부 전압 생성 회로(200)에서 각종 전압을 생성할 때에 사용되는 조정용 데이터 및 타이머 회로(220)에서 각종 타이밍 펄스를 생성할 때에 사용되는 조정용 데이터를 각각 저장하기 위한, 트리밍 데이터 레지스터(210, 230)가 설치되어 있다.In the semiconductor device disclosed in Patent Document 1, as shown in FIG. 7, the memory cell array 110 composed of non-volatile memory cells that can be electrically rewritten is used for storing initial setting data. An initial setting data area is provided. In addition, a bad column address register 190 is provided for storing a bad column address corresponding to a bad column generated in the memory cell array 110. In addition, trimming data registers 210 for storing the adjustment data used when generating various voltages in the internal voltage generation circuit 200 and the adjustment data used when generating various timing pulses in the timer circuit 220, respectively. 230 is installed.

웨이퍼 테스트에 의하여, 내부 전압 생성 회로(200)에서 생성되는 각종 전압들에 대한 조정용 데이터와 타이머 회로(220)에서 생성되는 각종 타이밍 펄스들에 대한 조정용 데이터는, 트리밍 데이터 레지스터(210, 230)에 설정되며, 불량 컬럼 어드레스들은 불량 컬럼 어드레스 레지스터(190)에 설정된다.By the wafer test, adjustment data for various voltages generated in the internal voltage generation circuit 200 and adjustment data for various timing pulses generated in the timer circuit 220 are stored in the trimming data registers 210 and 230. Bad column addresses are set in the bad column address register 190.

트리밍 데이터 레지스터(210, 230) 및 불량 칼럼 어드레스 레지스터(190)에 설정된 데이터의 내용은, 비휘발성 메모리 셀로 구성되어 있는 메모리 셀 어레이(110) 내의 초기 설정 데이터 영역에 초기 설정 데이터들로서 저장된다.The contents of the data set in the trimming data registers 210 and 230 and the bad column address register 190 are stored as initial setting data in the initial setting data area in the memory cell array 110 composed of nonvolatile memory cells.

또한, 도 8에 도시된 바와같은 특허 문헌 2에 개시되어 있는 화상 입력장치에서는, 전원 스위치가 턴온 되어 시스템 전원이 공급되면, 리모콘 장치 또는 외부 접속하는 컴퓨터로부터 제어 정보의 갱신이 있는지 없는지를 조사하고(S100, S200), 만일, 갱신 요구가 있으면, 그 갱신 요구에 따라 RAM에 저장되어 있는 제어 정보를 갱신하거나 또는, 새로운 제어 정보를 RAM에 저장하며, 갱신 사실을 RAM의 소정 위치에 저장한다(S300).In addition, in the image input device disclosed in Patent Document 2 shown in Fig. 8, when the power switch is turned on and the system power is supplied, it is checked whether or not there is an update of control information from the remote control device or a computer to be connected externally. (S100, S200) If there is an update request, the control information stored in the RAM is updated according to the update request, or the new control information is stored in the RAM, and the update fact is stored in a predetermined position of the RAM ( S300).

전원이 턴오프되면, 갱신된 제어 정보가 존재하는지 또는 존재하지 않는지를 체크하기 위하여 RAM이 참조된다(S500). 만일, 갱신이 이루어졌으면, RAM에 저장된 제어 정보를 EEPROM에 써넣는다(S600). 전압 유지 회로는, 전원 스위치가 오프된 이후, 적어도 단계 S600 이 완료될 때 까지의 일정기간 동안에 시스템 전원 전압을 유지하도록 설계된다.When the power is turned off, the RAM is referenced to check whether the updated control information exists or does not exist (S500). If the update is made, the control information stored in the RAM is written to the EEPROM (S600). The voltage holding circuit is designed to maintain the system power supply voltage for a period of time after the power supply switch is turned off, at least until step S600 is completed.

특허 문헌 1: 일본공개특허공보 2002-117699호Patent Document 1: Japanese Patent Application Laid-Open No. 2002-117699

특허 문헌 2: 일본공개특허공보 1996-125914호Patent Document 2: Japanese Patent Application Laid-Open No. 1996-125914

상기의 특허 문헌 1, 2는, 트리밍 데이터 레지스터(210, 230), 불량 칼럼 어드레스 레지스터(190) 등의 각종 레지스터나 RAM에 각종 설정 값이나 제어 정보를 저장한 후에, 필요에 따라서 이들 각종 설정 값이나 제어 정보를 메모리 셀 어레이(110) 또는 EEPROM에 기록하는 기술에 관한 것이다. Patent Documents 1 and 2 described above store various setting values and control information in various registers and RAM, such as the trimming data registers 210 and 230 and the bad column address register 190, and then store these various setting values as necessary. The present invention also relates to a technique for writing control information to the memory cell array 110 or the EEPROM.

하지만, 메모리 셀 어레이(110)나 EEPROM은 비휘발성 메모리 셀로 구성되어 있으며, 데이터를 리라이트하기 위해서는 소정의 바이어스 전압이 반복적으로 인가되어야 하기 때문에, 이러한 기술들은 때때로 많은 시간을 요구한다. 따라서, 레지스터나 RAM에 저장된 설정값들/제어 정보가 메모리 셀 어레이(110)나 EEPROM에 저장될 때까지, 양자 사이에서 저장되어 있는 설정값들이나 제어 정보가 불일치하는 상태가 계속된다. 비휘발성 메모리 셀의 데이터 리라이트에 장시간을 필요로 하는 경우, 장시간에 걸쳐서 설정값이나 제어 정보의 불일치 상태가 계속될 우려가 있다. 이는 회로 동작상, 불안정한 상태가 장시간에 걸쳐서 유지되기 때문에 문제가 된다.However, the memory cell array 110 or the EEPROM is composed of nonvolatile memory cells, and these techniques sometimes require a lot of time because a predetermined bias voltage must be repeatedly applied to rewrite the data. Therefore, until the setting values / control information stored in the register or the RAM are stored in the memory cell array 110 or the EEPROM, the state in which the setting values or control information stored therebetween continue. When a long time is required for data rewriting of a nonvolatile memory cell, there is a fear that a mismatch between set values and control information may continue for a long time. This is a problem because in the circuit operation, an unstable state is maintained for a long time.

또한, 비휘발성 메모리 셀에 데이터를 리라이트하는 경우, 프로그램 동작(즉, 데이터를 "0"으로 변경하는 리라이트)은 소거 동작(즉, 데이터를 "1"으로 변경하는 리라이트)과는 여러 모로 서로 다른데, 비휘발성 메모리 셀에 인가되는 바이어스 전압, 리라이트 상태를 판정하기 위한 검증 동작에서 사용되는 레퍼런스 문턱전압, 리라이트시의 동작 순서라는 관점에서 서로 다르다. 따라서, 만일 리라이트 동작이 데이터 "0"을 데이터 "1"로 변경하는 것과 데이터 "1"을 데이터 "0"으로 변경하는 것 모두를 포함하고 있다면, 프로그램 동작과 소거 동작을 모두 실시하여야 하기 때문에, 리라이트 시간은 더욱 길어질 우려가 있다. 이와같은 점은 설정값들이나 제어 정보가 불일치하는 상태를 더욱 연장할 수 있으며, 결과적으로는 회로 동작상, 불안정한 상태가 더욱 장시간에 걸쳐 유지되는 문제가 발생한다.In addition, when rewriting data to a nonvolatile memory cell, a program operation (i.e., rewriting to change data to "0") is different from an erase operation (i.e., rewriting to change data to "1"). All are different from each other in terms of the bias voltage applied to the nonvolatile memory cell, the reference threshold voltage used in the verify operation for determining the rewrite state, and the operation sequence during the rewrite. Therefore, if the rewrite operation includes both changing data "0" to data "1" and changing data "1" to data "0", both the program operation and the erase operation must be performed. As a result, the rewrite time may be longer. This can further prolong the state in which the set values or the control information are inconsistent, resulting in a problem that the unstable state is maintained for a longer time in the circuit operation.

또한, 특허 문헌 1은, 출하전의 웨이퍼 테스트시에 벤더에 의하여, 내부 설정 전압이나 타이밍 펄스 등의 트리밍 정보나, 불량 칼럼 어드레스 등의 리던던시 어드레스 정보를 비휘발성 메모리 셀에 저장하는 기술에 관한 것이다. 그러나, 사용자가 적당하게 설정하여야 하는, 쓰기 방지 정보(write protect 정보) 등의 유저 설정 정보에 대하여는 전혀 개시되어 있지 않다. 유저 설정 정보에 대하여 특허 문헌 1을 적용하는 경우, 각종 레지스터와 비휘발성 메모리 셀의 사이에서 사용자 제어 정보가 불일치하는 기간이 계속되는 문제가 있다. Further, Patent Document 1 relates to a technique for storing trimming information such as internal set voltages and timing pulses and redundancy address information such as bad column addresses in a nonvolatile memory cell by a vendor during wafer testing before shipment. However, no user setting information such as write protect information that the user should set properly is disclosed. When patent document 1 is applied to user setting information, there is a problem that a period in which user control information is inconsistent between various registers and nonvolatile memory cells continues.

또한, 특허 문헌 2에 따르면, 제어 정보의 갱신은 수시로 수행되지만, 갱신된 제어 정보의 EEPROM에의 저장은, 전원이 차단(shut off)됨에 따라 이루어진다. 그 때문에, 전원 차단 후에도 전원을 계속해서 공급하기 위하여, 전압 유지 회로를 구비하고 있기는 하다. 하지만, 전원 차단 후에도 전원 공급을 가능하게 하기 위해서는, 용량 소자 등에 에너지를 비축해야 하기 때문에, 전원 공급 기간 중에 전압을 소정의 전압값으로 유지하기 위한 회로도 또한 필요한 단점이 있다. EEPROM에 데이터를 저장하는데 걸리는 시간 및 저장되어야 할 데이터의 양에 따라, 장시간의 전원 공급이 필요한 경우도 예상될 수 있다. 이러한 경우에는, 충분한 사이즈의 용량 소자 및 소정 전압값으로 유지하는 레귤레이터 회로(regulator circuit) 등을 구비하여야 하는 문제가 있으며, 그 결과 회로 사이즈가 더 커지게 되며, 소비 전류 역시 더 증가하는 문제가 발생한다.In addition, according to Patent Document 2, the control information is updated at any time, but the updated control information is stored in the EEPROM as the power is shut off. Therefore, in order to continue to supply power even after a power supply interruption, the voltage holding circuit is provided. However, in order to enable the power supply even after the power is cut off, energy must be stored in the capacitor or the like, so that a circuit for maintaining the voltage at a predetermined voltage value during the power supply period also has a disadvantage. Depending on the time it takes to store data in the EEPROM and the amount of data to be stored, it may also be expected that a long time power supply is required. In such a case, there is a problem that a capacitor having a sufficient size and a regulator circuit for maintaining at a predetermined voltage value must be provided. As a result, the circuit size becomes larger and the consumption current also increases. do.

또한, 설정값이나 제어 정보를, 비휘발성 기억 영역에 기록한 후에, 레지스터나 RAM 등의 휘발성 데이터 기억부에 전송하는 경우도 생각할 수 있다. 그러나, 이 경우, 비휘발성 기억 영역으로부터 설정값이나 제어 정보를 독출하기 위해서는, 리드아웃(readout)(이하, '독출' 이라고도 함) 억세스 제어가 필요하다. 설정값이나 제어 정보를 비휘발성 기억 영역에 써넣은 후에, 휘발성 데이터 기억부에 저장될 때까지, 비휘발성 기억 영역으로부터 다시 독출해내기 위한 읽기 시간을 필요로 한다. 휘발성 데이터 기억부에 있어서의 설정값이나 제어 정보의 갱신이 늦어져 문제이다. It is also conceivable to record the setting values and the control information in the nonvolatile storage area and then transfer them to a volatile data storage unit such as a register or a RAM. However, in this case, in order to read the set value and the control information from the nonvolatile storage area, readout (hereinafter referred to as read) access control is required. After writing the set value or the control information into the nonvolatile storage area, a read time is required to read back from the nonvolatile storage area until it is stored in the volatile data storage area. This is a problem because the updating of setting values and control information in the volatile data storage section is delayed.

과제를 해결하기 위한 수단Means to solve the problem

본 발명은 상기 배경 기술의 적어도 1개의 문제점을 해소하기 위한 것으로, 비휘발성 기억장치의 동작 정보를 비휘발성 기억 영역에 저장하여 두는 동시에, 전원 투입 기간 중에는 비휘발성 기억 영역의 동작 정보와 동일한 정보를 휘발성 데이터 기억 영역에도 저장하여 동작 정보를 설정하는 비휘발성 기억장치에 관한 것으로, 동작 정보의 설정 또는 갱신시에, 비휘발성 기억 영역의 리라이트를 선행시킨 후에, 지체 없이 휘발성 데이터 기억 영역에 동작 정보를 저장하는 것이 가능한 비휘발성 기억장치의 정보 설정 방법 및 비휘발성 기억장치를 제공하는 것을 목적으로 한다. SUMMARY OF THE INVENTION The present invention solves at least one problem of the background art, wherein the operation information of the nonvolatile memory device is stored in the nonvolatile memory area and the same information as the operation information of the nonvolatile memory area during the power-on period. A nonvolatile memory device for storing operation information in a volatile data storage area, wherein the operation information is stored in the volatile data storage area without delay after the rewriting of the nonvolatile storage area is preceded in setting or updating the operation information. It is an object of the present invention to provide a method for setting information of a nonvolatile memory device capable of storing data and a nonvolatile memory device.

상기 목적을 달성하기 위한 본 발명에 따른 비휘발성 기억장치의 정보 설정 방법은 동작 정보를 저장하는 비휘발성 기억부와, 전원 공급중에 비휘발성 기억부에 저장되어 있는 동작 정보를 저장하는 휘발성 기억부를 구비하는 비휘발성 기억장치의 정보 설정 방법에 있어서, 동작 정보의 설정 또는 갱신시에, 비휘발성 기억부를 리라이트하는 단계와; 그리고 상기 리라이트 단계의 종료시에, 논리 처리 가능하게 유지되어 있는 동작 정보에 따른 논리 신호에 기초하여, 상기 동작 정보를 상기 휘발성 기억부에 저장하는 단계를 포함하여 이루어진다. 또한, 상기 목적을 달성하기 위한 본 발명의 비휘발성 기억장치는, 동작 정보를 저장하는 비휘발성 기억부와 전원공급중 비휘발성 기억부에 저장되어 있는 동작 정보를 저장하여 두는 휘발성 기억부를 구비하는 비휘발성 기억장치에 있어서, 동작 정보의 설정 또는 갱신시되는 경우, 비휘발성 기억부의 리라이트 종료시에, 동작 정보에 따라 논리 처리 가능한 논리 신호를 출력하는 식별부를 구비하고 식별부로부터 출력되는 논리 신호에 기초하여 휘발성 기억부에 동작 정보를 저장하는 것을 특징으로 한다. The information setting method of the nonvolatile memory device according to the present invention for achieving the above object includes a nonvolatile memory unit for storing operation information and a volatile memory unit for storing operation information stored in the nonvolatile memory unit during power supply. An information setting method of a nonvolatile memory device, comprising: rewriting a nonvolatile memory unit when setting or updating operation information; And at the end of the rewrite step, storing the operation information in the volatile storage unit on the basis of a logic signal according to the operation information held so that logic processing is possible. In addition, a nonvolatile memory device of the present invention for achieving the above object comprises a nonvolatile storage unit for storing operation information and a nonvolatile storage unit for storing operation information stored in the nonvolatile storage unit during power supply. In a volatile memory device, when setting or updating operation information, an identification unit for outputting a logic signal that can be processed logically in accordance with the operation information at the end of rewriting of the nonvolatile storage unit is provided, and is based on a logic signal output from the identification unit. The operation information is stored in the volatile memory.

본 발명에 따른 비휘발성 기억장치의 정보 설정 방법 및 비휘발성 기억장치에서는, 동작 정보를 저장하는 비휘발성 기억부와, 전원 공급 중에 상기 비휘발성 기억부에 저장된 동작 정보를 저장하여 두는 휘발성 기억부를 구비하고 있다. 동작 정보의 설정 또는 갱신에 있어서, 비휘발성 기억부의 리라이트를 먼저 실시하고, 리라이트가 종료된 시점에서, 설정 또는 갱신된 동작 정보에 따른 논리 신호가 논리 처리 가능하게 유지되어 있다. 이 논리 신호에 기초하여 휘발성 기억부에 동작 정보를 저장한다. 이 경우, 논리적으로 처리 가능한 논리 신호가 동작 정보에 따라 식별부에 의해 출력된다. The information setting method and nonvolatile memory device of the nonvolatile memory device according to the present invention includes a nonvolatile memory unit for storing operation information and a volatile memory unit for storing operation information stored in the nonvolatile memory unit during power supply. Doing. In the setting or updating of the operation information, rewriting of the nonvolatile storage unit is performed first, and at the time point when the rewriting is completed, the logic signal in accordance with the set or updated operation information is maintained in a logic process. On the basis of this logic signal, the operation information is stored in the volatile storage. In this case, a logical signal that can be processed logically is output by the identification section in accordance with the operation information.

발명의 효과Effects of the Invention

본 발명에 의하면, 설정 또는 갱신되는 동작 정보를 비휘발성 기억부에 저장하는 동작을 선행시키면서, 저장 완료 시에 동작 정보에 따른 논리 신호가 논리 처리 가능하게 유지되고 있으므로, 비휘발성 기억부에 저장된 동작 정보를 휘발성 기억부에 저장할 때에, 비휘발성 기억부로부터 다시 동작 정보를 읽어내는 억세스 동작을 실시할 필요는 없다. 그 결과, 비휘발성 기억부에 동작 정보를 저장하는 것부터 휘발성 기억부에 동작 정보를 저장하는 것 까지의 동작 정보의 설정 또는 갱신 프로세스를 매우 빠르게 수행할 수 있다.According to the present invention, the operation of storing the operation information to be set or updated in the nonvolatile storage unit is preceded, while the logic signal corresponding to the operation information is maintained in the nonvolatile storage unit at the time of completion of storage. When storing the information in the volatile storage, it is not necessary to perform an access operation for reading the operation information from the nonvolatile storage again. As a result, the setting or updating process of the operation information from storing the operation information in the nonvolatile storage to the operation information in the volatile storage can be performed very quickly.

전원 공급 기간 중의 비휘발성 기억장치의 동작 조건은, 휘발성 기억부에 저장되어 있는 동작 정보에 따라 설정되지만, 전원 공급 기간 중에 동작 정보를 변경할 때에, 비휘발성 기억부에 동작 정보의 저장을 선행시켜 저장이 완료된 시점에서, 지체 없이 휘발성 기억부의 내용을 갱신하여 회로 동작에 반영할 수 있다. 따라서, 본 발명에 의하면, 휘발성 기억부의 내용을 먼저 변경할 때에 비휘발성 기억부의 내용과 휘발성 기억부의 내용간의 불일치 기간이 길어지는 문제, 전원 차단 후의 비휘발성 기억부의 리라이트 제어를 확보하여야 하는 문제 등을 해소함과 동시에, 동작 정보의 변경을 지체 없이 실시하고, 동작 조건을 신속하게 변경할 수 있다.The operating conditions of the nonvolatile memory device during the power supply period are set according to the operation information stored in the volatile storage unit. However, when the operation information is changed during the power supply period, the operation information is stored in the nonvolatile storage unit prior to storage. At this point in time, the contents of the volatile storage can be updated without delay and reflected in the circuit operation. Therefore, according to the present invention, there is a problem that the inconsistency period between the contents of the nonvolatile storage unit and the contents of the volatile storage unit becomes long when the contents of the volatile storage unit are changed first, the problem of ensuring the rewrite control of the nonvolatile storage unit after the power is cut off, and the like. At the same time, the operation information can be changed without delay, and the operating conditions can be changed quickly.

또한, 동작 정보의 설정 또는 갱신에 있어서, 휘발성 기억부에 저장되는 동작 정보는 다시 비휘발성 기억부로부터 읽어낼 필요가 없으며, 이에 따라 리드아웃(readout) 억세스 동작에 따른 전류 소비를 절감할 수 있다. 따라서, 동작 정보를 설정 또는 갱신함에 있어서, 소비 전류의 절감을 도모할 수 있다.In addition, in setting or updating the operation information, the operation information stored in the volatile storage unit does not need to be read from the nonvolatile storage unit again, thereby reducing the current consumption due to the readout access operation. . Therefore, in setting or updating the operation information, the consumption current can be reduced.

도1은 제 1 실시예에 따른 회로도이다.1 is a circuit diagram according to a first embodiment.

도2는 제 1 실시예의 셀렉터에 대한 제 1 구현예이다.2 is a first implementation of the selector of the first embodiment.

도3은 제 1 실시예의 셀렉터에 대한 제 2 구현예이다.3 is a second embodiment of the selector of the first embodiment.

도4는 제 1 실시예에 있어서 프로그램 동작을 나타내는 타이밍 차트이다.4 is a timing chart showing a program operation in the first embodiment.

도5는 제 2 실시예의 회로 블럭도이다.Fig. 5 is a circuit block diagram of the second embodiment.

도6은 제 2 실시예의 휘발성 기억부 및 휘발성 기억부에의 기록 제어를 실시하는 회로 부분에 대한 회로도이다.Fig. 6 is a circuit diagram of a volatile memory section and a circuit portion for performing write control to the volatile memory section of the second embodiment.

도7은 특허 문헌 1의 반도체 장치에 대한 회로 블록도이다. 7 is a circuit block diagram of the semiconductor device of Patent Document 1. FIG.

도8은 특허 문헌 2의 동작 플로우 차트이다. 8 is an operation flowchart of Patent Document 2. FIG.

도9는 제 1 실시예의 휘발성 기억부(25)의 상세한 회로이다. 9 is a detailed circuit of the volatile memory unit 25 of the first embodiment.

도10은 제 1 실시예의 셀렉터에 대한 제 3 구현예이다. 10 is a third implementation of the selector of the first embodiment.

도11은 Y 디코드 신호 SEL_Y(i)(i=0 내지 7)의 디코드 회로이다. Fig. 11 is a decode circuit of the Y decode signal SEL_Y (i) (i = 0 to 7).

도12는 섹터 어드레스와 제 2 동작 정보와 비휘발성 기억부의 메모리 셀과의 대응표이다. Fig. 12 is a correspondence table of sector addresses, second operation information, and memory cells in the nonvolatile memory unit.

도13은 섹터 어드레스와 제 1 동작 정보와 비휘발성 기억부의 메모리 셀과의 대응표이다. Fig. 13 is a correspondence table of sector addresses, first operation information, and memory cells in the nonvolatile memory unit.

도14는 제 1 실시예에 있어서 전원 공급 후의 제 1 동작 정보와 제 2 동작 정보의 읽기 동작을 나타내는 타이밍 차트이다. Fig. 14 is a timing chart showing a read operation of first operation information and second operation information after power supply in the first embodiment.

도15는 제 1 실시예에 있어서 섹터 O의 동작 정보의 프로그램 동작을 나타내 는 타이밍 차트이다. Fig. 15 is a timing chart showing a program operation of operation information of sector O in the first embodiment.

도16은 제 1 실시예에 있어서 셀렉터의 동작 정보의 소거 동작을 나타내는 타이밍 차트이다. Fig. 16 is a timing chart showing an erase operation of the selector's operation information in the first embodiment.

부호의 설명Explanation of the sign

11 비휘발성 기억부 11 nonvolatile memory

13 워드 드라이버 13 Word Driver

15 Y 디코더 15 Y decoder

17 바이어스 제어 회로 17 bias control circuit

19 검증 센스 증폭기 19 proven sense amplifier

21 비교 회로 21 comparison circuit

23, 27 셀렉터 23, 27 selector

25 휘발성 기억부 25 volatile memory

27A 프로그램용 디코드부 Decoding section for 27A program

27B 소거용 디코드부 27B erasing decode section

29 전송 데이터 생성부 29 Transmission data generator

BL(i) 비트 라인그룹BL (i) bit line group

D1, D2, D3 데이터 라인D1, D2, D3 data lines

MC 비휘발성 메모리 셀 MC nonvolatile memory cells

WLTR, WLWP 워드 라인WLTR, WLWP Word Line

ER 소거 지시 신호 ER clear indication signal

MCH 일치 신호 MCH match signal

PG(j) 프로그램 지시 신호 PG (j) program indication signal

PGV, ERV 검증 지시 신호 PGV, ERV Verification Indication Signal

SEL_TR, SEL_WP 선택 신호 SEL_TR, SEL_WP selection signal

SEL_Y(i) Y 디코드 신호 SEL_Y (i) Y decode signal

STR(i), SWP(i) 디코드 신호 STR (i), SWP (i) decode signal

T 출력 타이밍 신호 T output timing signal

POR 전원 공급 검지 신호 POR power supply detection signal

VERIFY 검증 모드 신호 VERIFY verify mode signal

이하, 본 발명의 비휘발성 기억장치의 정보 설정 방법 및 비휘발성 기억장치에 대하여 구체화한 실시예를 도 1 내지 도 6을 참조하여 상세하게 설명한다.Hereinafter, an embodiment of the information setting method and the nonvolatile memory device of the nonvolatile memory device of the present invention will be described in detail with reference to FIGS.

비휘발성 기억장치에서는 회로 동작을 실시할 때에, 여러 가지 동작 정보에 따라 동작 조건이 설정된다. 동작 정보는 크게 2 종류로 분류된다. In a nonvolatile memory device, when performing a circuit operation, operating conditions are set according to various operation information. Operation information is largely classified into two types.

제 1 동작 정보는 제품 출하 전에 벤더에 의하여 설정되는 정보이며 비휘발성 기억장치에 소정의 동작을 실시하게 하기 위하여 필요한 정보이다. 예를 들면, 프로그램 동작, 소거 동작, 읽기 동작 등의 각종 동작에 있어서 사용되는 바이어스 전압값의 조정, 각종 동작에 있어서의 타이밍의 조정, 내장 발진기의 발진 주파수의 조정, 그리고, 불량 메모리 셀을 리던던시 구제할 때의 리던던시 어드레스 정보 등을 생각할 수 있다. 이들 동작 정보는 출하 전의 테스트 공정에서 결정된다. The first operation information is information set by the vendor before the product is shipped and is information necessary for causing the nonvolatile memory device to perform a predetermined operation. For example, adjustment of bias voltage values used in various operations such as program operation, erase operation, read operation, adjustment of timing in various operations, adjustment of oscillation frequency of the built-in oscillator, and redundancy of defective memory cells. Redundancy address information and the like at the time of rescue may be considered. These operation information is determined in the test process before shipment.

제 2 동작 정보는 유저에 의하여 사용 상황에 따라서 설정되는 정보이며, 시스템의 기능에 따라 비휘발성 기억장치를 커스터마이즈하기 위하여 필요한 정보이다. 예를 들면, 비휘발성 기억장치에 있어서의 메모리 셀 어레이를 소정 영역 마다 구획하고, 구획된 각각의 영역에 대하여 리라이트가 가능한지의 여부를 설정하는 경우, 이른바 섹터 또는 섹터군 마다 쓰기 방지 기능을 설정하는 경우를 생각할 수 있다. 또한, 동작 정보의 리라이트의 가부를 설정하는 것도 가능하다. 리라이트의 자유도를 제한하고 싶은 경우에는, 소정 코드의 입력을 받아들였을 경우에만 리라이트를 가능하게 하는 기능을 설정하는 경우를 생각할 수 있다. 이러한 기능들이나 소정 코드는 사용자에 의해 설정된다. The second operation information is information set in accordance with the use situation by the user, and is information necessary for customizing the nonvolatile memory device according to the function of the system. For example, when a memory cell array in a nonvolatile memory device is partitioned for each predetermined area and whether or not rewrite is possible for each partitioned area, a so-called sector or sector group write protection function is set. I can think of the case. It is also possible to set whether or not to rewrite operation information. In the case where it is desired to limit the degree of freedom of rewriting, it is conceivable to set a function for enabling rewriting only when a predetermined code input is accepted. These functions or predetermined codes are set by the user.

비휘발성 기억장치에서는, 전원 차단 후에도 상기의 동작 정보가 유지될 필요가 있다. 제 1 동작 정보가 유지되지 않으면, 공장 출하시에 설정된 회로 동작을 유지할 수 없고, 동작 성능의 저하나 동작 불능과 같은 문제를 초래할 우려가 있기 때문이다. 제 2 동작 정보가 유지되지 않으면, 비휘발성 기억장치가 탑재되어 있는 시스템에 따른 성능, 기능을 유지할 수 없을 우려가 있기 때문이다. 따라서, 벤더 또는 유저에 의하여 설정되는 동작 정보는, 비휘발성 기억부에 저장될 필요가 있다. In the nonvolatile memory device, the above operation information needs to be maintained even after the power is turned off. This is because if the first operation information is not retained, the circuit operation set at the time of factory shipment cannot be maintained, which may cause problems such as deterioration of operation performance and inoperability. This is because if the second operation information is not retained, the performance and function of the system in which the nonvolatile memory device is mounted cannot be maintained. Therefore, the operation information set by the vendor or the user needs to be stored in the nonvolatile storage.

비휘발성 기억부에 저장된 동작 정보는 비휘발성 기억장치의 동작 상태에 따라 적당하게 참조됨으로써, 소망하는 회로 동작이 실현된다. 이들 동작 정보는, 전원 투입에 따라 상시 참조되어, 소망하는 동작 조건이 확보되어야만 하는 정보이며, 또는 동작 상태에 따라 지체 없이 설정되어야 하는 정보이다. The operation information stored in the nonvolatile storage unit is appropriately referred to in accordance with the operation state of the nonvolatile storage unit, whereby the desired circuit operation is realized. These operation information are the information which is always referred to as the power is turned on, and the desired operating conditions must be secured, or the information should be set without delay depending on the operating state.

전자에 속하는 동작 정보로서는, 바이어스 전압값의 조정, 동작 타이밍의 조정, 내장 발진기의 발진 주파수의 조정, 리던던시 어드레스 정보 등이 있다. 전원 공급에 따라 회로 정수들은 확정되어 있을 필요가 있다. 내부 전압 발생 회로, 각종 타이밍 회로 및 내장 발진기 등에는 전원 공급에 따라 지체 없이 각종 회로 정수가 제공될 필요가 있는바, 이는 조정된 전압값, 동작 타이밍 및 발진 주파수를 구비하기 위함이다. 또한, 리던던시 어드레스 정보에 대해서는, 입력되는 어드레스 정보에 대하여 지체 없이 리던던시 구제의 필요 여부가 판단되는 것이 바람직하며, 전원 공급에 따라 지체 없이 불량 메모리 셀에 대한 리던던시 어드레스 정보가 제공될 필요가 있다.Examples of the operation information belonging to the former include adjustment of the bias voltage value, adjustment of the operation timing, adjustment of the oscillation frequency of the internal oscillator, redundancy address information, and the like. Depending on the power supply, the circuit parameters need to be fixed. The internal voltage generator circuit, the various timing circuits, the built-in oscillator, etc. need to be provided with various circuit constants without delay depending on the power supply, in order to have the adjusted voltage value, operation timing, and oscillation frequency. In addition, with respect to the redundancy address information, it is desirable to determine whether redundancy relief is necessary without delay with respect to the input address information, and the redundancy address information for the defective memory cell needs to be provided without delay depending on the power supply.

또한, 후자에 속하는 동작 정보로서는, 쓰기 방지 정보, 리라이트 제한 정보, 리라이트 허가를 하기 위한 지정 코드 정보 등의 정보가 있다. 이들 동작 정보에 대하여도, 해당 억세스에 대하여 지체 없이 제공되는 것이 좋다.As the operation information belonging to the latter, there is information such as write protection information, rewrite restriction information, designation code information for rewriting permission, and the like. Such operation information is also preferably provided without delay for the access.

이러한 이유로 인해, 몇몇 비휘발성 기억장치는 비휘발성 기억부와 휘발성 기억부의 2단 구조를 취하는 경우가 있는바, 이는 동작 정보를 유지하기 위함이다. 전원의 차단 후에도 동작 정보가 소실되는 것을 방지하기 위해서 비휘발성 기억부가 구비되며, 비휘발성 기억부에 동작 정보가 저장된다. 전원 공급 기간 중에는 회로 동작에 대하여 지체 없이 동작 정보가 공급되도록, 동작 정보는 비휘발성 기억부로부터 휘발성 기억부에 전송되어 저장된다. 이러한 전송은 전원 공급 또는 비휘발성 기억장치를 초기화하는 리셋 동작에 응답하여 실행된다. 전원 공급 기간 중에는, 휘발성 기억부에 저장되어 있는 동작 정보에 기초하여 각종 동작 조건이 결정된다. 또한, 전원 공급 기간 중에 불휘발성 기억부에 저장된 동작 정보가 갱신(변경)될 때에도, 비휘발성 기억장치의 외부로부터 입력된 동작 정보(갱신 정보)는 최초로 비휘발성 기억부에 저장(즉 "갱신" 전에 비휘발성 기억부의 메모리 셀에 저장된 정보가 갱신됨)된 후에, 이어서 휘발성 기억부에도 동일한 갱신 정보가 저장된다. 따라서, 전원 공급 기간 중에 동작 정보가 갱신되는 경우에도, 갱신된 휘발성 기억부의 동작 정보에 기초하여 각종 동작 조건이 결정된다.For this reason, some nonvolatile memory devices sometimes take a two-stage structure of the nonvolatile memory unit and the volatile memory unit to maintain operation information. In order to prevent the loss of operation information even after the power is cut off, a nonvolatile memory unit is provided, and the operation information is stored in the nonvolatile memory unit. The operation information is transferred from the nonvolatile memory to the volatile memory so that operation information is supplied without delay to the circuit operation during the power supply period. This transfer is performed in response to a reset operation to initialize the power supply or non-volatile memory. During the power supply period, various operating conditions are determined based on the operation information stored in the volatile storage. Also, even when the operation information stored in the nonvolatile storage unit is updated (changed) during the power supply period, the operation information (update information) input from the outside of the nonvolatile storage unit is first stored in the nonvolatile storage unit (that is, "update"). After the information previously stored in the memory cells of the nonvolatile storage unit is updated), then the same update information is also stored in the volatile storage unit. Therefore, even when operation information is updated during the power supply period, various operation conditions are determined based on the operation information of the updated volatile storage unit.

전술한 바에 의하면 비휘발성 기억장치는, 전원 공급 후의 회로 동작에 있어서, 또한 회로 동작 중의 동작 요구시마다, 지체 없이 동작 정보가 참조되어 소망하는 회로 동작을 할 수 있다. According to the above, the nonvolatile memory device can perform a desired circuit operation with reference to the operation information without delay in the circuit operation after the power supply and each operation request during the circuit operation.

이 때, 비휘발성 기억장치에 구비된 비휘발성 기억부와 휘발성 기억부의 2 단계 메모리 구성은 다음과 같은 특징을 갖는다. 상기의 2 단계 메모리 구성은, 컴퓨터 시스템에서 주 메모리와 캐쉬 메모리로 구성되는 다층 메모리 구성인 캐쉬 시스템과는 다른 목적을 가지고 구성되는 것이며, 따라서 캐쉬 시스템과는 다른 기능 및 효과를 갖는다. 또한, 주 메모리는 DRAM 등의 메모리로 구성되고, 캐쉬 메모리는 SRAM 등의 메모리로 구성되는 것이 일반적이다. 어느 것이나 휘발성 메모리로 구성되는 것이 일반적이다. At this time, the two-step memory structure of the nonvolatile memory unit and the volatile memory unit provided in the nonvolatile memory device has the following characteristics. The two-stage memory configuration described above is configured for a purpose different from that of a cache system, which is a multilayer memory configuration consisting of a main memory and a cache memory in a computer system, and thus has a different function and effect than a cache system. In addition, the main memory is generally composed of memory such as DRAM, and the cache memory is generally composed of memory such as SRAM. It is common for either to be composed of volatile memory.

즉, 컴퓨터 시스템에 있어서 다계층의 메모리 시스템은 고속의 메모리 억세스를 실현하기 위하여 구성되어 있다. 주메모리의 일부 영역에 대하여, SRAM 등의 고속 억세스가 가능한 캐쉬 메모리가 구비되고, 캐쉬 메모리에 대하여 고속의 데이터 읽기/쓰기가 이루어진다. 억세스 영역의 이동이나 캐쉬 메모리에의 써넣기 양은 소정 레벨에 달하는 것에 따라서, 적절한 타이밍으로 주메모리의 새로운 데이터 영역으로부터 캐쉬 메모리로 데이터가 읽어내지고, 또한 캐쉬 메모리의 내용이 주메모리에 기입된다. 또한 메모리 디바이스 외부로부터 억세스 요구가 있을 때에 상기 억세스 요구가 캐쉬 메모리에 의해 유지되는 어드레스 공간과 일치하면, 캐쉬 메모리는 외부 I/O와 접속되고, 고속 억세스를 제공한다. 이러한 이유로, 캐쉬 메모리는 외부 I/O에 접속된다. That is, in a computer system, a multilayer memory system is configured to realize high speed memory access. In some areas of the main memory, a cache memory capable of high-speed access such as SRAM is provided, and high-speed data read / write is performed to the cache memory. As the movement of the access area and the amount of writing to the cache memory reach a predetermined level, data is read from the new data area of the main memory to the cache memory at an appropriate timing, and the contents of the cache memory are written to the main memory. Also, if the access request matches the address space maintained by the cache memory when there is an access request from the outside of the memory device, the cache memory is connected to the external I / O and provides high speed access. For this reason, cache memory is connected to external I / O.

전술한 메모리 시스템에 반하여, 비휘발성 기억장치에 구비된 2 단계의 메모리 구성은 아래와 같은 특징을 가지고 있다. In contrast to the memory system described above, the two-stage memory configuration included in the nonvolatile memory device has the following characteristics.

먼저, 전원 차단 후에도 동작 정보를 유지하기 위하여 비휘발성 기억부를 구비하고 있지만, 전원 공급 기간 중에는 고속 동작이 필요하게 되어 비휘발성 기억부의 억세스 속도로는 충분한 회로 동작을 확보할 수 없는 경우가 있다. 이것을 보완하기 위하여 휘발성 기억부를 구비하고, 비휘발성 기억부의 제한된 억세스 속도를 보완하고 있다. 따라서, 2 단계의 메모리 구성은, 전원 차단 후에도 동작 정보의 유지를 가능케 하는 비휘발성 기억부와, 전원 공급 기간 중에 동작 정보를 내부 회로에 고속으로 제공할 수 있는 휘발성 기억부로 구성된다.First, although a nonvolatile memory unit is provided to retain operation information even after the power is cut off, high-speed operation is required during a power supply period, and sufficient circuit operation may not be secured at an access speed of the nonvolatile memory unit. In order to compensate for this, a volatile memory unit is provided, and a limited access speed of the nonvolatile memory unit is compensated for. Therefore, the two-stage memory configuration is composed of a nonvolatile memory that enables the operation information to be retained even after the power is cut off, and a volatile memory that can provide the operation information to the internal circuit at high speed during the power supply period.

또한, 동일한 동작 정보가 전원 공급의 유무에 관계 없이 비휘발성 기억부에 저장되는 동시에, 전원 공급 후에는 휘발성 기억부에 전송되어 휘발성 기억부의 동작 정보가 회로 동작상의 동작 조건을 결정하기 위하여 사용된다. 따라서, 동작 정보를 저장하는 비휘발성 기억부와 동작 정보를 저장하는 휘발성 기억부는 동일한 저장 용량을 가지고 있다.In addition, the same operation information is stored in the nonvolatile storage unit with or without power supply, and after the power supply, the same operation information is transferred to the volatile storage unit so that the operation information of the volatile storage unit is used to determine the operating conditions in the circuit operation. Therefore, the nonvolatile storage unit storing the operation information and the volatile storage unit storing the operation information have the same storage capacity.

또한, 동작 정보를 새롭게 설정 또는 갱신하는 흐름은, 동작정보가 비휘발성 기억부에 먼저 저장되고 그 후에 휘발성 기억부에 저장되는 것으로 고정되어 있다. 비휘발성 기억부에 동작 정보를 리라이트 하는데 걸리는 시간은 휘발성 기억부에 리라이트하는데 걸리는 시간보다 오래 걸리는데 그 이유는, 예를 들면 비휘발성 기억부는 플로팅 게이트에 전하를 주입·방출한다라는 물리적인 데이터 저장 매커니즘을 갖고 있기 때문이다. 반면에 휘발성 기억부는 전기적인 매커니즘을 갖는다. 상기 설정 또는 갱신의 한 방향의 흐름에 따르면, 비휘발성 기억부에 저장이 완료된 후에, 설정 또는 갱신된 휘발성 기억부의 동작 정보가 회로 동작에 적용되며, 비휘발성 기억부의 내용과 휘발성 기억부의 내용이 불일치하는 기간을 없앨 수 있고, 따라서 잘못된 회로 동작을 방지할 수 있다. 따라서, 전술한 설정 또는 갱신의 일 방향의 흐름에 따르면, 휘발성 기억부는 외부 I/0에 접속되어 있지 않으며, 휘발성 기억부의 설정 또는 갱신 정보는 모두 비휘발성 기억부로부터 받게 된다. 또한, 동작 정보가 필요한 내부 회로는 휘발성 기억부의 출력으로부터 동작 정보를 받아들인다. Further, the flow of newly setting or updating the operation information is fixed such that the operation information is first stored in the nonvolatile storage unit and then stored in the volatile storage unit. The time taken to rewrite operation information in the nonvolatile memory is longer than the time taken to rewrite in the volatile memory. For example, the nonvolatile memory stores physical data such as charge and discharge of a floating gate. It has a mechanism. Volatile storage, on the other hand, has an electrical mechanism. According to the flow of one direction of the setting or updating, after the storage is completed in the nonvolatile storage unit, the operation information of the set or updated volatile storage unit is applied to the circuit operation, and the contents of the nonvolatile storage unit and the contents of the volatile storage unit are inconsistent. Can eliminate the period of time, thereby preventing the wrong circuit operation. Therefore, according to the one-way flow of setting or updating described above, the volatile storage unit is not connected to the external I / 0, and all the setting or update information of the volatile storage unit is received from the nonvolatile storage unit. In addition, the internal circuit which requires the operation information receives the operation information from the output of the volatile memory.

비휘발성 기억부와 휘발성 기억부의 2 단계의 메모리 구성을 구비하고 있는 점이, 모두 휘발성 메모리로 구성되는 캐쉬 시스템과는 다르다. 또한, 비휘발성 기억부와 휘발성 기억부가 동일한 저장 용량을 구비하고 있는 점이, 주메모리의 일부 영역에 캐쉬 메모리를 구비한 캐쉬 시스템과는 다르다. 또한, 설정 또는 갱신되는 동작 정보의 흐름이 비휘발성 기억부로부터 휘발성 기억부로 향하는 방향으로 고정되어 있는 점이, 주메모리와 캐쉬 메모리와의 사이에서 쌍방향으로 전송되는 캐쉬 시스템과는 다르다. 또한, 비휘발성 기억부가 외부 I/0에 접속되고, 휘발성 기억부는 외부 I/0에 접속되지 않는 점이, 캐쉬가 외부 I/0에 접속되는 캐쉬 시스템과는 다르다. The two-step memory structure of the nonvolatile memory unit and the volatile memory unit is different from a cache system composed of volatile memory. The nonvolatile storage unit and the volatile storage unit have the same storage capacity, which is different from the cache system having the cache memory in a part of the main memory. In addition, the point that the flow of the operation information to be set or updated is fixed in the direction from the nonvolatile storage to the volatile storage differs from the cache system that is bidirectionally transferred between the main memory and the cache memory. The nonvolatile storage unit is connected to the external I / 0, and the volatile storage unit is not connected to the external I / 0, which is different from the cache system in which the cache is connected to the external I / 0.

동작 정보가 저장되는 비휘발성 기억부는, 유저가 요구하는 저장 영역으로서의 어드레스 공간을 나타내는 비휘발성 기억장치의 메모리 셀 어레이와 동일한 비휘발성 메모리 셀 구조를 가질 수도 있다. 이 경우, 비휘발성 기억부는 비휘발성 기억장치와 동일한 영역에 배치하는 구성으로 하는 것도 가능하고, 다른 영역에 배치하는 것도 가능하다. 동일한 영역에 배치한다는 것은, 예를 들면, 웰 영역을 공유하는 것이다. 배치 영역을 공통으로 함으로써, 비휘발성 기억부와 비휘발성 기억장치의 메모리 셀 어레이 사이의 경계 영역을 특별히 설치할 필요가 없이, 불필요한 부분 없이 컴팩트한 영역에 배치할 수 있다. 또한, 비휘발성 기억부의 비휘발성 메모리 셀과 메모리 셀 어레이의 비휘발성 메모리 셀에 있어서, 비트 라인 또는/및 워드 라인을 분리하는 구성, 또는 공유로 하는 구성 중 어느 하나의 구성도 가능하다. 분리하는 구성으로 하는 경우에는 비휘발성 기억부와 메모리 셀 어레이는, 각각 독립하여 병렬 억세스를 할 수 있다. 통상의, 유저에 의해 사용되는 저장 영역으로서 구실하는 어드레스 공간에 대한 통상적인 억세스 동작을 멈추지 않고도, 비휘발성 기억부에 저장되는 동작 정보를 갱신할 수 있다. 또한, 공유하는 구성으로 하는 경우에는, 비휘발성 기억부와 메모리 셀 어레이에서, 로우/칼럼 디코더나 리드아웃/리라이트의 제어부 등등을 공유할 수 있어, 이에 따라 집적도의 향상을 꾀할 수 있다.The nonvolatile memory unit in which the operation information is stored may have the same nonvolatile memory cell structure as that of the memory cell array of the nonvolatile memory device indicating an address space as a storage area requested by the user. In this case, the nonvolatile memory may be arranged in the same area as the nonvolatile memory, or may be arranged in another area. To arrange in the same area is to share the well area, for example. By making the arrangement areas common, it is possible to arrange them in a compact area without unnecessary parts, without particularly providing a boundary area between the nonvolatile memory unit and the memory cell array of the nonvolatile memory device. In addition, in the nonvolatile memory cell of the nonvolatile memory unit and the nonvolatile memory cell of the memory cell array, any one of a configuration in which bit lines and / or word lines are separated or shared may be used. In the case of a separate structure, the nonvolatile storage unit and the memory cell array can each independently perform parallel access. The operation information stored in the nonvolatile storage can be updated without stopping the normal access operation on the address space which serves as a normal storage area used by the user. In the case of the shared configuration, the row / column decoder, the readout / rewrite control unit, and the like can be shared in the nonvolatile memory unit and the memory cell array, thereby improving the degree of integration.

휘발성 기억부는 래치 회로나 레지스터 회로를 사용할 수 있다. 래치 회로나 레지스터 회로로 구성하면, 동작 정보가 필요한 회로 블록에 근접하여 배치할 수 있어, 동작 정보를 상시 독출하여 출력하는 것이 가능하게 된다. 이는, 제 1 동작 정보인 회로 정수나 리던던시 어드레스 등, 전원이 턴온된 후의 전원 공급 기간중에 상시 참조되어 소망하는 동작 조건이 확보되어야 하는 동작 정보의 저장에 적용하는 것이 바람직하다. 또한, 래치 회로나 레지스터 회로는, 비휘발성 기억장치의 메모리 셀 어레이를 제어하는 논리성 제어 회로 등으로 구성되는 회로 블록을 배치되는 소위, 주변 회로 영역에 배치된다. 주변 회로 영역에 있는 소자의 레이아웃 패턴은 메모리 셀보다 느슨한 라인 폭과 스페이스 폭을 갖는다. 이것은 메모리 셀이 리던던시 기능을 가지는데 대하여 논리 제어 회로는 리던던시 기능을 구비하지 않기 때문이다. 따라서, 래치 회로나 레지스터 회로도 느슨한 라인 폭과 스페이스 폭으로 레이아웃된다. The volatile memory may use a latch circuit or a register circuit. When it is comprised by a latch circuit or a register circuit, it can arrange | position adjacent to the circuit block which requires operation information, and it becomes possible to always read out and output operation information. This is preferably applied to the storage of operation information, such as a circuit constant or a redundancy address, which is the first operation information, which is always referenced during the power supply period after the power is turned on, and a desired operating condition is to be secured. In addition, the latch circuit and the register circuit are arranged in a so-called peripheral circuit region in which a circuit block composed of a logic control circuit or the like for controlling a memory cell array of a nonvolatile memory device is arranged. The layout pattern of the device in the peripheral circuit area has a looser line width and space width than the memory cell. This is because a logic control circuit does not have a redundancy function while a memory cell has a redundancy function. Therefore, the latch circuit and the register circuit are also laid out with a loose line width and a space width.

또한, 워드 라인과 비트 라인으로 휘발성 메모리 셀이 어레이 모양으로 배치되고 어드레스 지정에 따라서 데이터의 독출과 써넣기가 수행되는 RAM 구성을, 휘발성 기억부가 갖는다면, 대량의 동작 정보 데이터를 저장하는 경우들에 적용하면 좋다. 비휘발성 기억장치의 대용량화가 진전되어 탑재 섹터수가 증대하는 등에 의하여, 쓰기 방지 기능이 설정되어 있는 영역의 수가 증대하는 경우 등에 있어서, 제2 동작 정보인 쓰기 방지 정보를 RAM에 저장하여 둘 수 있다. 이 경우 RAM 구조를, 가령 SRAM 과 같은 파인 피치(fine-pitch)에 의한 레이아웃 패턴(이는 비휘발성 기억장치의 메모리 셀 어레이와 실질적으로 동등하다)으로 하는 것이 좋다. 동작 정보의 비트수는 비휘발성 기억장치의 메모리 셀 수보다 훨씬 적기 때문에, 결함 밀도(defect density)를 고려하면 SRAM에 대한 리던던시 기능은 실질적으로 불필요하다. 또한 SRAM은 주변 회로에 배치되는 것으로, SRAM은 동작 정보를 필요로 하는 회로에 고속으로 동작 정보를 부여할 수 있다. SRAM의 소자 영역은, 느슨한 라인 폭과 스페이스 폭으로 레이아웃되는 상기 래치 회로나 상기 레지스터 회로보다, 매우 작기 때문에 다이 크기를 축소할 수 있다.In addition, if the volatile memory unit has a RAM configuration in which volatile memory cells are arranged in an array shape with word lines and bit lines, and data reading and writing is performed in accordance with addressing, in the case of storing a large amount of operation information data. It is good to apply. In the case where the number of the areas where the write protection function is set is increased due to the increase in the capacity of the nonvolatile memory device due to the increase in the capacity of the mounted sector, the write protection information as the second operation information can be stored in the RAM. In this case, it is preferable to make the RAM structure a layout pattern with a fine pitch such as SRAM (which is substantially equivalent to a memory cell array of a nonvolatile memory device). Since the number of bits of operation information is much smaller than the number of memory cells in the nonvolatile memory device, considering the defect density, the redundancy function for the SRAM is practically unnecessary. In addition, the SRAM is disposed in the peripheral circuit, and the SRAM can provide the operation information at a high speed to the circuit requiring the operation information. The device area of the SRAM is much smaller than the latch circuit or the resistor circuit laid out with loose line width and space width, so that the die size can be reduced.

비휘발성 기억부를 포함하여 이루어진 비휘발성 메모리 셀을 새로운 동작 정보로 리라이트하려면, 프로그램 동작 또는 소거 동작이 이루어진다. 이러한 리라이트 동작은 비휘발성 메모리 셀의 문턱 전압의 변동에 의하여 이루어지며, 상기 문턱 전압의 변동은 비휘발성 메모리 셀의 각 단자에 바이어스를 인가함으로써 플로팅 게이트로의 전하 방출/주입에 의해 야기된다. 전하의 방출/주입은 FN 터널 현상/핫 일렉트론 현상이라는 물리 현상에 의하여 이루어지지만, 1회의 바이어스 인가로 소망하는 문턱값 변동이 얻어지지는 않으며, 복수회의 바이어스 인가에 의하여 전하의 방출/주입이 이루어지는 것이 일반적이다. 또한, 비휘발성 메모리 셀의 특성 불균일 등에 의하여 바이어스 인가에 의한 문턱값 전압의 변화 폭도 불균일하므로, 바이어스 인가 후에는 리라이트 상태를 검증하는 검증(verify) 동작이 매회 실시되는 것이 일반적이다. 검증 동작에 의하여 리라이트 대상의 비휘발성 메모리 셀에 저장되어 있는 데이터를 읽어냄으로써, 리라이트 상태를 판정한다. To rewrite a nonvolatile memory cell including the nonvolatile memory with new operation information, a program operation or an erase operation is performed. This rewrite operation is caused by a change in the threshold voltage of the nonvolatile memory cell, and the change in the threshold voltage is caused by charge discharge / injection into the floating gate by applying a bias to each terminal of the nonvolatile memory cell. The discharge / injection of the charge is performed by a physical phenomenon called the FN tunnel phenomenon / hot electron phenomenon, but the desired threshold value change is not obtained by one bias application, and the discharge / injection is performed by multiple bias applications. Is common. In addition, since the variation width of the threshold voltage due to the bias application is also uneven due to the characteristic nonuniformity of the nonvolatile memory cell, a verify operation for verifying the rewrite state is generally performed after the bias application. The rewrite state is determined by reading data stored in the nonvolatile memory cell to be rewritten by the verify operation.

도 1에 나타내는 제1 실시예에서는 비휘발성 기억부로의 리라이트 동작마다 실시되는 검증 동작에 있어서, 리라이트 대상의 비휘발성 메모리 셀로부터 읽어내는 데이터를, 휘발성 기억부에 저장하는 경우이다. 리라이트 동작 후의 검증 동작마다 반복하여 검증 센스 증폭기로부터 논리 처리 가능하게 유지되어 있는 동작 정보에 따른 논리 신호에 기초하여 휘발성 기억부에 저장 동작을 한다. 또는, 검증 일치에 따라 검증 센스 증폭기로부터 논리 처리 가능하게 유지되어 있는 동작 정보에 따른 논리 신호에 기초하여 휘발성 기억부에 저장 동작이 실시된다.In the first embodiment shown in Fig. 1, in the verification operation performed for each rewrite operation to the nonvolatile storage unit, data read from the nonvolatile memory cell to be rewritten is stored in the volatile storage unit. The storage operation is repeatedly performed in the volatile storage unit on the basis of a logic signal in accordance with the operation information held so that logic processing from the verification sense amplifier can be repeated for each verification operation after the rewrite operation. Alternatively, the storage operation is performed in the volatile storage unit based on the logic signal corresponding to the operation information held in the logic process from the verification sense amplifier in accordance with the verification agreement.

비휘발성 기억부(11)에는 로우 방향/칼럼 방향으로 매트릭스 모양으로 비휘발성 메모리 셀(MC)이 배치되어 있다. 로우 방향으로는, 선택 제어되는 복수의 비휘발성 메모리 셀(MC)이, 워드 드라이버(13, 13)에 의하여 구동되는 워드 라인 WLTR, WLWP 마다 정렬되어 배치되어 있다. 제1 실시예에서 워드 드라이버(13, 13)는 선택 신호 SEL_TR, SEL_WP에 따라 제어된다. 예를 들면, 선택 신호 SEL_TR에 의하여 워드 라인 WLTR이 활성화되고, 워드 라인 WLTR에서 선택되는 비휘발성 메모리 셀(MC)에는 회로 동작의 동작 조건을 조정하는 트리밍 정보가 저장되어 있는 것으로 한다. 마찬가지로, 선택 신호 SEL_WP에 의하여 워드 라인 WLWP이 활성화되고, 워드 라인 WLWP에서 선택되는 비휘발성 메모리 셀(MC)에는 섹터 등의 메모리 셀 어레이의 소정 영역(미도시)에 대하여 리라이트의 가부를 설정하는 쓰기 방지 정보가 저장되어 있는 것으로 한다. In the nonvolatile memory unit 11, nonvolatile memory cells MC are arranged in a matrix in a row direction / column direction. In the row direction, a plurality of non-volatile memory cells MC to be selectively controlled are arranged in alignment with each of the word lines WLTR and WLWP driven by the word drivers 13 and 13. In the first embodiment, the word drivers 13 and 13 are controlled according to the selection signals SEL_TR and SEL_WP. For example, it is assumed that the word line WLTR is activated by the selection signal SEL_TR, and the trimming information for adjusting the operating conditions of the circuit operation is stored in the nonvolatile memory cell MC selected in the word line WLTR. Similarly, the word line WLWP is activated by the selection signal SEL_WP, and the non-volatile memory cell MC selected in the word line WLWP is configured to set rewrite of a predetermined area (not shown) of a memory cell array such as a sector. It is assumed that write protection information is stored.

칼럼 방향에는 동일 칼럼의 비휘발성 메모리 셀(MC)이 비트 라인으로 접속되어 있다. 비트 라인은 BL(1) 내지 BL(M)까지의 비트 라인 그룹으로 나눠져 있으며, 이들 각각은 N개의 비트라인으로 구성되며 억세스의 기본 단위를 구성하고 있다. 비트 라인 그룹 BL(1) 내지 BL(M)은 Y 디코더(15)를 거쳐, N 비트 폭의 데이터 라인(D2)에 접속된다. Y 디코더(15)는 비트 라인 그룹 BL(1) 내지 BL(M)마다, N 비트 폭의 데이터 라인(D2)과의 사이에 NMOS 트랜지스터 그룹을 구비하여 구성된다. Y 디코더(15)의 NMOS 트랜지스터 그룹은 NMOS 트랜지스터 그룹마다 Y 디코드 신호 SEL_Y(1) 내지 SEL_Y(M)에 의하여 도통 제어된다. 어느 한 조의 비트 라인 그룹 BL(1) 내지 BL(M)를 데이터 라인(D2)에 접속한다. In the column direction, nonvolatile memory cells MC in the same column are connected by bit lines. The bit lines are divided into bit line groups from BL (1) to BL (M), each of which consists of N bit lines and constitutes a basic unit of access. The bit line groups BL (1) to BL (M) are connected to the data line D2 having an N bit width through the Y decoder 15. The Y decoder 15 is configured to include an NMOS transistor group between the bit lines group BL (1) to BL (M) with the data line D2 having an N bit width. The NMOS transistor group of the Y decoder 15 is electrically controlled by the Y decode signals SEL_Y (1) to SEL_Y (M) for each NMOS transistor group. One set of bit line groups BL (1) to BL (M) is connected to the data line D2.

데이터 라인(D2)은 미도시한 읽기 센스 증폭기에 접속되고, 데이터의 읽기 억세스가 이루어지는 동시에, 바이어스 제어 회로(17)를 거쳐, 데이터 단자에 연결되는 데이터 라인(D1)에 접속된다. 또한, 검증 센스 증폭기(19)에 접속되어 있다. The data line D2 is connected to a read sense amplifier (not shown), read access of data is performed, and connected to the data line D1 connected to the data terminal via the bias control circuit 17. It is also connected to the verification sense amplifier 19.

바이어스 제어 회로(17)는 프로그램 지시 신호 PG(j)(j=1 내지 N) 또는 소거 지시 신호(ER)에 따라서, 리라이트시의 동작 모드가 프로그램 동작인지 소거 동작인지에 대한 지시가 내려지고, 데이터 라인(D2)으로부터 비트 라인을 거쳐 비휘발성 메모리 셀(MC)의 드레인 단자에 바이어스 인가를 행하기 위한 제어 회로이다. 프로그램 지시 신호 PG(j), 소거 지시 신호(ER)는 커멘드 디코더(16)로부터 출력된다. 외부로부터 입력되는 커멘드 신호(CMD)가 커멘드 디코더(16)에 입력됨에 따라, 커멘드 신호(CMD)가 디코드되고, 프로그램 지시 신호 PG(j), 소거 지시 신호(ER)가 출력된다. In response to the program instruction signal PG (j) (j = 1 to N) or the erase instruction signal ER, the bias control circuit 17 instructs whether the operation mode at the time of rewriting is a program operation or an erase operation. And a control circuit for applying a bias to the drain terminal of the nonvolatile memory cell MC from the data line D2 via the bit line. The program instruction signal PG (j) and the erase instruction signal ER are output from the command decoder 16. As the command signal CMD input from the outside is input to the command decoder 16, the command signal CMD is decoded, and the program instruction signal PG (j) and the erase instruction signal ER are output.

프로그램 동작에서는 데이터 라인(D1)에 입력된 데이터 기대 값에 대하여 프로그램 동작을 실시하여야 할 비트 위치가 확정되고, 대응하는 비트 라인 그룹 내의 비트 라인 위치에 따라 프로그램 지시 신호 PG(j)(j=1 내지 N)가 활성화된다. 이것에 의하여, 대응하는 데이터 라인(D2)에 바이어스를 인가한다. 소거 동작에서는 일괄 소거를 하기 때문에, N 비트 폭의 데이터 라인(D2)에 대하여 공통으로 바이어스를 인가한다. 바이어스 인가가 소정시간 동안 계속된 후, 검증 센스 증폭 기(19)로 검증 지시 신호(PGV/ERV)가 출력된다.In the program operation, the bit position at which the program operation is to be performed is determined with respect to the data expected value input to the data line D1, and the program instruction signal PG (j) (j = 1 according to the bit line position in the corresponding bit line group). To N) is activated. This applies a bias to the corresponding data line D2. In the erase operation, a batch erase is performed, so that a bias is commonly applied to the data line D2 having a width of N bits. After the bias application is continued for a predetermined time, the verify instruction signal PGV / ERV is output to the verify sense amplifier 19.

검증 센스 증폭기(19)는 Y 디코더(15)를 거쳐 데이터 라인(D2)에 읽어낸, 리라이트 동작 중의 비휘발성 메모리 셀(MC)에 저장되어 있는 저장 정보를 증폭한다. 바이어스 인가시 마다, 바이어스 제어 회로(17)로부터 출력되는 프로그램 동작에 대한 검증 지시 신호(PGV), 또는 소거 동작에 대한 검증 지시 신호(ERV)에 응답하여, 각각, 대응하는 문턱값 전압을 가지는 레퍼런스 메모리 셀이 선택되고 리드아웃 데이터가 증폭된다.The verify sense amplifier 19 amplifies the stored information stored in the nonvolatile memory cell MC during the rewrite operation read out to the data line D2 via the Y decoder 15. Each time the bias is applied, in response to the verify instruction signal PGV for the program operation or the verify instruction signal ERV for the erase operation, which are output from the bias control circuit 17, each reference has a corresponding threshold voltage. The memory cell is selected and the readout data is amplified.

증폭된 데이터는 데이터 라인(D3)을 거쳐, 비교 회로(21)와 휘발성 기억부(25)에 입력된다. 비교 회로(21)에는 데이터 라인(D1)을 거쳐 기대 데이터(expected data)가 입력되며, 검증 센스 증폭기(19)로부터 증폭되어 출력된 리드아웃 데이터와 비교된다. 리라이트가 완료되고, 리드아웃 데이터가 기대 데이터와 일치한다면, 비교 회로(21)는 일치 신호(MCH)를 출력한다. The amplified data is input to the comparison circuit 21 and the volatile storage section 25 via the data line D3. Expected data is input to the comparison circuit 21 via the data line D1 and compared with the readout data amplified and output from the verification sense amplifier 19. If the rewrite is completed and the readout data matches the expected data, the comparing circuit 21 outputs the matching signal MCH.

비휘발성 메모리 셀(MC)로부터 읽혀진 데이터는 데이터 라인(D3)을 거쳐 휘발성 기억부(25)의 저장 영역에 저장되며, 상기 저장 영역은 셀렉터(23)에 의하여 선택된다. 프로그램 동작/소거 동작에 있어서의 검증 지시 신호(PGV/ERV), 선택 신호(SEL_TR, SEL_WP), Y 디코드 신호(SEL_Y(i)(i=1 내지 M))가 셀렉터(23)로 입력된다. 선택 신호(SEL_TR, SEL_WP) 및 Y 디코드 신호(SEL_Y(i))에 의하여 선택되는 비휘발성 기억부(11)의 비트 라인그룹 BL(i)에 접속되어 있는 비휘발성 메모리 셀(MC) 마다, 휘발성 기억부(25)의 저장 위치를 나타내는 디코드 신호(STR(i) 또는 SWP(i))가 출력된다. 이 경우, 디코드 신호(STR(i)/SWP(i))는 검증 지시 신 호(PGV/ERV)에 응답하여 출력된다. 검증 지시 신호(PGV/ERV)를 출력함으로써, 검증 센스 증폭기(19)에 의해 증폭되는 상기 리드아웃 데이터(즉, 논리 처리 가능하게 유지되어 있는 동작 정보에 대응하는 논리 신호)가 휘발성 기억부(25)에 저장된다.The data read from the nonvolatile memory cell MC is stored in the storage area of the volatile memory 25 via the data line D3, and the storage area is selected by the selector 23. The verification instruction signals PGV / ERV, the selection signals SEL_TR and SEL_WP and the Y decode signals SEL_Y (i) (i = 1 to M) in the program operation / erase operation are input to the selector 23. Volatile for each of the nonvolatile memory cells MC connected to the bit line group BL (i) of the nonvolatile memory unit 11 selected by the selection signals SEL_TR and SEL_WP and the Y decode signal SEL_Y (i). The decode signal STR (i) or SWP (i) indicating the storage position of the storage unit 25 is output. In this case, the decode signal STR (i) / SWP (i) is output in response to the verify instruction signal PGV / ERV. By outputting the verification instruction signal PGV / ERV, the readout data amplified by the verification sense amplifier 19 (that is, a logic signal corresponding to the operation information held in a logic processable manner) is stored in the volatile memory unit 25. )

또한, 검증 지시 신호(PGV/ERV)를 대신하여, 또는 검증 지시 신호(PGV/ERV)에 추가하여, 비교 회로(21)로부터 출력되는 일치 신호(MCH)가 입력될 수도 있다. 이것에 의하여, 리라이트 동작이 완료되고, 만일 리라이트 대상의 비휘발성 메모리 셀(MC)에 저장되어 있는 저장 정보가 기대 데이터와 일치한다면, 디코드 신호 (STR(i)/SWP(i))가 출력된다. 휘발성 기억부(25)로의 동작 정보의 저장은 리라이트 완료시에 1회만 수행되며, 불필요한 저장 동작은 수행되지 않는다. 따라서, 불필요한 회로 동작을 멈출 수 있어, 전류 소비를 절감할 수 있다.In addition, instead of the verification instruction signal PGV / ERV or in addition to the verification instruction signal PGV / ERV, the coincidence signal MCH output from the comparison circuit 21 may be input. By this, the rewrite operation is completed, and if the stored information stored in the nonvolatile memory cell MC to be rewritten matches the expected data, the decode signal STR (i) / SWP (i) is generated. Is output. The operation information is stored in the volatile memory section 25 only once when the rewrite is completed, and unnecessary storage operation is not performed. Therefore, unnecessary circuit operation can be stopped, and current consumption can be reduced.

도 1에서 i(i=1 내지 M)는 비트 라인그룹 BL(i)의 수를 나타낸다. 예를 들면, 8개의 그룹(M=8)으로 구성할 수 있다. 또한, j(j=1 내지 N)는 비트 라인그룹을 구성하는 비트 라인의 비트 폭이며, 데이터 라인(D1, D2, D3)의 비트 폭이다. 예를 들면, 16 비트 폭(N=16)으로 구성할 수 있다. In FIG. 1, i (i = 1 to M) represents the number of bit line groups BL (i). For example, it can consist of eight groups (M = 8). In addition, j (j = 1 to N) is the bit width of the bit lines constituting the bit line group, and is the bit width of the data lines D1, D2, and D3. For example, it can be configured with 16 bit width (N = 16).

도 1에 나타내는 제 1 실시예에서는, 비휘발성 기억부(11)에 저장되어 있는 트리밍 정보나 쓰기 방지 정보를 리라이트할 때, 리라이트 동작의 바이어스 인가 후에 수행되는 검증 동작을 통해, 리라이트 대상의 비휘발성 메모리 셀(MC)로부터 읽어낸 저장 정보를 휘발성 기억부(25)에 써넣는다. 이에 의하면, 비휘발성 기억부(11)에 저장된 동작 정보를 휘발성 기억부(25)에 저장할 때에, 리라이트 완료 후에 리드아웃 센스 증폭기(미도시)에 의해 비휘발성 기억부(11)로부터 데이터를 재차 읽어낼 필요는 없다. 그 결과, 리드아웃 시간을 단축할 수 있다. In the first embodiment shown in FIG. 1, when rewriting the trimming information or the write protection information stored in the nonvolatile memory unit 11, the rewriting target is performed through a verification operation performed after bias application of the rewriting operation. The storage information read out from the nonvolatile memory cell MC is written into the volatile storage unit 25. According to this, when storing the operation information stored in the nonvolatile storage unit 11 in the volatile storage unit 25, after the rewrite is completed, the data is read back from the nonvolatile storage unit 11 by a readout sense amplifier (not shown). There is no need to read it. As a result, the lead-out time can be shortened.

휘발성 기억부(25)에 데이터를 저장하는 것은, 복수회 반복되는 검증 지시 신호(PGV/ERV)에 응답하여 한번 이상 반복될 수 있다. 대안적으로, 기대 데이터와의 비교의 결과 얻게 되는 일치 신호(MCH)에 응답하여, 리라이트 동작이 완료된 것이 확인되었을 때의 상기 리드아웃 데이터를 저장할 수도 있다. 후자의 경우는 리라이트 도중의 비휘발성 메모리 셀(MC)의 내용을 반영한 리라이트 전의 저장 정보를 저장할 필요는 없고, 불필요한 회로 동작을 줄여 전류 소비의 저감을 도모할 수 있다. Storing data in the volatile memory 25 may be repeated one or more times in response to the verification indication signal PGV / ERV which is repeated a plurality of times. Alternatively, in response to the matching signal MCH obtained as a result of the comparison with the expected data, the readout data when it is confirmed that the rewrite operation is completed may be stored. In the latter case, it is not necessary to store the stored information before rewriting reflecting the contents of the nonvolatile memory cell MC during rewriting, and unnecessary circuit operation can be reduced to reduce current consumption.

도 2, 도 3은 셀렉터(23)의 구체적인 일례이다. 선택 신호 SEL_TR, SEL_WP와 Y 디코드 신호 SEL_Y(i)(i=1 내지 M)가, 각각 조합되어 낸드 게이트에 입력된다. 각 낸드 게이트에는 공통으로, 출력 타이밍 신호 T가 입력된다. 출력 타이밍 신호 T가 하이 레벨이 되어 활성화되는 타이밍에서, 선택 신호 SEL_TR, SEL_WP 및 Y 디코드 신호 SEL_Y(i)에 의해 선택되는 임의의 디코드 신호 STR(i)/SWP(i)가 하이 레벨로 활성화되어 출력된다.2 and 3 are specific examples of the selector 23. The selection signals SEL_TR, SEL_WP and the Y decode signal SEL_Y (i) (i = 1 to M) are respectively combined and input to the NAND gate. The output timing signal T is input to each NAND gate in common. At the timing when the output timing signal T becomes high and is activated, any decode signal STR (i) / SWP (i) selected by the selection signals SEL_TR, SEL_WP and the Y decode signal SEL_Y (i) is activated to a high level. Is output.

도 2의 경우, 출력 타이밍 신호(T)는, 검증 지시 신호(PGV 및 ERV)가 노아 게이트와 인버터 게이트를 거쳐 논리합 연산되고, 일치 신호(MCH)와 함께 낸드 게이트에 입력되어 인버터 게이트를 거쳐 논리곱 연산된 신호로서 출력된다. 프로그램 동작 및 소거 동작의 종류를 불문하고 검증 동작의 지시가 출력되는 타이밍으로서, 리라이트 동작이 완료되었다고 판단되는 경우에, 출력 타이밍 신호(T)가 출력된다. 리라이트 완료의 확인을 한 리드아웃 데이터가, 그대로 휘발성 기억부(25)에 저장되는 구성이다. 리라이트 완료의 타이밍에 한 번만 출력 타이밍 신호(T)가 출력되어 데이터를 저장한다.In the case of FIG. 2, the output timing signal T is logic-operated by the verification instruction signals PGV and ERV through the Noah gate and the inverter gate, input to the NAND gate together with the coincidence signal MCH, and then logic through the inverter gate. It is output as a multiplied signal. Regardless of the type of the program operation and the erasing operation, the output timing signal T is output when it is determined that the rewrite operation is completed as the timing at which the instruction of the verify operation is output. The readout data that confirms completion of rewrite is stored in the volatile storage unit 25 as it is. The output timing signal T is output only once at the timing of completion of rewrite to store data.

도 3의 경우, 출력 타이밍 신호 T는, 검증 지시 신호(PGV 및 ERV)가 노아 게이트와 인버터 게이트를 거쳐 논리합 연산된 신호로서 출력된다. 프로그램 동작 및 소거 동작의 종류를 불문하고 검증 동작의 지시가 출력되는 타이밍마다 출력 타이밍 신호 T가 출력된다. 바이어스 인가마다, 리라이트 상태의 확인을 한 읽기 데이터가, 휘발성 기억부(25)에 저장되는 구성이다. 리라이트 완료의 타이밍으로, 리라이트된 데이터가 저장된다. In the case of FIG. 3, the output timing signal T is output as a signal in which the verification instruction signals PGV and ERV are ORed through the NOA gate and the inverter gate. Regardless of the type of the program operation and the erase operation, the output timing signal T is output for each timing at which the instruction of the verify operation is output. In each of the bias applications, read data for confirming the rewrite state is stored in the volatile storage unit 25. At the timing of rewrite completion, the rewritten data is stored.

도 4에는 동작 정보에 대한 프로그램 동작의 타이밍 차트를 나타낸다. 셀렉터(23)로서 도 2의 구성을 가지는 경우의 타이밍 챠트이다. 가령, 동작 조건을 조정하는 트리밍 정보나 쓰기 방지 정보 등과 같은, 동작 정보를 설정하기 위한 프로그램 커맨드가, 어드레스 정보(ADD)와 함께 입력된다(설정되는 동작 정보가 쓰기 방지 정보인 경우에는, 상기 어드레스 정보는 쓰기 방지가 설정될 예정인 섹터들을 나타낸다). 프로그램 명령에 응답하여, 대상이 되는 동작 정보에 따라서, 선택 신호 SEL_TR, SEL_WP 및 Y 디코드 신호 SEL_Y(i)(i=1 내지 M)가 출력된다. 4 shows a timing chart of a program operation with respect to operation information. This is a timing chart when the selector 23 has the configuration shown in FIG. 2. For example, a program command for setting operation information, such as trimming information for adjusting operation conditions, write protection information, or the like, is input together with address information ADD (when the set operation information is write protection information, the address is entered. Information indicates sectors for which write protection is to be set). In response to the program command, the selection signals SEL_TR, SEL_WP, and the Y decode signal SEL_Y (i) (i = 1 to M) are output in accordance with the target operation information.

프로그램 동작에 앞서서, Y 디코드 신호 SEL_Y(i)(i=1 내지 M)에 의해 선택된 비트 라인그룹 BL(i)(i=1 내지 M)에 접속되고 선택 신호 SEL_TR, SEL_WP에 의하여 선택되는 비휘발성 메모리 셀(MC)의 데이터는, 검증 지시 신호(PGV)가 하이 레벨이 됨에 따라 검증 센스 증폭기(19)에 의하여 읽혀진다. 각각의 읽어낸(readout) 데이터는 비교 회로(21)에서 기대 데이터와의 비교되고, 각각의 비휘발성 메모리 셀이 프로그램 상태에 있는지 아닌지의 여부를 판정하기 위한 검사가 비트 기반에서 수행된다.Prior to the program operation, a nonvolatile connected to the bit line group BL (i) (i = 1 to M) selected by the Y decode signal SEL_Y (i) (i = 1 to M) and selected by the selection signals SEL_TR and SEL_WP. Data of the memory cell MC is read by the verify sense amplifier 19 as the verify instruction signal PGV becomes high level. Each readout data is compared with expected data in comparison circuit 21, and a check is performed on a bit basis to determine whether each nonvolatile memory cell is in a program state.

상기 판정의 결과, 프로그램된 상태가 아닌 비휘발성 메모리 셀(MC)에 대하여 프로그램 동작이 이루어진다. 이 비휘발성 메모리 셀(MC)가 접속되어 있는 비트 라인은 비트 라인그룹 BL(i) 내의 N개의 비트 라인 중 1개이지만, 상기 비트 라인은 프로그램 지시 신호 PG(j)(j=1 내지 N)에 의하여 선택되고, 프로그램용 바이어스 전압이 상기 비트라인에 인가된다. 바이어스 인가 후, 하이레벨의 검증 지시 신호(PGV)에 의하여, 비휘발성 메모리 셀(MC)로부터 데이터를 읽어내고 기대 데이터와 비교한다. 비교 결과가 일치할 때까지, 바이어스 인가와 데이터 비교가 교대로 반복된다. 프로그램 대상의 비휘발성 메모리 셀(MC)에 저장되어 있는 데이터가 기대 데이터와 비교되면서, 차례차례, 바이어스 인가를 실시하고 프로그램 동작을 한다. 읽어낸 데이터가 기대 데이터와 일치한 시점에서, 프로그램 동작이 완료되었다고 하고 하이레벨의 일치 신호(MCH)가 출력된다. 일치 신호(MCH)의 출력에 따라, Y 디코드 신호(SEL_Y(i)(i=1 내지 M)) 및 선택 신호(SEL_TR, SEL_WP)에 의해 선택되는 디코드 신호 STR(i)/SWP(i)가 하이 레벨이 되어 출력된다. 일치 신호(MCH)가 출력되었을 때의 읽기 데이터는, 디코드 신호 STR(i)/SWP(i)로 선택되는 휘발성 기억부(25)에 저장된다. As a result of the determination, a program operation is performed on the nonvolatile memory cell MC that is not in the programmed state. The bit line to which this nonvolatile memory cell MC is connected is one of the N bit lines in the bit line group BL (i), but the bit line is the program instruction signal PG (j) (j = 1 to N). Is selected, and a program bias voltage is applied to the bit line. After the bias is applied, data is read from the nonvolatile memory cell MC by the high level verify instruction signal PGV and compared with expected data. The bias application and data comparison are alternately repeated until the comparison results match. The data stored in the nonvolatile memory cell MC to be programmed is compared with the expected data, and in turn, a bias is applied and a program operation is performed. When the read data coincides with the expected data, the program operation is completed and a high level coincidence signal MCH is output. According to the output of the coincidence signal MCH, the decode signals STR (i) / SWP (i) selected by the Y decode signals SEL_Y (i) (i = 1 to M) and the selection signals SEL_TR and SEL_WP are Output is at high level. Read data when the coincidence signal MCH is output is stored in the volatile storage unit 25 selected by the decode signal STR (i) / SWP (i).

이 때, 셀렉터(23)로서 도 3의 구성을 가지는 경우의 타이밍 차트는 도시되어 있지 않지만, 검증 지시 신호 PCV가 하이 레벨이 되는 타이밍마다, Y 디코드 신호 SEL_Y(i)(i=1 내지 M) 및 선택 신호 SEL_TR, SEL_WP로 선택되는 디코드 신호 STR(i)/SWP(i)가 하이 레벨이 되어 출력된다. 바이어스 인가 후의 검증 동작마다, 디코드 신호 STR(i)/SWP(i)가 출력되고, 읽어낸 데이터가 휘발성 기억부(25)에 저장된다. At this time, the timing chart in the case of having the configuration of FIG. 3 as the selector 23 is not shown. However, the Y decode signal SEL_Y (i) (i = 1 to M) for each timing at which the verify instruction signal PCV becomes a high level. And the decode signal STR (i) / SWP (i) selected by the selection signals SEL_TR and SEL_WP are output at a high level. For each verification operation after bias application, the decode signal STR (i) / SWP (i) is output, and the read data is stored in the volatile storage 25.

또한, 동작 정보에 대한 소거 동작의 타이밍 차트는 도시되어 있지 않지만, 비휘발성 기억부(11)의 모든 비휘발성 메모리 셀(MC)에 대하여 일괄적으로 소거 동작을 하는 것, 프로그램용의 바이어스 전압과는 다른 소거용 바이어스 전압이 인가되는 것을 제외하면 프로그램 동작의 타이밍 챠트와 동일한 동작이 실시된다. 즉, Y 디코드 신호 SEL_Y(i)(i=1 내지 M)가 차례로 증대되면서, 각각의 Y 디코드 신호 (SEL Y(i))에 의하여 선택되는 비트 라인그룹 BL(i)에 접속되어 있는 비휘발성 메모리 셀(MC)에 대한 소거 동작이 수행된다. 도 4와 마찬가지로, 소거 지시 신호(ER)에 따른 소거용 바이어스 전압의 인가와 그것에 이어지는 검증 지시 신호 (ERV)에 따른 검증 동작이 반복적으로 이루어져, 읽기 데이터가 기대 데이터와 일치한 시점에서, 소거 동작이 완료되었다고 하고 하이 레벨의 일치 신호(MCH)가 출력된다. 일치 신호(MCH)의 출력에 응답하여, Y 디코드 신호 SEL_Y(i) 및 선택 신호 (SEL_TR, SEL_WP)로 선택되는 디코드 신호 STR(i)/SWP(i)가 하이 레벨이 되어 출력된다. 일치 신호(MCH)가 출력되었을 때의 읽기 데이터는, 디코드 신호 (STR(i)/SWP(i))에 의해 선택되는 휘발성 기억부(25)에 저장된다. Moreover, although the timing chart of the erase operation | movement with respect to operation information is not shown, performing the erase operation collectively with respect to all the nonvolatile memory cells MC of the nonvolatile memory part 11, the bias voltage for a program, The same operation as the timing chart of the program operation is performed except that another erase bias voltage is applied. That is, as the Y decode signal SEL_Y (i) (i = 1 to M) is sequentially increased, the nonvolatile connected to the bit line group BL (i) selected by the respective Y decode signal SEL Y (i). An erase operation is performed on the memory cell MC. As in FIG. 4, the application of the erase bias voltage according to the erase instruction signal ER and the verify operation according to the verify instruction signal ERV subsequent thereto are performed repeatedly, and at the time when the read data matches the expected data, the erase operation is performed. Is completed, a high level coincidence signal MCH is output. In response to the output of the coincidence signal MCH, the decode signal STR (i) / SWP (i) selected by the Y decode signal SEL_Y (i) and the select signals SEL_TR, SEL_WP are output at a high level. The read data when the coincidence signal MCH is output is stored in the volatile storage unit 25 selected by the decode signal STR (i) / SWP (i).

또한, 프로그램 동작의 경우와 마찬가지로 소거 동작에서도, 바이어스 인가후 검증 동작마다, 디코드 신호 STR(i)/SWP(i)가 출력되어 리드아웃 데이터를 휘발성 기억부(25)에 저장하는 동작이 실현 가능하다는 것은 말할 필요도 없다.In the erase operation as in the case of the program operation, the decode signal STR (i) / SWP (i) is output for each verify operation after bias is applied, and the operation of storing the readout data in the volatile memory 25 can be realized. Needless to say.

비휘발성 메모리 셀(MC)에 저장되어 있는 데이터가 리라이트를 통해 반전되지 않는다면, 원래의 데이터가 판독될 것이다. 리라이트가 완료되어 있지 않는 상태에서 비휘발성 기억장치는, 변경 전의 동작 정보에 기초하여 동작하는 것이 좋고, 휘발성 기억부도 종전의 동작 정보를 계속 저장하고 있다. 쓰기 동작이 미완료된 상태에서, 검증 동작에 의해 판독된 데이터가 휘발성 기억부에 저장된다고 하더라도, 저장 내용은 불변할 것이며 설정되어 있는 동작 정보는 변경되지 않을 것이다.If the data stored in the nonvolatile memory cell MC are not inverted through the rewrite, the original data will be read. In the state where rewriting is not completed, the nonvolatile memory device preferably operates based on the operation information before the change, and the volatile storage unit continues to store the previous operation information. In the state where the write operation is incomplete, even if the data read by the verify operation is stored in the volatile storage, the stored contents will be unchanged and the set operation information will not be changed.

동작 정보의 최초의 설정은 전원 투입에 따라 비휘발성 기억부로부터 휘발성 기억부에 전송되어 저장된다. 이 기능을 포함하는 도 1의 실시예의 더 상세한 구체적인 일례를 도 9 내지 도 l5에 나타낸다.The initial setting of the operation information is transferred and stored from the nonvolatile memory to the volatile memory in accordance with the power-on. More detailed specific examples of the embodiment of FIG. 1 incorporating this function are shown in FIGS.

도 9는 도 1에 나타내는 휘발성 기억부(25)의 상세한 회로이다. 도 10을 참조하여 후술하는 바와 같이, 휘발성 기억부(25)는, 비휘발성 메모리 셀(MC)로부터 판독되어 데이터 라인(D3)을 거쳐 검증 센스 증폭기(19)로 전송된 데이터가 저장 영역에 저장되도록 구성되는바, 상기 저장영역은 도 1의 셀렉터(23)에 대한 제 3 구현예에서 설명된 방식으로 선택된다. 도 9에 있어서, 휘발성 기억부의 저장 위치를 나타내는 디코드 신호 STR(i)/SWP(i)에 의하여, 선택된 휘발성 기억부는 트랜지스터(N10와 N11)가 도통하고, 데이터 라인(D3)의 정보가 래치 회로(L10)에 전송되어 유지된다. 트랜지스터(N12)는 N 채널 트랜지스터(N10)의 보상 소자이고, 데이터 라인(D3)의 정보가 "1"일 때의 문턱값에 의한 N10 출력 전압의 저하를 보상하고, 래치 회로(L10)의 반전을 가속시킨다. 9 is a detailed circuit of the volatile storage unit 25 shown in FIG. As described later with reference to FIG. 10, the volatile memory unit 25 stores data stored in the storage area, read from the nonvolatile memory cell MC and transferred to the verification sense amplifier 19 via the data line D3. The storage area is configured to be selected in the manner described in the third embodiment of the selector 23 of FIG. 9, the transistors N10 and N11 are turned on by the decoded signals STR (i) / SWP (i) indicating the storage positions of the volatile storage, and the information on the data line D3 is latched. It is transmitted to and maintained at L10. The transistor N12 is a compensation element of the N-channel transistor N10, compensates for the decrease in the N10 output voltage due to the threshold when the information on the data line D3 is "1", and inverts the latch circuit L10. Accelerate

N10과 병렬로 P 채널 트랜지스터를 설치하는 경우에는 N12는 필요하지 않다.N12 is not necessary when installing a P-channel transistor in parallel with N10.

도 10은 도 1에 나타낸 셀렉터(23)의 제3 구체례이며, M=8으로 하였을 경우이다. 도 9의 휘발성 기억부를 선택하는 셀렉터 회로이다. 전술한 도 2와 다른 부분만 설명하면, 도 10에 있어서, 셀렉터는 전원 공급 검지 신호(POR)가 입력되는 논리 게이트(N100)를 구비한다. 전원 공급에 따라서 전원 공급 검지 신호(POR)가 활성화되고, 비휘발성 기억부로부터 휘발성 기억부에 차례차례 전송되는 동작 정보가 선택 신호 SEL_TR, SEL_WP 및 Y 디코드 신호 SEL_Y(i)에 의하여 차례로 선택된 휘발성 기억부에 넣어진다.FIG. 10: is a 3rd specific example of the selector 23 shown in FIG. 1, and it is a case where M = 8. 9 is a selector circuit for selecting the volatile memory of FIG. 2, the selector includes a logic gate N100 to which a power supply detection signal POR is input. According to the power supply, the power supply detection signal (POR) is activated, and the operation information sequentially transmitted from the nonvolatile memory to the volatile memory is sequentially selected by the selection signals SEL_TR, SEL_WP, and the Y decode signal SEL_Y (i). Put in wealth.

즉, 전원 공급 후의 동작 정보의 최초의 설정은 논리 게이트 N100 와 N103에 의하여 셀렉터가 작용한다. 또한, 유저에 의한 동작 정보의 리라이트 시에는 전술한 도 2와 같이, 논리 게이트 N101와 Nl02와 Nl03에 의하여 셀렉터가 작용한다. 이 때, 도 10에 있어서 신호 VERIFY는 도 2에 있어서, 검증 지시 신호(PGV 및 ERV)가 노아 게이트와 인버터 게이트를 거쳐 논리합 연산되어 출력되는 신호이다.That is, the selector acts by the logic gates N100 and N103 in the initial setting of the operation information after power supply. In addition, at the time of rewriting operation information by the user, the selector acts on the logic gates N101, Nl02, and Nl03 as shown in FIG. 2 described above. At this time, the signal VERIFY in FIG. 10 is a signal in which the verification instruction signals PGV and ERV are ORed through the NOA gate and the inverter gate and outputted in FIG. 2.

또한, 도 11에 도시하는 바와 같이, Y 디코드 신호 SEL_Y(i)(i=0 내지 7)는 후술하는 섹터 어드레스 SA(0) 내지 SA(6)의 디코드 논리 출력과 선택 신호 SEL_TR, SEL_WP의 논리합 출력으로부터 생성된다.As shown in Fig. 11, the Y decode signal SEL_Y (i) (i = 0 to 7) is a logical sum of the decode logic output of the sector addresses SA (0) to SA (6) and the selection signals SEL_TR and SEL_WP described later. Is generated from the output.

도 12는 섹터 어드레스와 제2 동작 정보와, 비휘발성 기억부의 메모리 셀과 의 대응표이다. 섹터 어드레스 SA(0) 내지 SA(6)와 각 섹터의 제 2 동작 정보인 프로텍트 정보가 비휘발성 기억부의 워드 라인 WLWP 상의 어느 칼럼 어드레스에 SEL_Y(i)(i=1 내지 8))의, 그리고 어느 I/O(D2(0) 내지(l5))에 저장되어 있는지를 나타낸다. 이 예에서는 섹터는 0 내지 127 까지의 128 섹터를 구비한다. 예를 들면 섹터 0을 프로그램하는 경우에는 SEL_Y(0)를 선택하고, 16개의 데이터 버스 중의 D2(0)에만 프로그램을 실시한다. 12 is a correspondence table of sector addresses, second operation information, and memory cells in the nonvolatile memory unit. The sector addresses SA (0) to SA (6) and the protection information, which is the second operation information of each sector, are assigned to any column address on the word line WLWP of the nonvolatile memory in SEL_Y (i) (i = 1 to 8), and It indicates which I / O is stored in D2 (0) to (l5). In this example, the sector has 128 sectors from 0 to 127. For example, when programming sector 0, select SEL_Y (0) and program only D2 (0) of the 16 data buses.

도 13은 섹터 어드레스와 제 1 동작 정보와, 비휘발성 기억부의 메모리 셀과의 대응표이다. 섹터 어드레스 SA(0) 내지 SA(6)와 제 1 동작 정보인 트리밍용 데이터가 비휘발성 기억부의 워드 라인 WLTR상의 어느 칼럼 어드레스의 그리고, 어느 I/O에 저장되어 있는지를 나타낸다. 이 예에서는 트리밍 정보는 0 내지 127까지의 128 비트를 구비한다. 이 경우, 섹터 어드레스는 트리밍 데이터를 프로그램할 때의 어드레싱을 위하여 사용된다. 제 1 동작 정보와 제 2 동작 정보인 것 각각의 데이터의 리라이트는 비휘발성 기억부에 대하여 이루어진다. 각 동작 정보는 전원 공급시에 비휘발성 기억부로부터 판독되어 휘발성 기억부에 저장된다. 따라서, 프로텍트 정보나 트리밍 정보를 사용하여 동작을 실시하는 회로는 직접 그때마다, 비휘발성 기억부로부터 동작 정보를 읽어내는 것은 아니며, 휘발성 기억부가 유지하고 있는 동작 정보를 참조하여 동작을 실시한다. 그것을 도 14에 나타낸다. 13 is a correspondence table of sector addresses, first operation information, and memory cells in the nonvolatile memory unit. The sector addresses SA (0) to SA6 and the trimming data which is the first operation information are stored in which I / Os of which column addresses on the word line WLTR of the nonvolatile storage unit. In this example, the trimming information has 128 bits from 0 to 127. In this case, the sector address is used for addressing when programming the trimming data. Rewriting of each data, which is the first operation information and the second operation information, is made to the nonvolatile storage unit. Each operation information is read out from the nonvolatile memory at the time of power supply and stored in the volatile memory. Therefore, the circuit which performs the operation using the protection information or the trimming information does not directly read the operation information from the nonvolatile memory unit every time, but performs the operation by referring to the operation information held by the volatile memory unit. It is shown in FIG.

도 14는 제1 실시예에 있어서 전원 공급 후의 제1 동작 정보와 제2 동작 정보의 읽기 동작을 나타내는 타이밍 챠트이다. 전원 공급 검지 신호 POR 신호는 디바이스에 전원이 공급되어 디바이스가 기동하였을 때에 비휘발성 기억부의 정보를 읽어내고, 휘발성 기억부에 저장할 때에 High 레벨이 되는 신호이다. 이 예에서는 기동하면 우선 SEL_TR=High가 되어, SEL_Y(i)(i=0 내지 7)까지를 차례로 선택하여 리던던시 어드레스 정보나 트리밍 정보를 비휘발성 기억부로부터 읽어내고, 휘발성 기억부에 저장하며, 이어서 SEL_WP=High가 되어 프로텍트 정보를 비휘발성 기억부로부터 읽어내어 휘발성 기억부에 저장한다. 14 is a timing chart showing a read operation of the first operation information and the second operation information after power supply in the first embodiment. The power supply detection signal POR signal is a signal that becomes high when the device is powered on and reads the information in the nonvolatile storage unit and stores the information in the nonvolatile storage unit. In this example, when starting, SEL_TR = High is first selected, and then SEL_Y (i) (i = 0 to 7) is sequentially selected to read redundancy address information and trimming information from the nonvolatile memory unit, and stored in the volatile storage unit. Subsequently, SEL_WP = High, so that the protection information is read from the nonvolatile storage unit and stored in the volatile storage unit.

휘발성 기억부에 저장된 섹터 프로텍트 정보는 WP(0) 내지 WP(127)의 신호선에 상시 출력되고, 또한 리던던시 어드레스 정보와 트리밍 정보는 TR(0) 내지 TR(127)의 신호선에 상시 출력된다. 동작 정보에 의하여 동작하는 회로는 이들 신호를 상시 참조하여, 동작을 실시할 수 있다. 예를 들면, 섹터 O를 프로그램 또는 소거하는 경우에는 먼저 WP(0)의 동작 정보를 참조하여, 프로텍트가 걸려 있으면 프로그램 또는 소거를 하지 않도록 제어한다. 오실레이터 주기의 트리밍 정보가 TR(0) 내지 TR(2)에 할당되어 있는 경우에는 TR(0) 내지 TR(2) 상태에 의하여 주기를 변경하도록 제어한다. Sector protection information stored in the volatile storage unit is always output to the signal lines of the WP (0) to WP 127, and redundancy address information and trimming information are always output to the signal lines of the TR (0) to TR 127. The circuit operated by the operation information can always refer to these signals to perform the operation. For example, in the case of programming or erasing sector O, the operation information of the WP (0) is first referred to, and control is performed so as not to program or erase if the protection is applied. If the trimming information of the oscillator period is allocated to TR (0) to TR (2), control is made to change the period according to the TR (0) to TR (2) states.

도 15에, 예를 들면 제1 실시예에 있어서 섹터 0의 동작 정보의 프로그램 동작 파형을 나타낸다. 이것은 비휘발성 기억부의 섹터 0에 상당하는 동작 정보를 저장하는 비휘발성 메모리 셀의 데이터를“1"에서“0"으로 변경하는 것이다. 이 경우, 프로그램 정보는 전원이 차단되어도 유지되어 있을 필요가 있기 때문에, 비휘발성 기억부의 미리 할당된 어드레스에 프로그램을 실시한다. 섹터 0의 경우에는 SEL_Y(0)을 선택하고, 또한 SEL_WP가 선택하는 워드 라인 WLWP로 연결되는 16개 있는 비트 라인 중 D2(0)가 연결되는 I/O에 프로그램을 실시한다. 프로그램이 완료되었는지를 실제로 비휘발성 기억부로부터 읽어내고, 검증하는 검증 동작을 실시하고, 검증이 패스할 때까지 상기 프로그램 동작을 반복한다. 검증이 패스하면, 그 시점에서의 리드아웃(readout) 데이터가 검증 증폭기에 의하여 데이터 버스 (D3) 상에 이미 출력되어 있으므로, SWP(0)를 하이(High)로 하여 휘발성 메모리에 저장함으로써, 리라이트한 비휘발성 기억부의 내용을 휘발성 기억부에 저장하여 리라이트 동작 정보를 즉시 반영시킬 수 있다. 리던던시, 트리밍 정보의 프로그램에 관하여서도 마찬가지이다. 15 shows, for example, a program operation waveform of operation information of sector 0 in the first embodiment. This changes the data of a nonvolatile memory cell that stores operation information corresponding to sector 0 of the nonvolatile memory from "1" to "0". In this case, the program information needs to be retained even when the power supply is cut off, so that the program is executed at a pre-assigned address of the nonvolatile storage unit. In the case of sector 0, SEL_Y (0) is selected, and a program is performed on I / O to which D2 (0) is connected among 16 bit lines connected to word line WLWP selected by SEL_WP. A verification operation that actually reads from the nonvolatile storage to verify that the program has been completed and verifies is performed, and the program operation is repeated until the verification passes. If the verification passes, the readout data at that point is already output on the data bus D3 by the verification amplifier. Therefore, the SWP (0) is set high and stored in the volatile memory. The contents of the written nonvolatile memory can be stored in the volatile memory to immediately reflect the rewrite operation information. The same applies to the program of redundancy and trimming information.

도 16에, 제1 실시예에 있어서 섹터의 동작 정보의 소거 동작 파형을 나타낸다. 이 경우, 전술한 프로그램과는 달리, 소거 동작은 일괄하여 모든 섹터의 동작 정보를 소거한다. 이것은 비휘발성 기억부의 섹터에 상당하는 동작 정보를 저장하는 128개 분의 비휘발성 메모리 셀의 데이터를, 일괄적으로“0"에서“1"로 변경하는 것이다. 따라서, 검증 동작도 소거된 모든 섹터의 동작 정보분에 관하여 실시한다. 프로그램의 경우와 마찬가지로, 소거가 완료되었는지를 실제로 비휘발성 기억부로부터 읽어내어 검증하는 검증 동작을 실시하고, 검증이 패스할 때까지 상기 소거 동작을 반복한다. 검증이 패스하면, 그 시점에서의 리드아웃(readout) 데이터가 검증 증폭기에 의하여 데이터 버스(D3)상에 이미 출력되어 있으므로, SWP를 하이(High)로 하고 휘발성 메모리에 저장함으로써, 리라이트한 비휘발성 기억부의 내용을 휘발성 기억부에 저장하여 리라이트 동작 정보를, 즉석에서 반영시킬 수 있다. 이것을 전체 섹터의 프로텍트 정보에 관하여 실시한다. 리던던시, 트리밍 정보의 소거에 관하여도 마찬가지이다. Fig. 16 shows an erase operation waveform of operation information of a sector in the first embodiment. In this case, unlike the above program, the erase operation collectively erases operation information of all sectors. This changes the data of 128 nonvolatile memory cells that store operation information corresponding to sectors of the nonvolatile storage unit from "0" to "1". Therefore, the verify operation is also performed with respect to the operation information of all the erased sectors. As in the case of the program, a verification operation is performed to actually read and verify whether the erasing is completed from the nonvolatile storage unit, and the erase operation is repeated until the verification passes. If the verification passes, the readout data at that point is already output on the data bus D3 by the verification amplifier. Therefore, the SWP is set high and stored in the volatile memory, thereby rewriting. The contents of the volatile storage unit can be stored in the volatile storage unit to immediately reflect the rewrite operation information. This is done with respect to the protection information of all sectors. The same applies to the redundancy and erasing of the trimming information.

도 5에 나타내는 제2 실시예에서는 비휘발성 기억부에의 리라이트 동작의 종별에 따라서, 리라이트 후의 데이터가 확정되어 있는 것을 이용하고, 리라이트 동작 완료 시에, 리라이트 동작의 지시 신호에 따라 확정되어 있는 데이터를, 휘발성 기억부에 저장하는 경우이다. 즉, 비휘발성 메모리 셀에 데이터를 리라이트하는 것에 대해서는 데이터“1"에서 "0"으로의 리라이트인 프로그램 동작과 데이터 "O"에서 "1"로의 리라이트인 소거 동작과 같이, 데이터의 천이 방향이 확정되어 있다. 이러한 비휘발성 메모리 셀의 리라이트의 특징을 이용한다. 외부로부터 입력되는 커멘드 신호(CMD)가 커멘드 디코더(16)에 입력되는 것에 따라서, 커멘드 신호(CMD)가 디코드되고, 프로그램 지시 신호(PG(j)), 소거 지시 신호(ER)가 출력된다. 프로그램 지시 신호(PC(j), 소거 지시 신호(ER)가, 논리 처리 가능하게 유지되어 있는 동작 정보에 따른 논리 신호로서 커멘드 디코더(16)에 유지되고, 휘발성 기억부의 저장 데이터의 반전을 제어한다.In the second embodiment shown in Fig. 5, the data after the rewrite is determined in accordance with the type of the rewrite operation to the nonvolatile memory unit, and upon completion of the rewrite operation, in accordance with the instruction signal of the rewrite operation. This is the case where the determined data is stored in the volatile storage. That is, the rewriting of data in the nonvolatile memory cell is performed by the transition of data, such as a program operation that is a rewrite of data "1" to "0" and an erase operation that is a rewrite of data "O" to "1". The direction is determined, using the characteristics of the rewrite of the nonvolatile memory cell As the command signal CMD input from the outside is input to the command decoder 16, the command signal CMD is decoded and the program is decoded. The instruction signal PG (j) and the erase instruction signal ER are outputted as the logic signal in accordance with the operation information held by the program instruction signal PC (j) and the erase instruction signal ER in a logic processable manner. It is held in the command decoder 16 and controls the inversion of the stored data in the volatile storage.

도 5에 나타내는 제2 실시예의 회로 블록도는 제1 실시예의 회로 블럭도(도 1)에 있어서, 셀렉터(23)를 대신하고, 셀렉터(27) 및 전송 데이터 생성부(29)를 구비하고 있다.The circuit block diagram of the second embodiment shown in FIG. 5 is provided with a selector 27 and a transfer data generation unit 29 in place of the selector 23 in the circuit block diagram (FIG. 1) of the first embodiment. .

셀렉터(27)는 선택 신호 SEL_TR, SEL_WP, Y 디코드 신호 SEL_Y(i)(i=1 내지 M), 프로그램 지시 신호 PG(j)(j=1 내지 N) 및 비교 회로(21)로부터 출력되는 일치 신호(MCH)가 입력된다. 선택 신호 SEL_TR, SEL_WP 및 Y 디코드 신호 SEL_Y(i)에 의하여 선택되는 비휘발성 기억부(11)의 비트 라인그룹 BL(i)에 접속되어 있는 비휘발성 메모리 셀(MC) 마다, 휘발성 기억부(25)의 저장 위치를 나타내는 디코드 신호 STR(i)/SWP(i)가 출력된다. 프로그램 동작의 경우에는 비트 라인그룹 BL(i) 내의 N개의 비트 라인 중에서, 프로그램 대상인 비휘발성 메모리 셀(MC)이 접속되어 있는 비트 라인이 선택된다. 이 경우, 디코드 신호 STR(i)/SWP(i)의 출력은 일치 신호(MCH)가 하이 레벨이 됨에 따라 출력된다. 리라이트의 완료 시점에서 휘발성 기억부(25)에 있어서의 데이터 저장 위치가 지시된다. The selector 27 matches the outputs from the selection signals SEL_TR, SEL_WP, the Y decode signal SEL_Y (i) (i = 1 to M), the program instruction signal PG (j) (j = 1 to N) and the comparison circuit 21. The signal MCH is input. For each nonvolatile memory cell MC connected to the bit line group BL (i) of the nonvolatile memory 11 selected by the selection signals SEL_TR, SEL_WP and the Y decode signal SEL_Y (i), the volatile storage 25 The decode signal STR (i) / SWP (i) indicating the storage position of the " In the case of a program operation, among the N bit lines in the bit line group BL (i), the bit line to which the nonvolatile memory cell MC to be programmed is connected is selected. In this case, the output of the decode signal STR (i) / SWP (i) is output as the coincidence signal MCH becomes high level. At the completion of the rewrite, the data storage position in the volatile storage unit 25 is instructed.

전송 데이터 생성부(29)는 일치 신호(MCH) 및 프로그램 지시 신호 PG(j)(j=1 내지 N)/소거 지시 신호(ER)가 입력되고, 일치 신호(MCH)의 출력에 따라서, 비트 라인그룹 BL(i)를 구성하는 N개의 비트 라인에 대응하여 데이터를 출력한다. N개의 비트 라인 중에서, 프로그램 대상인 비휘발성 메모리 셀(MC)이 접속되어 있는 비트 라인에 대응하여 프로그램 상태의 데이터를 생성하고, 또는 소거 동작에 대하여는 비트 라인그룹 BL(i)를 구성하는 모든 비트 라인에 대응하여 소거 상태의 데이터를 생성한다. The transmission data generating unit 29 receives the coincidence signal MCH and the program instruction signal PG (j) (j = 1 to N) / erase instruction signal ER, and bit in accordance with the output of the coincidence signal MCH. Data is output corresponding to the N bit lines constituting the line group BL (i). Of the N bit lines, all bit lines constituting the bit line group BL (i) for generating data in a program state corresponding to a bit line to which a nonvolatile memory cell MC to be programmed is connected or for an erase operation. In response to this, the erased data is generated.

이에 의하여, 리라이트 동작의 완료를 나타내는 일치 신호(MCH)의 출력에 따라서, 셀렉터(27)에 있어서 리라이트 대상에 따른 디코드 신호 STR(i)/SWP(i)가 출력되는 동시에, 전송 데이터 생성부(29)에 있어서, 리라이트 동작에 따른 데이터를 리라이트 대상의 비트 위치에 따라 출력할 수 있다.Thereby, in response to the output of the coincidence signal MCH indicating completion of the rewrite operation, the selector 27 outputs the decode signal STR (i) / SWP (i) corresponding to the rewrite target, and simultaneously generates transmission data. In the unit 29, data according to the rewrite operation can be output according to the bit position of the object to be rewritten.

도 6에는 휘발성 기억부(25), 셀렉터(27) 및 전송 데이터 생성부(29)를 구체화한 회로예이다. 1 비트분의 데이터를 저장하는 회로 구성을 나타낸다. 6 shows a circuit example in which the volatile storage section 25, the selector 27 and the transfer data generation section 29 are embodied. A circuit configuration for storing one bit of data is shown.

휘발성 기억부(25)는 2개의 래치 회로(L1, L2)가 트랜스퍼 게이트 T2를 사이에 두고 접속되는 시프트 레지스터 구성을 가지고 있다. 트랜스퍼 게이트 T1를 거쳐 입력 단자(D)가 래치 회로(L1)에 접속되는 동시에, 래치 회로(L2)가 출력 단자(Q)에 접속되어 있다. 도시되지는 않았지만, 휘발성 기억부(25)는 출력 단자 Q에 다음 휘발성 기억부(25)의 입력 단자(D)에 접속되고, 다단에 직렬 접속된 구성을 가지고 있고, 초단의 휘발성 기억부(25)의 입력 단자로부터, 차례로 데이터의 전송을 하는 구성이다. 전원 공급시, 초단의 입력 단자(D)로부터 비휘발성 기억부(11)에 저장되어 있는 동작 정보를 읽어내고 차례로 전송하여 휘발성 기억부(25)에 저장한다. The volatile memory section 25 has a shift register configuration in which two latch circuits L1 and L2 are connected with a transfer gate T2 interposed therebetween. The input terminal D is connected to the latch circuit L1 via the transfer gate T1, and the latch circuit L2 is connected to the output terminal Q. Although not shown, the volatile storage section 25 has a configuration in which the output terminal Q is connected to the input terminal D of the next volatile storage section 25, and is connected in series to multiple stages, and the volatile storage section 25 of the first stage is provided. Is a configuration in which data is transmitted in sequence from an input terminal of (). At the time of power supply, operation information stored in the nonvolatile memory unit 11 is read out from the first input terminal D, and transferred in order, and stored in the volatile memory unit 25.

래치 회로(L1)의 저장 노드(N1)와 래치 회로(L2)의 저장 노드(N2)에는 각각, 전원 전압(VCC)과의 사이에는 PMOS 트랜지스터(P1, P2)가, 접지 전위와의 사이에는 NMOS 트랜지스터(N1, N2)가 접속되어 있다. NMOS 트랜지스터(N2)의 게이트 단자로부터 PMOS 트랜지스터(P1)의 게이트 단자를 향하여 인버터 게이트(I1)가 접속되며, NMOS 트랜지스터(N1)의 게이트 단자로부터 PMOS 트랜지스터 P2의 게이트 단자를 향하여 인버터 게이트(I2)가 접속되어 있다. PMOS 트랜지스터(P1, P2), NMOS 트랜지스터(N1, N2) 및 인버터 게이트(I1, I2)에 의하여, 전송 데이터 생성부(29)가 구성되어 있다. In the storage node N1 of the latch circuit L1 and the storage node N2 of the latch circuit L2, respectively, the PMOS transistors P1 and P2 are connected between the power supply voltage VCC and the ground potential. NMOS transistors N1 and N2 are connected. The inverter gate I1 is connected from the gate terminal of the NMOS transistor N2 toward the gate terminal of the PMOS transistor P1, and the inverter gate I2 is connected from the gate terminal of the NMOS transistor N1 toward the gate terminal of the PMOS transistor P2. Is connected. The transfer data generator 29 is configured by the PMOS transistors P1 and P2, the NMOS transistors N1 and N2, and the inverter gates I1 and I2.

셀렉터(27)는 NMOS 트랜지스터(N1) 및 인버터 게이트(I2)를 구동하는 프로그램용 디코드부(27A)와, NMOS 트랜지스터(N2) 및 인버터 게이트(I1)을 구동하는 소거용 디코드부(27B)로 구성되어 있다. 전자의 프로그램용 디코드부(27A)는 프로그램 지시 신호 PG(j)(j=1 내지 N) 중 1 신호, 일치 신호(MCH), 선택 신호 SEL_TR 또는 SEL_WP 및 Y 디코드 신호 SEL_Y(i)(i=1 내지 M) 중 1 신호가 낸드 게이트에 입 력되고, 이 낸드 게이트로부터 인버터 게이트를 거쳐 디코드된 신호가 출력된다. 후자의 소거용 디코드부(27B)는 소거 지시 신호(ER) 및 일치 신호(MCH)가 낸드 게이트에 입력되고, 이 낸드 게이트로부터 인버터 게이트를 거쳐 디코드된 신호가 출력된다.The selector 27 is a program decoding section 27A for driving the NMOS transistor N1 and the inverter gate I2 and an erasing decoding section 27B for driving the NMOS transistor N2 and the inverter gate I1. Consists of. The former program decoding section 27A includes one of the program instruction signals PG (j) (j = 1 to N), the coincidence signal MCH, the selection signal SEL_TR or SEL_WP and the Y decode signal SEL_Y (i) (i = One signal of 1 to M) is input to the NAND gate, and the decoded signal is output from the NAND gate via the inverter gate. In the latter erasing decoding unit 27B, the erasing instruction signal ER and the coincidence signal MCH are input to the NAND gate, and the decoded signal is output from the NAND gate via the inverter gate.

프로그램용 디코드부(27A)에서는 Y 디코드 신호 SEL_Y(i)에 따라서, 어느 한 조의 비트 라인그룹 BL(i)(i=1 내지 M)이 선택되고, 선택 신호 SEL_TR 또는 SEL_WP에 따라서, 선택된 비트 라인그룹 BL(i)에 대하여 접속하여야 할 비휘발성 메모리 셀(MC)의 로우 방향 위치가 확정된다. 또한, 프로그램 지시 신호 PG(j)에 따라서, 선택된 비휘발성 메모리 셀(MC) 중에서 프로그램 대상의 비휘발성 메모리 셀(MC)이 결정된다. 비휘발성 기억부(11)에 배치되어 있는 비휘발성 메모리 셀(MC) 마다 휘발성 기억부(25)가 구비되어 있다. 휘발성 기억부(25)마다 구비할 수 있는 프로그램용 디코드부(27A) 중에서, 상기 신호의 조합에 따라서 어느 하나의 프로그램용 디코드부(27A)가 일치 신호(MCH)의 하이 레벨 신호의 출력에 따라 활성화되어 하이 레벨을 출력함으로써 NMOS 트랜지스터(N1), PMOS 트랜지스터(P2)가 도통한다. 저장 노드(N1)에 로 레벨, 저장 노드(N2)에 하이 레벨이 저장된다. 휘발성 기억부(25)의 출력 단자(Q)가 로 레벨 신호로 유지되고, 프로그램 상태를 나타내는 데이터“0"이 출력된다.In the program decoding section 27A, a set of bit line groups BL (i) (i = 1 to M) are selected according to the Y decode signal SEL_Y (i), and the selected bit lines in accordance with the selection signal SEL_TR or SEL_WP. The row direction position of the nonvolatile memory cell MC to be connected to the group BL (i) is determined. Further, according to the program instruction signal PG (j), the nonvolatile memory cell MC to be programmed is determined among the selected nonvolatile memory cells MC. A volatile memory unit 25 is provided for each nonvolatile memory cell MC disposed in the nonvolatile memory unit 11. Of the program decoding units 27A that can be provided for each of the volatile storage units 25, any one of the program decoding units 27A is in accordance with the combination of the signals according to the output of the high level signal of the coincidence signal MCH. The NMOS transistor N1 and the PMOS transistor P2 are conducted by being activated and outputting a high level. The low level is stored in the storage node N1, and the high level is stored in the storage node N2. The output terminal Q of the volatile storage section 25 is held as a low level signal, and data "0" indicating a program state is output.

소거용 디코드부(27B)에서는 비휘발성 기억부(11)에 배치되어 있는 모든 비휘발성 메모리 셀(MC)을 일괄하여 소거한다. 따라서, 대응하는 휘발성 기억부(25)에 대하여도, Y 디코드 신호 SEL_Y(i) 및 선택 신호 SEL_TR, SEL_WP에 관련되지 않고, 일률적으로 소거 상태를 나타내는 데이터“1"을 저장할 필요가 있다. 휘발성 기억부(25)마다 구비되는 모든 소거용 디코드부(27B)가 일치 신호(MCH)의 하이 레벨 신호의 출력에 따라 활성화되어 하이 레벨을 출력함으로써, NMOS 트랜지스터(N2), PMOS 트랜지스터(P1)가 도통한다. 저장 노드(N1)에 하이 레벨, 저장 노드 N2에 로우(low) 레벨이 저장된다. 모든 휘발성 기억부(25)의 출력 단자 Q가 하이 레벨 신호로 유지되어 소거 상태를 나타내는 데이터“1"이 출력된다. In the erasing decoding section 27B, all the nonvolatile memory cells MC arranged in the nonvolatile storage section 11 are erased in a batch. Therefore, also in the corresponding volatile memory 25, it is necessary to store data "1" that is indicative of the erase state uniformly regardless of the Y decode signal SEL_Y (i) and the selection signals SEL_TR and SEL_WP. All of the erasing decoding sections 27B provided for each section 25 are activated in accordance with the output of the high level signal of the coincidence signal MCH and output a high level, so that the NMOS transistor N2 and the PMOS transistor P1 become conductive. A high level is stored in the storage node N1 and a low level in the storage node N2. The output terminal Q of all the volatile storages 25 is held as a high level signal to indicate the erase state. Is output.

이 때, 검증 센스 증폭기(19)는 식별부 및 증폭기의 일례이며, 검증 센스 증폭기(19)로부터 증폭되어 출력되는 리드아웃 데이터가 논리 처리 가능하게 유지되어 있는 동작 정보에 따른 논리 신호의 일례이다. 또한, 커멘드 디코더(16)는 식별부 및 리라이트 제어부의 일례이며, 커멘드 디코더(16)로부터 출력되는 프로그램 지시 신호 PG(j), 소거 지시 신호(ER)가 논리 처리 가능하게 유지되어 있는 동작 정보에 따른 논리 신호의 일례이다. 또한, 비교 회로(21)은 일치 판정부 또는 완료 판정부의 일례이다. 또한, 전송 데이터 생성부(29)는 리라이트 정보 지시부의 일례이다. At this time, the verification sense amplifier 19 is an example of an identification unit and an amplifier, and is an example of a logic signal in accordance with operation information in which the readout data amplified and output from the verification sense amplifier 19 is maintained in a logic process. In addition, the command decoder 16 is an example of an identification unit and a rewrite control unit, and operation information in which the program instruction signal PG (j) and the erase instruction signal ER output from the command decoder 16 are maintained in a logic process. It is an example of a logic signal according to the present invention. The comparison circuit 21 is an example of the coincidence determination unit or the completion determination unit. The transmission data generation unit 29 is an example of the rewrite information indicating unit.

비휘발성 메모리 셀(MC)에 저장되어 있는 데이터가 리라이트를 통해 반전되지 않는 경우에는 리라이트 동작의 완료를 나타내는 일치 신호(MCH)에 의하여 휘발성 기억부에 저장되어 있는 동작 정보도 종전의 정보로 유지된다. 리라이트가 완료되어 있지 않는 상태에서는 비휘발성 기억장치는 변경 전의 동작 정보에 기초하여 동작하는 것이 바람직하다.When the data stored in the nonvolatile memory cell MC are not inverted through rewrite, the operation information stored in the volatile storage unit is also converted into previous information by the matching signal MCH indicating completion of the rewrite operation. maintain. In the state where rewriting is not completed, it is preferable that the nonvolatile memory device operates based on the operation information before the change.

이상의 설명으로부터 알 수 있는 바와 같이, 본 실시예에 의하면, 트리밍 정보나 쓰기 방지 정보 등의 동작 정보가 전원 공급 후에 설정, 또는 전원 공급 기간 중에 갱신됨에 있어서, 비휘발성 기억부(11)에 저장하는 동작을 선행시킨다. 제1 실시예에서는 저장 완료 시에는 검증 센스 증폭기(19)에, 리라이트된 비휘발성 메모리 셀(MC)로부터의 데이터가 읽어내어져 있으므로, 리라이트 완료를 나타내는 일치 신호(MCH)의 출력에 따라서, 리드아웃 데이터를 휘발성 기억부(25)에 전송할 수 있다. 제2 실시예에서는 리라이트라 함은 프로그램 동작 또는 소거 동작이며, 각각에 리라이트된 데이터의 논리값은 이미 알려져 있는 것이다. 즉, 프로그램 동작이 완료되면, 리라이트된 데이터는“0"이 되고, 소거 동작이 완료되면, 리라이트된 데이터는“1"이 된다. 이에 프로그램 지시 신호 PG(j)(j=1 내지 N) 또는 소거 지시 신호(ER)에 따라서, 리라이트 후의 데이터의 논리값은 확정될 수 있고, 리라이트 완료를 나타내는 일치 신호(MCH)의 출력에 따라서, 미리 확정 가능한 데이터를 휘발성 기억부(25)에 저장할 수 있다. As can be seen from the above description, according to the present embodiment, operation information such as trimming information or write protection information is stored in the nonvolatile storage unit 11 when it is set after the power supply or updated during the power supply period. Preced the action. In the first embodiment, since data from the rewritten nonvolatile memory cell MC is read into the verification sense amplifier 19 at the time of completion of storage, according to the output of the coincidence signal MCH indicating completion of rewrite. The readout data can be transferred to the volatile storage 25. In the second embodiment, a rewrite is a program operation or an erase operation, and the logical value of the data rewritten in each is known. That is, when the program operation is completed, the rewritten data becomes "0", and when the erase operation is completed, the rewritten data becomes "1". Accordingly, according to the program instruction signal PG (j) (j = 1 to N) or the erase instruction signal ER, the logic value of the data after the rewrite can be determined, and the output of the coincidence signal MCH indicating completion of the rewrite. In this way, the data that can be determined in advance can be stored in the volatile storage unit 25.

비휘발성 기억부(11)로부터의 동작 정보의 읽기 억세스 동작은 전원 공급시 또는 비휘발성 기억장치를 초기화하는 리세트 동작시에만 실시될 뿐이고, 전원 공급 기간 중에 있어서 동작 정보의 갱신 등이 있었을 경우에는 비휘발성 기억부(11)의 저장 후에 다시 읽어내기할 필요는 없고, 휘발성 기억부(25)에의 동작 정보의 저장을 실시할 수 있다. 비휘발성 기억부(11)로부터의 동작 정보의 재 읽어내기 동작이 불필요하게 되고, 동작 정보의 갱신 시간을 단축시킬 수 있다. 비휘발성 기억장치의 출하 시험에 있어서, 리던던시 어드레스 정보나 각종의 트리밍 정보를 저장할 때의 시간을 단축할 수 있어서, 출하 시험 시간을 단축할 수 있다. 또한, 어플리케이션 시스템에 넣어진 후에 있어서는 시스템의 요구에 따라 설정을 변경하는 쓰기 방지 정보 등의 동작 정보에 있어서 갱신 시간을 단축시킬 수 있다.The read access operation of the operation information from the nonvolatile memory unit 11 is performed only at the time of power supply or at the reset operation of initializing the nonvolatile memory device. When there is an update of the operation information or the like during the power supply period, It is not necessary to read again after the storage of the nonvolatile storage unit 11, and operation information can be stored in the volatile storage unit 25. The reread operation of the operation information from the nonvolatile storage unit 11 becomes unnecessary, and the update time of the operation information can be shortened. In the shipment test of the nonvolatile memory device, the time for storing redundancy address information and various trimming information can be shortened, and the shipment test time can be shortened. In addition, after being put into the application system, it is possible to shorten the update time in operation information such as write protection information whose settings are changed in accordance with the requirements of the system.

비휘발성 기억장치의 대용량화나 고기능화의 진전에 따라, 리던던시 구제하여야 할 불량 메모리 셀의 수가 증대되고, 쓰기 방지 기능이 적용되는 섹터 등의 메모리 영역의 구획수가 증대되는 것을 생각할 수 있다. 또한, 동작 조건을 조정하여야 할 회로 기능이 증가하는 일도 생각할 수 있다. 비휘발성 기억부에 저장하여야 할, 리던던시 어드레스 정보, 쓰기 방지 정보, 각종 트리밍 정보 등의 동작 정보가 증가하는 것을 생각할 수 있다. 이 경우에 본 실시예의 동작 정보의 저장 기능을 구비하고 있으면, 동작 정보의 설정이나 갱신을 신속하게 실시할 수 있다. It is conceivable that the number of defective memory cells to be repaired for redundancy increases and the number of partitions of a memory area such as a sector to which a write protection function is applied increases as the capacity of the nonvolatile memory device increases and the performance increases. It is also conceivable that the circuit function to adjust the operating conditions increases. It is conceivable to increase operation information such as redundancy address information, write protection information, and various trimming information to be stored in the nonvolatile storage unit. In this case, if the storage function of the operation information of the present embodiment is provided, the operation information can be set or updated quickly.

전원 공급 기간 중에 있어서, 회로의 동작 조건을 결정하는 동작 정보를 변경할 때에, 비휘발성 기억부(11)에 저장이 완료된 시점에서, 지체 없이 휘발성 기억부(25)의 내용을 갱신하여 회로 동작에 반영할 수 있다. 또한, 비휘발성 기억부(11)에의 동작 정보의 저장 후에 읽어내기 억세스 동작을 실시할 필요가 없기 때문에, 읽어내기 억세스 동작에 따른 전류 소비는 없다. 동작 정보의 설정 또는 갱신의 처리에 있어서 소비 전류를 줄일 수 있다. During the power supply period, when the operation information for determining the operation conditions of the circuit is changed, at the time when the storage is completed in the nonvolatile storage unit 11, the contents of the volatile storage unit 25 are immediately updated and reflected in the circuit operation. can do. In addition, since it is not necessary to perform the read access operation after storing the operation information in the nonvolatile storage unit 11, there is no current consumption in accordance with the read access operation. The current consumption can be reduced in the processing of setting or updating operation information.

또한, 본 발명은 상기 실시예에 한정되는 것이 아니며, 본 발명의 취지를 일탈하지 않는 범위 내에서 여러 가지 개량, 변형이 가능하다는 것은 말할 필요도 없다. 예를 들면, 트리밍 정보와 쓰기 방지 정보로 대하여, 비휘발성 기억부에의 저장과 그 후의 휘발성 기억부에의 저장을 실시하는 경우를, 예를 들어 설명하였지만, 본 발명은 이것에 한정되는 것은 아니다. 리던던시 어드레스 정보 등, 그 밖의 동작 정보에 대하여도 이와 같이 적용할 수 있다. In addition, this invention is not limited to the said Example, Needless to say that various improvement and modification are possible in the range which does not deviate from the meaning of this invention. For example, the trimming information and the write protection information have been described in the case where the storage in the nonvolatile storage unit and the subsequent storage in the volatile storage unit are described, for example. However, the present invention is not limited thereto. . The same can be applied to other operation information such as redundancy address information.

또한, 제2 동작 정보로서는, 읽기 방지 정보, 읽기 제한 정보, 읽기를 허가하기 위한 지정 코드 정보 등의 정보이어도 좋다. The second operation information may be information such as read protection information, read restriction information, designation code information for allowing read, and the like.

Claims (15)

동작 정보를 저장하는 비휘발성 기억부와, 전원 공급중, 상기 비휘발성 기억부에 저장되어 있는 상기 동작 정보를 저장해두는 휘발성 기억부를 구비하는 비휘발성 기억장치의 정보 설정 방법으로서, An information setting method of a nonvolatile memory device comprising: a nonvolatile memory unit for storing operation information; and a volatile memory unit for storing the operation information stored in the nonvolatile memory unit during power supply. 상기 동작 정보가 설정 또는 갱신되는 때에, 상기 비휘발성 기억부의 리라이트를 실시하는 단계와; 그리고Rewriting the nonvolatile memory unit when the operation information is set or updated; And 상기 리라이트 단계의 종료시에, 논리 처리 가능하게 유지되어 있는 상기 동작 정보에 따른 논리 신호에 기초하여, 상기 휘발성 기억부에 상기 동작 정보를 저장하는 단계At the end of the rewrite step, storing the operation information in the volatile storage unit on the basis of a logic signal according to the operation information held in a logic processable manner; 를 포함하는 것을 특징으로 하는 비휘발성 기억장치의 정보 설정 방법. Information setting method of the nonvolatile memory device comprising a. 제 1 항에 있어서, The method of claim 1, 상기 리라이트 단계는, The rewrite step, 상기 비휘발성 기억부에 바이어스를 인가하는 단계와; 그리고 Applying a bias to the nonvolatile memory; And 상기 비휘발성 기억부 내의 저장 정보로서, 상기 바이어스 인가 단계에 의하여 리라이트 되고 있는 상기 저장 정보를 독출하는 단계Reading out the stored information being rewritten by the bias applying step, as the stored information in the nonvolatile storage unit; 를 포함하며, Including; 상기 동작 정보에 따른 논리 신호는 상기 저장 정보이며, 상기 휘발성 기억부에는 상기 저장 정보가 저장되는 것을 특징으로 하는 비휘발성 기억장치의 정보 설정 방법. The logic signal according to the operation information is the storage information, and the storage information is stored in the volatile memory. 제 2 항에 있어서, The method of claim 2, 상기 바이어스 인가 단계 및 상기 독출 단계는 상기 동작 정보가 상기 비휘발성 기억부에 저장될 때까지, 교대로 반복하여 이루어지고, The bias applying step and the reading step are alternately repeated until the operation information is stored in the nonvolatile memory unit, 상기 휘발성 기억부에 상기 저장 정보가 저장되는 것은, 상기 독출 단계마다 실시되는 것을 특징으로 하는 비휘발성 기억장치의 정보 설정 방법. The storing of the stored information in the volatile storage unit is performed for each read step. 제 2 항에 있어서, The method of claim 2, 상기 독출 단계에 의하여 독출되는 상기 저장 정보가, 상기 동작 정보와 일치하는지 안하는지를 판정하는 단계를 포함하며, Determining whether the stored information read out by the reading step is consistent with the operation information, 상기 휘발성 기억부에 상기 저장 정보가 저장되는 것은, 상기 판정 단계의 결과에 따라서 이루어지는 것을 특징으로 하는 비휘발성 기억장치의 정보 설정 방법. And the storing information is stored in the volatile storage unit in accordance with the result of the determination step. 제 1 항에 있어서,The method of claim 1, 상기 동작 정보의 설정 또는 갱신은 리라이트 지시 신호에 따라 이루어지고,The setting or updating of the operation information is performed according to a rewrite indication signal. 상기 리라이트 단계가 완료되었는지 아닌지를 판정하는 단계를 포함하며, Determining whether or not the rewrite step is completed; 상기 동작 정보에 따른 논리 신호는 상기 리라이트 지시 신호인 것을 특징으로 하는 비휘발성 기억장치의 정보 설정 방법. And the logic signal according to the operation information is the rewrite instruction signal. 제 5 항에 있어서, The method of claim 5, wherein 상기 리라이트 지시 신호에 따라, 상기 휘발성 기억부에 저장되어야 할 상기 동작 정보를 결정하는 단계를 포함하는 것을 특징으로 하는 비휘발성 기억장치의 정보 설정 방법. And determining the operation information to be stored in the volatile memory according to the rewrite instruction signal. 제 5 항에 있어서, The method of claim 5, wherein 상기 리라이트 지시 신호는 프로그램 지시 신호 또는 소거 지시 신호인 것을 특징으로 하는 비휘발성 기억장치의 정보 설정 방법. And the rewrite instruction signal is a program instruction signal or an erase instruction signal. 제 1 항에 있어서, The method of claim 1, 상기 비휘발성 기억부에 저장되어 있는 상기 동작 정보는 전원 공급에 따라서 상기 휘발성 기억부에 전송되는 것을 특징으로 하는 비휘발성 기억장치의 정보 설정 방법. And said operation information stored in said non-volatile memory is transferred to said volatile memory in accordance with power supply. 동작 정보를 저장하는 비휘발성 기억부와, 전원 공급중 상기 비휘발성 기억부에 저장되어 있는 상기 동작 정보를 저장해두는 휘발성 기억부를 구비한 비휘발성 기억장치로서, A nonvolatile memory device having a nonvolatile memory for storing operation information and a volatile memory for storing the operation information stored in the nonvolatile memory during power supply. 상기 동작 정보가 설정 또는 갱신되는 경우, 상기 비휘발성 기억부의 리라이트 종료시에, 상기 동작 정보에 따라서 논리 처리 가능한 논리 신호를 출력하는 식별부를 구비하고, When the operation information is set or updated, an identification unit for outputting a logic signal that can be logically processed in accordance with the operation information at the end of rewriting of the nonvolatile memory unit, 상기 식별부로부터 출력되는 논리 신호에 기초하여, 상기 휘발성 기억부에 상기 동작 정보가 저장되는 것을 특징으로 하는 비휘발성 기억장치. And the operation information is stored in the volatile storage unit on the basis of the logic signal output from the identification unit. 제9항에 있어서, The method of claim 9, 상기 식별부는 상기 비휘발성 기억부 내의 저장 정보를 독출해내는 증폭기이며, The identification unit is an amplifier for reading out the stored information in the nonvolatile memory unit, 상기 식별부로부터 출력되는 논리 신호는 상기 증폭기에 의하여 독출되는 상기 저장 정보이며, The logic signal output from the identification unit is the stored information read by the amplifier, 상기 휘발성 기억부에는 상기 저장 정보가 저장되는 것을 특징으로 하는 비휘발성 기억장치. And the storage information is stored in the volatile memory unit. 제 10 항에 있어서, The method of claim 10, 상기 비휘발성 기억부의 리라이트는, 상기 증폭기에 의하여 독출되는 상기 저장 정보가 상기 동작 정보와 일치할 때까지, 반복하여 이루어지고, Rewriting of the nonvolatile memory unit is repeated until the storage information read out by the amplifier matches the operation information, 상기 휘발성 기억부에 상기 저장 정보를 저장하는 것은, 상기 증폭기에 의하여 상기 저장 정보가 독출될 때마다 실시되는 것을 특징으로 하는 비휘발성 기억장치. The storing of the stored information in the volatile memory is performed whenever the stored information is read by the amplifier. 제 10 항에 있어서, The method of claim 10, 상기 증폭기에 의하여 독출되는 상기 저장 정보가 상기 동작 정보와 일치하는지 안하는지를 판정하는 일치 판정부를 구비하고, And a coincidence determination section for determining whether the stored information read out by the amplifier is consistent with the operation information, 상기 휘발성 기억부에 상기 저장 정보를 저장하는 것은, 상기 일치 판정부에 의한 일치 결과에 따라 실시되는 것을 특징으로 하는 비휘발성 기억장치. The storing of the storage information in the volatile storage unit is performed according to a matching result by the matching determination unit. 제 9 항에 있어서, The method of claim 9, 상기 비휘발성 기억부의 리라이트가 완료되었는지 아닌지를 판정하는 완료 판정부를 더 포함하고, A completion judging unit which determines whether or not rewriting of the nonvolatile storage unit is completed; 상기 식별부는 설정 또는 갱신되는 상기 동작 정보의 천이 방향에 따라서 리라이트 제어를 실시하는 리라이트 제어부이며, The identification unit is a rewrite control unit for performing a rewrite control in accordance with the transition direction of the operation information is set or updated, 상기 식별부로부터 출력되는 논리 신호는 상기 리라이트 제어부에 의하여 상기 동작 정보의 천이 방향에 따라 설정되는 리라이트 지시 신호이고, The logic signal output from the identification unit is a rewrite instruction signal set by the rewrite control unit according to the transition direction of the operation information, 상기 완료 판정부에 의한 판정에 따라, 상기 휘발성 기억부에는 상기 리라이트 지시 신호에 따른 상기 동작 정보가 저장되는 것을 특징으로 하는 비휘발성 기억장치. And the operation information according to the rewrite instruction signal is stored in the volatile storage unit according to the determination by the completion determination unit. 제 13 항에 있어서, The method of claim 13, 상기 리라이트 지시 신호에 따라, 상기 휘발성 기억부에 저장되어야 할 상기 동작 정보를 지시하는 리라이트 정보 지시부를 구비하는 것을 특징으로 하는 비휘발성 기억장치. And a rewrite information indicating unit for indicating the operation information to be stored in the volatile storage unit in accordance with the rewrite instruction signal. 제 13 항에 있어서, The method of claim 13, 상기 리라이트 지시 신호는 프로그램 지시 신호 또는 소거 지시 신호인 것을 특징으로 하는 비휘발성 기억장치. And the rewrite instruction signal is a program instruction signal or an erase instruction signal.
KR1020077011622A 2007-05-22 2004-10-26 Information setting method of nonvolatile storage device, and nonvolatile storage device KR100903695B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020077011622A KR100903695B1 (en) 2007-05-22 2004-10-26 Information setting method of nonvolatile storage device, and nonvolatile storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020077011622A KR100903695B1 (en) 2007-05-22 2004-10-26 Information setting method of nonvolatile storage device, and nonvolatile storage device

Publications (2)

Publication Number Publication Date
KR20070084468A KR20070084468A (en) 2007-08-24
KR100903695B1 true KR100903695B1 (en) 2009-06-18

Family

ID=38612826

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020077011622A KR100903695B1 (en) 2007-05-22 2004-10-26 Information setting method of nonvolatile storage device, and nonvolatile storage device

Country Status (1)

Country Link
KR (1) KR100903695B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR900006395A (en) * 1988-10-06 1990-05-08 김상웅 Method for producing aromatic polyester polymer
KR940022578A (en) * 1993-03-03 1994-10-21 세끼모또 타다히로 Method and apparatus for erasing and verifying nonvolatile semiconductor memory devices
KR20060008873A (en) * 2003-04-11 2006-01-27 이엠에스-케미 에이지 Flameproof polyamide moulding materials

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR900006395A (en) * 1988-10-06 1990-05-08 김상웅 Method for producing aromatic polyester polymer
KR940022578A (en) * 1993-03-03 1994-10-21 세끼모또 타다히로 Method and apparatus for erasing and verifying nonvolatile semiconductor memory devices
KR20060008873A (en) * 2003-04-11 2006-01-27 이엠에스-케미 에이지 Flameproof polyamide moulding materials

Also Published As

Publication number Publication date
KR20070084468A (en) 2007-08-24

Similar Documents

Publication Publication Date Title
TWI395229B (en) Method and apparatus for setting operational information of a non-volatile memory
US7082054B2 (en) Semiconductor storage device having page copying function
US6088281A (en) Semiconductor memory device
JP3916862B2 (en) Nonvolatile semiconductor memory device
JP3647996B2 (en) Nonvolatile semiconductor memory device and method for reading and programming the same
US6930954B2 (en) Non-volatile semiconductor memory device
US7415568B2 (en) Method and apparatus for initialization control in a non-volatile memory device
JP3730423B2 (en) Semiconductor memory device
KR20020025636A (en) Non-volatile memory and method of non-volatile memory programming
US20090248955A1 (en) Redundancy for code in rom
JP2009146474A (en) Nonvolatile semiconductor memory device
JP4619367B2 (en) Nonvolatile storage device
US6400624B1 (en) Configure registers and loads to tailor a multi-level cell flash design
KR100632939B1 (en) Memory system having flash memory where otp block is included
KR100903695B1 (en) Information setting method of nonvolatile storage device, and nonvolatile storage device
KR100661346B1 (en) Semiconductor memory device, method for accessing the same, and electronic information device using the same
KR100908541B1 (en) Copyback Program Method for Nonvolatile Memory Devices
KR100903697B1 (en) Nonvolatile storage device
KR100605107B1 (en) Flash memory device and read method thereof
CN114121118A (en) Semiconductor memory device and method for operating semiconductor memory device
JPH11283384A (en) Data storage device of non-volatile memory

Legal Events

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

Payment date: 20130531

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20140527

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee