1. Field of the Invention
The invention relates in general to an accessing method for a memory, and more particularly to an accessing method for a memory with multi-bit cells.
2. Description of the Related Art
Along with increasing development of technology, non-volatile memory, such as flash memory, has been wildly used in electronic product. For example, a flash memory includes a number of memory cells, each of which stores a bit of data. Each of the memory cells corresponds with a programmable threshold voltage indicating a logic value of the bit of data.
Referring to
In the conventionally flash memory, the bits of data in the group B must be programmed with threshold voltages higher than the reference voltage PV and the reference voltage PV must be higher than a highest threshold voltage Vthl_h, which indicates the highest threshold voltage corresponded by the bits of data in the group A, by a margin, otherwise the conventionally flash memory cannot be properly read. Therefore, a reference voltage with high voltage level, a great number of program shots, and a great period of program time are disadvantageously needed for the conventionally flash memory.
The invention is directed to an accessing method for a memory with a number of memory cells, each of which is capable of storing two bits of data. The accessing method according to the invention applies lower reference voltage PV in program operation. Besides, the accessing method according to the invention can effectively read the data stored in the memory even the distribution of memory cells with high-threshold-voltage state and that of the memory cells with low-threshold-voltage state are substantially overlapped with each other. Thus, in comparison with the conventional accessing method, the accessing method according to the invention can effectively reduce the program shots and shorten the corresponding program time.
According to a first aspect of the present invention, a memory, which comprises a memory array, a first operation circuit, and a second operation circuit, is provided. The memory array includes a memory cell for storing a first bit and a second bit. The first operation circuit operates the first and the second bits with substantially the same initial threshold voltage state to a final threshold voltage stat by applying a same number of operating shots. The second operation circuit includes a sense amplifier and a control unit. The sense amplifier senses a first cell current and a second cell current corresponding to the first and the second bits respectively. The control unit determines a digital state of the first bit by comparing a reference data with a first delta current between the first cell current and the second cell current.
According to a second aspect of the present invention, a memory, which includes a memory cell, a sense amplifier and a control unit, is provided. The memory cell stores a first bit and a second bit. The sense amplifier senses a first cell current and a second cell current corresponding to the first and the second bits respectively with a voltage applying on the memory cell. The control unit determines a digital state of the first bit by comparing a first reference current with the first cell current or by comparing a reference data with a first delta current between the first cell current and the second cell current.
The invention will become apparent from the following detailed description of the preferred but non-limiting embodiments. The following description is made with reference to the accompanying drawings.
The accessing method according to the present embodiment of the invention applies the information of whether a first cell current and a second cell current, which correspond with a first bit of data and a second bit of data respectively stored in a memory cell of a memory, are substantially close to each other to determine the programmed state of the first and the second bits of data.
Referring to
Referring to
Referring to
Other than the group B′, the rest of the bits of data are not programmed so as to form a group of bits of data A′ corresponding to the low-threshold-voltage state. Most of those bits of data in group A′ correspond to threshold voltages smaller than the reference voltage PV′. Some bits of data in group A′ correspond to threshold voltages, which are raised to be larger than the reference voltage PV′ due to the second-bit effect. In other words, a bit of data having the high-threshold-voltage state is stored in memory cells storing the respective bits of data in group A′ corresponding to threshold voltages larger than the reference voltage PV′. That is to say those bits of data in group A′ corresponding to threshold voltages larger than the reference voltage PV′ are stored in memory cells with data indicating the two logic values 1 and 0.
Thus, judging criteria must be applied by the operation circuit 16 to effectively read those bits of data, which have the low-threshold-voltage state but correspond to threshold voltages larger than the reference voltage PV′. In an example, the cell currents corresponding to the two bits of data stored in a memory cell are applied by the operation circuit 16 to spot those bits of data having the low-threshold-voltage state but correspond to threshold voltages larger than the reference voltage PV′. Since the read operation performed on those memory cells are substantially the same, only the read operation performed on a memory cell MC is cited as an example in the following paragraphs. For example, the memory cell MC storing a first bit of data B1 and a second bit of data B2.
Referring to
In the operation for reading the first bit of data B1, the control unit 16b determines whether the first cell current IB1 is larger than a reference current to determine whether the threshold voltage corresponding to the first bit of data B1 is larger than the reference voltage PV′. If the first cell current IB1 is larger than the reference current (indicating the threshold voltage corresponding to the first bit of data B1 is not larger than the reference voltage PV′), the first bit of data B1 must be programmed to have the low-threshold-voltage state. Thus, the control unit 16b determines that the first bit of data B1 indicates the logic value 1 if the first cell current IB1 is larger than the reference current (that is the threshold voltage corresponding to the first bit of data B1 is not larger than the reference voltage PV′).
If the first cell current IB1 is not larger than the reference current (indicating the threshold voltage corresponding to the first bit of data B1 is larger than the reference voltage PV′), the first bit of data B1 may be programmed to have the low-threshold-voltage state or the high-threshold-voltage. The control unit 16b further determines whether a first delta current between the first cell current IB1 and the second cell current IB2 is larger than reference data to determine whether the first and the second bits of data B1 and B2 respectively indicating the logic values 1 and 0. For example, the first delta current is obtained by subtracting the second cell current IB2 from the first cell current IB1. Thus, whether the first bit of data B1 is one of those bits of data having the low-threshold-voltage state but correspond to threshold voltages larger than the reference voltage PV′ can be determined.
For example, the reference data is chosen based on an average difference between the two cell currents corresponding to the two bits of data with logic values 0 and 0 stored in each memory cells of the memory array 12 and that with logic values 0 and 1 measured in an experiment. In an example, the average difference corresponding to the two bits of data with logic values 0 and 0 has the value of 0.875 micro-ampere (μA) and the average difference corresponding to the two bits of data with logic values 0 and 1 has the value of 15.063 μA. The reference data are set based on the average value of the two average differences (0.875 and 15.063 μA). In other words, the reference data has the value of 7.968 μA.
If the first delta current is larger than the reference data, it is suggested that the first and the second bits of data B1 and B2 respectively indicate the logic values 1 and 0 and the first bit of data B1 is one of those bits of data in group A′ but corresponding to a threshold voltage larger than the reference voltage PV′. Thus, the control unit 16b accordingly determines that the first bit of data B1 indicates the logic value 1 if the first delta current is larger that the reference data.
If the first delta current is not larger than the reference data, it is suggested that the first and the second bits of data B1 and B2 are not respectively indicate the logic values 1 and 0 and the first bit of data B1 is not one of those bits of data in group A′ but corresponding to a threshold voltage larger than the reference voltage PV′. It is suggested that the first bit of data B1 is one of those bits of data in group B′. Thus, the control unit 16b accordingly determines that the first bit of data B1 indicates the logic value 0 if the first delta current is not larger that the reference data. Therefore, the first bit of data B1 stored in the memory cell MC can be effectively read.
In the operation for reading the second bit of data B2, the operation circuit 16 performs similar operation as that shown above to determine whether the second cell current IB2 is larger than the reference current (to accordingly determine whether the threshold voltage corresponding to the second bit of data B2 is not larger than the reference voltage PV′) and whether a second delta current, which is obtained by subtracting the first cell current IB1 from the second cell current IB2, is larger than the reference data. Therefore, the second bit of data B2 stored in the memory cell MC can be effectively read.
Referring to
If the first delta current is larger than the reference data and the threshold voltage corresponding to the first bit of data B1 is larger than the reference voltage PV′, step (d) is performed such that the operation circuit 16 determines the first bit of data B1 corresponds to the low-threshold-voltage state. If the first delta current is not larger than the reference data, step (e) is performed such that the operation circuit 16 determines the first bit of data B1 corresponds to the high-threshold-voltage state.
If the first cell current IB1 is larger than the reference current (indicating the threshold voltage corresponding to the first bit of data B1 is not larger than the reference voltage), step (d) is also performed such that the operation circuit 16 determines the first bit of data B1 corresponds to the low-threshold-voltage state.
The steps shown in
If the second delta current is larger than the reference data and the threshold voltage corresponding to the second bit of data B2 is larger than the reference voltage PV′, step (d′) is performed such that the operation circuit 16 determines the second bit of data B2 corresponds to the low-threshold-voltage state. If the second delta current is not larger than the reference data, step (e′) is performed such that the operation circuit 16 determines the second bit of data B2 corresponds to the high-threshold-voltage state.
If the second cell current IB2 is larger than the reference current (indicating the threshold voltage corresponding to the first bit of data B1 is not larger than the reference voltage), step (d) is also performed such that the operation circuit 16 determines the first bit of data B1 corresponds to the low-threshold-voltage state.
Referring to
Referring to
The accessing method according to the present embodiment is for a memory with a number of memory cells, each of which is capable of storing two bits of data. The accessing method according to the present embodiment of the invention can effectively read the data stored in the memory even the distribution of memory cells with high-threshold-voltage state and that of the memory cells with low-threshold-voltage state are substantially overlapped with each other based on the information of whether a first cell current and a second cell current, which correspond with a first bit of data and a second bit of data respectively stored in a memory cell of the memory are substantially close to each other. Thus, in comparison with the conventional accessing method, the accessing method according to the present embodiment of the invention can effectively reduce the program shots and shorten the corresponding program time and reduce the voltage level of the reference voltage applied as the as a judging criterion of program states.
While the invention has been described by way of example and in terms of a preferred embodiment, it is to be understood that the invention is not limited thereto. On the contrary, it is intended to cover various modifications and similar arrangements and procedures, and the scope of the appended claims therefore should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements and procedures.