System, method and computer program product for processing read threshold information and for reading a flash memory module

Information

  • Patent Grant
  • 8879325
  • Patent Number
    8,879,325
  • Date Filed
    Wednesday, May 30, 2012
    12 years ago
  • Date Issued
    Tuesday, November 4, 2014
    10 years ago
Abstract
A flash memory controller, a non-transitory computer readable medium and a method for reading flash memory cells of a flash memory module. The method may include calculating a group of read thresholds to be applied during a reading operation of a set of flash memory cells that belong to a certain row of the flash memory module based upon a compressed representation of reference read thresholds associated with multiple reference rows of the flash memory module; and reading the set of flash memory cells by applying the group of reference read thresholds to provide read results.
Description
BACKGROUND OF THE INVENTION

Flash memory devices store information as charge in a flash memory cell. Multi-Level (MLC) flash memory devices store k bits per cell using 2 by the power of k levels of charge. The amount of charge depends on the sequence of k bits being stored. For a certain sequence of k bits, the charge being stored may be distributed within a small range. FIG. 1 illustrates a threshold voltage distribution of three bits per cell (bpc) MLC flash memory device, the threshold voltage distribution includes eight lobes 11-18 that represent eight possible logical values, and seven read thresholds 21-27. As long as the lobes are sufficiently distinct, the cell may be reliably read.


The threshold voltage distribution of FIG. 1 illustrates non-overlapping lobes 11-18, however this is only schematic, and in practical cases the lobes may overlap. The overlapping can be intentional—for obtaining high programming speed. Alternatively, the overlapping may result from the retention effect.


A Flash memory device may be partitioned to pages. An old page may introduce greater overlap between lobes than a new page, since after many program and erase (P/E) cycles there is accumulated trap charge, which is de-trapped over time. After a long duration, every lobe may have a larger standard deviation (std) and may have a different mean location. These effects are also known as retention.


Overlap may also occur irrespective of retention. The Flash cells may deteriorate following P/E cycles and the write operation may become less accurate as a result.


The 3-bpc flash memory cell stores a most significant bit (MSB), a central significant bit (CSB) and a least significant bit (LSB). A physical page of Flash memory device may store three logical pages. This physical page is programmed one logical page after the other.


The programming includes various types of programming such as MSB programming, CSB programming and LSB programming.


MSB programming includes programming some of the flash memory cells of a page to a single lobe and some are left in the erase state. At the end of the MSB programming process only two lobes exists, the erase and the MSB lobes.


CSB programming includes splitting the erase lobe and the MSB lobe into two lobes by further programming pulses, depending on the original state of each cell and the corresponding CSB bit. At the end of the CSB programming there are four lobes.


LSB programming includes splitting the four lobes to create 8 lobes.


The logical pages are read by applying various types of read operations such as MSB read (in which a MSB read threshold such as 24 of FIG. 1 is used), CSB read (in which two CSB read thresholds such as read thresholds 22 and 26 of FIG. 1 are used) and LSB read (in which four LSB read thresholds such as read thresholds 21, 23, 25 and 27 of FIG. 1 are used).



FIG. 2 shows similar distributions for the case of 2 bpc devices—four lobes 31-33 and three read thresholds 41-43.


As mentioned, the threshold voltage distributions are not constant throughout the life of the Flash memory device and may change with retention and P/E cycles. With retention, the lobes of the threshold voltage distribution become wider and shift towards the erase level. The higher the retention the larger the shift. This effectively shrinks the effective working window. Both the shrinkage of the window and the fattening of the threshold voltage distributions contribute to the increase in number of errors after performing a page read.



FIG. 3 illustrates these effects—the upper part of FIG. 3 illustrates threshold voltage distribution 60 immediately after programming—it includes spaced apart lobes 61-68 and read thresholds 51-57, while the lower part of FIG. 3 illustrates threshold voltage distribution 80 after retention—it includes partially overlapping lobes 81-88 and read thresholds 71-77. These effects become significantly worse as the block P/E cycles increase and as the NAND Flash memory technology node shrinks.


The retention forces a change in the read thresholds—as using the same set of read thresholds just following a programming operation and following retention may contribute to the number of read errors. It is therefore a need to adjust the read thresholds to reduce read errors.


In order to reduce read errors there is a need to maintain read thresholds per row of flash memory device.


Flash memory devices are typically divided into erase blocks. Each erase block includes multiple rows, where each row includes multiple flash memory cells (cells). All cells in a row are programmed simultaneously. For example, in a 3 bpc MLC device, all MSB bits of all cells in a row are programmed together, all CSB bits are programmed together and all LSB bits are programmed together. Each such group of bits is referred to as a page. All pages in an erase block are erased simultaneously. One cannot erase a single page.


The state of a erase block (which is a function of its retention and endurance) can include the set of optimally positioned read thresholds required to read each of its pages.


For a 3 bpc MLC device which has 64 rows, with 192 pages per block, we would require 64×7=448 read threshold values per block. Note that the state of each row may be defined by the 7 read thresholds illustrated in FIG. 1 (1 for the LSB page, 2 for the CSB page and 4 for the LSB page).


Assuming that each read threshold may require 1 byte of storage and assuming that the entire system may have 10K erase blocks, we would require more than 4 MB to store the state of all the erase blocks in the system. This requirement may be difficult to fulfill in an embedded system.


SUMMARY

According to an embodiment of the invention a method may be provided and may include calculating a group of read thresholds to be applied during a reading operation of a set of flash memory cells that belong to a certain row of the flash memory module based upon a compressed representation of reference read thresholds associated with multiple reference rows of the flash memory module; and reading the set of flash memory cells by applying the group of reference read thresholds to provide read results.


The values of the reference read thresholds may form a subset of possible values of actual read thresholds to be applied when reading the flash memory module.


The multiple reference rows may form a subset of rows of the flash memory module.


The values of the reference read thresholds may form a subset of possible values of actual read thresholds to be applied when reading the flash memory module.


The calculating may include calculating at least one reference read threshold based upon the compressed representation of the reference read thresholds; estimating read thresholds of the certain row based upon (a) the at least one reference read threshold and (b) estimators that correlate between the at least one reference read threshold and estimated read thresholds of the certain row.


The method may include calculating the estimators by linear minimum square algorithm or by least squares estimators.


The method may include updating at least one reference read threshold of a reference row in response to the read results and in response to estimators that correlate between the certain row and the reference row.


The method may include generating the compressed representation.


The generating of the compressed representation may include clustering rows of the flash memory modules to clusters in response to read threshold information associated with the rows, and selecting a subset of rows from each cluster to provide the multiple reference rows.


The generating of the compressed representation may include: applying a principle component analysis on read thresholds statistics to provide a group of singular vectors; and representing each group of read thresholds of a row of the flash memory module by a set of coefficients that map the group of read thresholds to the group of singular vectors.


The method may include selecting the group of singular vectors out multiple singular vectors that are calculated during the applying of the principle component analysis.


The generating of the compressed representation may include applying a vector quantization algorithm on multiple vectors, each vector represents read thresholds associated with a row of the flesh memory module.


The generating of the compressed representation may include: partitioning a multi-dimension space to multiple subsets of the multi-dimensional space; and representing each of the subsets of the multi-dimensional space by a subset representative; wherein the multi-dimensional space represents read threshold statistics of a plurality of rows of the flash memory module; and wherein a memory space required for storing all the subset representatives is smaller than a memory space required for storing the read threshold statistics.


The subset representative represents a median value of values included in a subset of the multi-dimensional space that is represented by the subset representative.


The method may include representing the subsets of the multi-dimensional space by a tree.


The partitioning may include applying multiple partitioning iterations.


The method may include representing the subsets of the multi-dimensional space by a tree that may include multiple levels, each level may include a plurality of nodes, wherein each partition iteration is represented by a single level out of the multiple levels.


Each node may include location information indicative of a location of the node in the tree, and partition information indicative of a partition value of a partition iteration that corresponds to the level of the node.


A method for processing read threshold information, the method may include: generating or receiving read threshold information indicative of multiple read thresholds values that were applied when reading multiple flash memory cells that belong to multiple rows of a flash memory module; generating a compressed representation of reference read thresholds to be applied during future read operations of the flash memory cells in response to the read threshold information.


Additional embodiments of the invention include a system arranged to execute any or all of the methods described above, including any stages-and any combinations of same. For example, the system may include a flash memory controller that is coupled to flash memory cells of a flash memory module, the flash memory may include: a read threshold processing circuit arranged to calculate a group of read thresholds to be applied during a reading operation of a set of flash memory cells that belong to a certain row of the flash memory module based upon a compressed representation of reference read thresholds associated with multiple reference rows of the flash memory module; and a read circuit arranged to read the set of flash memory cells by applying the group of reference read thresholds to provide read results.


Yet for another example, the system may include a flash memory controller that is coupled to flash memory cells of a flash memory module, the flash memory may include a read threshold processing circuit arranged to generate or receive read threshold information indicative of multiple read thresholds values that were applied when reading multiple flash memory cells that belong to multiple rows of a flash memory module; and generate a compressed representation of reference read thresholds to be applied during future read operations of the flash memory cells in response to the read threshold information.


Further embodiments of the invention include a computer readable medium that is non-transitory and may store instructions for performing the above-described methods and any steps thereof, including any combinations of same. For example, the computer readable medium may store instructions for calculating a group of read thresholds to be applied during a reading operation of a set of flash memory cells that belong to a certain row of the flash memory module based upon a compressed representation of reference read thresholds associated with multiple reference rows of the flash memory module; and reading the set of flash memory cells by applying the group of reference read thresholds to provide read results.


Yet for another example the non-transitory computer readable medium may t store instructions for generating or receiving read threshold information indicative of multiple read thresholds values that were applied when reading multiple flash memory cells that belong to multiple rows of a flash memory module; generating a compressed representation of reference read thresholds to be applied during future read operations of the flash memory cells in response to the read threshold information.





BRIEF DESCRIPTION OF THE DRAWINGS

The subject matter regarded as the invention is particularly pointed out and distinctly claimed in the concluding portion of the specification. The invention, however, both as to organization and method of operation, together with objects, features, and advantages thereof, may best be understood by reference to the following detailed description when read with the accompanying drawings in which:



FIG. 1 illustrates a prior art threshold voltage distribution;



FIG. 2 illustrates a prior art threshold voltage distribution;



FIG. 3 illustrates a prior art threshold voltage distribution;



FIG. 4 illustrates a portion of a system according to an embodiment of the invention;



FIG. 5 illustrates singular vectors according to an embodiment of the invention;



FIG. 6 illustrates a method according to an embodiment of the invention.



FIG. 7 illustrates a tree according to an embodiment of the invention;



FIGS. 8-9 illustrate a method according to an embodiment of the invention; and



FIG. 10 illustrates a method according to an embodiment of the invention.





It will be appreciated that for simplicity and clarity of illustration, elements shown in the figures have not necessarily been drawn to scale. For example, the dimensions of some of the elements may be exaggerated relative to other elements for clarity. Further, where considered appropriate, reference numerals may be repeated among the figures to indicate corresponding or analogous elements.


DETAILED DESCRIPTION OF THE DRAWINGS

In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the invention. However, it will be understood by those skilled in the art that the present invention may be practiced without these specific details. In other instances, well-known methods, procedures, and components have not been described in detail so as not to obscure the present invention.


The subject matter regarded as the invention is particularly pointed out and distinctly claimed in the concluding portion of the specification. The invention, however, both as to organization and method of operation, together with objects, features, and advantages thereof, may best be understood by reference to the following detailed description when read with the accompanying drawings.


It will be appreciated that for simplicity and clarity of illustration, elements shown in the figures have not necessarily been drawn to scale. For example, the dimensions of some of the elements may be exaggerated relative to other elements for clarity. Further, where considered appropriate, reference numerals may be repeated among the figures to indicate corresponding or analogous elements.


Because the illustrated embodiments of the present invention may for the most part, be implemented using electronic components and circuits known to those skilled in the art, details will not be explained in any greater extent than that considered necessary as illustrated above, for the understanding and appreciation of the underlying concepts of the present invention and in order not to obfuscate or distract from the teachings of the present invention.


The following presents a method for generating and storing information indicative of the state of a flash memory module, such as but not limited to a NAND flash memory module. The following description will refer to the sate of an erase block although it is applicable to the entire flash memory module, to a portion of the flash memory module and the like. A flash memory module may include one or more flash memory dice.


The terms erase block and block are used interchangeably in this specification.


A state of an erase block can be represented by several parameters, especially one or more parameters that indicate the optimal positioning of the read threshold.


It is noted that the following methods, devices and non-transitory computer readable media are not limited to a certain threshold voltage distribution.


Therefore, in the following, we describe a method for significantly reducing this storage requirement of state information.


It is noted that a flash memory module include multiple rows. It is assumed that the same read thresholds can be used to read flash memory cells that belong to the same row.


In the following description the reference to rows and the reference to read thresholds associated with the rows is used in an interchangeable manner. For example, a correlation between rows may mean a correlation between read thresholds associated with these rows.


According to an embodiment of the invention a system 100 is provided and may include a memory controller 110 and a flash memory module 180. The flash memory module 180 may be read, programmed or erased by the memory controller 110.


The memory controller 110 may include a read circuit 140, a programming circuit 150, a read threshold processing circuit 120 and an interface 130.



FIG. 4 also illustrates a block state database 190 that may be stored in the memory controller 110 or may be stored in a non-volatile memory module 170—as illustrated in FIG. 4.


The read circuit 140 may be arranged to read the flash memory module 180. The flash memory module 180 includes K erase blocks 180(1)-180(K), each erase block includes J rows, such as such as 180(1,1)-180(1,J) for erase block 180(1), and such as rows 180(K,1)-180(K,J) of erase block 180(K). It is noted that different erase blocks may share rows or may include different rows.


The programming circuit 150 may write to the flash memory module 180 and may perform erase operations.


The interface 130 facilitates access to the block state database 190.


The read threshold processing circuit 120 can determine read thresholds, can generate reference read thresholds, can generate a compressed representation of the reference read thresholds, can update one or more reference read thresholds, can reconstruct read thresholds based upon the compressed representation of reference read thresholds and the like.


During the update operation the read threshold processing circuit 120 may generate, replace or update reference read thresholds for all or part of the read thresholds in one or more rows in a block.


During a fetch operation one or more reference read thresholds are obtained from the block state database, and may be (a) used to read flash memory cells or (b) may be further processed to provide the read thresholds to be used when reading one or more rows.


The compression process may include at least one of the following:

    • a. Row compaction: instead of holding the read thresholds for all the rows in a block, only reference read thresholds associated with a subset of the rows are stored. This can be done in various ways, as shown in the next sub section.
    • b. Only a subset of possible values of reference read thresholds are stored. The possible range of values can be represented by a subset of values that may be calculated by quantization or other subset selection algorithms. The subset can be calculated while taking into account (for example—by minimizing) errors resulting from the selection of the subset.


      Row Compaction


It has been found that the row compaction can utilize the similarity between the optimal (or sub-optimal) positioning of the read thresholds in one row to the near ones within a block. Statistical data of this correlation may be gathered (for example—it can be gathered offline) following experiments simulating different endurance and retention states of a representative set of flash memory modules. This read threshold statistics may then be used to construct estimators or predictors of a certain row read thresholds


The correlators can be calculated in various manners, some are illustrated below.


Row Prediction Based on Row to Row Estimators


We start by choosing a reference row, which will be used to define the read thresholds for all rows in the block. We then construct two sets of estimators:

    • a. Reference to destination: A set of estimators used whenever we wish to read a page from the flash memory module. The read thresholds of the reference row of the required block are recovered from a block table database. Given this set, the read thresholds of the destination row are estimated and used for the page read command.
    • b. Destination to reference: From time to time we may wish to update the state of the block. This may be due to the fact that we have learned better read threshold values. When we wish to update the state of the erase block and modify the reference read thresholds we require an update operation (as discussed above). During an update operation we obtain the read thresholds suggested for a destination row and modify accordingly the reference read thresholds stored for the reference row. These read reference thresholds may be a result of estimators based on the destination read thresholds.


Therefore, to use row prediction we would need to store in memory also the parameters used for the estimators of both sets where for each set we may have different parameters based on the destination row.


The estimators themselves may be Linear Minimum Mean Square estimators or Least Square Estimators for the set of all read thresholds in the reference or destination row to each of the read thresholds in the destination or reference row. Alternatively, the estimators may be based on a partial set of read thresholds in the reference or destination row.


We can also apply any other type of estimators, for example, non-linear functions of the reference or destination row read thresholds.


According to another embodiment of the invention read thresholds of the destination row are predicted directly from read thresholds of a last updated row. For the first read operation in a block, some default read thresholds may be used. The block state database may include an index of the last updated row in addition to its read thresholds.


To use row prediction in this case we would need to store in memory a set of estimators from any row, serving as the reference row, to any row, serving as the destination row.


Principal Component Analysis (PCA)


According to an embodiment of the invention compression may be obtained by using PCA. Using a statistical database (of optimal read threshold positions per row for several blocks and several flash memory dies under several endurance and retention conditions) we can construct a covariance matrix, Λ, of the read thresholds per row as follows:

Λ−E[(Th−E[Th])T(Th−E[Th])]


Here Th is a row vector of read thresholds per NAND Flash blocks (e.g. a (7 X # of rows per block) elements row vector for TLC device), E is equivalent to taking the average overall NAND Flash block read thresholds from the statistical read threshold database.


Thus, for each row vector the following calculation is calculated:

[(Th−E[Th])T(Th−E[Th])]


The average of this calculation provides the covariance matrix Λ.


We can then perform singular value decomposition (SVD) on Λ and sort the singular values according to their size. We then choose just a handful of singular vectors belonging to the largest singular values to reconstruct Λ and predict row read thresholds. An example for the distribution of the singular values of Λ is illustrated in curve 210 of FIG. 5.


For example, let V1, . . . , Vt be the chosen singular vectors. Given the set of all read thresholds in the block, we can assign a multiplier to each of the singular vectors, by defining ai=ViT•(Th−E[Th]) where • is the dot product between two vectors.


Thus, we can represent all the read thresholds for all blocks using the formula:







Th


=


E


[
Th
]


+




i
=
1

t




a
i



V
i








The above defines the fetch read thresholds procedure from the block state database.


However, we should also consider the block state update operation. Usually, an update operation will occur after we learn the values of a small amount of the read thresholds in Th (e.g. part/all of the read thresholds of a single NAND Flash row).


Therefore, performing the calculation, at=VtT•(Th−E[Th]) may be replaced by building estimators of ai based on all possible sub-groups of read thresholds of Th (e.g. the read thresholds of all flash memory module rows). More specifically we can represent the problem as follows:

Th=E[Th]+ Vā+ n


Where V=[V1−Vt] is a matrix containing all Vi, a=[a1 . . . at]Tis a column vector containing all ai and n is a noise vector with zero average.


In practice, when an update will occur it will be done based on a subset of read thresholds of Th. Therefore, we will use estimators of ā given a sub-group of Th read thresholds.


For brevity we divide Th into K equal-size non-overlapping sub-sections, which we denote by Thj (i.e. Th=[Th1TTh2T . . . ThRT]T-). Similarly we divide the matrix V into corresponding sub matrices Vj and the noise vector to nj such that Thj=E[Thj]+ Vjā+ nj We also use the following notation:

A=E[āāT], Nj=E[ njnjT]


Employing the linear model we arrive at nj=Thj−E[Thj]− Vjā


Using the above notation we can write down LMMSE estimators of ā given Thj, denoted by âj, which are refined for every new subsection of read thresholds as follows:

âo=0
Ao=A
Lj=Aj−1VjT(VjAj−1VjT+Nj)−1
Aj=Aj−1−LjVjAj−1
âjj−2−Lj(ThjVjâj−1)


Dealing with estimators of ā given only part of the row read thresholds is handled through row swapping and different division of Th into non-overlapping sub-sections, not necessary of the same length. However, the same equations may be employed for the update of the state when this division is used as well.


Average Row Read Thresholds


We can also define a block state based on the average row read thresholds taken over all block rows. Thus, we assign a state per each block (for TLC blocks, it will contain 7 numerals). Similar estimators as above can be applied to this state definition as well.


Row Reduction


Another method for reducing the amount of numerals used to represent all the block read thresholds is by using row reduction. In row reduction we simply represent the read thresholds of only some of the rows in the block. The idea is that many of the rows behave similarly and therefore, we can store the set of read thresholds only for a representative row.


Clustering methods may be used to define which rows are similar to which and limit the number of rows being considered to a small number.


This method can be also used together with any of the above methods to limit the constant parameter storage.


Read Threshold and State Quantization


For all row compaction methods, described above, storage of some row read thresholds is required per each block in the entire system. It is desired to reduce the amount of memory, required to store all these read thresholds, with negligible effect on reliability.


Vector Quantization Algorithms


A method, accomplishing this goal, is vector quantization of all row read thresholds, treating the n read thresholds as a point in an nD Euclidean space. Variable n refers to the number of thresholds per row. There is only one such vector of n thresholds per row at any moment.


In this method the entire nD space is split to M non-overlapping nD regions, covering the entire space.








R
n

=





i
=
1


M



S
i



;



S
i



S
j


=










i

j








There are many ways to construct such regions, based on clustering of the nD points in the statistical database, described above.


Common method is the generalization of the 1D Max-Lloyd algorithm to n dimensions, known in the literature as the k-means algorithm, which yields a local minimum of the optimization problem. The algorithm involves setting M initial decision levels and iterating between defining the M decision regions Si, i=1, 2, . . . , M from the M decision levels, and re-defining the M decision levels from these M decision regions, until some stopping criteria is met.


The online quantization for the k-means algorithm involves calculation of the Euclidean distance from the input nD point to the M centroids of the decision regions, with a complexity of O(M). It is desired that the online quantization process will be more efficient, and the presented approach requires only ˜log2(M) operations.


Vector Quantization using Modified Median Cut Algorithm


Following is a description of a Modified Median-Cut Vector Quantization (MMCVQ) algorithm, simultaneously yielding the box shaped quantization regions and a quantization tree, suitable for efficient implementation of the quantization process of FIG. 6.


Method 600 of FIG. 6 starts by stage 610 of performing a first partition of a multi-dimensional space (nD) that includes all read thresholds in the statistical database T. Each set of read thresholds that represents read threshold of a row is represented by a point in the multi-dimensional space. Stage 610 including defining a first node of a tree V1 as V1={Tk; k=1: P} and calculating for the T decision region the decision point following the decision-point criterion (criterion I). Stage 610 may also include resetting index I to 1.


Stage 610 is followed by performing multiple iterations for index i from 1 to M-1 (stages 630-670). The multiple repetitions are represented by stage 620 of asking if index i equals M and by stage 680 of increasing i by one.


Stage 630 includes selecting a box shaped decision region for cutting, following some decision region criterion (criterion II), denote it by Vj; 1<=j<=I.


Stage 640 includes cutting the box shaped decision region Vj in dimension q, 1<=q<=7, yielding the best splitting dimension (criterion III), at the splitting point (criterion IV) of the decision region cluster points in the q′th dimension.


Stage 650 includes denoting the 2 new regions (subsets of the multi-dimensional space) as U1 and U2, wherein Vi+1=U1, Vi+2=U2.


Stage 660 includes calculating for the new decision regions the decision point following the decision-point criterion I.


Stage 670 may include removing Vj from the list of decision regions and decrease the indices of all decision regions from j+1 to i.


According to an embodiment of the invention the employed splitting criteria are:


Criterion I can be at least one out of mean, median, some point between the mean/median and the end of the longer edge in the specific dimension, or any other definition.


Criterion II can be at least one out of number of points in the decision region, volume of the decision region, total/maximum/average number of errors for the points in the decision region, increase in total number of errors for the points in the decision region, increase in maximum number of errors per bit for the points in the decision region, or any combination of the above. The criterion may also vary with iteration index.


Criterion III can be at least one out of out of the options, defined for criterion II.


Criterion IV can be at least one out of the options, defined for criterion I.


The output of the algorithm is an array of M decision levels (medians of the clusters within the respective decision regions) and a tree structure of 2M-1 nodes. In the MMCVQ algorithm, in each stage a node Vj is cut to two new nodes, V1 and Vi+1. This description culminates in a full binary tree of 2M-1 nodes. Selecting M=2N, the number of nodes in the tree is 2N+1-1.


The tree is not a complete (balanced) tree, so its depth is not bounded by N+1. However, a proper selection of the criterion of stage 610 may assure that the depth is not larger than 2×(N+1).


The tree may be further compacted to a full binary tree of 2N-1 nodes, instead of 2N+1-1.


In the compacted tree each node is of the following structure, as illustrated in FIG. 7 for a tree with 511 nodes:


L field—Left sub-tree node


R field—Right sub-tree node


LL field—Is the left sub-tree node a leaf node?


RL field—Is the left sub-tree node a leaf node?


P field—Median-cut plane


V field—Median-cut value


When LL(RL) field is false, the L(R) field points to the left(right) sub-tree root. When LL(RL) field is true, the left(right) sub-tree is null, and the L(R) field points to the respective decision point read thresholds.



FIG. 7 illustrates a tree 1000 that has 199 levels 1000(1)-1000(199) that correspond to the 199 partition iterations that resulted in tree 1000. Thus M=199. The tree 1000 has multiple nodes, some of which (1001, 1002, 1003, 1199, 1400 and 1201) are shown.


Thus, the quantization operation itself is equivalent to a binary search over this tree, and of complexity of O(N).


With proper settings of the criteria mentioned above the quantization error decreases with N until reaching an asymptote. Very good performance was demonstrated with N=8. Thus, storage of the 7 row read thresholds in 7 Bytes is reduced to storage of the decision point pointer in 1-2 Bytes, for each block in the system. Additionally, the storage of the decision point table, of size 2N×7, is required. Thus, a significant saving in the space, required for the storage of the read thresholds, is achieved.



FIG. 8 illustrates method 800 according to an embodiment of the invention.


Method 800 may start by stage 810 of generating or receiving a compressed representation of reference read thresholds associated with multiple rows of a flash memory module.


The read thresholds are termed reference read thresholds as they may assist in calculating read thresholds (thereby may be used as references) that should be applied when reading flash memory cells.


The values of the reference read thresholds may form a subset of possible values of actual read thresholds to be applied when reading the flash memory module. Thus, stage 810 may include quantization of a possible range of values for read thresholds.


The multiple reference read thresholds may be associated with only some of the rows of the flash memory module—and the multiple rows (associated with the multiple reference read thresholds) may form a subset of rows of the flash memory module.


Stage 810 may include any one of stages 811-819 or a combination thereof. These stages (811-819) are illustrated in FIG. 10.


Stage 811 may include clustering rows of the flash memory modules to clusters in response to read threshold information associated with the rows, and selecting a subset of rows from each cluster to provide the multiple reference rows. This may have been referred to as clustering.


Stage 812 may include applying a principle component analysis (PCA) on read thresholds statistics to provide a group of singular vectors such as V1 . . . Vt mentioned above. These singular vectors can form the covariance matrix or be a part of the covariance matrix.


Stage 813 may include selecting the group of singular vectors out multiple singular vectors that are calculated during stage 812.


Stage 814 may include representing each group of read thresholds of a row of the flash memory module by a set of coefficients that map the group of read thresholds to the group of singular vectors. These coefficients may be a1 . . . at of vector a mentioned above.


Stage 815 may include applying a vector quantization algorithm on multiple vectors, each vector represents read thresholds associated with a row of the flesh memory module. Some methods for vector quantization were illustrated above—especially at the “threshold and state quantization” section.


Stage 816 may include partitioning a multi-dimension space to multiple subsets of the multi-dimensional space; and representing each of the subsets of the multi-dimensional space by a subset representative. Wherein the multi-dimensional space represents read threshold statistics of a plurality of rows of the flash memory module; and wherein a memory space required for storing all the subset representatives is smaller than a memory space required for storing the read threshold statistics. An example is provided in the section titled “vector quantization using modified media cut algorithm”.


Stage 817 may include calculating a subset representative that represents a median value of values included in a subset of the multi-dimensional space that is represented by the subset representative.


Stage 818 may include representing the subsets (of stage 818) of the multi-dimensional space by a tree such as tree 1000 of FIG. 6.


Stage 818 may include applying multiple partitioning iterations. During each partition iteration (except the first partition iteration) a subset of the multi-dimensional space is partitioned.


Stage 819 may include representing the subsets of the multi-dimensional space by a tree that includes multiple levels, each level comprises a plurality of nodes, wherein each partition iteration is represented by a single level out of the multiple levels.


Stage 819 may include generating the node of the tree so that each node of the tree may include location information (such as L, R, LL, RR and P fields of FIG. 6) indicative of a location of the node in the tree, and partition information (such as M field of FIG. 6) indicative of a partition value of a partition iteration that corresponds to the level of the node.


Stage 810 may be followed by stage 830 of calculating a group of read thresholds to be applied during a reading operation of a set of flash memory cells that belong to a certain row of the flash memory module based upon the compressed representation of reference read thresholds.


Stage 830 may include stage 832 of calculating at least one read threshold based upon the compressed representation of the reference read thresholds. Stage 830 may include stage 834 of estimating read thresholds of the certain row based upon (a) the at least one reference read threshold and (b) estimators that correlate between the at least one reference read threshold and estimated read thresholds of the certain row.


The estimators of stage 834 may be calculated by linear minimum square algorithm or by least square estimators.


Stage 830 may be followed by stage 840 of reading the set of flash memory cells by applying the group of reference read thresholds to provide read results.


Stage 840 may be followed by stage 850 of updating at least one reference read threshold of a reference row in response to the read results and in response to estimators that correlate between the certain row and the reference row.


Method 800 or any of the stages illustrated in this application can be executed by a system that includes a memory controller and a flash memory module.



FIG. 9 illustrates method 900 according to an embodiment of the invention.


Method 900 for processing read threshold information may include stage 910 of generating or receiving read threshold information indicative of multiple read thresholds values that were applied when reading multiple flash memory cells that belong to multiple rows of a flash memory module.


Stage 910 may be followed by stage 920 of generating a compressed representation of reference read thresholds to be applied during future read operations of the flash memory cells in response to the read threshold information.


The invention may also be implemented in a computer program for running on a computer system, at least including code portions for performing steps of a method according to the invention when run on a programmable apparatus, such as a computer system or enabling a programmable apparatus to perform functions of a device or system according to the invention.


A computer program is a list of instructions such as a particular application program and/or an operating system. The computer program may for instance include one or more of: a subroutine, a function, a procedure, an object method, an object implementation, an executable application, an applet, a servlet, a source code, an object code, a shared library/dynamic load library and/or other sequence of instructions designed for execution on a computer system.


The computer program may be stored internally on a non-transitory computer readable medium. All or some of the computer program may be provided on computer readable media permanently, removably or remotely coupled to an information processing system. The computer readable media may include, for example and without limitation, any number of the following: magnetic storage media including disk and tape storage media; optical storage media such as compact disk media (e.g., CD-ROM, CD-R, etc.) and digital video disk storage media; nonvolatile memory storage media including semiconductor-based memory units such as FLASH memory, EEPROM, EPROM, ROM; ferromagnetic digital memories; MRAM; volatile storage media including registers, buffers or caches, main memory, RAM, etc.


A computer process typically includes an executing (running) program or portion of a program, current program values and state information, and the resources used by the operating system to manage the execution of the process. An operating system (OS) is the software that manages the sharing of the resources of a computer and provides programmers with an interface used to access those resources. An operating system processes system data and user input, and responds by allocating and managing tasks and internal system resources as a service to users and programs of the system.


The computer system may for instance include at least one processing unit, associated memory and a number of input/output (I/O) devices. When executing the computer program, the computer system processes information according to the computer program and produces resultant output information via I/O devices.


In the foregoing specification, the invention has been described with reference to specific examples of embodiments of the invention. It will, however, be evident that various modifications and changes may be made therein without departing from the broader spirit and scope of the invention as set forth in the appended claims.


Moreover, the terms “front,” “back,” “top,” “bottom,” “over,” “under” and the like in the description and in the claims, if any, are used for descriptive purposes and not necessarily for describing permanent relative positions. It is understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in other orientations than those illustrated or otherwise described herein.


The connections as discussed herein may be any type of connection suitable to transfer signals from or to the respective nodes, units or devices, for example via intermediate devices. Accordingly, unless implied or stated otherwise, the connections may for example be direct connections or indirect connections. The connections may be illustrated or described in reference to being a single connection, a plurality of connections, unidirectional connections, or bidirectional connections. However, different embodiments may vary the implementation of the connections. For example, separate unidirectional connections may be used rather than bidirectional connections and vice versa. Also, plurality of connections may be replaced with a single connection that transfers multiple signals serially or in a time multiplexed manner. Likewise, single connections carrying multiple signals may be separated out into various different connections carrying subsets of these signals. Therefore, many options exist for transferring signals.


Although specific conductivity types or polarity of potentials have been described in the examples, it will be appreciated that conductivity types and polarities of potentials may be reversed.


Each signal described herein may be designed as positive or negative logic. In the case of a negative logic signal, the signal is active low where the logically true state corresponds to a logic level zero. In the case of a positive logic signal, the signal is active high where the logically true state corresponds to a logic level one. Note that any of the signals described herein can be designed as either negative or positive logic signals. Therefore, in alternate embodiments, those signals described as positive logic signals may be implemented as negative logic signals, and those signals described as negative logic signals may be implemented as positive logic signals.


Furthermore, the terms “assert” or “set” and “negate” (or “deassert” or “clear”) are used herein when referring to the rendering of a signal, status bit, or similar apparatus into its logically true or logically false state, respectively. If the logically true state is a logic level one, the logically false state is a logic level zero. And if the logically true state is a logic level zero, the logically false state is a logic level one.


Those skilled in the art will recognize that the boundaries between logic blocks are merely illustrative and that alternative embodiments may merge logic blocks or circuit elements or impose an alternate decomposition of functionality upon various logic blocks or circuit elements. Thus, it is to be understood that the architectures depicted herein are merely exemplary, and that in fact many other architectures can be implemented which achieve the same functionality.


Any arrangement of components to achieve the same functionality is effectively “associated” such that the desired functionality is achieved. Hence, any two components herein combined to achieve a particular functionality can be seen as “associated with” each other such that the desired functionality is achieved, irrespective of architectures or intermedial components. Likewise, any two components so associated can also be viewed as being “operably connected,” or “operably coupled,” to each other to achieve the desired functionality.


Furthermore, those skilled in the art will recognize that boundaries between the above described operations merely illustrative. The multiple operations may be combined into a single operation, a single operation may be distributed in additional operations and operations may be executed at least partially overlapping in time. Moreover, alternative embodiments may include multiple instances of a particular operation, and the order of operations may be altered in various other embodiments.


Also for example, in one embodiment, the illustrated examples may be implemented as circuitry located on a single integrated circuit or within a same device. Alternatively, the examples may be implemented as any number of separate integrated circuits or separate devices interconnected with each other in a suitable manner.


Also for example, the examples, or portions thereof, may implemented as soft or code representations of physical circuitry or of logical representations convertible into physical circuitry, such as in a hardware description language of any appropriate type.


Also, the invention is not limited to physical devices or units implemented in non-programmable hardware but can also be applied in programmable devices or units able to perform the desired device functions by operating in accordance with suitable program code, such as mainframes, minicomputers, servers, workstations, personal computers, notepads, personal digital assistants, electronic games, automotive and other embedded systems, cell phones and various other wireless devices, commonly denoted in this application as ‘computer systems’.


However, other modifications, variations and alternatives are also possible. The specifications and drawings are, accordingly, to be regarded in an illustrative rather than in a restrictive sense.


In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word ‘comprising’ does not exclude the presence of other elements or steps then those listed in a claim. Furthermore, the terms “a” or “an,” as used herein, are defined as one or more than one. Also, the use of introductory phrases such as “at least one” and “one or more” in the claims should not be construed to imply that the introduction of another claim element by the indefinite articles “a” or “an” limits any particular claim containing such introduced claim element to inventions containing only one such element, even when the same claim includes the introductory phrases “one or more” or “at least one” and indefinite articles such as “a” or “an.” The same holds true for the use of definite articles. Unless stated otherwise, terms such as “first” and “second” are used to arbitrarily distinguish between the elements such terms describe. Thus, these terms are not necessarily intended to indicate temporal or other prioritization of such elements. The mere fact that certain measures are recited in mutually different claims does not indicate that a combination of these measures cannot be used to advantage.


While certain features of the invention have been illustrated and described herein, many modifications, substitutions, changes, and equivalents will now occur to those of ordinary skill in the art. It is, therefore, to be understood that the appended claims are intended to cover all such modifications and changes as fall within the true spirit of the invention.

Claims
  • 1. A method for reading flash memory cells of a flash memory module, the method comprising: calculating a group of read thresholds to be applied during a reading operation of a set of flash memory cells that belong to a certain row of the flash memory module based upon a compressed representation of reference read thresholds associated with multiple reference rows of the flash memory module; andreading the set of flash memory cells by applying the group of reference read thresholds to provide read results;wherein the calculating comprises:calculating at least one reference read threshold based upon the compressed representation of the reference read thresholds;estimating read thresholds of the certain row based upon (a) the at least one reference read threshold and (b) estimators that correlate between the at least one reference read threshold and estimated read thresholds of the certain row.
  • 2. The method according to claim 1, wherein values of the reference read thresholds form a subset of possible values of actual read thresholds to be applied when reading the flash memory module.
  • 3. The method according to claim 1, wherein the multiple reference rows form a subset of rows of the flash memory module.
  • 4. The method according to claim 3, wherein values of the reference read thresholds form a subset of possible values of actual read thresholds to be applied when reading the flash memory module.
  • 5. The method according to claim 1, comprising calculating the estimators by linear minimum square algorithm or by least squares estimators.
  • 6. A method for reading flash memory cells of a flash memory module, the method comprising: calculating a group of read thresholds to be applied during a reading operation of a set of flash memory cells that belong to a certain row of the flash memory module based upon a compressed representation of reference read thresholds associated with multiple reference rows of the flash memory module;reading the set of flash memory cells by applying the group of reference read thresholds to provide read results; andupdating at least one reference read threshold of a reference row in response to the read results and in response to estimators that correlate between the certain row and the reference row.
  • 7. A method for reading flash memory cells of a flash memory module, the method comprising: generating a compressed representation of reference read thresholds associated with multiple reference rows of the flash memory module;calculating a group of read thresholds to be applied during a reading operation of a set of flash memory cells that belong to a certain row of the flash memory module based upon the compressed representation; andreading the set of flash memory cells by applying the group of reference read thresholds to provide read results;wherein the generating of the compressed representation comprises clustering rows of the flash memory modules to clusters in response to read threshold information associated with the rows, and selecting a subset of rows from each cluster to provide the multiple reference rows.
  • 8. A method for reading flash memory cells of a flash memory module, the method comprising: generating a compressed representation of reference read thresholds associated with multiple reference rows of the flash memory module;calculating a group of read thresholds to be applied during a reading operation of a set of flash memory cells that belong to a certain row of the flash memory module based upon the compressed representation; andreading the set of flash memory cells by applying the group of reference read thresholds to provide read results;wherein the generating of the compressed representation comprises:applying a principle component analysis on read thresholds statistics to provide a group of singular vectors; andrepresenting each group of read thresholds of a row of the flash memory module by a set of coefficients that map the group of read thresholds to the group of singular vectors.
  • 9. The method according to claim 8, comprising selecting the group of singular vectors out multiple singular vectors that are calculated during the applying of the principle component analysis.
  • 10. A method for reading flash memory cells of a flash memory module, the method comprising: generating a compressed representation of reference read thresholds associated with multiple reference rows of the flash memory module;calculating a group of read thresholds to be applied during a reading operation of a set of flash memory cells that belong to a certain row of the flash memory module based upon the compressed representation of reference read thresholds associated with multiple reference rows of the flash memory module; andreading the set of flash memory cells by applying the group of reference read thresholds to provide read results;wherein the generating of the compressed representation comprises:partitioning a multi-dimension space to multiple subsets of the multi-dimensional space; andrepresenting each of the subsets of the multi-dimensional space by a subset representative;wherein the multi-dimensional space represents read threshold statistics of a plurality of rows of the flash memory module; and wherein a memory space required for storing all the subset representatives is smaller than a memory space required for storing the read threshold statistics.
  • 11. The method according to claim 10, wherein a subset representative represents a median value of values included in a subset of the multi-dimensional space that is represented by the subset representative.
  • 12. The method according to claim 10, comprising representing the subsets of the multi-dimensional space by a tree.
  • 13. The method according to claim 10, wherein the partitioning comprises applying multiple partitioning iterations.
  • 14. The method according to claim 13, comprising representing the subsets of the multi-dimensional space by a tree that comprises multiple levels, each level comprises a plurality of nodes, wherein each partition iteration is represented by a single level out of the multiple levels.
  • 15. The method according to claim 14, wherein each node comprises location information indicative of a location of the node in the tree, and partition information indicative of a partition value of a partition iteration that corresponds to the level of the node.
  • 16. A non-transitory computer readable medium that stores instructions for: calculating a group of read thresholds to be applied during a reading operation of a set of flash memory cells that belong to a certain row of a flash memory module based upon a compressed representation of reference read thresholds associated with multiple reference rows of the flash memory module; andreading the set of flash memory cells by applying the group of reference read thresholds to provide read results;calculating at least one reference read threshold based upon the compressed representation of the reference read thresholds; andestimating read thresholds of the certain row based upon (a) the at least one reference read threshold and (b) estimators that correlate between the at least one reference read threshold and estimated read thresholds of the certain row.
  • 17. The non-transitory computer readable medium according to claim 16, wherein values of the reference read thresholds form a subset of possible values of actual read thresholds to be applied when reading the flash memory module.
  • 18. The non-transitory computer readable medium according to claim 16, wherein the multiple reference rows form a subset of rows of the flash memory module.
  • 19. The non-transitory computer readable medium according to claim 18, wherein values of the reference read thresholds form a subset of possible values of actual read thresholds to be applied when reading the flash memory module.
  • 20. The non-transitory computer readable medium according to claim 16 that stores instructions for calculating the estimators by linear minimum square algorithm or by least squares estimators.
  • 21. A non-transitory computer readable medium that stores instructions for: calculating a group of read thresholds to be applied during a reading operation of a set of flash memory cells that belong to a certain row of a flash memory module based upon a compressed representation of reference read thresholds associated with multiple reference rows of the flash memory module; andreading the set of flash memory cells by applying the group of reference read thresholds to provide read results; andupdating at least one reference read threshold of a reference row in response to the read results and in response to estimators that correlate between the certain row and the reference row.
  • 22. A non-transitory computer readable medium that stores instructions for: generating a compressed representation of reference read thresholds associated with multiple reference rows of a flash memory module;calculating a group of read thresholds to be applied during a reading operation of a set of flash memory cells that belong to a certain row of the flash memory module based upon the compressed representation;reading the set of flash memory cells by applying the group of reference read thresholds to provide read results;wherein the generating of the compressed representation comprises clustering rows of the flash memory modules to clusters in response to read threshold information associated with the rows, and selecting a subset of rows from each cluster to provide the multiple reference rows.
  • 23. A non-transitory computer readable medium that stores instructions for: generating a compressed representation of reference read thresholds associated with multiple reference rows of a flash memory module;calculating a group of read thresholds to be applied during a reading operation of a set of flash memory cells that belong to a certain row of the flash memory module based upon the compressed representation;reading the set of flash memory cells by applying the group of reference read thresholds to provide read results;applying a principle component analysis on read thresholds statistics to provide a group of singular vectors; andrepresenting each group of read thresholds of a row of the flash memory module by a set of coefficients that map the group of read thresholds to the group of singular vectors.
  • 24. The non-transitory computer readable medium according to claim 23 that stores instructions for selecting the group of singular vectors out multiple singular vectors that are calculated during the applying of the principle component analysis.
  • 25. A non-transitory computer readable medium that stores instructions for: generating a compressed representation of reference read thresholds associated with multiple reference rows of a flash memory module;calculating a group of read thresholds to be applied during a reading operation of a set of flash memory cells that belong to a certain row of the flash memory module based upon the compressed representation;reading the set of flash memory cells by applying the group of reference read thresholds to provide read results;partitioning a multi-dimension space to multiple subsets of the multi-dimensional space; andrepresenting each of the subsets of the multi-dimensional space by a subset representative;wherein the multi-dimensional space represents read threshold statistics of a plurality of rows of the flash memory module; and wherein a memory space required for storing all the subset representatives is smaller than a memory space required for storing the read threshold statistics.
  • 26. The non-transitory computer readable medium according to claim 25, wherein a subset representative represents a median value of values included in a subset of the multi-dimensional space that is represented by the subset representative.
  • 27. The non-transitory computer readable medium according to claim 25 that stores instructions for representing the subsets of the multi-dimensional space by a tree.
  • 28. The non-transitory computer readable medium according to claim 25 that stores instructions for applying multiple partitioning iterations.
  • 29. The non-transitory computer readable medium according to claim 28 that stores instructions for representing the subsets of the multi-dimensional space by a tree that comprises multiple levels, each level comprises a plurality of nodes, wherein each partition iteration is represented by a single level out of the multiple levels.
  • 30. The non-transitory computer readable medium according to claim 29, wherein each node comprises location information indicative of a location of the node in the tree, and partition information indicative of a partition value of a partition iteration that corresponds to the level of the node.
  • 31. A flash memory controller that is coupled to flash memory cells of a flash memory module, the flash memory comprises: a read threshold processing circuit arranged to calculate a group of read thresholds to be applied during a reading operation of a set of flash memory cells that belong to a certain row of the flash memory module based upon a compressed representation of reference read thresholds associated with multiple reference rows of the flash memory module; and a read circuit arranged to read the set of flash memory cells by applying the group of reference read thresholds to provide read results; wherein the read threshold processing circuit is arranged to calculate the group of read thresholds by calculating at least one reference read threshold based upon the compressed representation of the reference read thresholds; and estimating read thresholds of the certain row based upon (a) the at least one reference read threshold and (b) estimators that correlate between the at least one reference read threshold and estimated read thresholds of the certain row.
  • 32. The flash memory controller according to claim 31 wherein values of the reference read thresholds form a subset of possible values of actual read thresholds to be applied when reading the flash memory module.
  • 33. The flash memory controller according to claim 31 wherein the multiple reference rows form a subset of rows of the flash memory module.
  • 34. The flash memory controller according to claim 33, wherein values of the reference read thresholds form a subset of possible values of actual read thresholds to be applied when reading the flash memory module.
  • 35. The flash memory controller according to claim 31 wherein read threshold processing circuit is arranged to calculate the estimators by linear minimum square algorithm or by least squares estimators.
  • 36. A flash memory controller that is coupled to flash memory cells of a flash memory module, the flash memory comprises: a read threshold processing circuit arranged to calculate a group of read thresholds to be applied during a reading operation of a set of flash memory cells that belong to a certain row of the flash memory module based upon a compressed representation of reference read thresholds associated with multiple reference rows of the flash memory module; and a read circuit arranged to read the set of flash memory cells by applying the group of reference read thresholds to provide read results; wherein the read threshold processing circuit is arranged to update at least one reference read threshold of a reference row in response to the read results and in response to estimators that correlate between the certain row and the reference row.
  • 37. A flash memory controller that is coupled to flash memory cells of a flash memory module, the flash memory comprises: a read threshold processing circuit arranged to generate a compressed representation of reference read thresholds associated with multiple reference rows of the flash memory module and calculate a group of read thresholds to be applied during a reading operation of a set of flash memory cells that belong to a certain row of the flash memory module based upon the compressed representation; and a read circuit arranged to read the set of flash memory cells by applying the group of reference read thresholds to provide read results; wherein the read threshold processing circuit is arranged to generate the compressed representation by clustering rows of the flash memory modules to clusters in response to read threshold information associated with the rows, and selecting a subset of rows from each cluster to provide the multiple reference rows.
  • 38. A flash memory controller that is coupled to flash memory cells of a flash memory module, the flash memory comprises: a read threshold processing circuit arranged to generate a compressed representation of reference read thresholds associated with multiple reference rows of the flash memory module and calculate a group of read thresholds to be applied during a reading operation of a set of flash memory cells that belong to a certain row of the flash memory module based upon the compressed representation; and a read circuit arranged to read the set of flash memory cells by applying the group of reference read thresholds to provide read results; wherein the read threshold processing circuit is arranged to generate the compressed representation by applying a principle component analysis on read thresholds statistics to provide a group of singular vectors; and representing each group of read thresholds of a row of the flash memory module by a set of coefficients that map the group of read thresholds to the group of singular vectors.
  • 39. The flash memory controller according to claim 38, wherein the read threshold processing circuit is arranged to select the group of singular vectors out multiple singular vectors that are calculated during the applying of the principle component analysis.
  • 40. A flash memory controller that is coupled to flash memory cells of a flash memory module, the flash memory comprises: a read threshold processing circuit arranged to generate a compressed representation of reference read thresholds associated with multiple reference rows of the flash memory module and calculate a group of read thresholds to be applied during a reading operation of a set of flash memory cells that belong to a certain row of the flash memory module based upon the compressed representation; and a read circuit arranged to read the set of flash memory cells by applying the group of reference read thresholds to provide read results; wherein the read threshold processing circuit is arranged to generate the compressed representation by partitioning a multi-dimension space to multiple subsets of the multi-dimensional space; and representing each of the subsets of the multi-dimensional space by a subset representative; wherein the multi-dimensional space represents read threshold statistics of a plurality of rows of the flash memory module; and wherein a memory space required for storing all the subset representatives is smaller than a memory space required for storing the read threshold statistics.
  • 41. The flash memory controller according to claim 40, wherein a subset representative represents a median value of values included in a subset of the multi-dimensional space that is represented by the subset representative.
  • 42. The flash memory controller according to claim 40, wherein the read threshold processing circuit is arranged to represent the subsets of the multi-dimensional space by a tree.
  • 43. The flash memory controller according to claim 40, wherein the read threshold processing circuit is arranged to apply multiple partitioning iterations for partitioning the multi-dimension space to the multiple subsets of the multi-dimensional space.
  • 44. The flash memory controller according to claim 43, wherein the read threshold processing circuit is arranged to represent the subsets of the multi-dimensional space by a tree that comprises multiple levels, each level comprises a plurality of nodes, wherein each partition iteration is represented by a single level out of the multiple levels.
  • 45. The flash memory controller according to claim 44, wherein each node comprises location information indicative of a location of the node in the tree, and partition information indicative of a partition value of a partition iteration that corresponds to the level of the node.
US Referenced Citations (325)
Number Name Date Kind
4430701 Christian et al. Feb 1984 A
4463375 Macovski Jul 1984 A
4584686 Fritze Apr 1986 A
4589084 Fling et al. May 1986 A
4777589 Boettner et al. Oct 1988 A
4866716 Weng Sep 1989 A
5003597 Merkle Mar 1991 A
5077737 Leger et al. Dec 1991 A
5297153 Baggen et al. Mar 1994 A
5305276 Uenoyama Apr 1994 A
5592641 Doyle et al. Jan 1997 A
5623620 Alexis et al. Apr 1997 A
5640529 Hasbun Jun 1997 A
5657332 Auclair et al. Aug 1997 A
5663901 Harari et al. Sep 1997 A
5724538 Morris et al. Mar 1998 A
5729490 Calligaro et al. Mar 1998 A
5740395 Wells et al. Apr 1998 A
5745418 Hu et al. Apr 1998 A
5778430 Ish et al. Jul 1998 A
5793774 Usui et al. Aug 1998 A
5920578 Zook et al. Jul 1999 A
5926409 Engh et al. Jul 1999 A
5933368 Hu et al. Aug 1999 A
5956268 Lee Sep 1999 A
5956473 Hu et al. Sep 1999 A
5968198 Balachandran Oct 1999 A
5982659 Irrinki et al. Nov 1999 A
6011741 Harari et al. Jan 2000 A
6016275 Han Jan 2000 A
6038634 Ji et al. Mar 2000 A
6081878 Estakhri et al. Jun 2000 A
6094465 Stein et al. Jul 2000 A
6119245 Hiratsuka Sep 2000 A
6182261 Haller et al. Jan 2001 B1
6192497 Yang et al. Feb 2001 B1
6195287 Hirano Feb 2001 B1
6199188 Shen et al. Mar 2001 B1
6209114 Wolf et al. Mar 2001 B1
6259627 Wong Jul 2001 B1
6272052 Miyauchi Aug 2001 B1
6278633 Wong et al. Aug 2001 B1
6279133 Vafai et al. Aug 2001 B1
6301151 Engh et al. Oct 2001 B1
6370061 Yachareni et al. Apr 2002 B1
6374383 Weng Apr 2002 B1
6504891 Chevallier Jan 2003 B1
6532169 Mann et al. Mar 2003 B1
6532556 Wong et al. Mar 2003 B1
6553533 Demura et al. Apr 2003 B2
6560747 Weng May 2003 B1
6637002 Weng et al. Oct 2003 B1
6639865 Kwon Oct 2003 B2
6674665 Mann et al. Jan 2004 B1
6675281 Oh et al. Jan 2004 B1
6704902 Shinbashi et al. Mar 2004 B1
6751766 Guterman et al. Jun 2004 B2
6772274 Estakhri Aug 2004 B1
6781910 Smith Aug 2004 B2
6792569 Cox et al. Sep 2004 B2
6873543 Smith et al. Mar 2005 B2
6891768 Smith et al. May 2005 B2
6914809 Hilton et al. Jul 2005 B2
6915477 Gollamudi et al. Jul 2005 B2
6952365 Gonzalez et al. Oct 2005 B2
6961890 Smith Nov 2005 B2
6968421 Conley Nov 2005 B2
6990012 Smith et al. Jan 2006 B2
6996004 Fastow et al. Feb 2006 B1
6999854 Roth Feb 2006 B2
7010739 Feng et al. Mar 2006 B1
7012835 Gonzalez et al. Mar 2006 B2
7038950 Hamilton et al. May 2006 B1
7068539 Guterman et al. Jun 2006 B2
7079436 Perner et al. Jul 2006 B2
7149950 Spencer et al. Dec 2006 B2
7177977 Chen et al. Feb 2007 B2
7188228 Chang et al. Mar 2007 B1
7191379 Adelmann et al. Mar 2007 B2
7196946 Chen et al. Mar 2007 B2
7203874 Roohparvar Apr 2007 B2
7212426 Park et al May 2007 B2
7290203 Emma et al. Oct 2007 B2
7292365 Knox Nov 2007 B2
7301928 Nakabayashi et al. Nov 2007 B2
7315916 Bennett et al. Jan 2008 B2
7388781 Litsyn et al. Jun 2008 B2
7395404 Gorobets et al. Jul 2008 B2
7441067 Gorobets et al. Oct 2008 B2
7443729 Li et al. Oct 2008 B2
7450425 Aritome Nov 2008 B2
7454670 Kim et al. Nov 2008 B2
7466575 Shalvi et al. Dec 2008 B2
7533328 Alrod et al. May 2009 B2
7558109 Brandman et al. Jul 2009 B2
7593263 Sokolov et al. Sep 2009 B2
7610433 Randell et al. Oct 2009 B2
7613043 Cornwell et al. Nov 2009 B2
7619922 Li et al. Nov 2009 B2
7697326 Sommer et al. Apr 2010 B2
7706182 Shalvi et al. Apr 2010 B2
7716538 Gonzalez et al. May 2010 B2
7804718 Kim Sep 2010 B2
7805663 Brandman et al. Sep 2010 B2
7805664 Yang et al. Sep 2010 B1
7844877 Litsyn et al. Nov 2010 B2
7911848 Eun et al. Mar 2011 B2
7961797 Yang et al. Jun 2011 B1
7975192 Sommer et al. Jul 2011 B2
8020073 Emma et al. Sep 2011 B2
8108590 Chow et al. Jan 2012 B2
8122328 Liu et al. Feb 2012 B2
8159881 Yang Apr 2012 B2
8190961 Yang et al. May 2012 B1
8250324 Haas et al. Aug 2012 B2
8300823 Bojinov et al. Oct 2012 B2
8305812 Levy et al. Nov 2012 B2
8327246 Weingarten et al. Dec 2012 B2
8407560 Ordentlich et al. Mar 2013 B2
8417893 Khmelnitsky et al. Apr 2013 B2
20010034815 Dugan et al. Oct 2001 A1
20020063774 Hillis et al. May 2002 A1
20020085419 Kwon et al. Jul 2002 A1
20020154769 Petersen et al. Oct 2002 A1
20020156988 Toyama et al. Oct 2002 A1
20020174156 Birru et al. Nov 2002 A1
20030014582 Nakanishi Jan 2003 A1
20030065876 Lasser Apr 2003 A1
20030101404 Zhao et al. May 2003 A1
20030105620 Bowen Jun 2003 A1
20030177300 Lee et al. Sep 2003 A1
20030192007 Miller et al. Oct 2003 A1
20040015771 Lasser et al. Jan 2004 A1
20040030971 Tanaka et al. Feb 2004 A1
20040059768 Denk et al. Mar 2004 A1
20040080985 Chang et al. Apr 2004 A1
20040153722 Lee Aug 2004 A1
20040153817 Norman et al. Aug 2004 A1
20040181735 Xin Sep 2004 A1
20040203591 Lee Oct 2004 A1
20040210706 In et al. Oct 2004 A1
20050013165 Ban Jan 2005 A1
20050018482 Cemea et al. Jan 2005 A1
20050083735 Chen et al. Apr 2005 A1
20050117401 Chen et al. Jun 2005 A1
20050120265 Pline et al. Jun 2005 A1
20050128811 Kato et al. Jun 2005 A1
20050138533 Le-Bars et al. Jun 2005 A1
20050144213 Simkins et al. Jun 2005 A1
20050144368 Chung et al. Jun 2005 A1
20050169057 Shibata et al. Aug 2005 A1
20050172179 Brandenberger et al. Aug 2005 A1
20050213393 Lasser Sep 2005 A1
20050243626 Ronen Nov 2005 A1
20060059406 Micheloni et al. Mar 2006 A1
20060059409 Lee Mar 2006 A1
20060064537 Oshima Mar 2006 A1
20060101193 Murin May 2006 A1
20060195651 Estakhri et al. Aug 2006 A1
20060203587 Li et al. Sep 2006 A1
20060221692 Chen Oct 2006 A1
20060248434 Radke et al. Nov 2006 A1
20060268608 Noguchi et al. Nov 2006 A1
20060282411 Fagin et al. Dec 2006 A1
20060284244 Forbes et al. Dec 2006 A1
20060294312 Walmsley Dec 2006 A1
20070025157 Wan et al. Feb 2007 A1
20070063180 Asano et al. Mar 2007 A1
20070081388 Joo Apr 2007 A1
20070098069 Gordon May 2007 A1
20070103992 Sakui et al. May 2007 A1
20070104004 So et al. May 2007 A1
20070109858 Conley et al. May 2007 A1
20070124652 Litsyn et al. May 2007 A1
20070140006 Chen et al. Jun 2007 A1
20070143561 Gorobets Jun 2007 A1
20070150694 Chang et al. Jun 2007 A1
20070168625 Cornwell et al. Jul 2007 A1
20070171714 Wu et al. Jul 2007 A1
20070171730 Ramamoorthy et al. Jul 2007 A1
20070180346 Murin Aug 2007 A1
20070223277 Tanaka et al. Sep 2007 A1
20070226582 Tang et al. Sep 2007 A1
20070226592 Radke Sep 2007 A1
20070228449 Takano et al. Oct 2007 A1
20070253249 Kang et al. Nov 2007 A1
20070253250 Shibata et al. Nov 2007 A1
20070263439 Cornwell et al. Nov 2007 A1
20070266291 Toda et al. Nov 2007 A1
20070271494 Gorobets Nov 2007 A1
20070297226 Mokhlesi Dec 2007 A1
20080010581 Alrod et al. Jan 2008 A1
20080028014 Hilt et al. Jan 2008 A1
20080049497 Mo Feb 2008 A1
20080055989 Lee et al. Mar 2008 A1
20080082897 Brandman et al. Apr 2008 A1
20080092026 Brandman et al. Apr 2008 A1
20080104309 Cheon et al. May 2008 A1
20080112238 Kim et al. May 2008 A1
20080116509 Harari et al. May 2008 A1
20080126686 Sokolov et al. May 2008 A1
20080127104 Li et al. May 2008 A1
20080128790 Jung Jun 2008 A1
20080130341 Shalvi et al. Jun 2008 A1
20080137413 Kong et al. Jun 2008 A1
20080137414 Park et al. Jun 2008 A1
20080141043 Flynn et al. Jun 2008 A1
20080148115 Sokolov et al. Jun 2008 A1
20080158958 Sokolov et al. Jul 2008 A1
20080159059 Moyer Jul 2008 A1
20080162079 Astigarraga et al. Jul 2008 A1
20080168216 Lee Jul 2008 A1
20080168320 Cassuto et al. Jul 2008 A1
20080181001 Shalvi Jul 2008 A1
20080198650 Shalvi et al. Aug 2008 A1
20080198652 Shalvi et al. Aug 2008 A1
20080201620 Gollub Aug 2008 A1
20080209114 Chow et al. Aug 2008 A1
20080219050 Shalvi et al. Sep 2008 A1
20080225599 Chae Sep 2008 A1
20080250195 Chow et al. Oct 2008 A1
20080263262 Sokolov et al. Oct 2008 A1
20080282106 Shalvi et al. Nov 2008 A1
20080285351 Shlick et al. Nov 2008 A1
20080301532 Uchikawa et al. Dec 2008 A1
20090024905 Shalvi et al. Jan 2009 A1
20090027961 Park et al. Jan 2009 A1
20090043951 Shalvi et al. Feb 2009 A1
20090046507 Aritome Feb 2009 A1
20090072303 Prall et al. Mar 2009 A9
20090091979 Shalvi Apr 2009 A1
20090103358 Sommer et al. Apr 2009 A1
20090106485 Anholt Apr 2009 A1
20090113275 Chen et al. Apr 2009 A1
20090125671 Flynn May 2009 A1
20090132755 Radke May 2009 A1
20090144598 Yoon et al. Jun 2009 A1
20090144600 Perlmutter et al. Jun 2009 A1
20090150599 Bennett Jun 2009 A1
20090150748 Egner et al. Jun 2009 A1
20090157964 Kasorla et al. Jun 2009 A1
20090158126 Perlmutter et al. Jun 2009 A1
20090168524 Golov et al. Jul 2009 A1
20090187803 Anholt et al. Jul 2009 A1
20090199074 Sommer Aug 2009 A1
20090213653 Perlmutter et al. Aug 2009 A1
20090213654 Perlmutter et al. Aug 2009 A1
20090228761 Perlmutter et al. Sep 2009 A1
20090240872 Perlmutter et al. Sep 2009 A1
20090282185 Van Cauwenbergh Nov 2009 A1
20090282186 Mokhlesi et al. Nov 2009 A1
20090287930 Nagaraja Nov 2009 A1
20090300269 Radke et al. Dec 2009 A1
20090323942 Sharon et al. Dec 2009 A1
20100005270 Jiang Jan 2010 A1
20100017684 Yang Jan 2010 A1
20100025811 Bronner et al. Feb 2010 A1
20100030944 Hinz Feb 2010 A1
20100058146 Weingarten et al. Mar 2010 A1
20100064096 Weingarten et al. Mar 2010 A1
20100088557 Weingarten et al. Apr 2010 A1
20100091535 Sommer et al. Apr 2010 A1
20100095186 Weingarten Apr 2010 A1
20100110787 Shalvi et al. May 2010 A1
20100115376 Shalvi et al. May 2010 A1
20100122113 Weingarten et al. May 2010 A1
20100124088 Shalvi et al. May 2010 A1
20100131580 Kanter et al. May 2010 A1
20100131806 Weingarten et al. May 2010 A1
20100131809 Katz May 2010 A1
20100131826 Shalvi et al. May 2010 A1
20100131827 Sokolov et al. May 2010 A1
20100131831 Weingarten et al. May 2010 A1
20100146191 Katz Jun 2010 A1
20100146192 Weingarten et al. Jun 2010 A1
20100149881 Lee et al. Jun 2010 A1
20100172179 Gorobets et al. Jul 2010 A1
20100174853 Lee et al. Jul 2010 A1
20100180073 Weingarten et al. Jul 2010 A1
20100199149 Weingarten et al. Aug 2010 A1
20100211724 Weingarten Aug 2010 A1
20100211833 Weingarten Aug 2010 A1
20100211856 Weingarten Aug 2010 A1
20100241793 Sugimoto et al. Sep 2010 A1
20100246265 Moschiano et al. Sep 2010 A1
20100251066 Radke Sep 2010 A1
20100253555 Weingarten et al. Oct 2010 A1
20100257309 Barsky et al. Oct 2010 A1
20100269008 Leggette et al. Oct 2010 A1
20100293321 Weingarten Nov 2010 A1
20100318724 Yeh Dec 2010 A1
20110007573 Alrod et al. Jan 2011 A1
20110051521 Levy et al. Mar 2011 A1
20110055461 Steiner et al. Mar 2011 A1
20110093650 Kwon et al. Apr 2011 A1
20110096612 Steiner et al. Apr 2011 A1
20110099460 Dusija et al. Apr 2011 A1
20110119562 Steiner et al. May 2011 A1
20110153919 Sabbag Jun 2011 A1
20110161775 Weingarten Jun 2011 A1
20110194353 Hwang et al. Aug 2011 A1
20110209028 Post et al. Aug 2011 A1
20110214029 Steiner et al. Sep 2011 A1
20110214039 Steiner et al. Sep 2011 A1
20110246792 Weingarten Oct 2011 A1
20110246852 Sabbag Oct 2011 A1
20110252187 Segal et al. Oct 2011 A1
20110252188 Weingarten Oct 2011 A1
20110271043 Segal et al. Nov 2011 A1
20110302428 Weingarten Dec 2011 A1
20120001778 Steiner et al. Jan 2012 A1
20120005554 Steiner et al. Jan 2012 A1
20120005558 Steiner et al. Jan 2012 A1
20120005560 Steiner et al. Jan 2012 A1
20120008386 Chilappagari et al. Jan 2012 A1
20120008401 Katz et al. Jan 2012 A1
20120008414 Katz et al. Jan 2012 A1
20120017136 Ordentlich et al. Jan 2012 A1
20120051144 Weingarten et al. Mar 2012 A1
20120063227 Weingarten et al. Mar 2012 A1
20120066441 Weingarten Mar 2012 A1
20120110250 Sabbag et al. May 2012 A1
20120124273 Goss et al. May 2012 A1
20120246391 Meir et al. Sep 2012 A1
20130297986 Cohen Nov 2013 A1
Foreign Referenced Citations (1)
Number Date Country
WO2009053963 Apr 2009 WO