Nonvolatile memory device and refreshing method
Patent Information
- Application Number
- MYPI1996000354
- Authority / Receiving Office
- MY · MY
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 1995-01-31
- Filing Date
- 1996-01-31
- Publication Date
- 1996-07-31
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In flash memory devices, the variation in threshold voltage increases over time due to programming, reading, and erasing operations, leading to malfunctions, especially in multi-value memory systems where the difference between threshold values is small, and there is a need for high accuracy operations in short time with minimal circuit scale and low voltage stability.
A method that transforms multiple bits of data into multi-value data, using a data transforming logic circuit to program memory elements with specific threshold values, and applies intermediate read voltages to read and restore the original data, while executing a weak erasing operation to narrow the variation distribution of threshold voltages, thereby reducing programming time and maintaining circuit scale.
This approach allows for high accuracy programming, reading, and erasing operations in a short time with minimal circuit scale expansion, while stabilizing the operation at low voltages by sharpening the threshold voltage distribution shape, preventing malfunctions due to voltage variations.
Abstract
Description
SPECIFICATIONTITLE OF THE INVENTIONNonvolatile Memory Device and Refreshing MethodTECHNICAL FIELDThe present invention relates to a technique which is especially effective when applied to a multi10 value data storing system in a semiconductor memory device and a nonvolatile semiconductor memory device, for example, to a technique which is effective when applied to a nonvolatile memory device (hereinafter referred to as the flash memory) for batch-erasing a plurality of memory data electrically.BACKGROUND ARTA flash memory uses nonvolatile memory elements each having a control gate and a floating gate similarly to FAMOSs, as its memory cells, and each memory cell can be constructed of one transistor. In such a flash memory, for programming operation, the drain voltage of the nonvolatile memory element is set to about 5 V, as shown in Fig. 12, and the word line connected to the control gate is set to about -10 V, so that the charge on the floating gate is drawn therefrom by tunnel current to set the threshold voltage to a low value (logic 0).For the erasing operation, as shown in Fig. 13, the P-type semiconductor region pwell is set to about-5 V, and the word line is set to about 10 V, so that tunnel current is caused to flow to inject negative charge into the floating gate, thereby to set the threshold value to a high state (logic 1). Thus, one memory cell is stored with the data of one bit.Incidentally, there has been the concept of a so-called multi-value memory in which data of two or more bits are stored in one memory cell so as to increase the storage capacity. An invention relating to this multi-value memory is disclosed in Japanese Patent Laid-Open No. 121696 / 1984.In a flash memory of the prior art, it is known that the variation of the threshold value is increased due to both weak program (the disturb) or the like 20 caused by the programming, reading and erasing operations of an adjacent bit and natural leakage (the retention) and consequently the half-value width (the width of the peak of the bell-shaped variation distribution at the position of a half peak value, as shown in Fig. 3) of the variation distribution of the- 3 threshold value corresponding to logic 0 and 1 increases with the lapse of time. The inventors have found that, with the lower level of the power supply voltage of future LSIs, the threshold voltage of the memory cells may exceed the marginal range for the read voltage by the broadening of the variation distribution with time, thereby to cause a malfunction.This problem is especially serious in a multi10 value memory for storing one memory element with data of a plurality of bits by the difference between the threshold values, because this difference is small for the individual data. In the flash memory, moreover, there is a technical problem for minimizing the processing time and the circuit scale intrinsic to the multi-value memory, because of the erasing and program verifying operations intrinsic to the nonvolatile memory device.An object of the present invention is to provide a multi-value type nonvolatile memory device which can realize the programming, reading and erasing operations of high accuracy performed in a short time while minimizing the increase in the circuit scale.Another object of the present invention is to provide a method of sharpening the shape of the variation distribution of the threshold values and accordingly a nonvolatile memory device capable of stably operating at a low voltage.The foregoing and other objects and novel features of the present invention will become apparent from the following description to be made with reference to the accompanying drawings.DISCLOSURE OF THE INVENTIONThe representatives of the invention to be disclosed herein will be briefly summarized in the following.(1) At the data programming time, data of a plurality of bits are transformed by a data transforming logic circuit into data (multi-value data) according to the combination of the bits, and the transformed data are sequentially transferred to a latch circuit connected to the bit lines of a memory array. A program pulse is generated according to the data latched in the latch circuit and is applied to a memory element in a selected state, so that it is brought into a state that it has a threshold value corresponding to the multi-value data. At the data reading operation, the states of the memory elements are read out by changing the read voltage to intermediate values of the- 5 individual threshold values and are transferred to and latched in a register for storing the multi-value data, so that the original data may be restored by an inverse data transforming logic circuit on the basis of the multi-value data stored in the register.(2) After a weak erasing operation of the memory elements in the memory array has been executed, the memory element, which has a threshold value lower than the read level of the word line and higher than the verify level, is detected, and the program is executed such that the threshold value of the memory element may be lower than the verify voltage thereby to narrow the width of the variation distribution shape of the threshold voltage of the memory element which is programmed correspondingly to the individual input data.According to the aforementioned means (1), the peripheral circuit scale of the memory array can be suppressed to a relatively small size. In the programming operation, the verify voltage value of the word line is sequentially changed (as should be referred to (1) to (4) of Fig. 3) by a predetermined value in a direction away from the near side of the erasing word line voltage so that the total number of the program pulses, i.e., the program time can be made- 6 shorter than that of the multi-value flash memory system, in which the verify voltage is set at random, thereby to realize a programming operation performed in a short time.According to the aforementioned means (2), on the other hand, the shape of variation distribution of the threshold voltage of the memory elements, which has been widened due to disturb or retention, can be returned to the steep shape substantially identical to that just after the end of the programming operation.BRIEF DESCRIPTION OF DRAWINGSFig. 1 is an explanatory diagram showing one embodiment of operation of transforming two-bits data to be programmed in one memory cell and read therefrom into quaternary data of the level to be physically programmed in each memory cell and read therefrom in accordance with the present invention.Fig. 2 is an explanatory diagram showing one embodiment of operation of inversely transforming quaternary data transformed by a data transforming logic circuit into the original two-bits data.Fig. 3 is an explanatory diagram showing the relations between the quaternary data and the threshold values of the memory cells.Fig. 4 is a block diagram schematically showing one embodiment of a multi-value flash memory according to the present invention.Fig. 5 is a flow chart showing a programming 5 procedure of the multi-value memory of the embodiment.Fig. 6 is a timing chart showing the programming operation waveforms of the multi-value flash memory of the embodiment.Fig. 7 is an explanatory diagram of the operation 10 waveforms showing the difference between the programming method of the multi-value flash memory of the embodiment and another programming method.Fig. 8 is a flow chart showing a reading procedure of the multi-value flash memory of the embodiment.Fig. 9 is a timing chart showing the reading operation waveforms of the multi-value flash memory of the embodiment.Fig. 10 is block diagram showing an example of 20 the entire structure of the multi-value flash memory of the embodiment.Fig. 11 is a block diagram showing an example of the system construction of an embodiment in which a controller is given a function to transform two-bits data intrinsic to the multi-value memory and- 8 quaternary data.Fig. 12 is a schematic diagram showing the structure of a memory cell used in the flash memory of the embodiment and the voltage state at the programming time.Fig. 13 is a schematic diagram showing the voltage state at the erasing time of the memory cell used in the flash memory of the embodiment.Fig. 14 is a schematic diagram showing the voltage state at the reading time of the memory cell used in the flash memory of the embodiment.Fig. 15 is an explanatory diagram showing an internal power source generator and a switching circuit for selecting and feeding the generated voltage to a word driver or the like.Fig. 16 is a circuit diagram showing an example of the construction of the word driver.Fig. 17 is an explanatory diagram showing a method of an embodiment for refreshing the multi-value flash memory.Fig. 18 is a flow chart showing a refreshing procedure of the multi-value flash memory of the embodiment.Fig. 19 is a timing chart showing the operation waveforms at the refreshing time.- 9 Fig. 20 is a circuit diagram showing an example of the construction of a sense latch circuit of an embodiment.Fig. 21 is a circuit state diagram at the data inversion starting time and showing the operation of the sense latch circuit.Fig. 22 is a circuit state diagram at the data inversion ending time and showing the operation of the sense latch circuit.Fig. 23 is a circuit state diagram at the verifying time and showing the operation of the sense latch circuit.BEST MODE FOR CARRYING OUT THE INVENTIONWith reference to the accompanying drawings, the embodiment when the invention is applied to a flash memory will be described.Fig. 1 shows a method of transforming data to be inputted from the outside and·be stored, and multivalue data to be stored in memory cells, and Fig. 2 shows an inverse transforming method for restoring the original data from the multi-value data.Fig. 1 shows an example of the transformation method in which any of two bits, i.e., 00, 01, and 11 is to be stored in one memory cell, although not especially limited thereto. There are four kinds of combinations of the first binary data a and the second binary data b in Fig. 1(1), and these individual combinations are transformed into four kinds of quaternary data having 0, 1, 2 and three 1 in the four bits, by executing three kinds of logic operations (aNANDb), (NOTb) and (aNORb), as shown in Fig. 1(2).Here, if the memory elements whose number is equal to that of Is as the result of the aforementioned operation are subjected to programming operation, i.e., the application of program pulses, they have four types of threshold values, as shown in Fig. 1(3), according to the number of programming operations, so that two-bits data can be programmed in one memory cell. The states of the changes in the threshold value distributions of the individual memory elements are shown in Fig. 3 when the data 00, 01, and 11 are to be stored in the same number in a plurality of memory elements in the memory array.Fig. 2 shows the data reading principle. By changing the read voltages of word lines at three stages (intermediate values of the individual threshold value distributions of Fig. 3), three kinds of data c, d and f can be sequentially read out- 11 from one memory cell. Then, one (a) of the programmed two-bits data can be restored by executing a logic operation (d*NAND f)NAND c* of the read-out data. Of the read-out data, moreover, the data d are identical, as they are, to the program data b. Incidentally, symbols d* and c* designate the inverted signals of the data d and c.Fig. 4 shows one specific example of the circuit construction for the transformation of the multi-value data and the inverse transformation, as shown in Figs.and 2.At the data programming time, the data of 2n-bits bit length fed from the outside to the multi-value flash memory, are serially stored through a switch SW1 in two binary data registers REG1 and REG2 having a data width of n-bits. At this time, the switch SW1 is changed by the output of a flip-flop FFl driven by a clock CLK1 fed from the outside, although not especially limited thereto, and a clock CLK1', produced in a frequency divider CVD by dividing the clock CLK1 and having a frequency twice as large as the clock CLK1, is fed through a change-over circuit CHG. In synchronism with this clock CLK1', the binary registers REG1 and REG2 are shifted, so that the input data are alternately latched bit by-bit in the binary data registers REG1 and REG2.The data a, latched in the first binary register REG1, and the data b, latched in the second binary register REG2, are shifted in synchronism with the clock CLK1 which is fed from an internal clock generator 30 through the change-over circuit CHG, fed bit by bit to a data transforming logic circuit 11 for the operations of Fig. 1(2), and then sequentially transferred after a predetermined logic operation through a switch SW2 to a sense latch circuit 13 having an n-bits length and disposed on one side of a memory array 12, so that they are programmed in the memory cells of the memory array 12. These programming operations will be described later in more detail.The aforementioned change-over circuit CHG is switched, by a control signal coming from a sequencer 18 for controlling the memory inside, to feed the clock CLK1' to the binary registers REG1 and REG2 at the data input time and the clock CLK2 from the clock generator 30 to the binary registers REG1 and REG2 at the time of data transfer with the sense latch 13.The aforementioned data transforming logic circuit (the data programming operation circuit) 11 is constructed to include: a NAND gate G1 which is allowed to receive at the individual input terminal the data a and b in the binary data registers REG1 and REG2 and to perform the operation (aNANDb) and a NOR gate which is also allowed to receive at the input terminal the data a, b and to perform the operation (aNORb); and an inverter G3 which is allowed to receive at its input terminal the data b of the binary data register REG2 and to perform the operation (NOTb). The switch SW2 selects and feeds any of the output signals of those logic gates Gl, G2 and G3 to the sense latch circuit 13.At the data reading time, on the other hand, the read data c, having appeared on a bit line in response to the setting of one word line in the memory array 12 to the read voltage level, are amplified and latched by the sense latch circuit 13 and are serially transferred through a switch SW3 to the binary data register REG1 in synchronism with the internal clockCLK2 .Next, the data d, read out to the sense latch circuit 13 by changing the read voltage level, are serially transferred to the binary data register REG2 through the switch SW3. Moreover, the data f, read out to the sense latch circuit 13 by changing the read voltage level, are serially transferred to an inverse transforming logic circuit 14 through the switch SW3. At this time, the binary registers REG1 and REG2 are shifted in synchronism with the clock CLK2.Here, the period of the clock CLK2 at the data reading time may be shorter than that of the clock CLK2 at the data programming time. The clock CLK2 can be generated which has a period determined by the clock generator 30 in accordance with the control signal from the sequencer 18. The change in the word line reading level is also changed according to the control signal from the sequencer 18.The inverse transforming logic circuit (the data reading operation circuit) 14 is constructed to include: an inverter Gil for receiving the data outputted from the binary data register REG2; a NAND gate G12 for directly receiving at its input terminals both the output of the inverter Gil and the data transferred from the sense latch circuit 13; a delay circuit DLY for delaying the data outputted from the binary data register REG1 and transmitting the delayed data at a predetermined timing; an inverter G13 for inverting the signal coming from the delay circuit DLY; and a NAND gate G14 for receiving the output of the inverter G13 and the output of the NAND gate G12. The logic operations (d*NAND f)NAND-c*, shown in Fig.2, are executed for the read-out data c and d, latched in the binary data registers REG1 and REG2, and for the read-out data f, transferred directly from the sense latch circuit 13. These operation results are outputted through the switch SW1 to a data input / output terminal I / O.At the same time when the one-bit data are thus outputted, the binary data register REG2 is shifted so that one bit of the data d (=b) latched are outputted. At this time, the shift operation of the binary registers REG1 and REG2 are synchronized with the clock CLK2. Next, the next bits of the data c and d are read out again from the binary data registers REG1 and REG2, and the logic operations (d*NAND f)NAND c* are executed for the next one bit of the read-out data f which are directly transferred from the sense latch circuit 13. By repeating operations similar to the aforementioned ones, the data a and b, as backward transformed and restored to the original two bits, are outputted to the outside from the data input / output terminal I / O.Incidentally, the data a, inversely transformed by the inverse transforming logic circuit 14, do not necessarily need to be instantly outputted to the input / output terminal I / O, as described above.Alternatively, the data a inversely transformed may be once latched in the binary data register REG1 and then outputted to the input / output terminal I / O alternately with the data in the binary data registerREG2 after all bits have been inversely transformed.In this alternative case, a one-bit latch circuit may desirably be provided in place of the aforementioned delay circuit DLY.As a result, the data c in the binary register 10 REG1 can be read out bit by bit and logically operated with the data d and f, and the results can be simply programmed in the original bit positions in the binary data register REG1. The shift operations of the binary registers REG1 and REG2 of when the inversely transformed data are outputted to the outside after they are once latched in the binary registers REGl and REG2 can be synchronized with the clock CLK1 coming from the outside.The flash memory of this embodiment is equipped, although not especially limited, with: a command register 15 for latching the command fed by an external CPU or the like; a command decoder 17 for decoding the command latched in the command register 15; and a sequencer 18 for sequentially producing and outputting the control signals for the individual circuits such as the aforementioned switches SW2 andSW3 to execute the processings corresponding to those commands on the basis of the decoded results of the command decoder 17. The flash memory thus constructed decodes the commands, when fed, and executes the corresponding processing automatically. The aforementioned sequencer 18 is constructed to include a ROM (Read Only Memory) latching a series of micro instruction groups necessary for executing the commands (or instructions), like the control unit of a CPU of the micro program type, so that the micro programs are started when the command decoder 17 generates the leading address of the micro instruction groups, as correspond to the commands, and feeds the address to the sequencer 18.The detailed programming procedure will be described in the following in accordance with the programming flow of Fig. 5.First of all, prior to the programming, all the memory cells are batch-erased. As a result, all the memory cells are caused to have the highest threshold value (of about 5 V) and brought into the state (as shown in Fig. 3(1)) that they store 11 as the program data. The batch erase is carried out, as shown in Fig. 13, by raising the voltage of the word line to apply a voltage of 10 V to the control gate CG of the memory cell, a voltage of 0 V to the drain through the bit line and a voltage of -5 V to the substrate (the semiconductor region p-well) thereby to inject electrons into a floating gate FG. The batch erase is executed by programming in the command register 16 the erase command coming from the externalCPU to instruct the erase.Incidentally, in Fig. 13 (Fig. 12 and Fig. 14): reference symbol psub designates a p-type semiconductor substrate; pwell designates a p-type semiconductor well region for the base of the memory cell; niso designates an n-type semiconductor isolation region for effecting the isolation from the substrate pseb at the data erasing time (at the negative voltage applying time); n+ in the surface of the p-type well region pwell designates the source and drain regions of the memory cell; and p+ in the surface of the p-type well region pwell, n+ in the surface of the isolation region niso, and p+ in the surface of the substrate psub designate the contact regions for reducing the resistances of the contacts with the electrodes for applying the potentials to the individual semiconductor regions. In one p-type well region is formed memory cells which are connected to word lines, say, one hundred and twenty eight word lines, although not especially limited thereto, so that all of the memory cells formed over such one well can be batch-erased. Moreover, the memory cells can be erased in unit of a word line by rendering the word line potential selected (10 V) / unselected (0 V) for •the memory cells over one p-type well region.After the end of the batch erase, the flash memory is brought into the program mode by programming in the command register 16 of Fig. 4 the program command coming from the external CPU. In this program mode, the program data are inputted at a predetermined timing. Then, the flash memory the program data to the binary data registers REG1 and REG2, so that the program data are transferred two in units of two bits to the transforming logic circuit 11 and transformed into quaternary data (at Step SI). The transformations are carried out in the order of aNANDb, NOTb (inversion of b) and aNORb. The transformed data (the first transformation is aNANDb) are transferred to the sense latch circuit 13 (Step S2).At the next Step S3, it is judged whether or not all the data in the binary data registers REG1 and REG2 have been transferred. If this judgment is YES,- 20 a program pulse having a predetermined pulse width is applied to the memory cell of the bit which corresponds to the value 1 of the X (row) address fed from the external CPU and the Y (column) address outputted from a built-in Y-address counter 33, as shown in Fig. 10, (at Step S4), so that the programming is executed. The programming is carried out, as shown in Fig. 12, by applying a voltage of -10 V to the control gate CG through the word line, a voltage of 5 V from the sense circuit to the drain through the bit line, and a voltage of 0 V to the substrate. Incidentally, at this time, a voltage Vcc (e.g., 3.3 V) is applied to the unselected word line. As a result, the fluctuation of the threshold value due to the disturb are suppressed.Next, the verify voltage (about 3.5 V for the first time) corresponding to the program level is fed to the word line, which is left in the selected state at the programming time, to read out the data in the memory cell to which the program pulse has been applied. The data 0 is read out as read-out data from the memory cell which has been sufficiently programmed, whereas the data 1 is read out from the memory cell which has been insufficiently programmed. It is, therefore, judged according to the programmed data whether the program has been ended or insufficient. Here, the data of the sense latch circuit 13, which have been programmed, are inverted to 0 (Step S6). Moreover, it is judged whether or not all the latch data of the sense latch circuit 13 take the value 0. If all take 0, the programming in this procedure is ended. If there is any insufficiently programmed memory cell having the latch data 1, the routine is returned from Step S7 to Step S4, so that the program pulse is applied again to the memory cell which is insufficiently programmed to have the value 1. By repeating Steps S4 to S7, the program pulse is repeatedly applied so that the threshold values of all the memory cells may become lower than the program verify voltage. As a result, the programmed memory cells have a threshold value of about 3.2 V on an average.When the programming of the desired data in all the memory cells is ended by the aforementioned program verifying operation, all the data of the sense latch circuit 13 take the value 0, so that the routine advances to Step S8, at which it is judged whether or not the programming operations for all the program levels have been ended, that is, whether or not the data 10, 01 and 00 have been programmed.If the judgment is NO, the routine is returned to Step SI, at which quaternary data based on the next operation result (NOTb) are programmed in the memory cells to change the verify voltage of the word line (2.5 V for the second time). As a result of this verification, the programmed memory cells have a threshold value of about 2.2 V on an average. After this, the programming and verification (at a verify voltage of 1.5 V) of the third operation result are executed, so that the programmed memory cells have a threshold value of about 1.2 V on an average, thus ending the programming.Fig. 6 shows the waveforms of the control clock CLK2, the data to be programmed in the sense latch circuit 13, and the potential of the selected word line in the aforementioned programming and program verifying operations. In the first programming, the first operation result (aNANDb) is transferred to the sense latch circuit 13, and the selected memory cell having the latch value 1 is then programmed by the program pulse. Next, a voltage of about 3.5 V, for example, is fed as the program verify voltage to the word line, and it is judged whether or not the programmed data take the value 0. When the threshold value is higher than 3.5 V, the read-out data take the value 1 and are found to have been insufficiently programmed, so that the programming operations are repeated till the read-out data take the value 0. Next, the second operation result (NOTb) is transferred to the sense latch circuit 13, so that the programming operation of the desired memory cell is started by the program pulse. The program verify voltage is set to about 2.5 V, and it is judged whether or not the programming is insufficient. If the judgment is YES, the programming is executed again. Finally, the third program result (aNORb) is transferred to the sense latch circuit 13, and a procedure like the aforementioned one is executed. The program verify voltage of this case is about 1.5 V.In the foregoing embodiment, as described above, the setting of the word line voltage at the three program verify stages is so controlled that the voltage value is sequentially changed (3.5 V -> 2.5 V ->1.5 V) away from the erase level from the starting point of the level (3.5 V) which has been set at the closest value to the erase level (about 5 V). In the foregoing embodiment, moreover, even the memory cell of which the target threshold value is an intermediate or lowest value (2.2 V, 1.2 V) is programmed simultaneously with the programming of the memory cell of which the target threshold value is the highest value (3.2 V), as shown in Fig. 7(B). This is one of the features of the present invention. As a result, the increase in the programming time of the multivalue data can be minimized.Specifically, in addition to the aforementioned method, a conceivable method for setting the programming and program verifying word line voltage is the one in which the setting is changed so as to execute the first programming of memory cells, as the programming object, having an intermediate threshold voltage (2.2 V) out of the three kinds of threshold voltage, and the second programming of memory cells, as the programming object, having a voltage (3.2 V) higher than the voltage of the first programming or a voltage (1.2 V) lower than that. As shown in Fig. 7(A), alternatively, there can be conceived a method for batch-programming the memory cells having an identical target threshold value. According to these methods, however, it takes a long time for programming, and the time for the charge / discharge to change the word line voltage is increased, so that the time for the program / verify becomes longer than that of the present embodiment.- 25 Here will be described the reading operation of the memory cells with reference to Figs. 8 and 9. The data reading operation is performed, as shown in Fig. 14, by raising the voltage of the word line to apply a voltage of the selected level such as 3.7 V, 2.7 V or 1.7 V to the control gate CG of the memory cell or a voltage of 1.5 V to the drain through the bit line.The reading operation is executed by programming the command for ordering the reading in the command register 16.When the reading operation is started, the read level is set at first to the highest level of 3.7 V to energize the word line (at Step Sil). Then, in the selected memory cell, data appear on the bit line in accordance with the word line reading voltage level, so that they are read out by amplifying the bit line level by the sense latch circuit 13 (Step S12). Next, the subsequent steps is different depending upon whether the reading is the first, second or third reading (Step S13). Specifically, when the reading is the first reading, the read data in the sense latch circuit 13 are transferred to the binary data register REG1 (Step S14).When the transfer of all the read data in the sense latch circuit 13 is ended, the routine returns from Step S15 to Step Sil, at which the second data reading operation is executed by setting the read level to 2.7 V to transfer the read data to the binary data register REG2. At the end of the second data read and transfer, the third data reading operation is performed by setting the read level to 1.7 V, and the routine moves from Step S13 to Step S16, at which the read data are transferred directly to the inverse transforming logic circuit 14. Moreover, the data, latched in the binary data registers REG1 and REG2, are individually transferred bit by bit to the inverse transforming logic circuit 14, in which is executed a logic operation for transforming the quaternary data into two bit data (Step S17). Moreover, the foregoing procedure (Steps 16 to 18) are repeated to end the reading operations till the transfer and transformation of all the data in the sense latch circuit 13 are ended. The data transformation is effected by executing the operation of Fig. 2.Fig. 9 shows the timings of the control clockCLK2 in the reading operation according to the aforementioned procedure, the data to be transferred from the sense latch circuit 13, and the read level of the word line. When the read command and the address are fed from the outside, the reading operation is started to set the first read level (3.7 V) at first thereby to activate the word line so that the data appear on the bit line. The data c, having appeared in response to the first word line level 3.7 V, are read out by the sense latch circuit 13, and transferred to the first binary data register REG1 having a data width equal to n bits which represent the data length of the sense latch.Next, the data d, produced by lowering the word line level by a predetermined value to the second read level 2.7 V, are transferred to the second binary data register REG2. The data f, produced by lowering the word line to the third read level 1.7 V, are transferred to the inverse transforming logic circuit 14 so that the aforementioned quaternary data c, d and f are changed again to the two-bit data and outputted to the outside such as the CPU.Fig. 10 shows the relation between an example of the entire construction of the multi-value flash memory MDFM having on the common semiconductor chip the aforementioned data transforming / inversetransforming circuit, and a controller CONT connected with the flash memory MDFM. This controller CONT may have only an address generating function and a command generating function for the multi-value flash memory- 28 of the present embodiment, so that a general purpose microcomputer can be used.In Fig. 10, the circuit components designated by the same reference symbols of Fig. 4, have the identical functions. Specifically: the symbols REGl and REG2 designate the binary data registers for holding the program data of two bits; the numeral 11 designates the data transforming logic circuit for transforming the held two-bits data into quaternary data; the numeral 12 designates the memory array provided with nonvolatile memory elements having a floating gate such as FAMOS in a matrix form; the numeral 13 designates the sense latch circuit for latching the read data and the program data; the numeral 14 designates the inverse transforming logic circuit for transforming the quaternary data read out from the memory array into two-bits data; the numeral 16 designates the command register for latching the command fed from the controller CONT; the numeral 17 designates the command decoder for decoding the command code held in the command register 16; and the numeral 18 designates the sequencer for sequentially generating and outputting the control signals for the individual circuits in the memories to execute the processings corresponding to the commands.The multi-value flash memory of this embodiment is equipped with two memory arrays, although not especially limited thereto, and the sense latch circuits 13 are provided for the respective memory arrays. These individual sense latch circuits 13 are constructed to simultaneously amplify and latch the data of the memory cells of one line sharing the word line in the memory array, so that the read data latched in the two sense latch circuits 13 and 13 are selected by a common Y-decoder 15 and transferred bit by bit or in units of a byte to an output register 19. The read data latched in the output register 19 are outputted to the external CPU or the like through a buffer circuit 22. The sense latch circuit 13 of the embodiment of Fig. 4 performs shift operation during the data transfer and is required to have a function similar to that of the shift register. However, the sense latch circuits 13 can have no shift function by providing a construction, as of Fig. 10, in which the data are selected by the Y-decoder 15 and in which this Y-decoder 15 shifts the selected bit by the clock.The multi-value flash memory of this embodiment is constructed to include, in addition to the above25 specified individual circuits: an all decision circuit- 30 20 for deciding whether or not the data read out from the memory array 12 and fed to the sense latch 13 are all 0 or all 1; a buffer circuit 21 for fetching external control signals such as a reset signal RES, a chip select signal CE, a program control signal WE, an output control signal OE, a system clock SC and a command enable signal CDE indicating whether the input is a command input or an address input, all signals being fed from the controller CONT; a buffer circuit 22 for fetching an address signal and a command signal; an internal signal generator 23 for generating a control signal for an internal circuit on the basis of the external control signal; an address register 24 for latching the address which has been held in the buffer circuit 22; a data register 25 for latching the input data; X-address decoders 26a and 26b for decoding the fetched address to generate a signal and selecting the word line in the memory array 12; a word driver 27; an internal power source generator 28 for generating voltages required in the chip such as the substrate potential, the program voltage, the read voltage and the verify voltage; a switching circuit 29 for selecting a desired voltage from those voltages in accordance with the operating state of the memory and feeding the selected voltage to the .main decoder 27 and the like; a clock generator 30 for generating the internal clocks (CLK2 and the like); a timer circuit 31 for counting the clocks to give times such as a program pulse width; a status register 32 for indicating the control state of the memory by the sequencer 16; a Y-address counter 33 for updating the Y-address automatically; a false address register 34 for latching the position (address) of a false bit; a redundancy comparator 35 for comparing the Y-address and the false address; and a relieved address register 36 for storing a relieved address to switch the selected memory column when the address coincides. Moreover, the multi-flash memory of this embodiment is constructed to output a ready / busy signal R / B* for indicating whether or not the memory can be accessed from the outside.Moreover, the multi-value flash memory of this embodiment is given a function (hereinafter referred to as the refresh function) to sharpen the bell-shaped variation distributions of the threshold values when the shapes broaden and lower due to the disturb or the retention (see Fig. 3). This refresh function is activated when a command is fed from the outside as in the programming or erasing operation. If the refresh command is fetched by the command register 16, the sequencer 18 of the micro program control type is started to effect the refreshing operation. This refreshing operation will be described in detail hereinafter. The signal indicating the decision result of the aforementioned all decider 20 is fed to the sequencer 18. In the refreshing mode, the all decision circuit 20 decides that the read data are all0. When the signal indicating the decision result is fed to the sequencer 18, this sequencer 18 stops the refreshing operation. At the data erasing time, on the other hand, the sequencer 18 stops the erasing operation if the aforementioned all decision circuit decides that the read data are all 1.In this embodiment, moreover, there is adopted a predecode system in which the X-address decoder decodes the address signal at the two stages by means of the predecoder 26a and the main decoder 26b. The desired word line is selected, for example, by decoding the more significant three bits of theX-address at first by the predecoder 26a and by controlling the word driver 27 with the predecode signal. By adopting such a predecode system, the unit decoders constituting the main decoder 26b can be arranged in high integration according to the word line pitch of the memory array thereby to reduce the- 33 chip size.Incidentally, the multi-value flash memory of the aforementioned embodiment is equipped on the common silicon substrate, as shown in Fig. 4 and 10, with the function circuits 11 and 14 for transforming two-bits data into quaternary data and vice versa. However, a dedicated controller unit having those functions can be separately provided. In this modification, the flash memory chip need not be provided with the functions intrinsic to the multi-value so that its chip area does not increase. Another advantage is that a plurality of flash memories MDFM can be connected to a single controller unit CONT and controlled by a bus BUS, as shown in Fig. 11. This controller unit is constructed to have an address generating function and a command generating function in addition to the aforementioned data transforming / inverse-transforming functions.Fig. 15 shows the internal power source generator 28 for generating the word line voltage and a substrate potential Vsub and the switching circuit 29 for selectively feeding them to the word driver 27 and the like, and Fig. 16 shows an example of the construction of the word driver 27. The internal power source generator 28 generates the necessary word line voltages in response to the internal control signals which are generated from the sequencer 18 correspondingly to the various operation modes. The construction of the internal power source generator 28 for generating voltages including the word line voltage and the construction of the switching circuit (the word line voltage switching circuit) 29 for receiving the generated voltages are similar to those of the prior art excepting that the kinds of the voltage values of the word line are increased for the multi-value operation.Specifically, there are four kinds of word line voltages necessary for the binary flash memory of the prior art: the read voltage (2.7 V, 0 V); the program voltage (-10 V, 0 V); the program verify voltage (1.5 V); the erase voltage (+10 V, 0 V) and the erase verify voltage (4.3 V, 0 V). On the contrary, the word line voltages necessary for the multi-value flash memory of the present embodiment are: the read voltage (3.7 V, 2.7 V, 1.7 V, 0 V); the program voltage (-10 V, 0 V); the program verify voltage (3.5 V, 2.5 V, 1.5 V); the erase and erase verify voltages (10 V, 4.3 V,V); and the refresh voltage (-10 V, 10 V, 3.7 V, 3.5 V, 2.7 V, 2.5 V, 1.7 V, 1.5 V, 0 V).The aforementioned switching circuit 29 receives- 35 the internal control signals, which are generated by the sequencer 18 and correspond to the various operation modes, and feeds the voltages, generated by the aforementioned internal power source generator 28, to the power terminals Pl and P2 of the word driver 27 which is constructed as shown in Fig. 16.A word driver WDRV of Fig. 16 is a driver when the word line predecoding method is adopted. Eight voltage selectors VOLS1 to VOLS8 have their inputs connected commonly to the output node Nl of a logic selector LOGS1, and eight voltage selectors VOLS9 to VOLS16 have their inputs connected commonly to the output node N2 of a logic selector LOGS2, so that the individual voltage selectors may be selected by predecode signals Xpl and Xpl* to Xp8 and Xp8*.Signals XM and XN together with the predecode signals Xpl and Xpl* to Xp8 and Xp8* are fed from an address decoder XDCR (26b). At this time, the voltage selectors VOLS1 to VOLS16 have to select and feed the same voltage to the word line as that which is unselected by the other logic selector, unless the operation is selected by the predecode signal even if either logic selector LOGS1 or LOGS2 corresponding to the voltage selectors outputs the select signal of the select level.- 36 For these operations, separating MOSFETs Q56 and Q57 are switched by the predecode signal. In order that a voltage in the unselected state may be outputted to the word line when the separating MOSFETsQ56 and Q57 are cut off, there are further provided a pull-up MOSFET Q58 and a pull-down MOSFET Q59 which can be switched complementarily with the separating MOSFETs Q56 and Q57 to feed a predetermined voltage to each input of the output circuit INV2.In Fig. 16, the aforementioned signal XM is deemed as a three-bit signal for indicating which word lines out of the eight word line groups each including eight word lines is to be selected. The predecode signals Xpl and Xpl* to Xp8 and Xp8* are deemed to be complementary signals for indicating which word line contained in each word line group is to be selected. According to the present embodiment, the high level of the select signal SEL is the select level, and the high and low levels of each of the predecode signalsXpl and Xpl* to Xp8 and Xp8* are the select level.The voltage to be fed to the terminal Pl of the aforementioned word driver WDRV is a voltage Vpp to be used for the erasing, programming, verifying and reading operations, such as 5 V, 4.3 V, 3.7 V, 3.5 V,2.7 V, 2.5 V, 1.7 V, 1.5 V or 0 V. The voltage to be- 37 fed to the terminal P2 is either a voltage Vee to be used for the programming and refreshing operations, such as -10 V or a voltage Vss as the ground potential or the reference potential of the circuit, such as 0V.Each of the aforementioned logic selectors LOGSl and LOGS2 is constructed to include: an inverter INV1 for inverting the signal of the X-decoder XDCR; a transfer gate TGI for transmitting or blocking the output of the inverter INV1; and a transfer gate TG2 for transferring or blocking the signal of theX-decoder XDCR.The aforementioned voltage selectors VOLS1 to VOLS16 are made to have identical constructions, each of which is made, as represented by the voltage selector VOLS1, of: an N-channel type pull-up MOSFET Q58 connected between a terminal P3 and the gate of a MOSFET Q52 and switched by the predecode signal Xpl*; and a P-channel type pull-up MOSFET Q59 connected between a terminal P4 and the gate of a MOSFET Q53 and switched by the predecode signal Xpl. The voltage selector VOLSl switches the separating MOSFET Q56 by using the predecode signal Xpl and the other separating MOSFET Q57 by using the predecode signalXpl*. The aforementioned terminals P3 and P4 are fed with the voltage Vcc or Vss.Here will be described the operations of the word driver WDRV of Fig. 16. Table 1 shows the voltages at the terminals and the word line voltages in the individual operation modes. The description of the manners how to set the program mode, the erase mode and the read mode will be omitted.[Table 1]α ω 2 2 a ω ω 0) 0 υ υ ω ω a ω ω 0) U U U ω ω kJ Μ £ -4 > > > > > > > > > 2© ω φ ω ω φ ω > > > 2° 0 ω 0 υ ω 0 > > > a υ υ 2 ® a υ 0 > > > 0 ω 0 2· υ ω υ > > > DE 2 2 2 a χ 2 2 2 2 2 2 2 2 2 2 2 2 2 2 \ 2 2 \ 2 2 \ 2 2 2 α ω Ε υ ω j Ο Ο Ο Ο Ο Ο ω W 2 2 Ω ω Ε EC Ο Ο Ο 2 ω ω 2 < ω 2 ω Ο α < Ο < 2 2 ω ω 2 2When the erase mode is specified by the command, the switching circuit 29 feeds the voltage Vpp to the terminal Pl, the voltage Vss to the terminal P2, and the voltage Vcc to the terminals P3 and P4, and the control signal DE is set to the low level.On the other hand, all the bits of the signal XM are set to the low level, so that any of word lines WI to W8 can be selected. As a result, when the select signal SEL at the select level (the high level) is fed, the node Nl is set to the low level through the inverter INV1 and the transfer gate TGI so that this low level is fed to the inputs of the individual voltage selectors VOLS1 to VOLS8. When the memory cell to be erased is coupled to the word line WI, only the signals Xpl and Xpl* of the predecode signals Xpl and Xpl* to Xp8 and Xp8* are set to the high level and the low level, respectively.Therefore, the separating MOSFETs Q56 and Q57 of only the voltage selector VOLS1 are turned on, so that the signal at the node Nl is fetched by the voltage selector VOLS1. At this time, both the pull-up MOSFET Q58 and the pull-down MOSFET Q59 of the voltage selector VOLS1 are cut off.As a result, the signal of the node Nl is fed to the MOSFETs Q52 and Q53 of the voltage selector VOLS1.- 41 Then, the MOSFET Q52 of the output circuit INV2 is turned on, and hence the word line WI begins to be charged by the voltage Vpp at the terminal Pl. At this time, the low level to be fed to the gate of the other MOSFET Q53 is raised to a low level higher than the initial voltage Vss by the action of the MOSFET Q57, so that the MOSFET Q53 is not completely cut off.However, when the conductance of a feedback MOSFET Q55 is increased with the rise of the level of the word line WI, the voltage of the gate of the MOSFET Q53 is forced to the voltage Vss, and it is completely cut off.In the erase mode, therefore, the word line WI, to which is coupled the selected memory cell, is charged to the level Vpp.While the select signal SEL is at the high level, as described above, the predecode signals Xpl and Xpl* are set to the low level and the high level, respectively, if the memory cell Q1 of the word lineWI is not selected for the erasure. As a result, the both separating MOSFETs Q56 and Q57 of the voltage selector VOLS1 are turned off to fetch no signal from the node Nl. At this time, both pull-up MOSFET Q58 and pull-down MOSFET Q59 of the voltage selector VOLS1 are turned on.As a result, the gates of the MOSFETs Q52 and Q53 of the voltage selector VOLS1 are fed with the voltage Vcc from the terminals P3 and P4 through the MOSFETs Q58 and Q59. As a result, the MOSFET Q53 of the output circuit INV2 is turned on, so that the word line WI begins to be discharged to the voltage Vss through the terminal P2. At this time, the high level fed to the gate of the other MOSFET Q52 is lower than the voltage Vcc by the threshold voltage of the MOSFET Q58, so that the MOSFET Q52 is not completely cut off.As the level of the word line WI is lowered by the ON MOSFET Q53, the conductance of the feedback MOSFET Q54 is increased, and the gate of the MOSFET Q52 is forced to the voltage Vpp, so that it is completely cut off. In the erase mode, therefore, the unselected word line WI is discharged to the voltage Vss.The operation of the word driver WDRV when the program mode or the read mode is specified, will not be described in detail because it is similar to the operation of the aforementioned program mode.However, the word lines are so driven by the voltages applied to the terminals Pl and P2 from the switching circuit 29 that the voltages, as shown in Figs. 13 and 14, may be applied to the selected memory cells.Here will be described the refreshing operation- 43 which is a second feature of the multi-value flash memory of the present invention with reference to Fig.17. For the multi-value flash memory which is once programmed with the data, the bell-shaped variation distributions of the threshold values are completely separated, as shown in Fig. 17(1). However, the threshold value variations are increased as shown inFig. 17(2), as the subsequent programming, reading and standby state operations are repeatedly executed.This is caused by the so-called disturb, in which when a memory cell adjacent to a certain memory cell is programmed this memory cell is also weakly programmed, and by the retention which is caused by the natural leakage at the standby time. This phenomenon may occur even in an ordinary flash memory for storing only one bit but may cause the malfunction in the multi-value flash memory in which the intervals between the individual threshold values are narrow, as in the foregoing embodiment.In the present embodiment, therefore, there is executed the refreshing operation for sharpening the peaks (see Fig. 3) of the variation distributions of the threshold values when the peaks are broadened and lowered.Here will be described the procedure of the- 44 refreshing operations.Fig. 18 is a flow chart showing the procedure of the refreshing operation. When the refresh command is inputted from the external CPU or the like, the sequencer 18 is started to begin the refreshing operation according to the flow chart of Fig. 18.When the refreshing operation is started, a weak erase pulse is applied at first from the word line to all the memory cells which are connected to the selected word line (Step S21). As a result of this application of the weak erase pulse, the threshold values of all the memory cells are slightly shifted to the higher side, as shown in Fig. 17(3). This shift is about 0.2 V, although not especially limited thereto. Here, the term, the weak erase pulse, means such a sufficiently short pulse that the memory cell threshold value at 10, for example, may not exceed, if added, just the higher read level 3.7 V. The pulse width is experimentally determined according to the amount to be shifted.At the second stage, the word line voltage is set to the read level (3.7 V) corresponding to the stored data 10 (Step S22) thereby to effect the reading operation. As a result, data are read out according to the threshold values of the individual memory cells- 45 (Step S23) and are amplified and latched by the sense latch circuit 13. At this time, the data of the sense latch corresponding to the memory cell having a higher threshold value than the word line voltage is set to 1, and the data of the sense latch corresponding to the memory cell having a lower threshold value than the word line voltage is set to 0. Next, the data of the sense latch are inverted (Step S24). This data inversion can be easily carried out (as will be described hereinafter) by the sense latch circuit having the construction shown in Fig. 20.Next, the word line is set to a lower verify voltage (3.5 V at first) lower than the aforementioned read level (Step S22) so that the judgment of the threshold value is executed (Step S25). As a result, the data of the sense latch corresponding to the memory cell (designated by letter A in Fig. 17(4)) having a lower threshold value than the verify voltage are switched from 0 to 1. On the contrary, the data of the sense latch corresponding to the memory cell (designated by letter B in Fig. 17(4)) having a higher threshold value than the verify voltage are left at 1. These data are judged to be targets to be re-programmed in the present embodiment. This specifies the memory cells which have excessively- 46 approached the read level (3.7 V) when the threshold value is shifted to the higher side by the weak erasure at Step S21. Incidentally, the data of the sense latch, as corresponds to the memory cell (designated by letter C in Fig. 17(4)) corresponding to the stored data 11 having the highest threshold valve, are left at 0 set by the aforementioned inverting operation. Such an operation can be automatically executed by the sense latch circuit which has the construction shown in Fig. 20 (as will be described hereinafter).Therefore, the memory cell (designated by letter B in Fig. 17(4)) having the data 1 of the sense latch is re-programmed by setting the program voltage (Step S27). After this, the verification is executed by setting the verify voltage corresponding to the program level (Step S28, S29). When the threshold value becomes lower than the verify voltage, the latch data change from 1 to 0. The programming and verifying operations are repeated to end the refresh procedure of the memory cell having the data 10, till all the latch data change to 0. As a result, the variation distribution (the half-value width) of the threshold value of the memory cell of the data 10 becomes low, as indicated in Fig. 17(5). From now on, similar refreshing operations are executed, too, for the memory cells for storing the data 01 and 00 (Step S31). In order to make the width of the distribution shape of the threshold value, the operations of Steps 21 to 31 are repeated to complete the refresh (Step S32) when a predetermined number of operations are ended.Table 2 shows the changes in the latched data of the sense latch circuit sequentially when the memory cells having the threshold values indicated by letters A, B and C of Fig. 17(4), are read out, when the refreshing is executed according to the procedure described above.[Table 2]READ INVERSION VERIFY END CELL A 0 1 0 0 CELL B 0 1 1 0 CELL C 1 0 0 0Fig. 19 is a diagram showing the timings at which the refreshing operations are executed. As described above, the causes of enlarging the variations of the threshold values of the memory cells are the disturb due to the execution of the weak programming, erasing and reading operations of a memory cell adjacent to a memory cell if this memory cell is programmed or read, and the retention due to the natural leakage.The timings at which the refreshing operations against the fluctuation of the threshold values due to the disturb are executed are as follows.(1) The refreshing operations are executed when the flash memory is in a standby state ( / RES is at the high level) and after a predetermined number of programming / erasing and reading operations are completed.(2) The refreshing operations are executed immediately after the reset signal ( / RES) is activated at the resetting time.(3) The refreshing operations are executed immediately after the reset state is caused by setting the / RES to the low level from the standby state.(4) The / RES is set to the low level immediately before the power supply is turned off, so that the refresh is executed by sensing the off.(5) The refresh is executed after the power supply is turned on to set the / RES to the high level.As counter-measures for the reduction of the threshold values due to the retention, on the other hand, it is conceivable to execute the refresh at predetermined periodic intervals in .the course of the- 49 dummy cycle or in the standby state when the power supply is turned on. All of these refresh timings may be executed, but any one or some of them may be executed.Incidentally, the refreshing operations described above should not be limited to the multi-value flash memory. As it is considered that the power supply voltage of the flash memory will change to a lower voltage, however, an increase in the variation of the threshold value cannot be ignored even in an ordinary flash memory, so that the refreshing operation is an effective function as the counter-measure against the lower power supply voltage of the flash memory.Fig. 20 shows an example of the construction of the memory array 12 and the sense latch circuit 13.The memory array 12 is an AND type, in which a plurality of memory cells MC (e.g., one hundred and twenty eight for one hundred and twenty eight batch-erasable word lines) are connected in series between a common drain line DL provided in parallel with the bit lines BL arranged perpendicularly to the word lines and adapted to output the read signal of the selected memory cell, and a common source line SL.The common drain line DL can be connected to the corresponding bit line BL through the switch MOSFET- 50 Ql, and the common source line SL can be connected to the grounding point through the switch MOSFET Q2. The gate control signals for those switch MOSFETs Ql and Q2 are generated on the basis of the X-address signal and the read / write control signal. The switch MOSFETs Ql and Q2 are turned on to discharge the bit lines through the ON memory cells by setting the gate control signals to a potential such as Vcc (3.3 V) at the data reading time (including the verifying time). At the data programming time, on the other hand, the gate control signal for the switch MOSFET Ql is set to a potential such as 7 V and turned on because the program voltage (5 V) of the bit lines is transmitted to the drains of the memory cells. At this time, the switch MOSFET Q2 on the common source line SL side is turned off.The sense latch circuit 13 is constructed of aCMOS differential type sense amplifier SA disposed for each memory column for amplifying the potential difference between the bit lines of the right and left memory arrays. Prior to the reading operation, the bit line of the selected side (on the lefthand side) memory array is precharged to a potential such as 1 V by a precharge MOS (SW21), and the bit line on the opposite side memory array is precharged to a potential such as 0.5 V by a precharge MOS (SW22).When the word line WL is set to the read level in this precharge state, the bit line retains 1.0 V if the selected memory cell has a high threshold value. However, if the selected memory cell has a low threshold value, an electric current flows to draw the charge on the bit line, so that the bit line takes a potential of 0.2 V. The potential difference between this potential of 1.0 V or 0.2 V and the potential of 0.5 V of the bit line on the opposite side is detected and amplified by the sense amplifier SA, so that the read data are latched in the sense amplifier SA.In the foregoing embodiment, as described before, the sense latch (the sense amplifier) corresponding to the bit line connected to the memory cell to be programmed is set to 1, the program pulse (-10 V) is applied to the word line, and then the word line is set to the verify voltage (about 3.5 V for the first time) corresponding to the program level thereby reading the memory cell to which the program pulse is applied. Moreover, the read data 1 are read out from the insufficiently programmed memory cell to the bit line, and program end or weak program is judged from the data read out, so that the data of the sense latch (the sense amplifier) whose bits are programmed are inverted to 0. In other words, the data 1 are left in the sense latch (the sense amplifier) corresponding to the insufficiently programmed memory cell, so that the program pulse may be applied again to the insufficiently programmed memory cell corresponding to the bit of 1.In the refreshing operations, too, the data read out to the sense latch are inverted, and the verification is executed to apply the program pulse to the memory cell corresponding to the bit of 1.The sense latch circuit of Fig. 20 is devised to have a inversion control circuit 30 which is interposed between the sense amplifier and the memory array and composed of four switches SW11, SW12, SW13 and SW14, so as to easily facilitate the inversion of the latch data of the sense amplifier corresponding to the memory cell, which has been programmed at the aforementioned programming time, and the narrowing of the memory cell to which the program pulse is to be applied.Here will be described the operation of this sense latch circuit. Incidentally, the switches SW21 and SW22 disposed on the individual bit lines BL are switches for precharging the bit lines and are constructed of MOSFETs, similarly to the aforementioned switches SW11 to SW14.At the data reading time, the switch SW13 is turned off at first. With the bit line BL and the sense amplifier SA disconnected from each other, as shown in Fig. 20, the switches SW21 and SW22 are then turned on to charge the bit line BL on the selected side to a precharge level of 1.0 V.At this time, the bit line on the unselected side is charged to the level of 0.5 V. Moreover, the sense amplifier SA turns on the switch SW14 to reset it and feed it a potential of 0.5 V. At this time, moreover, the switch MOSFETs Ql and Q2 are turned on byimpressing the voltage Vcc to their gates.Then, any word line WL in the memory array is set to the select level of 3.7 V. Then, the memory cells (e.g., the cell A and B of Fig. 17) having a lower threshold value than the word line select level are turned on, so that the bit line BL connected to them is discharged to the level of 0.2 V by the electric current flowing to the common source line SL through the ON memory cells. On the other hand, the memory cell (e.g., the cell C of Fig. 17) having a higher threshold value than the word line select level is turned off, so that the bit line BL connected to it is held at the precharge level of 1.0 V.Next, the switch SW14 is turned off to release the sense amplifier SA from the reset state and to activate it, and the switch SW13 on the bit line BL is turned on to connect the bit line BL to the sense amplifier SA. The power source voltage Vcc is fed to the P-MOS side of the sense amplifier SA, and the ground potential (0 V) is fed to the N-MOS side.Then, the sense amplifier SA amplifies the potential difference between the bit lines BL and BL* sufficiently, and the switch SW13 on the bit line BL is turned off. As a result, the sense amplifier SA comes into the state that it amplifies the level difference between the bit lines on the select and unselect sides and holds the data.When the latch data of the sense amplifier SA are to be inverted, the switch SW13 is turned off. With the bit line BL and the sense amplifier SA disconnected from each other, as shown in Fig. 21, the switches SW21 and SW22 are turned on to precharge the bit lines BL on the select and unselect sides to the level of Vcc-Vtn (e.g., 3.3 V - 0.6 V = 2.7 V). After this, the switches SW21 and SW22 are turned off, and the switch SW11 is turned on. In accordance with the data latched in the sense amplifier SA, the switch SW12 is then turned on if the data are ls, so that- 55 the bit line BL is discharged to the bit line inverting level (0 V). If the data latched in the sense amplifier SA are Os, on the other hand, the switch SW12 is turned off, so that the bit line BL retains the level Vcc. In short, the inverse level of the latched data of the sense amplifier SA appears in the corresponding bit line BL.Here, the switch SW14 is once turned on to reset the sense amplifier SA. After this, the switch SW14 is turned off, and the switch SW13 to the bit line BL is turned on to connect the bit line BL to the sense amplifier SA. In this meantime, the supply voltages on the P-MOS side and the N-MOS side of the sense amplifier SA are set to 0.5 V. Then, the supply voltage Vcc is fed to the P-MOS side of the sense amplifier SA whereas the ground potential (0 V) is fed to the N-MOS side, and the switch SW13 on the bit line BL is turned off. As a result, the sense amplifier SA takes the state that it latches the data corresponding to the level of the bit line in the aforementioned data latching state, as shown in Fig. 22.In other words, the sense amplifiers corresponding to the cells A and B of Fig. 17 latch the high level 1, and the sense amplifier corresponding to the cell C latches the low level 0.- 56 These operations are similar to the so-called program verifying operation. Hence, the bit line precharge has to be executed only for the portion in which the sense latch is H. By turning on the switch SW11 to set the bit line precharge voltage (1) to 1 V, therefore, only bit lines BLO and BL1 take the value of 1 V (the bit line BL2 is reset in advance to 0 V).Next, the switches SW21 and SW22 are turned on while the switch SW13 on the bit line BL being left off, to charge the select side bit line BL to the precharge level of 1.0 V and the unselected-side bit line to the level of 0.5 V. After this, a verify voltage such as 3.5 V slightly lower than the preceding read level (3.7 V) is applied to the selected word line. Then, the memory cell (e.g., the cell A of Fig. 17) having a lower threshold value than the word line selection level is turned on, so that the bit line BL connected thereto is discharged to the level such as 0.2 V.On the other hand, the memory cell (e.g., the cell B of Fig. 17) having a higher threshold value than the word line selection level is turned off, so that the bit line BL connected thereto retains the precharge level of 1 V. At this time, moreover, since the bit line, which is connected to 'the memory cell (e.g., the cell C of Fig. 17) corresponding the data 11 having the highest threshold value, intrinsically retains the low level, i.e., 0, it takes the low level even if it is off when the word line is set to the select level (Fig. 23).As a result, after the sense latch is reset in this state, the switch SW13 on the bit line BL is turned on. Then, the sense amplifier corresponding to the bit line, which is connected to the memory cell (e.g., the cell C of Fig. 17) corresponding to the data 11, and the sense amplifier corresponding to the bit line, which is connected to the memory cell (e.g., the cell A of Fig. 17) having a lower threshold valve than the word line select level, retain the low level 0, whereas the sense amplifier corresponding to the bit line, which is connected to the memory cell (e.g., the cell B of Fig. 17) having a higher threshold value than the word line select level, retains the high level 1. In the present embodiment, this data retained by the sense amplifier are used to make a shift to the programming operation to apply the program pulse (-10 V) to the selected word line, thereby lowering the threshold value of the memory cell corresponding to the retained data 1 of the sense amplifier.After the application of the program pulse, the reading operation is executed by setting the word line again to the selection level. Then, the bit line of the memory cell having a lower threshold value than the word line verify level is changed to the low level, i.e., 0, and the bit line connected to the insufficiently programmed memory cell retains the high level 1. By latching this state by the sense amplifier to execute the programming operation again, only the threshold value of the memory cell, in which the latched data of the sense latch corresponds to 1, is lowered to sharpen the threshold value distribution shape. The data latched by the sense amplifier A are fed to the aforementioned all decision circuit 20 through both so-called column switch turned on / off by the output signal of the Y-decoder 15 and the common I / O line, and it is judged whether or not they are all 0. If they are all 0, the refresh for the memory cells of the data 10 are ended, and the refresh for the memory cells of the data 01 and is executed.Incidentally, the re-programming operation of the insufficiently programmed memory cell in the aforementioned program mode is identical to the aforementioned one effected by the sense latch circuit- 59 13 at the refreshing time.In the foregoing embodiment, as has been described hereinbefore, at the data programming time, data of a plurality of bits are transformed by a data transforming logic circuit into data (multi-value data) according to the combination of the bits, and the transformed data are sequentially transferred to a latch circuit connected to the bit lines of a memory array. A program pulse is generated according to the data latched in the latch circuit and is applied to a memory element in a selected state, so that a threshold value is made to correspond to the multivalue data. At the data reading operation, the states of the memory elements are read out by changing the read voltage to intermediate values of the individual threshold values and are transferred to and latched in a register for storing the multi-value data, so that the original data may be restored by a data inverse transforming logic circuit on the basis of the multi-value data stored in the register. As a result, the following effects can be achieved. The peripheral circuit scale of the memory array can be suppressed to a relatively small size. In the programming operation, the verify voltage value of the word line is sequentially changed by a predetermined value in a direction away from the near side of the erasing word line voltage so that the total number of the program pulses, i.e., the program time period can be reduced compared to the multi-value flash memory system, in which the verify voltage is set at random, thereby to realize a programming operation performed in a short time.Moreover, after a weak erasing operation of the memory elements in the memory array is executed, the memory element, which has a threshold value lower than the read level of the word line and higher than the verify level, is detected, and the program is executed so that the threshold value of the memory element may be lower than the verify voltage, thereby narrowing the width of the variation distribution shape of the threshold voltage of the memory element which is programmed according to the individual input data. As a result, the following effect can be achieved. The variation distribution shape of the threshold voltage of the memory elements, which has been widened due to the disturb or the retention, can be returned to the steep shape substantially identical to that just after the end of the programming operation.Although our invention has been specifically described in connection with its embodiments, it should not be limited to the embodiments but can naturally be modified in various manners without departing from the gist thereof. In the foregoing embodiments, for example, the quaternary data are stored by setting the threshold value of one memory cell at four stages, but these threshold values can be set to three stages or five or more stages.In the embodiments, on the other hand, the inversion of the read data at the refreshing time and the narrowing of the memory cells, in which the read data are to be programmed, can be effected by using only the sense latch circuit. Despite of this construction, however, there may be provided a register for latching the read data and a logic circuit for narrowing the memory cell to be programmed, by performing a logic operation, e.g., by inverting the content of the register.In the embodiments, moreover, the three kinds of operations, as shown in Fig. 1(2), are executed as the transformation of the two-bits data into the quaternary data and vice versa. However, the logic operation should not be limited to those of Fig. 1 but may be any logic operation as long as data having different numbers of bits of 1 can be resultantly obtained. Furthermore, the operation for data inverse- 62 transformation should not be limited to those of Fig.but may be any operation as long as the original two-bits data can be restored, and the number of operations should not be limited to one but may be two or more.The programming method for each memory cell should not be limited that of the embodiment in which the threshold value is lowered by the program pulse after it has been once raised for the erasure, but may be the one in which the threshold value is raised by the program pulse. In the embodiment, moreover, the threshold value is changed by programming the memory cell corresponding to the sense latch latching the data 1. However, the threshold value may be changed by programming the memory cell which corresponds to the sense latch latching the data 0.The description thus far made is directed mainly to a batch-erase type flash memory to which our invention is applied and which is the field of application of its background. However, the present invention should not be limited thereto but can be applied generally to a nonvolatile memory device having FAMOSs as its memory elements and further widely to a semiconductor memory device which is equipped with memory cells having a.plurality of-threshold values.INDUSTRIAL APPLICABILITYAccording to the present invention, as has been 5 described hereinbefore, it is possible to realize a multi-value type nonvolatile memory device which can realize the programming, reading and erasing operations of high accuracy which are performed in a short time period while minimizing the increase in the circuit scale, and a nonvolatile memory device capable of sharpening the shape of the variation distribution of the threshold values of memory elements and stably operating at a low voltage.
Claims
1. A method for refreshing a nonvolatile memory device in which a plurality of memory cells are included, 5 and data of two bits or more are stored in one memory cell by setting a threshold voltage of said memory cell (12) to three or more stages and by changing the level of a word line coupled to the memory cell (12) to two or more stages to read said memory cell, comprising the steps of: 10 applying a weak erase pulse to a plurality of memory cells to change a threshold voltage of each of the plurality of memory cells to a first direction; detecting a memory cell (12) whose threshold voltage is excessively changed in the first direction, on 15 the basis of data read out by applying a predetermined voltage to the word line; and applying a program pulse to the detected memory cell (12), thereby to reduce the variation of the threshold voltage, 20 wherein said detecting step and said applying a program pulse step include: a first step of reading data of the plurality of memory cells (12) and latching the data in a sense latch circuit (13) by setting a 25 read voltage to be applied to the word line to an intermediate voltage between a ^flrrttn~~tbtreshold voltage representing a first , .d a second threshold voltage rop snd binary data, 30 a second step of inve: Bd in said sense latch circuit (1 a third step of setti ag feenatch circuit (13) which corresponds to a memory cell having a threshold voltage higher than a verify voltage which is lower than the intermediate voltage to ”1, and 5 a fourth step of applying the program pulse to the memory cell corresponding to the sense latch circuit (13) which is set to 11.
2. A method for refreshing a nonvolatile memory 10 device according to claim 1, wherein the steps of reducing the variation of said threshold voltage are executed at any one, two or more of timings when a number of programming / erasing operations reaches a predetermined value, when a reset signal is inputted, immediately before 15 a power supply is turned off, immediately after the power supply is turned on, and at every predetermined interval in a standby state.
3. A refresh method for a nonvolatile memory device 20 which includes a plurality of memory cells (12) whose threshold voltages are shifted in a first direction by applying a first erasing pulse thereto and are shifted in a second direction being different direction from the first direction by applying a writing pulse thereto, 25 wherein a threshold voltage of each of the plurality of memory cells is read as multiple-bit data, comprising: a first step of applying to the plurality of memory cells (12) a second erasing pulse that shifts a threshold voltage in said first direction, wherein the 30 shift which occurred by applying the second erasing pulse is less than a shift that occurs by applying said first erasing pulse; a second step, after said first step, of detecting a memory cell having a threshold voltage which is shifted over a predetermined value in said first direction by applying a predetermined voltage to the plurality of 5 memory cells (12); a third step of applying a writing pulse to the detected memory cell (12); and a programming step of changing a threshold voltage in each of the plurality of memory cells (12) in 10 accordance with data to be stored before the first step.4 . A refresh method for a nonvolatile memory device which includes a plurality of memory cells (12) whose threshold voltages are shifted in a first direction by 15 applying a first erasing pulse thereto and are shifted in a second direction being different direction from the first direction by applying a writing pulse thereto, wherein a threshold voltage of each of the plurality of memory cells is read as multiple-bit data, comprising: 20 a first step of applying to the plurality of memory cells (12) with a second erasing pulse that shifts a threshold voltage in said first direction, wherein the shift occurred by applying the second erasing pulse is less than that by applying said first erasing pulse; 25 a second step, after said first step, of detecting a memory cell (12) having a threshold voltage which is shifted over a predetermined value in said first direction by applying a predetermined voltage to the plurality of memory cells (12); and 30 a third step of applying a writing pulse to the detected memory cell, wherein the plurality of memory cells (12) - 67 includes a memory cell having a threshold voltage representing a first data in the multiple-bit data, a memory cell having a threshold voltage representing a second data in the multiple-bit data and a memory cell Aaving a threshold voltage representing a third data in the multiple-bit data.
5. A refresh method according to claim 4, further comprising : a programming step of changing a threshold voltage in each of memory cells (12) in accordance with data to be stored, before the first step.
6. A refresh memory according to claim 5, wherein each of the plurality of memory cells (12) includes a MOSFET having a control gate, a floating gate, a drain region and source region.
7. A method for refreshing a nonvolatile memory device in which a plurality of memory cells (12) are included, and data of two bits or more are stored in one memory cell by setting a threshold voltage of said memory cell to three or more stages and by changing the level of a word line coupled to the memory cell to two or more ,'stages to read said memory cell, comprising the steps of: applying a weak erase pulse to a plurality of memory cells (12) to change a threshold voltage of each of the plurality of memory cells to a first direction; detecting a memory cell (12) whose threshold voltage is excessively changed in the first direction, on the basis of data read out by applying a predetermined voltage to the word line; and $ j applying a program pulse to the detected memory cell (12), thereby to reduce the variation of the threshold voltage, wherein the steps of reducing the variation of 5 said threshold voltage are executed at any one, two or more of timings when a number of programming / erasing operations reaches a predetermined value, when a reset signal is inputted, immediately before a power supply is turned off, immediately after the power supply is turned 10 on, and at every predetermined interval in a standby state .
8. A multi-value memory comprising: a memory array (12) including a plurality of 15 memory cells, wherein data is written to each of said plurality of memory cells by setting one of at least three conditions including an erase level, a first storing level, and a second storing level to the memory cell; and a writing circuit which performs a first writing 20 operation for setting the first storing level to both of a first one of said plurality of memory cells to be set to the first storing level, and a second one of said plurality of memory cells to be set to the second storing Level, and thereafter performs a second writing operation 25 tor setting the second storing level to the memory cell to be set to the second storing level.
9. A multi-value memory according to claim 8, wherein in each of the plurality of memory cells data is written 30 by setting one of at least four conditions including the <srase level, the first storing level, the second storing level and a third storing level to the memory cell, wherein the first storing level is set between the erase level and the second storing level, and the second storing level is set between the first storing level and the third storing level, and wherein the writing circuit performs the first writing operation to the memory cell to be set to the first storing level, to the memory cell to be set to the second storing level and to a memory cell to be set to the third storing level, thereafter performs the second writing operation to both of the memory cell to be set to the second storing level and the memory cell to be set to the third storing level, and thereafter performs a third writing operation for setting the third storing level to the memory cell to be set to the third storing level.
10. A multi-value memory according to claim 9, wherein each of the plurality of memory cells (12) is a flash memory cell and wherein each of the four conditions is represented by a threshold voltage of the memory cell.
11. A multi-value memory according to claim 10, wherein a threshold voltage for representing the erase level has a higher level than that for representing the first storing level.
12. A multi-value memory according to claim 9, wherein the erase level represents data ”11 and the third storing level represents data ”00.
13. A multi-value memory according to claim 8, wherein the writing circuit includes a circuit which performs a first verify operation and a second verify operation, wherein said first verify operation checks conditions read out from said first one and said second one of said plurality of memory cells (12) after the first writing operation is performed, if both of said first one and said second one of said plurality of memory cells which are set to said first storing level are verified by said first verify operation said second writing operation is performed, and wherein said second verify operation checks a condition read out from said second one of said plurality of memory cells after said second writing operation is performed.
14. A multi-value memory according to claim 13, wherein a signal to be supplied to the memory cell in the first verify operation is different from a signal to be supplied to the memory cell in the second verify operation .
15. A multi-value memory comprising: a memory array (12) including a plurality of memory cells, wherein data is written to each of said plurality of memory cells by setting one of at least three conditions including an erase level, a second storing level, and a first storing level to be set between the erase level and the second storing level, and a writing circuit which performs a first writing operation for setting the first storing level to a first one of said plurality of memory cells to be set to the first storing level from said erase level, and thereafter performs a second writing operation for setting the second storing level to a second one of said plurality of memory cells to be set to the second storing level from said erase level.
16. A multi-value memory according to claim 15, wherein in each of the plurality of memory cells (12) data is written by setting one or at least four conditions including the erase level, the first storing level, the second storing level and a third storing level to the memory cell, wherein the first storing level is set between the erase level and the second storing level, and the second storing level is set between the first storing level and the third storing level, and wherein the writing circuit performs the first writing operation to the memory cell to be set to the first storing level in the memory array (12), performs the second writing operation to the memory cell to be set to the second storing level in the memory array (12), and performs a third writing operation for setting the third storing level to the memory cell to be set to the third storing level in the memory array (12).
17. A multi-value memory according to claim 16, wherein the third writing operation is performed after the second writing operation, and the second writing operation is performed after the first writing operation.
18. A multi-value memory according to claim 15, wherein each of the plurality of memory cells is a flash memory cell and wherein each of the four conditions is represented by a threshold voltage of the memory cell. if. 1·',19. A multi-value memory according to claim 18, wherein the second writing operation is performed after the first writing operation.
20. A multi-value memory comprising: a memory array (12) including a plurality of memory cells, wherein data is written to each of said plurality of memory cells by setting one of at least three conditions including an erase level, a second storing level, and a first storing level to be set between the erase level and the second storing level; and a writing circuit which performs a first writing operation for setting the first storing level to a first group of said plurality of memory cells to be set to the first storing level from said erase level, and thereafter performs a second writing operation for setting the second storing level to a second group of said plurality of memory cells to be set to the second storing level from said erase level.
21. A multi-value memory comprising: a memory array (12) including a plurality of memory cells and a plurality of word lines each of which is coupled with corresponding memory cells, wherein data is written to each of said plurality of memory cells by setting one of at least three conditions including an erase level, a first storing level and a second storing level; a writing circuit which performs a first writing operation for setting the first storing level to both of a first one of said plurality of memory cells to be set to the first storing level, and a second one of said plurality of memory cells to be set to the second storing level, and thereafter performs a second writing operation for setting the second storing level to said second one of said plurality of memory cells to be set to the second 5 storing level; and a controller which controls a refresh operation of said memory array, wherein said refresh operation controlled by said controller includes the steps of: io applying a weak erase pulse to said plurality of memory cells (12) to change a threshold voltage corresponding to said erase level, said first storing level, and said second storing level of each of the plurality of memory 15 cells to a first direction, detecting a memory cell whose threshold voltage is excessively changed in the first direction, on the basis of data read out by applying a predetermined voltage to the word line, 20 and applying a program pulse to the detected memory cell, thereby to reduce the variation of the threshold voltage, wherein said detecting step and said applying a 25 program pulse step include: a first step of reading data of the plurality of memory cells (12) and latching the data in a sense latch circuit by setting a read voltage to be applied to the word line to an 30 intermediate voltage between a first threshold voltage representing a first binary data and a second threshold voltage representing a second binary data, a second step of inverting the data latched in said sense latch circuit (13), a third step of setting a sense latch circuit (13) which corresponds to a memory cell having a threshold voltage higher than a verify voltage which is lower than the intermediate voltage to ”1, and a fourth step of applying the program pulse to the memory cell corresponding to the sense latching circuit (13) which is set to ”1.
22. A multi-value memory comprising: a memory array (12) including a plurality of memory cells, wherein multiple-bit data is written to each of said plurality of memory cells by setting one of at least three conditions including an erase level, a second storing level, and a first storing level to be set between the erase level and the second storing level; a writing circuit which performs a first writing operation for setting the first storing level to a first one of said plurality of memory cells to be set to the first storing level, and thereafter performs a second writing operation for setting the second storing level to a second one of said plurality of memory cells to be set to the second storing level; and a controller which controls a refresh operation, wherein said refresh operation controlled by said controller includes: a first step of applying to the plurality of memory cells (12) a second erasing pulse that shifts a threshold voltage to a first direction which is shifted by being applied with a first erasing pulse, wherein the shift which occurred by applying the second erasing pulse is less than a 5 shift that occurs by applying said first erasing pulse, a second step, after said first step, of detecting a memory cell having a threshold voltage which is shifted over a predetermined value in 10 said first direction by applying a predetermined voltage to the plurality of memory cells (12), a third step of applying a writing pulse to the detected memory cell, and a programming step of changing a threshold 15 voltage in each of the plurality of memory cells in accordance with data to be stored before said first step.
23. A nonvolatile semiconductor memory device 20 comprising: a plurality of nonvolatile memory cells (12) each of which has a threshold voltage corresponding to data of at least two bits, and threshold voltages of which are allocated as at least three threshold ranges indicating 25 mutually different, programming states and a threshold range indicating an erase state different from said programming states, and a controller which controls to set each threshold voltage of ones of said plurality of nonvolatile memory 30 cells, wherein said controller carries out a setting operation to set each threshold voltage of ones of said plurality of nonvolatile memory cells (12) in accordance with data to be stored in each one of said plurality of nonvolatile memory cells (12), and wherein said setting operation carried out by said controller includes: a first step setting each threshold voltage of ones of said plurality of nonvolatile memory cells (12) so as to allocate each threshold voltage in a threshold range which corresponds to one of said at least three threshold ranges corresponding to said programming states in accordance with said data to be stored in each one of said plurality of nonvolatile memory cells (12), wherein each of said memory cells having been set to said threshold voltage corresponding to said erase state prior to said first step, and a second step modifying threshold voltages of at least necessary ones of said plurality of nonvolatile memory cells each of which has a threshold voltage set by said first step.
24. A nonvolatile semiconductor memory device comprising : a plurality of nonvolatile memory cells (12) each of which has a threshold voltage corresponding to data of at least two bits, and threshold voltages of which are allocated as at least three threshold ranges indicating mutually different programming states and a threshold range indicating an erase state different from said programming states; a controller which controls to set each threshold voltage of ones of said plurality of nonvolatile memory cells, wherein said controller carries out a setting operation to set each threshold voltage of ones of said j plurality of nonvolatile memory cells (12) in accordance 5 with data to be stored in each one of said plurality of nonvolatile memory cells, and wherein said setting operation carried out by said controller includes: a first step setting each threshold voltage 10 of ones of said plurality of nonvolatile memory ί cells (12) so as to allocate each threshold voltage in a threshold range which corresponds to i one of said at least three threshold ranges corresponding to said programming states in 15 accordance with said data to be stored in each one of said plurality of nonvolatile memory cells (12), wherein each of said memory cells having been set to said threshold voltage corresponding to said erase state prior to said first step, and 20 a second step modifying threshold voltages of at least necessary ones of said plurality of nonvolatile memory cells (12) each of which has a threshold voltage set by said first step; and a plurality of word lines each of which is25 coupled with the corresponding memory cells of said plurality of nonvolatile memory cells (12).
25. A nonvolatile semiconductor memory device according to claim 24, further comprising: i 30 a plurality of terminals receiving an address signal for selecting a word line from said plurality of word lines, wherein said plurality of terminals receives a command for setting each threshold voltage of ones of said plurality of nonvolatile memory cells (12) to one of said at least three threshold ranges.
26. A nonvolatile semiconductor memory device according to claim 25, wherein said second step modifies said threshold voltages of at least necessary ones of said plurality of nonvolatile memory cells (12) each of which has a threshold voltage set by said first step in accordance with said data to be stored in each one of said plurality of nonvolatile memory cells.
27. A nonvolatile semiconductor memory device according to claim 26, wherein each of said plurality of nonvolatile memory cells (12) has a floating gate, each threshold voltage of said plurality of nonvolatile memory cells (12) is set by electrically programming electrons to said floating gate.
28. A nonvolatile semiconductor memory device comprising: a plurality of nonvolatile memory cells (12) each of which has a threshold voltage corresponding to data of at least two bits, and threshold voltages of which are allocated as at least three threshold ranges indicating mutually different programming states and a threshold range indicating an erase state different from said programming states; and a controller which controls to set each threshold voltage of ones of said plurality of nonvolatile memory cells, - 79 wherein said controller carries out a setting operation to set each threshold voltage of ones of said plurality of nonvolatile memory cells (12) in accordance with data to be stored in each one of said plurality of nonvolatile memory cells, wherein said setting operation carried out by said controller includes: a first step setting each threshold voltage of ones of said plurality of nonvolatile memory cells (12) so as to allocate each threshold voltage in a threshold range which corresponds to one of said at least three threshold ranges corresponding to said programming states in accordance with said data to be stored in each one of said plurality of nonvolatile memory cells (12), wherein each of said memory cells having been set to said threshold voltage corresponding to said erase state prior to said first step, and a second step modifying threshold voltages of at least necessary ones of said plurality of nonvolatile memory cells (12) each of which has a threshold voltage set by said first step, and wherein said threshold voltages of nonvolatile memory cells (12) allocated in said at least three threshold ranges are moved to said threshold range indicating said erase state by executing an erase command.
29. A nonvolatile memory device bits or more are stored in one mem threshold value of said memory ce' stages and by changing a level of a or more stages to read said memory cell, comprising: a binary data register latching program data which includes a plurality of bits; a data transforming logic circuit executing a predetermined operation for the plurality of bits in the program data to transform the program data into multivalue data according to a combination in binary data represented by the plurality of bits; an inverse transforming logic circuit (14) for transforming the multi-value data read out from said memory cell into the binary data represented by the plurality of bits; a memory array (12) including a plurality of memory cells; a selection circuit selecting a memory cell from the memory array (12); a control circuit sequentially changing a program voltage to be supplied to the selected memory cell to program said multi-value data in the selected memory in a memory array (12); and a circuit coupled to the word line and sequentially changing a voltage to be supplied to the word line in a program verifying operation in which a threshold voltage is verified and in a reading operation in which data is read out from the memory cell, in a direction apart from the voltage which is set to the word line in an erasure operation in which a threshold voltage of the memory cell is changed to a predetermined value.
30. A nonvolatile memory device in which data of two bits or more are stored in one memory cell by setting a threshold value of said memory cell to three or more stages and by changing a level of a word line to two or more stages to read said memory cell, comprising: a binary data register latching program data which includes a plurality of bits; a data transforming logic circuit (14) executing a predetermined operation for the plurality of bits in the program data to transform the program data into multivalue data according to a combination in binary data represented by the plurality of bits; an inverse transforming logic circuit (14) for transforming the multi-value data read out from said memory cell into the binary data represented by the plurality of bits; and a circuit coupled to the word line and sequentially changing a voltage to be supplied to the word line in a program verifying operation in which a threshold voltage is verified and in a reading operation in which data is read out from the memory cell, in a direction apart from the voltage which is set to the word line in an erasure operation in which a threshold voltage of the memory cell is changed to a predetermined value.
31. A semiconductor memory device comprising: a memory array (12) including a plurality of electrically programmable and erasable memory cells each of which stores one of three memory state ”0, ”1, and 2 each of which is represented by a threshold voltage in three threshold voltages; and a writing circuit executing a write operation to said memory cell to change the memory state of said memory cell, wherein, the threshold voltage corresponding to the memory state ”1 has a value between the threshold voltage corresponding to the memory state ”0 and that corresponding to the memory state 2, and when changing the memory state of said memory cell to 2, said writing circuit executes the write operation to said memory cell to change the memory state to 1, then the write operation to said memory cell to change the memory state from 1 to 2.
32. A semiconductor memory device according to claim 31, wherein, when storing information in memory cells whose memory state is 0, said writing circuit executes the write operation for ones of the memory cells to change the memory of said ones to 1, then executes the write operation for ones of the memory cells whose memory state has been changed to ”1 to change the memory state to 2.
33. A semiconductor memory device comprising: a memory array (12) including a plurality of electrically programmable and erasable memory cells each of which stores one of three memory state ”0, 1, and 2 each of which is represented by a threshold voltage in three threshold voltages; and a writing circuit that writes data to said memory cells to change the memory state of said memory cells, wherein, the threshold voltage corresponding to the memory state 1 has a value between the threshold voltage corresponding to the memory state ”0 and that corresponding to the memory state 2, and when storing information into memory cells whose memory state is ”0, said writing circuit executes a write operation for ones of the memory cells whose memory state is 0 to change the memory state into I, then executes a write operation for ones of the memory cells whose memory state is 0 to change the memory state into 2.
34. A semiconductor memory device comprising: a memory array (12) including a plurality of electrically programmable and erasable memory cells each of which stores one of three memory state 0, ”1, and 2 each of which is represented by a threshold voltage in three threshold voltages; and a writing circuit executing a write operation for said memory cell to change the memory state of said memory cell, wherein, the threshold voltage corresponding to the memory state ”1 has a value between the threshold voltage corresponding to the memory state ”0 and that corresponding to the memory state 2, and if the memory array (12) includes memory cells having the memory state 0, memory cells having the memory state 1 and memory cells having the memory state ''2 by storing information into memory cells whose memory state is 0, said writing circuit executes the write operation at least twice.
35. A semiconductor memory device according to claim 34, wherein a verification operation in which the threshold voltage is verified is performed at least once between said two writer operations.
36. A semiconductor memory device comprising: a memory array (12) including a plurality of electrically programmable and erasable memory cells each of which stores one of three memory state 0, 1, and 2 each of which is represented by a threshold voltage in three threshold voltages; and a writing circuit executing a write operation for said memory cell to change the memory state of said memory cell, wherein, the threshold voltage corresponding to the memory state 1 has a value between the threshold voltage corresponding to 0 and that corresponding to 2, and if the memory array (12) includes memory cells having the memory state 0, memory cells having the memory state 1 and memory cells having the memory state 2 by storing information into memory cells whose memory state is 0, said writing circuit executes a first writing operation that changes state 0 into 1 and a second writing operation that changes state 1 into 2 in this order.
37. A semiconductor memory device according to claim 36, wherein a first verification in which the threshold voltage is verified is performed is performed between said first and second writing operations and a second verification in which the threshold voltage is verified is performed is performed after said second writing operation.
38. A semiconductor memory device according to claim 37, wherein a threshold voltage used to detect the threshold voltage of the memory cell differs between said first verification and said second verification.
39. A semiconductor memory device comprising: a memory array (12) including a plurality of memory cells each of which stores one of at least three memory states each of which is represented by a threshold voltage in at least three threshold voltages; and a data circuit that holds data corresponding to said memory states in said memory cells, a writing circuit that writes data to said memory cells according to contents of said data circuits, wherein, said writing circuit verifies a memory cell using a verification voltage when changing the memory cell to a first threshold voltage, and verifies a memory cell using multiple verification voltages when changing the memory cell to a second threshold voltage.
40. A semiconductor memory device comprising: a memory array (12) including a plurality of electrically programmable and erasable memory cells each of which stores one of three memory states 0, ”1, and 2 each of which is represented by a threshold voltage in three threshold voltages; and a writing circuit executing a write operation for said memory cell to change the memory state of said memory cell, wherein, the threshold voltage corresponding to the memory state 1 has a value between the threshold voltage corresponding to 0 and that corresponding to 2, and if the memory array (12) includes memory cells having the memory state 0, memory cells having the memory state 1 and memory cells having the memory state ”2 by storing information into memory cells whose memory state is 0, said writing circuit executes a first verification to check whether a memory cell is in state 1 and a second verification to check whether a memory cell is in state 2 in that order.
41. An access method for a semiconductor memory device comprising a memory array (12) including a plurality of electrically programmable and erasable memory cells each of which stores one of three memory state 0, 1, and 2 each of which is represented by a threshold voltage in three threshold voltages, wherein, the threshold voltage corresponding to 1 has a value between the threshold voltage corresponding to 0 and that corresponding to 2, comprising the steps of: executing a first verification to check whether a memory cell is in state 1 and a second verification to check whether a memory cell is in state 2, if the memory array includes memory cells having the memory state 0, memory cells having the memory state 2 and memory cells having the memory state 2 by storing information into memory cells whose memory state is 0, and executing a first reading operation to read state 1 and a second reading operation to read state 2, if the memory state 1 and memory cells having the memory state 2 by storing information into memory cells whose memory state is 0, wherein a first voltage is used for said first reading operation, a second voltage is used for said first verification, a third voltage is used for said second reading operation, and a fourth voltage is used for said second verification, said first to fourth voltages are specified in ascending order or descending order (FIGS. 6 and 9).42 . A nonvolatile memory device in which two or more bits of data is stored in each memory cell whose threshold voltage is set to two or more levels and whose contents is read by changing the word line level to two or more levels, comprising: a first binary data register that holds the input write data; a data conversion logic circuit that performs a specified calculation between the bits of input data to convert the data into multiple-value data according to the combination of the bits; a second binary data register that holds the data read from said memory cells; a restore circuit that converts the multiple-value data stored in said memory cells into binary data; a memory array (12) including a plurality of memory cells; a selection circuit selecting a memory cell from the memory array; a control circuit sequentially changing a program voltage to be supplied to the selected memory cell to program said multi-value data in the selected memory in a memory array (12); and a circuit coupled to the word line and sequentially changing a voltage to be supplied to the word line in a program verifying operation in which a threshold voltage is verified and in a reading operation in which data is read out from the memory cell, in a direction apart from the voltage which is set to the word line in an erasure operation in which a threshold voltage of the memory cell is changed to a predetermined value.
43. A nonvolatile memory device in which two or more bits of data is stored in each memory cell whose threshold voltage is set to two or more levels and whose contents is read by changing the word line level to two or more levels, comprising: a first binary data register that holds the input write data; a data conversion logic circuit (14) that performs a specified calculation between the bits of input data to convert the data into multiple-value data according to the combination of the bits; a second binary data register that holds the data read from said memory cells; a restore circuit that converts the multiple-value data stored in said memory cells into binary data; and a circuit coupled to the word line and sequentially changing a voltage to be supplied to the word line in a program verifying operation in which a threshold voltage is verified and in a reading operation in which data is read out from the memory cell, in a direction apart from the voltage which is set to the word line in an erasure operation in which a threshold voltage of the memory cell is changed to a predetermined value.
44. A multi-value nonvolatile semiconductor memory device comprising: a plurality of memory cells each of which has a threshold voltage corresponding to data of at least two bits, and threshold voltages of which are distributed as at least three threshold distributions indicating mutually different programming states and a threshold distribution indicating an erase state different from said programming states; and a controller which controls to set each threshold voltage of ones of said plurality of memory cells, wherein said controller carries out a setting operation to set each threshold voltage of ones of said plurality of memory cells in accordance with data to be stored in each said plurality of memory cells, and wherein said setting operation carried out by said controller includes: a first step setting each threshold voltage of ones of said plurality of memory cells so as to allocate each threshold voltage in a threshold distribution which corresponds to one of said at least three threshold distributions corresponding to said programming states set from said threshold distribution corresponding to said erase state in accordance with said data to be stored in each one of said plurality of memory cells, and a second step varying threshold distributions of said plurality of memory cells each of which has a threshold voltage set by said first step.
45. A multi-value nonvolatile semiconductor memory device according to claim 44, further comprising: a plurality of word lines each of which is coupled to the corresponding memory cells of said plurality of memory cells.
46. A multi-value nonvolatile semiconductor memory device according to claim 45, further comprising: a plurality of terminals receiving an address signal for selecting a word line from said plurality of word lines, wherein said plurality of terminals receives a command for setting each threshold voltage of ones of said plurality of memory cells to one of said at least three threshold distributions.
47. A multi-value nonvolatile semiconductor memory device according to claim 46, wherein said second step varies said threshold distributions of said plurality of memory cells each of which has a threshold voltage set by said first step in accordance with said data to be stored in each one of said plurality of memory cells.
48. A multi-value nonvolatile semiconductor memory device according to claim 47, wherein each of said plurality of memory cells has a floating gate, each threshold voltage of said plurality of memory cells is set by electrically programming electrons to said floating gate .
49. A multi-value nonvolatile semiconductor memory device according to claim 44, wherein said threshold voltages of memory cells allocated in said at least three threshold distributions are moved to said threshold distribution corresponding to said erase state by executing an erase command.
50. A multi-value nonvolatile semiconductor memory device comprising: a plurality of memory cells each of which has a threshold voltage corresponding to data of at least two bits, wherein threshold voltages of ones of said plurality of memory cells are shifted to at least three threshold distributions indicating mutually different programming states from a threshold distribution indicating an erase state different from said programming states; and a controller which controls to set each threshold voltage of ones of said plurality of memory cells, wherein said controller carries out a setting operation to set each threshold voltage of ones of said plurality of memory cells in accordance with data to be stored in each of said plurality of memory cells and a verify operation for verifying whether threshold voltages of ones of said plurality of memory cells are set to a threshold voltage corresponding to data to be stored in each of said plurality of memory cells, and wherein said setting operation carried out by said controller includes: a first step setting each threshold voltage of ones of said plurality of memory cells so as to allocate each threshold voltage in a threshold distribution which corresponds to one of said at least three threshold distributions corresponding to said programming states shifted from said threshold distribution corresponding to said erase state in accordance with said data to be stored in each one of said plurality of 2 memory cells, and a second step varying threshold distributions of said plurality of memory cells each of which has a threshold voltage set by said first step after the setting of threshold voltages of ones of said plurality of memory cells by said first step are verified by said verify operation of said controller.
51. A multi-value nonvolatile semiconductor memory device according to claim 50, further comprising: a plurality of word lines each of which is coupled to the corresponding memory cells of said plurality of memory cells.
52. A multi-value nonvolatile semiconductor memory device according to claim 51, further comprising: a plurality of terminals receiving an address signal for selecting a word line from said plurality of word lines, wherein said plurality of terminals receives a command for setting each threshold voltage of ones of said plurality of memory cells to one of said at least three threshold distributions.
53. A multi-value nonvolatile semiconductor memory device according to claim 52, further comprising: a voltage generation circuit which generates three or more verify voltages for verifying whether or not each threshold voltage of said ones of said plurality of memory cells is shifted to said at least three threshold distributions, wherein values of said at least three verify voltages are different from each other.
54. A multi-value nonvolatile semiconductor memory device according to claim 53, wherein said second step varies said threshold distributions of said plurality of memory cells each of which has a threshold voltage set by said first step in accordance with said data to be stored in each one of said plurality of memory cells.
55. A multi-value nonvolatile semiconductor memory device according to claim 54, wherein each of said plurality of memory cells has a floating gate, each threshold voltage of said plurality of memory cells is set by electrically programming electrons to said floating gate .
56. A multi-value nonvolatile semiconductor memory device according to claim 50, wherein said threshold voltages of memory cells allocated in said at least three threshold distributions are moved to said threshold distribution indicating said erase state by executing an erase command.
57. A multi-value nonvolatile semiconductor memory device comprising: a plurality of memory cells each of which has a threshold voltage corresponding to data of at least two bits and threshold voltages of which are distributed as at least three threshold distributions indicating mutually different programming states and a threshold distribution indicating an erase state different from said programming states; and a controller which controls to set each threshold voltage of ones of said plurality of memory cells, wherein said controller carries out a setting operation to set each threshold voltage of ones of said plurality of memory cells in accordance with data to be stored in each of said plurality of memory cells, and wherein said setting operation carried out by said controller includes: a first step setting each threshold voltage of ones of said plurality of memory cells so as to allocate each threshold voltage in a threshold distribution which corresponds to one of said at least three threshold distributions corresponding to said programming states set from said threshold distribution corresponding to said erase state in accordance with said data to be stored in each one of said plurality of memory cells, wherein with respect to said first step ones of said plurality of memory cells are programmed in parallel to each corresponding one of said at least three threshold distributions corresponding to said programming states from said threshold distribution corresponding to said erase state in accordance with said data to be stored in each of said plurality of memory cells, and a second step varying threshold distributions of said plurality of memory cells each of which has a threshold voltage set by said first step.
58. A multi-value nonvolatile semiconductor memory device according to claim 57, further comprising: a plurality of word lines each of which is coupled to the corresponding memory cells of said plurality of memory cells.
59. A multi-value nonvolatile semiconductor memory device according to claim 58, further comprising: a plurality of terminals receiving an address signal for selecting a word line from said plurality of word lines, wherein said plurality of terminals receives a command for setting each threshold voltage of ones of said plurality of memory cells to one of said at least three threshold distributions.
60. A multi-value nonvolatile semiconductor memory device according to claim 59, wherein said second step varies said threshold distributions of said plurality of memory cells, each of which has a threshold voltage set by said first step in accordance with said data to be stored in each one of said plurality of memory cells.
61. A multi-value nonvolatile semiconductor memory device according to claim 60, wherein each of said plurality of memory cells has a floating gate, each threshold voltage of said plurality of memory cells is set by electrically programming electrons to said floating gate .
62. A multi-value nonvolatile semiconductor memory device according to claim 57, wherein said threshold voltages of memory cells allocated in said at least three threshold distributions are moved to said threshold distribution indicating said erase state by executing an erase command.
63. A multi-value nonvolatile semiconductor memory device comprising: a plurality of memory cells each of which has a threshold voltage corresponding to data of at least two bits, wherein threshold voltages of ones of said plurality of memory cells are shifted to at least three threshold distributions indicating mutually different programming states from a threshold distribution indicating an erase state different from said programming states; and a controller which controls to set each threshold voltage of ones of said plurality of memory cells, wherein said controller carries out a setting operation to set each threshold voltage of ones of said plurality of memory cells in accordance with data to be stored in each one of said plurality of memory cells and a verify operation for verifying whether or not threshold voltages of ones of said plurality of memory cells are set to a threshold voltage corresponding to data to be stored in each of said plurality of memory cells, and wherein said setting operation carried out by said controller includes: a first step setting each threshold voltage of ones of said plurality of memory cells so as to allocate each threshold voltage in a threshold distribution which corresponds to one of said at least three threshold distributions corresponding to said programming states shifted from said threshold distribution corresponding to said erase state in accordance with said data to be stored in each one of said plurality of memory cells, wherein with respect to said first step ones of said plurality of memory cells are programmed in parallel to each corresponding one of said at least three threshold distributions corresponding to said programming states from said threshold distribution corresponding to said erase state in accordance with said data to be stored in each one of said plurality of memory cells, and a second step varying threshold distributions of said plurality of memory cells each of which has a threshold voltage set by said first step after the setting of threshold voltages of ones of said plurality of memory cells by said first step are verified by said verify operation of said controller.
64. A multi-value nonvolatile semiconductor memory device according to claim 63, further comprising: a plurality of word lines each of which is coupled to the corresponding memory cells of said plurality of memory cells.
65. A multi-value, nonvolatile semiconductor memory device according to claim 64, further comprising: a plurality of terminals receiving an address signal for selecting a word line from said plurality of word lines, wherein said plurality of terminals receives a command for setting each threshold voltage of ones of said plurality of memory cells to one of said at least three threshold distributions.
66. A multi-value nonvolatile semiconductor memory device according to claim 65, further comprising: a voltage generation circuit which generates a first, second and third verify voltages, said first verify voltage for verifying whether threshold voltages of said second memory cells are shifted to said second threshold distribution, said second verify voltage for verifying whether said third memory cells are shifted to said third threshold distribution, said third verify voltage for verifying whether said fourth memory cells are shifted to said fourth threshold distribution, wherein values said first, said second and said third verify voltages are different from each other.
67. A multi-value nonvolatile semiconductor memory device according to claim 66, wherein said second step varies said threshold distributions of said plurality of memory cells each of which has a threshold voltage set by said first step in accordance with said data to be stored in each one of said plurality of memory cells.
68. A multi-value nonvolatile semiconductor memory device according to claim 67, wherein each of said plurality of memory cells has a floating gate, each threshold voltage of said plurality of memory cells is set by electrically programming electrons to said floating gate .
69. A multi-value nonvolatile semiconductor memory device according to claim 63, wherein said threshold voltages of memory cells allocated in said at least three threshold distributions are moved to said threshold distribution indicating said erase state by executing an erase command.
70. A nonvolatile semiconductor memory device comprising : a plurality of nonvolatile memory cells each of which has a threshold voltage corresponding to data of at least two bits, wherein threshold voltages of ones of said plurality of nonvolatile memory cells are moved to at least three threshold ranges indicating mutually different programming states from a threshold range indicating an erase state different from said programming states; and a controller which controls to set each threshold voltage of ones of said plurality of nonvolatile memory cells, wherein said controller carries out a setting operation to set each threshold voltage of ones of said plurality of nonvolatile memory cells in accordance with data to be stored in each one of said plurality of nonvolatile memory cells and a verify operation for verifying whether threshold voltages of ones of said plurality of nonvolatile memory cells are set to a threshold range corresponding to data to be stored in each one of said plurality of memory cells, and wherein said setting operation carried out by said controller includes: a first step setting each threshold voltage of ones of said plurality of nonvolatile memory cells so as to allocate each threshold voltage in a threshold range which corresponds to one of said at least three threshold ranges corresponding to said programming states in accordance with said data to be stored in each one of said plurality of nonvolatile memory cells, wherein each of said memory cells have been set to said threshold voltages corresponding to said erase state prior to said first step, and a second step modifying threshold voltages of at least necessary ones of said plurality of nonvolatile memory cells each of which has a threshold voltage set by said first step after the 100 setting of threshold voltages of ones of said plurality of memory cells by said first step are verified by said verify operation of said controller .
71. A nonvolatile semiconductor memory device according to claim 70, further comprising: a plurality of word lines each of which is coupled to the corresponding memory cells of said plurality of memory cells.
72. A nonvolatile semiconductor memory device according to claim 71, further comprising: a plurality of terminals receiving an address signal for selecting a word line from said plurality of word lines, wherein said plurality of terminals receives a command for setting each threshold voltage of ones of said plurality of nonvolatile memory cells to one of said at least three threshold ranges.
73. A nonvolatile semiconductor memory device according to claim 72, further comprising: a voltage generation circuit which generates three or more verify voltages for verifying whether or not each threshold voltage of said ones of said plurality of memory cells is shifted to said at least three threshold ranges, wherein values of said at least three verify voltages are different from each other.
74. A nonvolatile semiconductor memory device according to claim 73, wherein said second step modifies 101 said threshold voltages at least necessary ones of said plurality of nonvolatile memory cells each of which has a threshold voltage set by said first step in accordance with said data to be stored in each one of said plurality of nonvolatile memory cells.
75. A nonvolatile semiconductor memory device according to claim 74, wherein each of said plurality of nonvolatile memory cells has a floating gate, each threshold voltage of said plurality of nonvolatile memory cells is set by electrically programming electrons to said floating gate.
76. A nonvolatile semiconductor memory device according to claim 70, wherein said threshold voltages of nonvolatile memory cells allocated in said at least three threshold ranges are moved to said threshold range indicating said erase state by executing an erase command.
77. A nonvolatile semiconductor memory device comprising : a plurality of nonvolatile memory cells each of which has a threshold voltage corresponding to data of at least two bits, and threshold voltages of which are allocated as at least three threshold ranges indicating mutually different programming states and a threshold range indicating an erase state different from said programming states; and a controller which controls to set each threshold voltage of ones of said plurality of nonvolatile memory cells, wherein said controller carries out a setting s - 102 operation to set each threshold voltage of ones of said plurality of nonvolatile memory cells in accordance with data to be stored in each one of said plurality of nonvolatile memory cells, and wherein said setting operation carried out by said controller includes: a first step setting each threshold voltage of ones of said plurality of nonvolatile memory cells so as to allocate each threshold voltage in a threshold range which corresponds to one of said at least three threshold ranges indicating said programming states in accordance with said data to be stored in each one of said plurality of nonvolatile memory cells by said first step ones of said plurality of memory cells being programmed in parallel to each corresponding one of said at least three threshold ranges corresponding to said programming states from said threshold range corresponding to said erase state in accordance with said data to be stored in each one of said plurality of memory cells, and a second step modifying threshold voltages of at least necessary ones of said plurality of nonvolatile memory cells each of which has a threshold voltage set by said first step.
78. Ά nonvolatile semiconductor memory device according to claim 77, further comprising: a plurality of word lines each of which is coupled to the corresponding memory cells of said plurality of nonvolatile memory cells. - 10379. Ά nonvolatile semiconductor memory device according to claim 78, further comprising: a plurality of terminals receiving an address signal selecting a word line from said plurality of word lines, wherein said plurality of terminals receives a command for setting each threshold voltage of ones of said plurality of nonvolatile memory cells to one of said at least three threshold ranges.
80. A nonvolatile semiconductor memory device according to claim 79, wherein said second step modifies said threshold voltages at least necessary ones of said plurality of nonvolatile memory cells each of which has a threshold voltage set by said first step in accordance with said data to be stored in each one of said plurality of nonvolatile memory cells.
81. A nonvolatile semiconductor memory device according to claim 80, wherein each of said plurality of nonvolatile memory cells has a floating gate, each threshold voltage of said plurality of nonvolatile memory cells is set by electrically programming electrons to said floating gate.
82. A nonvolatile semiconductor memory device according to claim 77, wherein said threshold voltages of nonvolatile memory cells allocated in said at least three threshold ranges are moved to said threshold range indicating said erase state by executing an erase command.
83. A nonvolatile semiconductor memory device 105 in parallel to each corresponding one of said at least three ranges corresponding to said programming states from said threshold range corresponding to said erase state in accordance with said data to be scored in each one of said plurality of memory cells, and a second step modifying threshold voltages of at least necessary ones of said plurality of nonvolatile memory cells each of which has a threshold voltage set by said first step after the setting of threshold voltages of ones of said plurality of nonvolatile memory cells by said first step are verified by said verify operation of said controller.
84. A nonvolatile semiconductor memory device according to claim 83, further comprising: a plurality of word lines each of which is coupled to the corresponding memory cells of said plurality of nonvolatile memory cells.
85. A nonvolatile semiconductor memory device according to claim 84, further comprising: a plurality of terminals receiving an address signal for selecting a word line from said plurality of word lines, wherein said plurality of terminals receives a command for setting each threshold voltage of ones of said plurality of nonvolatile memory cells to one of said at least three threshold ranges.
86. A nonvolatile semiconductor memory device 106 according to claim 85, further comprising: a voltage generation circuit which generates a first, a second and a third verify voltages, said first verify voltage for verifying whether or not threshold voltages of said second memory cells are shifted to said second threshold range, said second verify voltage for verifying whether or not said third memory cells are moved to said third threshold range, said third verify voltage for verifying whether or not said fourth memory cells are shifted to said fourth threshold range, wherein values said first, said second and said third verify voltages are different from each other.
87. A nonvolatile semiconductor memory device according to claim 86, wherein said second step modifies said threshold voltages of at least necessary ones of said plurality of nonvolatile memory cells each of which has a threshold voltage set by said first step in accordance with said data to be stored in each one of said plurality of nonvolatile memory cells.
88. A nonvolatile semiconductor memory device according to claim 87, wherein each of said plurality of nonvolatile memory cells has a floating gate, each threshold voltage of said plurality of nonvolatile memory cells is set by electrically programming electrons to said floating gate.
89. A nonvolatile semiconductor memory device according to claim 83, wherein said threshold voltages of nonvolatile memory cells allocated in said at least three threshold ranges are moved to said threshold range 107 indicating said erase state by executing an erase command.
90. A semiconductor memory comprising: a memory array (12) including a plurality of memory cells, each memory cell having a floating gate, and a threshold level of each memory cell depends on a value of electric charge in said floating gate of said memory cell, wherein said threshold level of each memory cell is placed in one of three areas including an erase area, a first storing area, and a second storing area for storing at least three-value information in each of said memory cells, said first storing area being located between said erase area and said second storing area; an input terminal receiving write information data to be stored in said memory cell array; a write data conversion circuit coupled to said input terminal, said write data conversion circuit generates a data signal which controls said threshold level of said memory cells; and a write circuit which performs a first write operation and a second write operation, after said first write operation, based on said data signal for storing said write information data, wherein said first write operation applies a plurality of pulses to at least one of said memory cells to shift a threshold level thereof, wherein said second write operation applies a plurality of pulses to said memory cells whose threshold level is shifted by said first write operation, wherein said first write operation includes a first verify operation for verifying whether a threshold 108 level of memory cell is located in a first predetermined area by using a first reference signal, and wherein said second write operation includes a second verify operation for verifying whether a threshold 5 level of memory cell is located in a second predetermined area by using a second reference signal.
91. A semiconductor memory according to claim 90, wherein said semiconductor memory is a non-volatile 10 memory.
92. A semiconductor memory according to claim 90, wherein said second write operation is operated after said threshold level of memory cell is fixed in said first 15 predetermined area by said first write operation.
93. A semiconductor memory according to claim 90, wherein said first reference signal and second reference signal are different signals.
94. A semiconductor memory comprising: a plurality of memory cells, each memory cell having a floating gate and a threshold level, said threshold level of each memory cell depends on a value of 25 electric charge in said floating gate of each memory cell, wherein said threshold level of each memory cell is placed in one of three areas including an erase area, a first storing area, and a second storing area for storing three value data in each of said memory cells, 30 said first storing area being located between said erase area and said second storing area; and a write circuit which performs a first write 109 operation and a second write operation, after said first write operation, wherein a threshold level of at least one memory cell is located in a predetermined area by said first write operation and said second write operation, wherein said first write operation includes a first prior pulse and a first following pulse, which follows said first prior pulse, and said first prior pulse is applied to all memory cells whose threshold level should be changed to store said data, wherein said second write operation includes a second prior pulse and a second following pulse, which follows said second prior pulse, and said second prior pulse is applied to at least one memory cell whose threshold level should be changed to store said data, wherein said first write operation includes a first read out operation to detect a threshold level of each of said memory cells by using a first reference level, and wherein said second write operation includes a second read out operation to detect a threshold level at least one of said memory cells by using a second reference level.
95. A semiconductor memory according to claim 94, wherein said semiconductor memory is a non-volatile memory.
96. A semiconductor memory according to claim 94, wherein said first prior pulse and said second prior pulse have almost a same amplitude. ι - 11097. A semiconductor memory according to claim 94, wherein said first following pulse and said second following pulse have almost a same amplitude.
98. A semiconductor memory according to claim 94, further comprising: an input terminal which receives write information data to be stored in said memory cells; and a write data circuit coupled to said input terminal, wherein said write data circuit generates a signal which controls threshold levels of said memory cells.
99. A semiconductor memory according to claim 98, further comprising: a sense latch circuit which stores said signal which controls said threshold level of said memory cells.
100. A semiconductor memory according to claim 99, wherein said sense latch circuit (13) also stores a read out signal from said memory cells.
101. A semiconductor memory according to claim 94, wherein said threshold level of each of said memory cells are placed in one of four areas including an erase area, a first storing area, a second storing area, and a third storing area to store at least four-value information in each of said memory cells, said first storing area being located between said erase area and said second storing area, and said second storing area being located between said first storing area and said third storing area. 111102. A semiconductor memory according to claim 94, wherein said threshold voltages of memory cells located in said first storing area and said second storing area are moved to said erase area by executing an erase command.
103. A semiconductor memory according to claim 94, wherein each threshold voltage of each memory cell is set by electrically programming electrons to said floating gate .
104. A semiconductor memory according to claim 94, wherein said second write operation is operated after said threshold level of memory cell is established by said first write operation.
105. A semiconductor memory according to claim 94, wherein said first reference level and second reference level are different levels.
106. A non-volatile semiconductor memory comprising: a plurality of memory cells, each memory cell having a floating gate, wherein a threshold level of each of said memory cells depends on a value of electric charge in said floating gate of each memory cell, wherein said threshold level of each memory cell is placed in one of three areas including an erase area, a first storing area, and a second storing area for storing three value data in said memory cell, said first storing area being located between said erase area and said second storing area; and 112 a write circuit which performs a first write operation and a second write operation, after said first write operation, wherein said first write operation includes a first pulse which is applied to memory cells whose threshold level is to be changed to store said data, wherein said second write operation includes a second pulse which is applied to memory cells whose threshold level is to be changed by said first write operation, wherein said first write operation includes a first verify operation to detect a threshold level of each of said memory cells to verify whether a threshold level of said memory cell is located in first predetermined area, and wherein said second write operation includes a second verify operation to detect a threshold level of each of said memory cells to verify whether a threshold level of said memory cell is located in second predetermined area.
107. A semiconductor memory according to claim 106, wherein said second write operation is operated after said threshold level of memory cell is established in said first predetermined area by said first write operation.
108. A semiconductor memory according to claim 106, wherein said first verify operation and second verify operation use different reference signals.
109. A semiconductor memory comprising: a plurality of memory cells, each memory cell 113 having a floating gate, and a threshold level of each memory cell depends on a value of electric condition of said floating gate of each memory cell, wherein said threshold level of each memory cells placed in one of three areas including an erase area, a first storing area, and a second storing area for storing three value data in each of said memory cells; a word line and a data line coupled to each of said memory cell; and a write circuit which performs a first write operation and a second write operation to store said three value data in each of said memory cells, wherein threshold level of at least one memory cell is moved to a first predetermined area and fixed in said first predetermined area by said first write operation, wherein threshold level of at least one memory cell whose threshold level is fixed in said first predetermined area by said first write operation, is moved to a second predetermined area and fixed in said second predetermined area by said second write operation, wherein said first write operation applies a first set of pulses to said word line, and wherein said second write operation applies a second set of pulses to said word line.
110. A non-volatile semiconductor memory according to claim 109, wherein said first write operation includes a first read out operation to detect a threshold level of said memory cells, and wherein said second write operation includes a second read out operation to detect a threshold level of ι 114 said memory cells.
111. A non-volatile semiconductor memory according to claim 110, wherein said first read out operation and said second read out operation use different reference signals.
112. A non-volatile semiconductor memory according to claim 109, wherein said first set of pulses and said second set of pulses include almost a same wave form.
113. A multi-level nonvolatile memory device formed on a single chip, comprising: a plurality of memory cells each of which stores data as a threshold voltage; a write circuit which is coupled to the plurality of memory cells, by which a wri.te operation is executed for a first memory cell in a first period so that a threshold voltage of the first memory cell is brought to a first threshold voltage region, and by which a write operation is executed for a second memory cell in a second period which is different from the first period so that a threshold voltage of the second memory ceil is brought to a second threshold voltage region which is different from the first threshold voltage region; a binary data holding circuit which is coupled to the write circuit and which holds first binary data for indicating the first memory cell and second binary data for indicating the second memory cell; a plurality of binary data registers each of which stores binary data to be written to memory cells; and a converter circuit which is coupled to the plurality of binary registers and to the binary data 115 holding circuit and which forms the first binary data and the second binary data in accordance with the stored binary data in the plurality of binary data registers.
114. A multi-level nonvolatile memory device according to claim 113, wherein the converter circuit forms the second binary data in a different period from a period for forming the first binary data, and wherein the binary data holding circuit holds the second binary data in a different period from a period for holding the first binary data.
115. A multi-level nonvolatile memory device according to claim 114, wherein each of the plurality of memory cells includes a memory transistor including a control gate, a drain region, a source region and a floating gate which had a first part overlapped with a part of the drain region and a second part overlapped with a part of the source region.
116. A multi-level nonvolatile memory device according to claim 114, wherein the second period is positioned after the first period, in time sequence.
117. A multi-level nonvolatile memory device according to claim 116, wherein each of the plurality of memory cells has a threshold voltage in a third threshold voltage region which is different from the first threshold voltage region and the second threshold voltage region, wherein the threshold voltage of the first memory cell in the plurality of memory cells is changed from the third threshold voltage region to the first threshold voltage 116 region by executing the write operation in the first period, and wherein the threshold voltage of the second memory cell in the plurality of memory cells is changed from the third threshold voltage region to the second threshold voltage region by executing the write operation in the second period.
118. A multi-level nonvolatile memory device according to claim 116, wherein each of the plurality of memory cells has a threshold voltage in a third threshold voltage region which is different from the first threshold voltage region and the second threshold voltage region, wherein the threshold voltage of the first memory cell and the threshold voltage of the second memory cell in the plurality of memory cells are changed from the third threshold voltage region to the first threshold voltage region by executing the write operation in the first period, and wherein the threshold voltage of the second memory cell in the plurality of memory cells is changed from the first threshold voltage region to the second threshold voltage region by executing the write operation in the second period.
119. A multi-level nonvolatile memory device according to claim 116, wherein the write operation in the first period includes a write verify operation which includes a reading operation for judging whether or not the threshold voltage of the first memory cell is changed in the first threshold voltage region and a writing operation for changing the threshold voltage of the first memory cell if the threshold voltage of the first memory cell is out of the first threshold voltage region, and wherein the 117 write operation in the second period includes a write verify operation which includes a reading operation for judging whether or not the threshold voltage of the second memory cell is changed in the second threshold voltage region and a writing operation for changing the threshold voltage of the second memory cell if the threshold voltage of the second memory cell is out of the second threshold voltage region.
120. A multi-level nonvolatile memory device according to claim 117, wherein the write operation in the first period includes a write verify operation which includes a reading operation for judging whether or not the threshold voltage of the first memory cell is changed in the first threshold voltage region and a writing operation for changing the threshold voltage of the first memory cell if the threshold voltage of the first memory cell is out of the first threshold voltage region, and wherein the write operation in the second period includes a write verify operation which includes a reading operation for judging whether or not the threshold voltage of the second memory cell is changed, in the second threshold voltage region and a writing operation for changing the threshold voltage of the second memory cell of the threshold voltage of the second memory cell is out of the second threshold voltage region.
121. A multi-level nonvolatile memory device according to claim 118, wherein the write operation in the first period includes a write verify operation which includes a reading operation for judging whether or not the threshold voltage of the first memory cell is changed in ϊ 118 the first threshold voltage region and a writing operation for changing the threshold voltage of the first memory cell if the threshold voltage of the first memory cell is out of the first threshold voltage region, and wherein the write operation in the second period includes a write verify operation which includes a reading operation for judging whether or not the threshold voltage of the second memory cell is changed in the second threshold voltage region and a writing operation for changing the threshold voltage of the second memory cell if the threshold voltage of the second memory cell is out of the second threshold voltage region.
122. Ά multi-level nonvolatile memory device formed on a single chip, comprising: a word line; a plurality of bit lines; a plurality of memory cells each of which is coupled to the word line and to one of the plurality of bit lines and each of which stores data as a threshold voltage thereof; a write circuit by which a write operation is executed for a first memory cell in a first period so that a threshold voltage of the first memory cell is brought to a first threshold voltage region, and by which a write operation is executed for a second memory cell in a second period which is different from the first period so that a threshold voltage of the second memory cell is brought to a second threshold voltage region which is different from the first threshold voltage region; a sense latch circuit (13) which is coupled to the write circuit and includes a plurality of sense latches 119 each of which is coupled to one of the plurality of bit lines, wherein first binary data for indicating the first memory cell is set to the sense latch circuit in the first period and second binary data for indicating the second memory cell is set to the sense latch circuit in the second period; a plurality of binary data registers each of which stores binary data to be written to memory cells; and a converter circuit which is coupled to the plurality of binary registers and to the sense latch circuit (13) and which forms the first binary data and the second binary data in accordance with the stored binary data in the plurality of binary data registers, wherein the write operation in the first period includes a writing operation for changing the threshold voltage of the first memory cell to the first threshold voltage region, and a write verify operation for detecting whether or not the threshold voltage of the first memory cell is brought in the first threshold voltage region and for indicating an execution of the writing operation if the threshold voltage of the first memory cell is out of the first threshold voltage region, and wherein the write operation in the second period includes a writing operation for changing the threshold voltage of the second memory cell to the second threshold voltage region, and a write verify operation for detecting whether or not the threshold voltage of the second memory cell is brought in the second threshold voltage region and for indicating an execution of the writing operation if the threshold voltage of the second memory cell is out of the second threshold voltage region, and wherein each of the plurality of sense latches 120 (13) amplifies data represented by a threshold voltage of memory cell coupled to the corresponding bit line in the write verify operation to be executed in the first period and in the write verify operation to be executed in the second period, to detect the threshold voltage in each of the plurality of memory cells.
123. A multi-level nonvolatile memory device according to claim 122, wherein a sense latch coupled to the first memory cell via a bit line is set to a predetermined data by setting the first binary data to the sense latch circuit in the first period and the sense latch is set to another data if the amplifier operation in the write verify operation in the first period indicates that the threshold voltage of the first memory cell is brought to the first threshold voltage region, and wherein a sense latch coupled to the second memory cell via a bit line is set to the predetermined data by setting the second binary data to the sense latch circuit (13) in the second period and the sense latch is set to the another data if the amplifier operation in the write verify operation in the second period indicates that the threshold voltage of the second memory cell is brought to the second threshold voltage region.
124. A multi-level nonvolatile memory device according to claim 123, wherein the first period terminates if each of the plurality of sense latches is set to the another data, and the second period terminates if each of the plurality of sense latches is set to the another date.125 . A multi-level nonvolatile memory device according 121 to claim 124, wherein the second period starts in response to termination of the first period.
126. A multi-level nonvolatile memory device according to claim 125, wherein each of the plurality of memory cells includes a memory transistor including a control gate, a drain region, a source region and a floating gate which has a first part overlapped with a part of the drain region and a second part overlapped with a part of the source region.
127. A multi-level nonvolatile memory device according to claim 126, wherein each of the plurality of memory cells has a threshold voltage in a third threshold voltage region which is different from the first threshold voltage region and the second threshold voltage region, wherein the threshold voltage of the first memory cell in the plurality of memory cells is changed from the third threshold voltage region to the first threshold voltage region by executing the write operation in the first period, and wherein the threshold voltage of the second memory cell in the plurality of memory cells is changed from the third threshold voltage region to the second threshold voltage region by executing the write operation in the second period.
128. A multi-level nonvolatile memory device according to claim 126, wherein each of the plurality of memory cells has a threshold voltage in a third threshold voltage region which is different from the first threshold voltage region and the second threshold voltage region, - 122 wherein the threshold voltage of the first memory cell and the threshold voltage of the second memory cell in the plurality of memory cells are changed from the third threshold voltage region to the first threshold voltage region by executing the write operation in the first period, and wherein the threshold voltage of the second memory cell in the plurality of memory cells is changed from the first threshold voltage region to the second threshold voltage region by executing the write operation in the second period.
129. A multi-level nonvolatile memory device formed on a single chip, comprising: a plurality of memory cells each of which stores data as a threshold voltage thereof; a plurality of binary data registers each of which stores binary data to be written to memory cells; a converter circuit which is coupled to the plurality of binary registers and which forms first binary data in accordance with the stored binary data in the plurality of binary data registers in a first timing and forms second binary data in accordance with the stored binary data in the plurality of binary data registers in a second timing which is different from the first timing; a binary data holding circuit which is coupled to the converter circuit and which holds the first binary data and the second binary data in sequentially; and a write circuit which is coupled to the plurality of memory cells and which sequentially executes a write operation for a plurality of memory cells in accordance with the first binary data and the second binary data in 'ί 123 the binary data holding circuit.
130. A multi-level nonvolatile memory device according to claim 129, wherein each of the plurality of memory cells includes a memory transistor including a control gate, a drain region, a source region and a floating gate which has a first part overlapped with a part of the drain region and a second part overlapped with a part of the source region.
131. A multi-level nonvolatile memory device according to claim 130, wherein the second timing is positioned after the first timing.
132. A multi-level nonvolatile memory device according to claim 131, wherein the write operation in accordance with the second binary data is executed for a memory cell for which the write operation was executed in accordance with the first binary data.
133. A multi-level nonvolatile memory device according to claim 131, wherein the write operation in accordance with the second binary data is executed for a memory cell which is different from a memory cell for which the write operation was executed in accordance with the first binary data .
134. A multi-level nonvolatile memory device according to claim 131, wherein each of the first binary data and the second binary data indicates a memory cell in the plurality of memory cells, and wherein the write operation is executed for the indicated memory cell. - 124 135. A multi-level nonvolatile memory device according to claim 132, wherein each of the first binary data and the second binary data indicates a memory cell in the plurality of memory cells, and wherein the write operation is executed for the indicated memory cell.
136. A multi-level nonvolatile memory device according to claim 133, wherein each of the first binary data and the second binary data indicates a memory cell in the plurality of memory cells, and wherein the write operation is executed for the indicated memory cell.
137. A nonvolatile memory device in which data of two bits or more are stored in one memory cell by setting a threshold value of said memory cell to three or more stages and by changing a level of a word line to two or rtiore stages to read said memory cell, comprising: a binary data register latching program data which includes a plurality of bits; a data transforming logic circuit (14) executing a predetermined operation for the plurality of bits in the program data to transform the program data into multivalue data according to a combination in binary data represented by the plurality of bits; and an inverse transforming logic circuit (14) for transforming the multi-value data read out from said memory cell into the binary data represented by the plurality of bits.
138. A control device connected to a nonvolatile memory device in which data of two bits or more are stored in one memory by setting a threshold value of said memory cell 125 to three or more stages and by changing a level of a word line to two or more stages to read said memory cell, comprising: a binary data register latching program data which includes a plurality of bits; a data transforming logic circuit (14) executing a predetermined operation for the plurality of bits to transform said program data into multi-value data according to a combination of binary data in the plurality of bits; and an inverse transforming logic circuit (14) transforming the multi-value data read out from said nonvolatile memory device into the binary data.
139. A semiconductor memory device comprising: a memory array (12) including a plurality of electrically programmable and erasable memory cells that have one of three memory state ”0, ”1, and 2; and a writing circuit executing a write operation to a memory cell to change a memory state of a memory cell; wherein, when changing the memory state of said memory cell to ”2, said writing executing a writer operation to said memory cell to change the memory state to ”1, then executing a write operation to said memory cell to change the memory state from ”1 to ”2.
140. A nonvolatile memory device in which two or more bits of data is stored in each memory cell whose threshold voltage is set to two or more levels and whose contents is read by changing the word line level to two or more levels, comprising: a first binary data register that holds the input 126 write data, a data conversion logic circuit that performs a specified calculation between the bits of input data to convert the data into multiple-value data according to the combination of the bits, a second binary data register that holds the data read from said memory cells, and a restore circuit that converts the multiple-value data stored in said memory cells into binary data.
141. A control circuit connected to a nonvolatile memory device in which two or more bits of data is stored in each memory cell whose threshold voltage is set to two or more levels and whose contents is read by changing the word line level to two or more levels, characterized by a first binary data register that holds the input write data, a data conversion logic circuit that performs a specified calculation between the bits of input data to convert the data into multiple-value data according to the combination of the bits, a second binary data register that hold the data read from said nonvolatile memory device, and a restore circuit that converts the multiple-value data read from said nonvolatile memory device into binary data.
142. A nonvolatile semiconductor memory device comprising : a plurality of nonvolatile memory cells each of which is capable of storing data of at least two bits; and a controller which carries out a program operation 127 and an erase operation of said plurality of nonvolatile memory cells, wherein said program operation carried out by said controller includes: a first step setting a threshold voltage of at least one of said plurality of nonvolatile memory cells to one program state of at least three different program states in accordance with data to be stored into said one of said plurality of nonvolatile memory cells, and a second step further setting said threshold voltage of said one of said plurality of nonvolatile memory cells to said program state again in accordance with data to be stored into said one said plurality of nonvolatile memory cells, and wherein said controller does not carry out any erase operation of said plurality of nonvolatile memory cells to an erase state between said first step and said second step during said program operation.
143. A nonvolatile semiconductor memory device according to claim 142, wherein said controller carries out said program operation starting said first step, if said controller carries out said erase operation.
144. A nonvolatile semiconductor memory device according to claim 142, wherein said threshold voltage of said memory cell in said erase state is different from said threshold voltage of said memory cell in said any program states. 128 145. Ά nonvolatile semiconductor memory device comprising : a plurality of nonvolatile memory cells each of which is capable of storing data of at least two bits; and a controller which carries out a program operation and an erase operation of said plurality of nonvolatile memory cells, wherein said program operation carried out by said controller includes: a first step setting a threshold voltage of at least one of said plurality of nonvolatile memory cells to one program state of at least three different program states into said one of said plurality of nonvolatile memory cells, and a second step further setting said threshold voltage of said one of said plurality of nonvolatile memory cells to an another program state of said program states in accordance with data to be stored into said one of said plurality of nonvolatile memory cells, and wherein said controller does not carry out any erase operation of said one of said plurality of nonvolatile memory cells to an erase state between said first step and said second step during said program operation.
146. A nonvolatile semiconductor memory device according to claim 145, wherein said controller carries out said program operation starting said first step, if said controller carries out said erase operation.
147. A nonvolatile semiconductor memory device 129 according to claim 145, wherein said threshold voltage of said memory cell in said erase state is different from said threshold voltage of said memory cell in said any program states.
148. A non-volatile memory comprising: a first external terminal to which a plurality of binary data to be stored are serially supplied; a plurality of memory cells in each of which a threshold voltage is electrically changed and data is held as a value of the threshold voltage; and a writing circuit coupled to the first external terminal and to the plurality of memory cells, converting serially supplied binary data to multi value data, and writing the multi value data to a memory cell, wherein the writing circuit includes a buffer which holds the serially supplied binary data and a converter which converts the binary data held in the buffer to the multi value data.
149. A non-volatile memory according to claim 148, wherein each of the non-volatile memory cells includes a control gate and a floating gate.
150. A non-volatile memory comprising: a first external terminal to which a plurality of binary data to be stored are serially supplied; a plurality of memory cells in each of which a threshold voltage is electrically changed and data is held as a value of the threshold voltage; and a writing circuit coupled to the first external terminal and to the plurality of memory cells, converting - 130 serially supplied binary data to multi value data, and writing the multi value data to a memory cell, wherein the plurality of memory cells and the writing circuit are formed in a semiconductor chip, and wherein the writing circuit includes a buffer (122) which holds the serially supplied binary data and a converter which converts the binary data held in the buffer to the multi value data.
151. A non-volatile memory comprising: a first external terminal to which a plurality of binary data to be stored are serially supplied; a plurality of memory cells in each of which a threshold voltage is electrically changed and data is held as a value of the threshold voltage; a writing circuit coupled to the first external terminal and to the plurality of memory cells, converting serially supplied binary data to multi value data, and writing the multi value data to a memory cell, a converter circuit which converts multi value data from a memory cell to a plurality of binary data; and a second external terminal to which the converted binary data is serially supplied.
152. A non-volatile memory according to claim 151, wherein the first external terminal is the second external terminal.
153. A non-volatile memory comprising: a first external terminal to which a plurality of binary data to be stored are serially supplied; a plurality of memory cells in each of which a 131 threshold voltage is electrically changed and data is held as a value of the threshold voltage; a writing circuit coupled to the first external terminal and to the plurality of memory cells, converting serially supplied binary data to multi value data and writing the multi value data to a memory cell, a converter circuit which converts multi value data from a memory cell to a plurality of binary data; and a second external terminal to which the converted binary data is serially supplied, wherein the plurality of memory cells and the writing circuit are formed in a semiconductor chip.
154. A non-volatile memory according to claim 153, wherein the first external terminal is the second external terminal.
155. A non-volatile memory comprising: a first external terminal to which a plurality of binary data to be stored are serially supplied; a plurality of memory cells in each of which a threshold voltage is electrically changed and data is held as a value of the threshold voltage; a plurality of data lines each of which is coupled to a memory cell in the plurality of memory cells; a plurality of latch circuits (13) each of which is coupled to a data line in the plurality of data lines; and a converter coupled to the first external terminal and converting serially supplied binary data to multivalue data, wherein the latch circuits (13) latch data from - 132 memory cells in response to a reading operation for reading out the data from the memory cells, and wherein the latch circuits are set in accordance with outputs of the converter in response to a writing operation for writing data to memory cells.
156. A non-volatile memory according to claim 155, wherein the data latched in the latch circuits are serially outputted via a second external terminal.
157. A non-volatile memory according to claim 156, wherein the first external terminal is the second external terminal.
158. A non-volatile memory according to claim 155, wherein each of the plurality of memory cells includes a control gate and a floating gate.
159. A non-volatile memory according to claim 156, wherein each of the plurality of memory cells includes a control gate and a floating gate.
160. A non-volatile, memory comprising: a first word line; a second word line; a plurality of non-volatile memory cells each of which holds data as a threshold voltage thereof and each of which is connected to the first word line; a plurality of non-volatile memory cells each of which holds data as a threshold voltage thereof and each of which is connected to the second word line; a selection circuit selecting one of the first 133 word line and the second word line; and an input external terminal to which a plurality of binary data to be written are supplied in serial, wherein the non-volatile memory cells connected to 5 a word line are written with data in response to the selection of the word line, and wherein a number of nonvolatile memory cells connected to the word line is smaller than a number of binary data to be written in. 10 161. wherein line is A non-volatile memory according each of the first word line and coupled to a decoder. to the claim second 160, word 162 . A non-volatile memory according to claim 161, 15 wherein each of the non-volatile memory cells includes a control gate and a floating gate.
163. A non-volatile memory according to claim 160, wherein each of the non-volatile memory cells includes a 20 control gate and a floating gate. 164 . A non-volatile memory according to claim 163, further comprising an output external terminal for outputting data held in the non-volatile memory cells 25 connected to the selected word line in serial.
165. A non-volatile memory according to claim 164, wherein the input external terminal is the output external terminal.
166. A non-volatile memory according to claim 164, further comprising: 134 a plurality of latch circuits (13) that a number of the latch circuits corresponds to the number of the non-volatile memory cells connected to the word line, wherein each of the latch circuits is set in accordance with data to be written in response to a writing operation for writing data to the non-volatile memory cells connected to the selected word line, and wherein the latch circuits (13) latch data from the nonvolatile memory cells connected to the selected word line in response to a reading operation for reading out data held in the non-volatile memory cells connected to the selected word line. rray; and id command pable of capable of of serially 167. A nonvolatile semiconductor memory device comprising: an input / output terminal; a clock terminal; a command terminal; a nonvolatile semicondu a command register terminal, wherein said clock receiving a clock signal, wherein said input / ou serially receiving data and Γ supplying data synchronous with said clock signal, wherein said command register is capable of receiving a plurality of commands through said command terminal, said commands include a write operation, a read operation and an erase operation, and wherein said nonvolatile semiconductor memory device carries out a corresponding operation selected from135 said write, read and erase operations based upon a received command stored in said command register.
168. A nonvolatile semiconductor memory device according to claim 167, wherein said nonvolatile semiconductor memory device is capable of storing said receiving data to ones of a plurality of memory cells of said nonvolatile semiconductor memory array (12), when said nonvolatile semiconductor memory device is receiving a command indicating said write operation, wherein said nonvolatile semiconductor memory device is capable of supplying said data from ones of said plurality of memory cells, when said nonvolatile semiconductor memory device is receiving a command indicating said read operation, and wherein said nonvolatile semiconductor memory device is capable of storing an erased data to ones of said plurality of memory cells, wherein said nonvolatile semiconductor memory device is receiving a command indicating said erase operation.
169. A nonvolatile semiconductor memory device according to claim 168, further comprising: a data register coupled to said input / output terminal, wherein said data register stores data from said input / output terminal.
170. A nonvolatile semiconductor memory device according to claim 169, further comprising: a converter circuit coupled to said input / output terminal,136 wherein said converter circuit converts data from serial data to parallel data.
171. A nonvolatile semiconductor memory device according to claim 170, wherein each of said plurality of memory cells stores multi-bits having more than two bits.
172. A nonvolatile semiconductor memory device comprising: a plurality of terminals, wherein said plurality of terminals comprise: a first terminal, a second terminal, and a third terminal, wherein said first terminal receives a clock signal, wherein said second terminal receives a plurality of commands which includes a data storing operation command, a data reading operation command and a data erasing operation command, and wherein said third terminal serially receives a first data and serially supplies a second data.
173. A nonvolatile semiconductor memory device according to claim 172, wherein said first data and said second data have a predetermined data length, and wherein said third terminal receives said first data and supplies said second data synchronized with said clock signal.
174. A nonvolatile semiconductor memory device according to claim 173, wherein said single command137 terminal is supplied command data, and wherein said control unit controlling the processing of writing data or reading out to / from a memory unit according to said command data.
175. A nonvolatile semiconductor memory device according to claim 173, wherein said control unit and said memory unit are connected by a plurality of signal lines.
176. A nonvolatile semiconductor memory device according to claim 175, wherein said control unit comprises: a circuit, wherein said circuit is serially supplied predetermined length data from said input / output terminal, and supplies said predetermined length data to said memory unit at once, and wherein the number of said signal lines and the number of said predetermined length data are equal.
177. A nonvolatile semiconductor memory device according to claim 176, said circuit comprising: a register having said predetermined length, wherein said circuit stores said predetermined length data supplied from said input / output terminal to said register and supplies said predetermined length data from said register to said memory unit.
178. A nonvolatile semiconductor memory device packaged in one packaging comprising: a clock terminal for supply of a clock signal; an input / output terminal for input or output data;138 a command terminal for supply of command data; a control unit; and a memory unit including a plurality of nonvolatile semiconductor memory cells, wherein each of said nonvolatile semiconductor memory cells have a threshold voltage which is set in one of a plurality of threshold voltage levels corresponding to stored data, wherein said control unit is processing synchronously with said clock signal, and wherein said memory unit writes data to ones of said plurality of memory cells which data is supplied from said input / output terminal, and reads out data from said ones of a plurality of memory cells, which data is supplied to said input / output terminal.
179. A nonvolatile semiconductor memory device according to claim 178, wherein said control unit controls the processing of writing data or reading out to / from a memory unit according to said command data.
180. A nonvolatile semiconductor memory device according to claim 178, wherein said control unit and said memory unit are connected by a plurality of signal lines.
181. A nonvolatile semiconductor memory device according to claim 180, wherein said control unit comprises : a circuit, wherein said circuit is serially supplied predetermined length data from said input / output terminal, and supplies said predetermined length data to said memory139 unit at once, and wherein the number of said signal lines and the number of said predetermined length data are equal.
182. A nonvolatile semiconductor memory device according to claim 181, wherein said circuit comprises: a register having said predetermined length, wherein said circuit stores said predetermined length data supplied from said input / output terminal to said register and supplies said predetermined length data from said register to said memory unit.
183. A nonvolatile semiconductor memory device comprising: an input / output terminal; a clock terminal; a command terminal; a nonvolatile semiconductor memory array; and a command register coupled to said command terminal, wherein said clock terminal is capable of receiving a clock signal, wherein said input / output terminal is capable of serially receiving data and is capable of serially supplying data synchronous with said clock signal, wherein said command register is capable of receiving a plurality of commands through said command terminal, said commands include a write operation, a read operation and an erase operation, and wherein said nonvolatile semiconductor memory device carries out a corresponding operation selected from said write, read and erase operations based upon a received command stored in said command register.
