Nonvolatile semiconductor memory device including correction of erratic memory cell data

Information

  • Patent Grant
  • 6525960
  • Patent Number
    6,525,960
  • Date Filed
    Tuesday, June 29, 1999
    25 years ago
  • Date Issued
    Tuesday, February 25, 2003
    21 years ago
Abstract
In the nonvolatile semiconductor memory device, a plurality of threshold voltages are associated with the programming of multi-valued information in one memory cell, data is first written into a memory cell having a threshold voltage which is the lowest or furthest away from the threshold voltage corresponding to the erase level, and data is successively written into memory cells having higher threshold voltages, namely, threshold voltages that are successively closer to the erase level, thereby overcoming threshold voltage fluctuations attributed to word line disturbance. The memory device features memory cells each of which has a control gate and a floating gate and facilitated for storing multi-level data; an array of word and data lines, each intersection of which corresponds to an individual memory cell; data latch circuits each of which is coupled to a data line and stores data to be written; and sense latch circuits each of which is coupled to a data line and stores readout data from memory cells coupled to a selected word line. In the nonvolatile memory, when occurrence of an erratic bit is detected based on data stored in the sense latch circuits and in the data latch circuits, the memory cell associated with that erratic bit is corrected.
Description




BACKGROUND OF THE INVENTION




The present invention relates to a semiconductor memory device, and to a technique which is particularly effective when applied to a memory system for multivalued information in a nonvolatile semiconductor memory device. By way of example, the technique is effective when utilized for a nonvolatile memory device (hereinafter referred to simply as a flash memory) in which a plurality of pieces of stored information can be electrically erased all at once.




In a flash memory, nonvolatile memory elements each having a control gate and a floating gate are used as memory cells, and each memory cell can be constructed of a single transistor. In such a flash memory, when a write operation is executed, as illustrated in

FIG. 10

, the drain region of the nonvolatile memory element is set at, for example, about 5 V (volts), while a word line with the control gate CG connected thereto is set at, for example, about −11 V, whereby electric charges are extracted from the floating gate FG by means of a tunnel current so as to render the threshold voltage of the memory element low (logical value “0”). When an erase operation is executed, as illustrated in

FIG. 11

, a well region, the drain region and a source region are set at about −4 V, by way of example, while the control gate CG is set at a high voltage, such as 12 V, whereby negative charges are injected into the floating gate FG by the generation of a tunnel current so as to render the threshold voltage high (logical value “1”). Thus, data of 1 (one) bit is stored in one memory cell.




There has been proposed the concept of a so-called “multivalued” memory wherein data of 2 or more bits is stored in one memory cell for the purpose of enlarging the memory capacity. An invention concerning such a multivalued memory is disclosed in, for example, PCT/JP95/02260.




SUMMARY OF THE INVENTION




In the multivalued memory disclosed in PCT/JP95/02260, data is written in three stages, as shown in FIG.


12


. More specifically, from the starting point of an erase level (threshold voltage of about 5 V), a memory cell whose threshold voltage is nearest to the erase level is first subjected to a write operation, and memory cells whose threshold voltages are farther from the erase level are thereafter subjected to a write operation. This is intended to shorten the time period taken to write multivalued data. In a write operation in a flash memory, however, a high voltage is applied not only to the control gate of the selected memory cell, but also to the control gates of nonselected memory cells which are coupled with a word line common to that of the selected memory cell. As is known, accordingly, each of the nonselected memory cells is brought into a weak written (disturbed) state, so that the threshold voltage thereof may fluctuate to change stored data. This phenomenon is known as word line disturbance.




Besides, the inventors have found that the memory cell whose threshold voltage is nearer to the erase level is more susceptible to the fluctuation of the threshold voltage attributed to the word line disturbance, than the memory cell whose threshold voltage is farther. It is considered that this is because the initial threshold voltage of each memory cell at the time of manufacture of a memory chip is much lower than the erase level, and the memory cells have a tendency of reverting to their initial threshold voltage when subjected to a disturbance.




However, it has been found that the data writing system disclosed in PCT/JP95/02260 is subject to a problem in that the fluctuations of the threshold voltages attributed to word line disturbance are great because the write operation is performed from the memory cell of a threshold voltage nearest to the erase level, as compared to the memory cells having more distant threshold voltages. More specifically, the data writing method, as shown in

FIG. 12

, has a drawback in that the memory cell (of data “01”) having a threshold voltage (lower than 1.5 V) farthest from the erase level does not undergo word line disturbance even once, whereas the memory cell (of data “10”) having a threshold voltage (about 3.2 V) nearest to the erase level, being most susceptible to the word line disturbance, undergoes the disturbance twice on the average.




Further, it has been found that the data writing method disclosed in PCT/JP95/02260 has a drawback in that, since a write pulse is fed to all the memory cells whose threshold voltages are to be shifted in the write operation of the first stage, the peak current in the write operation increases and the average power consumption also increases.




An object of the present invention is to provide a multivalued memory type nonvolatile semiconductor memory device wherein the fluctuations in the threshold voltages of memory cells attributed to word line disturbance can be minimized.




Another object of the present invention is to provide a nonvolatile semiconductor memory device whose peak current and average power consumption in a write operation can be decreased.




The above and other objects and novel features of the present invention will become more apparent from the description of this specification taken in conjunction with the accompanying drawings.




A typical aspect of the present invention will be briefly outlined below.




In a nonvolatile semiconductor memory device wherein a plurality of threshold voltages are determined so as to store multivalued information in one memory cell, data is first written into a memory cell whose threshold voltage is the farthest from the erase level, and data is thereafter written into memory cells whose threshold voltages are nearer to the erase level, in succession. In other words, with the erase level used as a written state, data is first written into a memory cell having the lowest threshold voltage, and data is thereafter successively written into memory cells having higher threshold voltages.




Thus, the number of word line disturbances which affect the memory cell having a threshold voltage nearest to the erase level and being most influenced by word line disturbance can be decreased, and the fluctuation of the threshold voltages attributed to word line disturbance can be minimized.




Moreover, owing to this feature, the number of data lines which must be precharged by one writing operation and the total number of data lines which must be precharged from the start of a write operation to the end thereof can be made smaller than conventional, thereby to reduce the peak current and average power consumption in a write operation.











BRIEF DESCRIPTION OF THE DRAWINGS





FIG. 1

is an explanatory diagram showing the outline of a data writing method for a multivalued flash memory according to the present invention;





FIG. 2

is a circuit diagram showing an example of the construction of a memory array of a multivalued flash memory according to the present invention;





FIG. 3

is a circuit diagram showing practical examples of a sense latch circuit (SLT) and a data latch circuit (DLT);





FIG. 4

is a logic circuit diagram showing an embodiment of a data conversion circuit according to the present invention, which converts write data of 2 bits into quaternary data;





FIG. 5

is a timing chart showing the data input timings of the write operation of the multivalued flash memory of the embodiment;





FIG. 6

is a flowchart showing the write procedure of the multivalued flash memory of the embodiment;





FIG. 7

is a timing chart showing the signal timings in transferring data from the data latch circuit (DLT) to the sense latch circuit (SLT);





FIG. 8

is a timing chart showing the timings of the practical procedure of the detection of an erratic bit;





FIG. 9

is a schematic block diagram showing the whole of the embodiment of the multivalued flash memory according to the present invention;





FIG. 10

is a schematic diagram showing the structure of a memory cell for use in the flash memory of the embodiment, and the voltage state in data writing operation of the memory cell;





FIG. 11

is a schematic diagram showing the voltage state of the erasing operation of the memory cell for use in the flash memory of the embodiment; and





FIG. 12

is an explanatory diagram showing the outline of a data writing method for a multivalued flash memory according to a prior application.











DESCRIPTION OF THE PREFERRED EMBODIMENTS




Now, various embodiments of the present invention will be described with reference to the drawings in relation to the case where the invention is applied to a flash memory which is capable of storing a quaternary value in one memory cell.





FIG. 1

illustrates the data writing sequence of a flash memory in one embodiment of the present invention. In this embodiment, all the memory cells thereof are brought into the threshold voltage region (the threshold voltages are at least 4 V and the stored data is “11”) of the erase level prior to the writing operation. Subsequently, as shown in

FIG. 1

, data is written into the memory cell (stored data is “01”) whose threshold voltage region (the threshold voltage is higher than 0 V and not higher than 1.4 V) is the farthest (lowest) from the erase level. Thereafter, the data is written into the memory cell (stored data is “00” whose threshold voltage region (the threshold voltage is not lower than 1.6 V and not higher than 2.4 V) is the second farthest (second lowest) from the erase level. Lastly, the data is written into the memory cell (stored data is “10”) whose threshold voltage region (the threshold voltage is not lower than 2.6 V and not higher than 3.2 V) is the nearest to the erase level.




Thus, the number of word line disturbances affecting the memory cell (the stored data is “01”), whose threshold voltage region is the farthest from the erase level and is little affected by the word line disturbance, becomes 2, but the number of the word line disturbances affecting the memory cell (the stored data “10”), whose threshold voltage region is the nearest to the erase level and is most affected by the word line disturbance, can be reduced to zero. Accordingly, compared with the method shown in

FIG. 12

in which data is written from the memory cell nearest to the erase level, the method of this embodiment can suppress to smaller values the fluctuation of the threshold voltages attributed to word line disturbance.





FIG. 2

illustrates a practical example of a memory array


10


, which will be explained later with reference to FIG.


9


. The memory array


10


of this embodiment comprises two memory mats, one (the upper one) of which is illustrated in FIG.


2


. As seen from the drawing, each memory mat comprises memory cell columns MCC disposed in the row direction (in the direction of word lines WL) and in the column direction (in the direction of data lines DL), and each of which includes n parallelly-connected memory cells (MOSFETs, each having a floating gate) MC


1


-MCn that are arrayed in the column direction and that have their sources and drains connected in common. In each memory cell column MCC, the drains and sources of the n memory cells MC


1


-MCn are respectively connected to a common local drain line LDL formed of a diffused layer and to a common local source line LSL formed of a diffused layer. The local drain line LDL is connected through a switching MOSFET Qs


1


to the data line DL which is formed of a metallic interconnection layer made of, for example, aluminum. The local source line LSL is connected through a switching MOSFET Qs


2


to a common source line CSL, which also is formed of a metallic interconnection layer made of, for example, aluminum, and which is fed with the ground potential or a negative voltage.




Those of the plurality of memory cell columns MCC which are disposed in the word line direction are formed within the same well region WELL on a semiconductor substrate. In the data erasing operation of the flash memory, the negative voltage of, e.g., −4 V is applied to the well region, and a voltage of, e.g., 12 V is applied to the word lines associated with the common well region, whereby the all-at-a-time erasure of the flash memory is realized. By the way, in the data erasing operation, all the switching MOSFETs Qs


1


and Qs


2


formed in the common well region are brought into ON states so as to apply the negative voltage of −4 V to the sources and drains of the memory cells.




On the other hand, in the data writing operation of the flash memory, a negative voltage of, e.g., −11 V is applied to the word line to which a selected one of the memory cells is connected, the data line DL corresponding to the selected memory cell is set at a potential of, e.g., 5 V, and the switching MOSFET Qs


1


on the local drain line LDL to which the selected memory cell is connected is brought into an ON state so as to apply the voltage of 5 V to the drain of the selected memory cell. In this case, however, the switching MOSFET Qs


2


on the pertinent local source line LSL is held in an OFF state. Further, in the data reading operation of the flash memory, a voltage of, e.g., 1.5 V, 2.5 V or 3.3 V is applied to the word line to which the selected memory cell is connected, the data line DL corresponding to the selected memory cell is precharged to a potential of, e.g., 1 V, and the switching MOSFET Qs


1


on the local drain line LDL to which the selected memory cell is connected is brought into the ON state. At this time, the switching MOSFET Qs


2


on the local source line LSL is brought into the ON state and the ground potential of 0 V is applied thereto.




Connected to one end of each data line DL (on the center side of the memory array) is a sense latch circuit SLT which detects the level of the data line in the read operation and which impresses a potential corresponding to write data in the write operation, while the other end of each data line DL is connected to a data latch circuit DLT which holds the write data and read data. Since the memory array of this embodiment is configured of two mats, a memory mat similar to the one described above is also arranged on the opposite side to the sense latch circuits SLT, that is, on the bottom side of the drawing, and respective data lines DL in the lower memory mat are connected to the other input/output terminals of the corresponding sense latch circuits SLT in the upper memory mat.





FIG. 3

illustrates examples of the specific circuits of the sense latch circuit SLT and the data latch circuit DLT. Since the circuit of the memory array is symmetric with respect to the sense latch circuits SLT, a part of the circuit in relation to only one data line DL included in one memory mat is shown. In addition, only one of the memory cell columns MCC connected to the data line DL is shown for convenience, but actually the plurality of memory cell columns MCC are connected. As shown in the drawing, the sense latch circuit SLT includes a flip-flop circuit FF


1


in which the input/output terminals of two CMOS (complementary MOS) inverters each consisting of a P-channel MOSFET and an N-channel MOSFET are cross-coupled to each other. One end of the data line DLa within one memory mat is connected to one input/output node Na of the sense latch circuit SLT through a data transfer MOSFET Qt


1


. Similarly, one end of the data line DLb within the other memory mat is connected to the other input/output node Nb of the sense latch circuit SLT through a data transfer MOSFET Qt


1


′.




Further, discharging MOSFETs Qd


1


and Qd


1


′ are respectively connected to the input/output nodes Na and Nb of the sense latch circuit SLT, and a discharging MOSFET Qd


2


is connected also to the other end of the data line DLa. The precharging MOSFETs Qp


1


and Qp


2


are connected to each data line DL, and one Qp


1


of them is connected through another MOSFET Qc


1


to a terminal which is fed with a supply voltage Vcc or the ground potential Vss. Write data can be input from a data conversion circuit, which will be described later, to the input/output nodes Na and Nb of the sense latch circuit SLT through a common input/output line not shown.




Similarly to the sense latch circuit SLT, the data latch circuit DLT includes a flip-flop circuit FF


2


in which the input/output terminals of two CMOS inverters each consisting of a P-channel MOSFET and an N-channel MOSFET are cross-coupled to each other. The data line DLa within the memory mat is connected to one input/output node Nc of the data latch circuit DLT through a data transfer MOSFET Qt


2


, A discharging MOSFET Qd


3


is connected to the input/output node Nc of the data latch circuit DLT, and MOSFETs Qp


3


and Qc


2


which are turned on/off, depending upon the level of a precharge signal PC_U and the potential of the input/output node Nc, are connected in series between the data line DLa and the supply voltage Vcc.




Further, the write-data can be input from the data conversion circuit, which will be described later, to the input/output node Nc of the data latch circuit DLT through the common input/output line not shown. Although not depicted in

FIG. 3

, the data latch circuit DLT constructed of a flip-flop circuit for holding the write data transmitted from the data conversion circuit is arranged also at the other end of the data line DLb which is connected to the input/output node Nb of the sense latch circuit SLT.





FIG. 4

illustrates the data conversion circuits


20


, by which externally inputted data to be stored is converted into multivalued data to be stored in the memory cells, and the relations of the data conversion circuits


20


with a sense latch array


11


and data latch arrays


12




a


and


12




b,


which are included in the memory array


10


. Each data conversion circuit


20


is constituted by an input buffer unit


21


and a data conversion unit


22


, and data of 8 bits can be input in parallel in pairs of 2 bits. One set of an input buffer unit


21


and a data conversion unit


22


is shown in detail in

FIG. 4

, and will be described below.




The input buffer unit


21


of one data conversion circuit includes two clocked inverters INV


1


and INV


2


, and two latch circuits LT


1


and LT


2


. The data conversion unit


22


includes inverters INV


11


and INV


12


, which are respectively connected to the relevant latch circuits LT


1


and LT


2


, three NAND gate circuits G


1


, G


2


and G


3


, which receive the outputs of the two inverters INV


11


and INV


12


and the outputs of the latch circuits LT


1


and LT


2


as input signals, inverters INV


21


, INV


22


and INV


23


, which invert the outputs of the respective gate circuits G


1


, G


2


and G


3


, and transfer gates TG


1


, TG


2


and TG


3


, which are made up of MOSFETs connected to the respective inverters TG


1


, TG


2


and TG


3


. Thus, the input data of 2 bits is converted into data of 3 bits, and data of 3 bits×4 is outputted as a whole.




Table 1 below shows an example of data conversion by the data conversion circuit 20.

















TABLE 1









Write Data




I/O 0




I/O 1




DLU [1]




SL [1]




DLD [1]











01




0




1




0




1




0






00




0




0




1




0




0






10




1




0




0




0




1






11




1




1




0




0




0














As listed in Table 1, write data “01” is converted into 3-bit data “010”, write data “00” is converted into 3-bit data “100”, write data “10” into 3-bit data “001”, and write data “11” is converted into 3-bit data “000”. After the conversion, the data is written into only the memory cell which corresponds to the bit corresponding to “1”, and no data is written into the memory cells which correspond to the bits corresponding to “0”.




Data of 3 bits, obtained by converting two bits out of the 8 bits of the write data, which is received by the data conversion circuit


20


and supplied through the external terminals I/O


0


and I/O


1


, are respectively transferred to and held in the first latch circuits (DLU


1


, SL


1


and DLD


1


) of the data latch arrays


12




a


and


12




b


which are arranged at both ends of the memory array


10


(at the top and bottom of

FIG. 4

) and the sense latch array


11


which is arranged at the center of the memory array


10


. Data of 3 bits, obtained by converting two bits of the 8-bit write data supplied through the external terminals I/O


2


and I/O


3


, are respectively transferred to and held in the second latch circuits (DLU


2


, SL


2


and DLD


2


) of the data latch arrays


12




a


and


12




b


of the memory array


10


and the sense latch array


11


thereof.




Similarly to the above, 3-bit data, obtained by converting the two bits of the 8-bit write data supplied through the external terminals I/O


4


and I/O


5


, are respectively transferred to and held in the third latch circuits (DLU


3


, SL


3


and DLD


3


) of the data latch arrays


12




a


and


12




b


and the sense latch array


11


. Also, 3-bit data, obtained by converting the two bits of the 8-bit supplied through the external terminals I/O


6


and I/O


7


, are respectively transferred to and held in the fourth latch circuits of the data latch arrays


12




a


and


12




b


and the sense latch array


11


. The 8-bit write data subsequently input are respectively converted by the data conversion circuits


20


, and the resulting 3-bit data are respectively transferred to and held in the fifth-eighth latch circuits of the data latch arrays


12




a


and


12




b


and the sense latch array


11


.




When all the write data has been stored in all the latch circuits of the data latch arrays


12




a


and


12




b


and the sense latch array


11


by repeating the operations described above, a control circuit which will be described later, and which is included in the memory, starts a write sequence in which the data held in the sense latch array


11


is first written, the data held in the data latch array


12




a


is subsequently written, and the data held in the data latch array


12




b


is thereafter written. Incidentally, the control circuit is so constructed as to perform controls in compliance with commands which are input from, e.g., a CPU outside the flash memory.





FIG. 5

illustrates the timings of a data writing operation. As seen from the chart, in the data writing operation, a write command commanding the control circuit to write data is first input, and the addresses (sector addresses) add


1


and add


2


of the word lines to which the memory cells where the data is written are coupled are subsequently input. The write command and the addresses are inputted in synchronism with the trailing edge of the pulse of a write enable signal /WE. In this case, the command and the addresses are distinguished by a control signal (command data enable signal) /CDE which is simultaneously input. More specifically, the low level of the signal /CDE indicates that the command or data is being input, while the high level thereof signifies that the addresses are being input.




The addresses add


1


and add


2


are followed by the first write data D


1


of 8 bits to be stored in one sector (the memory cells connected to one word line), and the 8-bit data D


1


is received by the four input buffer units


21


in synchronism with a clock SC. Subsequently, the transfer gates TG


1


-TG


3


are turned on by a gate control signal YG after the data conversion by the data conversion circuits


20


, and the write data of 3 bits×4 are successively transferred to and held in the data latch arrays


12




a


and


12




b


and the sense latch array


11


. Thereafter, the input write data D


2


, D


3


, . . . , D


528


received in units of eight bits are sequentially converted and the resulting data is stored in the sense latch array


11


and the data latch arrays


12




a


and


12




b.


When the transfer of the write data for one sector ends, a write start command for starting the write operation is input from outside the flash memory and is received, and the command is decoded to execute the write sequence. Thus, the data for one sector is simultaneously written.




In the memory array


10


, the memory elements connected to the data lines where the data stored in the sense latch array


11


and the data latch arrays


12




a


and


12




b


are “1” are subjected to a write operation, in other words, to impression of write pulses. In this way, the threshold voltages of the individual memory elements are shifted as shown in

FIG. 1

, and quaternary data can be written into one memory cell.

FIG. 6

illustrates the write control procedure.




Referring to

FIG. 6

, after a write command, write sector addresses and write data are inputted, and, at the first step S


1


(write data are transferred to latches


1


-


3


), the data converted by the data conversion circuit


20


is transferred to the sense latch array


11


and the data latch arrays


12




a


and


12




b.


The second and later steps S


2


, . . . are a control sequence which is started by the input of the write start command.




In the control sequence, first, each word line selected by decoding the write address already received is set at a potential of, e.g., −11 V (step S


2


). Simultaneously, the transfer MOSFETs Qt


1


on the data lines are turned on, and the data lines having the data “1” are set at a potential of, e.g., 5 V in accordance with data held in the sense latch array


11


at this time, thereby to write the data. Subsequently, the data lines are precharged to a potential of, e.g., 1 V, and the selected word line is set at a voltage of, e.g., 1.5 V, thereby to read the data for verification. At this time, the data read out of each memory cell, in which the write operation is performed normally, to the sense latch array


11


changes to “0”. It is therefore judged whether or not all the data held in the sense latch array


11


are “0” (step S


3


). When the data “1” remains at any bit of the sense latch array


11


, only the memory cells having undergone the write operation are subjected to a write operation again by the use of the data held in the sense latch array


11


(step S


4


).




When, as a result of the verification judgment, all the data of the sense latch array


11


have become “0”, the write operation proceeds to the step S


5


, at which data held in the data latch array


12




a


is transferred to the sense latch array


11


. Then, the selected word line is set at a potential of, e.g., −10.5 V which is somewhat lower than that at the step S


2


(step S


6


). Subsequently, the transferred data is written on the basis of the data held in the sense latch array


11


. Thereafter, the data is read for verification by setting the selected word line at a voltage of, e.g., 2.5 V, to judge whether or not all the data held in the sense latch array


11


is “0” (step S


7


). When the data “1” remains at any bit of the sense latch array


11


, only the memory cells not having undergone the write operation are subjected to the write operation again by the use of the data held in the sense latch array


11


(step S


8


).




When, as a result of the verification judgment, all the data of the sense latch array


11


have become “0”, the write operation proceeds to the step S


9


, at which data held in the data latch array


12




b


is transferred to the sense latch array


11


. Then, the selected word line is set at a potential of, e.g., −10 V which is still somewhat lower than that at the step S


6


(step S


10


). Subsequently, the transferred data is written on the basis of the data held in the sense latch array


11


. Thereafter, the data is read for verification by setting the selected word line at a voltage of, e.g., 3.3 V, to judge whether or not all the data held in the sense latch array


11


are “0” (step S


11


) When the data “1” remains at any bit of the sense latch array


11


, only the memory cells not having undergone the write operation are subjected to the write operation again by the use of the data held in the sense latch array


11


on (step S


12


).




By executing the steps described, data is written in the memory cells, from the one whose threshold voltage is in the lowest threshold region from the erase level as a write state, and successively the ones whose threshold voltages are higher, after which the write operation is ended. Thus, the number of word line disturbances affecting the memory cell whose threshold voltage region is the nearest to the erase level (that is, the memory cell whose threshold voltage region is the highest as a write state) can be reduced to minimize the fluctuation of the threshold voltages of the memory cells attributed to word line disturbances. Moreover, in the embodiment, the absolute values of the voltages of the write word line are gradually decreased as −11 V, −10.5 V and −10 V. Therefore, the amount of disturbance occurring in one write operation lowers gradually, so that the fluctuation of the threshold voltages can be further decreased. However, the widths of the write pulses may be gradually narrowed instead of gradually lowering the write voltages. The input operation of the addresses and data and the data write operation may be started according to an external control signal, without utilizing the command.




Next, a specific example of a method for transferring the data from the data latch arrays


12




a


and


12




b


to the sense latch array


11


at the steps S


5


and S


9


in

FIG. 6

will now be described with reference to the circuit diagram of FIG.


3


and the timing chart of FIG.


7


.




(1) First, the power supply voltage of the PMOS side of the sense latch circuit SLT is set at the ground potential Vss to bring this sense latch circuit SLT into its inactive state, and a reset pulse RSA_CU is impressed on the gate of the discharging MOSFET Qd


1


, thereby to extract electric charges at the node Na.




(2) The gate control signal PC_U for the precharging MOSFET Qp


3


of the data latch circuit DLT is brought to a high level so as to precharge the data line DLa up to a voltage (Vcc−Vth) by the use of the data held in the data latch circuit DLT.




(3) A gate control signal TR_U for the transfer MOSFET Qt


2


of the data latch circuit DLT is brought to a high level so as to further precharge the data line DLa up to the voltage Vcc by the use of the data held in the data latch circuit DLT.




(4) A gate control signal TR_CU for the transfer MOSFET Qt


1


on the sense latch circuit SLT side is brought to a high level so as to transfer the level of the data line DLa to the node Na.




(5) The supply voltage Vcc is fed to the PMOS side of the sense latch circuit SLT to bring this sense latch circuit SLT into an active state, thereby to definitely fix the potential of the node Na, in other words, the data held in this circuit SLT.




(6) Subsequently, the gate control signal TR_CU for the transfer MOSFET Qt


1


is brought to a low level to turn off this MOSFET Qt


1


, and a gate control signal DDC_U for the discharging MOSFET Qd


2


at the other end of the data line DLa is brought to a high level, thereby to discharge the potential of the data line DLa down to the ground potential Vss.




The operations as stated above are performed simultaneously for all the data lines, whereby the data transfer from the data latch arrays


12




a


and


12




b


to the sense latch array


11


can be effected.




Further, in the memory array of the above construction, a so-called erratic bit can be detected by a method described below, and in the case of the flash memory of this embodiment, a sequence for detecting an erratic bit and then correcting the detected erratic bit is provided. Here, the erratic bit is a bit in which data is written erroneously because the threshold voltage of a memory cell, among the memory cells on which the same write pulse has been impressed, has suddenly lowered excessively on account of an unknown cause. More specifically, it is empirically known that, in spite of the impression of a write pulse for establishing a threshold voltage corresponding to data “00” or a write pulse for establishing a threshold voltage corresponding to data “10”, the threshold voltage occasionally lowers excessively and a memory cell which has a threshold voltage corresponding to data “01” is created.




In this embodiment, therefore, the erratic bit is detected by a method in which, in writing data into the memory cells corresponding to the data “00” and the data “10”, the write data is left in the data latch circuits, and that, after having written data, the written data being read out is fed to the sense latch circuits so as to compare it with the write data on the data lines. Specific steps for such detection will now be described with reference to FIG.


3


and FIG.


8


.




(1) After having written data, each data line DLa is selectively precharged to a level of, e.g., 1.0 V by using the write data held in the data latch circuit DLT. That is, only the data line connected to the data latch circuit which holds the data “1” therein is precharged. Incidentally, each data line DLb of the mat on the opposite side is precharged to 0.5 V on this occasion.




(2) The word line to which the memory cells subjected to the write operation are connected is set at a read level lower than a target threshold voltage, whereupon written data is read. On this occasion, the memory cell which has undergone a normal write operation is in an OFF status, so that the associated data line remains unchanged at the precharge potential. In contrast, the memory cell of the erratic bit becomes into an ON state, so that the associated data line is discharged.




(3) The transfer MOSFETs Qt


1


on the data lines are turned on so as to detect the levels of these data lines by the sense latch circuits SLT.




(4) The power supply voltage Vcc is fed to the sense latch circuits SLT so as to amplify the detected data line levels.




(5) The discharging MOSFETs Qd


2


on the data lines are turned on so as to discharge all the data lines.




(6) Using the write data held in each data latch circuit DLT, the data line DLa is selectively precharged to the level of, e.g., 1.0 V again. The data line DLb of the mat on the opposite side is precharged to 0.5 V.




(7) The MOSFET Qc


1


is selectively turned on by using the data held in each sense latch circuit SLT, and the power supply terminal corresponding thereto is set at the ground potential Vss, whereby the data line DLa is selectively discharged. In this case, the transfer MOSFET Qt


1


on each data line is in an OFF state. Thus, the data line, to which the memory cell which has undergone a normal write operation is connected, is discharged, whereas the data line to which the memory cell having an erratic bit is connected is not discharged.




(8) The power supply voltage Vcc of each sense latch circuit SLT is cut off, and the discharging MOSFET Qd


1


is turned on, thereby to reset the sense latch circuit SLT.




(9) The transfer MOSFET Qt


1


on each data line is turned on so as to detect the level of the data line by the sense latch circuit SLT. The discharging MOSFET Qd


1


is turned off.




(10) The power supply voltage Vcc is fed to each sense latch circuit SLT so as to amplify the detected data line level.




Owing to the steps described, the data “1” is held in each sense latch circuit SLT to which the memory cell having an erratic bit is connected. Accordingly, whether or not the data “1” remains in the sense latch circuit SLT is checked by a write/erase judging circuit


33


, which will be described later (refer to FIG.


9


), whereby the occurrence of the erratic bit can be detected and reported to the outside by erecting an error flag. Moreover, the erratic bit is brought into an erased state, and data is written into the pertinent memory cell again by the use of the data remaining in the sense latch circuit SLT, whereby erroneous data can be corrected.




By the way, since the erratic bit is due to the phenomenon in which the threshold voltage lowers excessively, the data of the memory cell of the lowest threshold voltage does not become erroneous in the read operation even in the case of an erratic bit being developed during the write operation. The reason therefor is that, when the lowest read level (1.7 V) is applied to the corresponding word line, the memory cell of the erratic bit enters into an ON state similarly to a memory cell which has undergone a normal write operation. Assuming that the threshold voltage of the erratic bit has become lower than 0 V, the read data of the pertinent memory cell becomes “1” by activating the sense latch circuit SLT with the word line held at 0 V, because this memory cell is held in an ON state. Therefore, even when the write data does not remain, the erratic bit can be detected. In the embodiment, the write operation of the memory cell of the lowest threshold voltage is first performed. Therefore, even when the write data used in the first write operation has been lost from the sense latch circuit, there is no obstruction in detecting the erratic bit.




Next, an ordinary readout operation will be described, in which the data of each memory cell is outputted to the outside of the flash memory through external terminals. Data is read by a method in which, with the word line WL activated, the potentials of the control gates of the memory cells are changed in three stages (to intermediate voltages between the threshold voltages) as in the verification operation described before, a voltage of 1 V is applied to the drain of the selected memory cell through the data line DL, and the local source line LSL is connected to the ground point. The memory cell whose threshold voltage is lower than the level of the word line is brought into an ON state, so that the data line to which this memory cell is connected is discharged to the ground potential. In contrast, the memory cell whose threshold voltage is higher than the level of the word line is brought into an OFF state, so that the data line to which this memory cell is connected is left intact at 1 V. The resulting potential of the data line is detected by the sense latch circuit SLT or the data latch circuit DLT, whereby primary read data is obtained.




More specifically, when the read operation has been started, the level of a selected word line is first set at 3.5 V so as to read data out of a selected memory cell and to hold the read data in the data latch array


12




a.


Subsequently, the level of the selected word line is set at 2.7 V so as to read data out of the selected memory cell and to hold the read data in the data latch array


12




b.


Lastly, the level of the selected word line is set at 1.7 V so as to read data out of the selected memory cell and to hold the read data in the sense latch array


11


. In this way, three sorts of data are successively read out of the identical memory cell and held in the data latch arrays


12




a


and


12




b


and the sense latch array


11


by changing the word line level in the three stages. Therefore, the same read data as the written data can be restored in units of two bits by subjecting the data read to a logic operation for inverse conversion.




Table 2 below shows the stored data of the memory cell, the primary read data to be held in the latches, and the read data after the inverse conversion.

















TABLE 2









Memory




First Read




Second Read




Third Read




Read




Data






Data




Vwr = 3.5 V




Vwr = 2.7 V




Vwr = 1.7 V




I/O 0




I/O 1











01




0




0




0




0




1






00




0




0




1




0




0






10




0




1




1




1




1






11




1




1




1




1




1














Incidentally, although the inverse conversion may be performed by disposing circuits for the logic operation in the data conversion circuit


20


, it can also be executed by a method in which the wired logic (OR or exclusive OR) of the data held in the data latch arrays


12




a


and


12




b


and the sense latch array


11


is taken using the data lines laid in the memory array


10


. The read operation is executed upon receiving a command which instructs the control circuit


32


to read data.

FIG. 9

illustrates an example of the construction of the whole multivalued flash memory


1


in which the memory array


10


, data conversion circuit


20


and control circuit


32


are provided on an identical semiconductor chip together with the peripheral circuits of this memory


1


.




Although not especially restricted thereto, the flash memory


1


of this embodiment comprises a command decoder


31


which decodes a command given through external terminals I/O from, e.g., an external CPU, and a control circuit (sequencer)


32


which successively generates and outputs control signals for the various internal circuits of the memory


1


in order that processes corresponding to a command may be executed on the basis of the results of decoding by the command decoder


31


. Thus, the flash memory


1


is so designed that, when the command is given, it is decoded so as to automatically execute the corresponding processes. The control circuit


32


is constructed of, e.g., a ROM (read-only memory) in which a series of microinstructions required to execute the command are stored, similarly to the control unit of a CPU of a microprogram system. The microprogram is started by a method in which the command decoder


31


generates the first address of the microinstructions corresponding to the command and gives them to the control circuit


32


.




In

FIG. 9

, circuit portions which are designated by the same symbols as in

FIG. 4

designate circuits having the same functions. More specifically, numeral


10


designates the memory array which is configured of two memory mats MAT-A and MAT-B, and numeral


20


designates a data conversion circuit by which write data, which has been inputted from the outside, is converted into four-valued data for every unit of two bits. Numeral


11


designates the sense latch array for holding the converted write data and read data therein, while symbols


12




a


and


12




b


denote the data latch arrays.




The memory array


10


includes address decoders


13




a


and


13




b


of an X-system which decode address signals and then select word lines corresponding to the respective memory mats MAT-A and MAT-B, and word drive circuits


14




a


and


14




b


by which a predetermined voltage generated by and fed from an internal voltage generator circuit


37


, which will be described later, is fed to one selected word line WL in each of the respective memory mats MAT-A and MAT-B in accordance with the results of the decoding by the corresponding decoders


13




a


and


13




b.


Although not especially restricted thereto, the memory array


10


of this embodiment has word drive circuits


14




a


and


14




b


arranged on both sides and at the center of the respective memory mats MAT-A and MAT-B. Although not shown in

FIG. 2

nor

FIG. 3

, address decoder circuits of the Y-system and column switches, which are selectively turned on/off by the address decoder circuits so as to transfer the output data of the data conversion circuit


20


to the corresponding sense latches, are constructed unitarily with the sense latch array


11


. In

FIG. 9

, the Y-system decoder circuit, column switches and sense latch circuits are illustrated as one functional block Y-DEC&SLT.




In addition to the circuits described above, the multivalued flash memory


1


of this embodiment includes the following circuits: a write/erase decision circuit


33


which functions to perform a write or erase operation to judge if the write or erase of data has ended, on the basis of the data of the sense latch array


11


, and to inform the control circuit


32


of the result of this judgment so as to end a write sequence or erase sequence; a clock generator circuit


34


which generates timing clock signals necessary for the internal operations of the memory


1


, and feeds the signals to the corresponding circuits in the memory


1


; a status & test circuit


35


which has the function of generating and outputting a ready/busy signal R/B reflecting the internal status of the memory


1


and representing whether or not an external access is possible, to the outside of the memory


1


, and the function of testing the internal circuits of the memory


1


; a main amplifier circuit


36


, which amplifies signals read out of the memory array


10


; an internal voltage generator circuit


37


fed with the power supply voltage Vcc (3.3 V) and the ground potential Vss through power supply terminals; input/output buffer circuits


39


, which receive address signals, write data signals and commands externally inputted through the external terminals I/O and then feed the signals and commands to the predetermined circuits inside the memory


1


, and output read data signals outside the memory


1


; a control signal input buffer & input/output control circuit


38


, which receives control signals inputted from outside and then feeds them to the control circuit


32


and other predetermined circuits inside the memory


1


, and controls the input/output buffer circuits


39


; an address control circuit


40


; and a redundancy circuit


41


for replacement with an auxiliary memory row when a defective bit is present in the memory array


10


.




In the flash memory


1


of this embodiment, the external terminals (pins) I/O are shared by the address signals, write data signals and command inputs. The input/output buffer circuits


39


therefore receive these input signals in distinction from one another in accordance with control signals from the control signal input buffer & input/output control circuit


38


, and then feed the signals to the predetermined internal circuits. The internal voltage generator circuit


37


includes a reference power supply circuit which generates reference voltages, such as a substrate potential, an internal power supply circuit, which is constructed of a charge pump etc. and which generates voltages required within the chip, such as a write voltage, an erase voltage, a read voltage and a verify voltage, from the basis of the externally fed power supply voltage Vcc, a power supply voltage switch circuit which selects a desired voltage from among the generated voltages in accordance with the operating status of the memory


1


and then feeds the selected voltage to the memory array


10


, and a power supply control circuit which controls these circuits.




The address control circuit


40


includes an address counter ACNT, which receives the address signals externally inputted and then counts them up, an address generator AGEN, which automatically updates the Y-addresses in a data transferring operation and automatically generates X-addresses in a data erasing operation etc., and a remedy circuit which compares an input address with a defective address and which changes-over a selected memory row or column when the addresses have agreed with each other.




The control signals which are input from the external CPU or the like to the flash memory


1


of this embodiment include, for example, a reset signal RES, a chip selection signal CE, a write control signal WE, an output control signal OE, a command enable signal CDE representing if an input signal is a command, a data input or an address input, and a system clock SC.




Incidentally, as an external device for controlling the multivalued flash memory


1


of the above embodiment, any device which can facilitate an address generating function and a command generating function, such as a general-purpose microcomputer LSI (large-scale integrated circuit), can be adopted.




As thus far described, in the above embodiment, in a nonvolatile semiconductor memory device wherein a plurality of threshold voltages are set so as to store multivalued information in one memory cell, data is first written into the memory cell whose threshold voltage is the farthest from the erase level (that is, whose threshold voltage is the lowest as the written state), and data is successively written into memory cells whose threshold voltages are higher. It is therefore possible to reduce the number of word line disturbances affecting the memory cell whose threshold voltage is the nearest to the erase level and which is most susceptible to the word line disturbance. Accordingly, the embodiment brings forth the effect that the fluctuation of the threshold voltage attributed to the word line disturbance can be minimized.




Write methods of the prior art have a problem in that a write pulse is impressed on all memory cells to shift their threshold voltages, in the write operation of the first stage, so that the peak current in the write operation increases and the average power consumption increases. In contrast, in the embodiment, write pulses may be impressed on the memory cells of all different target threshold voltages. Therefore, the number of data lines which must be precharged by one writing operation and the total number of data lines which must be precharged from the start of a write operation to the end thereof can be made smaller than that of the prior-art. Accordingly, the embodiment brings forth the effect that the peak current and average power consumption of the write operations can be reduced.




Moreover, in the embodiment, the voltage of the write word line is controlled so that the absolute value thereof may decrease gradually in accordance with the target threshold voltage. Therefore, the amount of disturbance will lower gradually in one write operation, so that the fluctuation of the threshold voltages can be further reduced.




Furthermore, in the embodiment, the memory array is configured of the two mats, the data line in each mat is connected to its input/output terminal, the sense latch circuits capable of holding one bit out of 3-bit data converted by the data conversion circuit are arranged between the two mats, the data latch circuits capable of holding another bit out of the 3-bit data converted by the data conversion circuit are arranged outside the mats, and data is transferred through the data lines between the data latch circuits and the sense latch circuits. The embodiment therefore brings about the effects that any register for holding therein data resulting from the conversion need not be disposed on the data conversion circuit side, and the detection of an erratic bit is easily realized.




While the invention made by the inventors has been specifically described above in conjunction with an embodiment, it is needless to say that the present invention is not restricted to the foregoing embodiment, and it can be variously altered within a scope not departing from the purport thereof. For example, in the embodiment, the threshold voltages of memory cells are set at four levels so as to store quaternary data in one memory cell, however the present invention is also applicable to a nonvolatile memory in which the threshold voltages of memory cells are set at three levels or at five or more levels.




Besides, in the embodiment, the conversion shown in Table 1 is executed as one example of the method which converts 2-bit data into quaternary data. However, the conversion method is not restricted to the one shown in Table 1, and it may be any method as long as the data includes bits “1” at different positions. Also, the operation for the inverse conversion of data is not restricted to that of Table 2, and any inverse conversion may be adopted as long as it can restore the original 2-bit data.




Further, the method for writing data into individual memory cells is not restricted to the method of the embodiment in which, after the threshold voltages of the memory cells have been heightened once by an erase operation, they are lowered by write pulses, and it may be, e.g., a method in which the threshold voltages are heightened by write pulses. In the embodiment, the memory cell which corresponds to the sense latch circuit holding data “1” therein is subjected to a write operation so as to change the threshold voltage thereof, but the memory cell which corresponds to the sense latch circuit holding data “0” therein may be subjected to a write operation so as to change the threshold voltage thereof.




Still further, in the embodiment, the memory array is configured of two mats. However, the present invention is not restricted to this, and the invention is also applicable to a case where the memory array is divided into an even number of mats and a case where it is constructed of a single mat. In cases where the memory array is constructed of a single mat, it is possible to adopt a method in which data converted by the data conversion circuit is divided into two parts and the parts are transferred separately.




In the foregoing, the invention made by the inventors has been applied to an all-at-once erasable flash memory as the field of application of the invention. However, the present invention is not restricted to the exemplified case, but it can be extensively utilized for general nonvolatile memory devices which employ FAMOS memory elements and also for semiconductor devices which include memory cells having a plurality of threshold voltages. In addition, there is a flash memory of the NOR type wherein “erase” is defined as bringing a threshold voltage into the lowest state, while “write” is defined as heightening the threshold voltage from the erased state. When the reduction of the influence of word line disturbance in write operation is considered in the multivalued flash memory of the NOR type, the data writing operation is desirably executed for the second-lowest threshold voltage of the erased status, and subsequently for the third-lowest threshold voltage, successively executing a write operation for higher threshold voltages in this manner.




An effect which is achieved by a typical aspect of the present invention will be briefly described as follows.




The present invention can realize a nonvolatile semiconductor memory device which is capable of minimizing the fluctuation of the threshold voltages of memory cells attributed to word line disturbance, and of which the peak current and average power consumption of write operation can be reduced.



Claims
  • 1. A nonvolatile semiconductor memory device comprising:a plurality of memory cells each of which has a control gate and a floating gate and which has a threshold voltage corresponding to data stored therein; a plurality of word lines each of which is coupled with corresponding memory cells of said plurality of memory cells; a plurality of data lines each of which is coupled with corresponding memory cells of said plurality of memory cells; data latch circuits each of which is coupled to a corresponding data line of said plurality of data lines and which stores data to be written; and sense latch circuits each of which is coupled to a corresponding data line of said plurality of data lines and which stores data read out from memory cells coupled to a selected word line, wherein when after completion of a write operation an occurrence of an erratic bit is detected based on data stored in said sense latch circuits and data stored in said data latch circuits, a memory cell associated with said erratic bit is again written with data in correspondence with said data in said sense latch circuit and data in said data latch circuit, after first erasing of said data in said memory cell, and wherein said write operation includes one or more operations of a threshold voltage changing period and a threshold voltage level checking period.
  • 2. The nonvolatile semiconductor memory device according to claim 1, wherein data lines coupled to data latch circuits storing data of a predetermined state are precharged in an erratic bit detection.
  • 3. The nonvolatile semiconductor memory device according to claim 2, wherein a word line is supplied with a first voltage which is lower than a read voltage of a normal read operation, in said erratic bit detection.
  • 4. The nonvolatile semiconductor memory device according to claim 3, wherein said sense latch circuits store data read out from memory cells by being applied with said first voltage to a word line, in said erratic bit detection.
  • 5. The nonvolatile semiconductor memory device according to claim 4, wherein each of said plurality of data lines is coupled with a discharge MOSFET, and each of said plurality of data lines is discharged when said discharge MOSFET is an ON state.
  • 6. The nonvolatile semiconductor memory device according to claim 5, further comprising MOSFETs each of which is coupled with a gate thereof to an output of a corresponding sense latch circuit, wherein each of said MOSFETs selectivity is placed in an ON state by data stored in said sense latch circuits.
  • 7. The nonvolatile semiconductor memory device according to claim 6, wherein each of said plurality of memory cells stores multi-level data.
  • 8. The nonvolatile semiconductor memory device according to claim 6, wherein each of said plurality of memory cells stores data of two bits.
  • 9. The nonvolatile semiconductor memory device according to claim 1, wherein each of said plurality of memory cells stores multi-level data.
  • 10. The nonvolatile semiconductor memory device according to claim 1, wherein each of said plurality of memory cells store data of two bits.
Priority Claims (1)
Number Date Country Kind
8-180859 Jul 1996 JP
CROSS-REFERENCE TO RELATED APPLICATION

This application is a continuation of application Ser. No. 08/890,396, filed Jul. 9, 1997 now U.S. Pat. No. 5,959,882, the entire disclosure of which is incorporated herein by reference.

US Referenced Citations (35)
Number Name Date Kind
4435786 Tickle Mar 1984 A
4860258 Fruhauf et al. Aug 1989 A
4964079 Devin Oct 1990 A
5163021 Mehrotra et al. Nov 1992 A
5200920 Norman et al. Apr 1993 A
5365486 Schreck Nov 1994 A
5440505 Fazio et al. Aug 1995 A
5450363 Christopherson et al. Sep 1995 A
5487036 Akaogi et al. Jan 1996 A
5539688 Yiu et al. Jul 1996 A
5544099 Hara Aug 1996 A
5555204 Endoh et al. Sep 1996 A
5566125 Fazio et al. Oct 1996 A
5570315 Tanaka et al. Oct 1996 A
5602789 Endoh et al. Feb 1997 A
5615153 Yiu et al. Mar 1997 A
5621682 Tanzawa et al. Apr 1997 A
5652719 Tanaka et al. Jul 1997 A
5675537 Bill et al. Oct 1997 A
5677868 Takahashi et al. Oct 1997 A
5677869 Fazio et al. Oct 1997 A
5687114 Khan Nov 1997 A
5694357 Mori Dec 1997 A
5748533 Dunlap et al. May 1998 A
5754469 Hung et al. May 1998 A
5754475 Bill et al. May 1998 A
5757699 Takeshima et al. May 1998 A
5768188 Park et al. Jun 1998 A
5768191 Choi et al. Jun 1998 A
5768193 Lee et al. Jun 1998 A
5796652 Takeshima et al. Aug 1998 A
5825690 Saitoh Oct 1998 A
5864569 Roohparvar Jan 1999 A
5870218 Jyouno et al. Feb 1999 A
5889698 Miwa et al. Mar 1999 A
Foreign Referenced Citations (8)
Number Date Country
59-121696 Jul 1984 JP
62-6493 Jan 1987 JP
1-134793 May 1989 JP
3-59886 Mar 1991 JP
4-57294 Feb 1992 JP
4-238196 Aug 1992 JP
7-93979 Apr 1995 JP
9-091971 Sep 1995 JP
Non-Patent Literature Citations (3)
Entry
IEEE International Solid-State Circuits Conference, “A 3.3V 128Mb Multi-Level NAND Flash Memory for Mass Storage Applications”, T.Jung, et al., Feb. 8, 1996, (7 pgs).
1994 Symposium on VLSI Circuits Digest of Technical Papers, “High-Speed Programming and Program-Verify Methods Suitable for Low-Voltage Flash Memories”, T. Tanaka, et al., pp. 61-62.
IEEE Journal of Solid-State Circuits, vol. 31, No. 11, “A 117-mm2 3.3-V Only 128-Mb Multilevel NAND Flash Memory for Mass Storage Applications”, T. Jung, et al., Nov. 1996, pp. 1575-1583.
Continuations (1)
Number Date Country
Parent 08/890396 Jul 1997 US
Child 09/342223 US