Interleaving codeword portions between multiple planes and/or dies of a flash memory device

Information

  • Patent Grant
  • 8850100
  • Patent Number
    8,850,100
  • Date Filed
    Thursday, November 17, 2011
    13 years ago
  • Date Issued
    Tuesday, September 30, 2014
    10 years ago
Abstract
A system, a method and a non-transitory computer readable medium are disclosed. The non-transitory computer readable medium may store instructions for: (I) interleaving at least two portions of a first codeword of a group of codewords between at least two flash memory planes while violating at least one ordering rule out of (a) an even odd ordering rule, (b) a programming type ordering rule, and (c) a codeword portions ordering rule; and (II) interleaving different portions of other codewords of the group of codewords between multiple flash memory planes while maintaining the even odd ordering rule, the programming type ordering rule and the codeword portions ordering rule. The at least two portions may be programmed to rows in different flash memory blocks, and the flash memory planes may belong to the same or multiple flash memory dies. The programming type ordering may define different decoupling sequence steps with sizes set for different programming types according to sensitivity to noise.
Description
BACKGROUND

Flash memory devices include multiple rows. A programming of one row can affect the information stored in another row.


There is a need to provide efficient flash memory programming schemes.


SUMMARY

In an embodiment of the present invention, a non-transitory computer readable medium may be provided and may store instructions for: (i) interleaving at least two portions of a first codeword of the group between at least two flash memory planes while violating at least one ordering rule out of (a) an even odd ordering rule, (b) a programming type ordering rule, and (c) a codeword portions ordering rule; and (ii) interleaving different portions of other codewords of the group between multiple flash memory planes while maintaining the even odd ordering rule, the programming type ordering rule and the codeword portions ordering rule. The multiple flash memory planes may include the at least two memory flash memory planes. The codeword portions ordering rule determines an order of programming of different portions of a same codeword. The even odd ordering rule determines an order of programming codeword portions to even pages and odd pages of the flash memory planes. The programming type ordering rule determines an order of programming types that differ from each other by significance.


The computer readable medium may store instructions for violating the at least one ordering rule for each type of codewords of the different types of codewords.


The computer readable medium may store instructions for programming the at least two portions to rows that have a same row number.


The computer readable medium may store instructions for programming the at least two portions to rows that have different row numbers.


The computer readable medium may store instructions for programming the group of codewords to rows that define a flash memory block per each flash memory plane. The interleaving of the at least two portions may include programming the at least two portions to a row at a start of a flash memory block and to another row at an end of another flash memory block.


The multiple flash memory planes may belong to a same flash memory die.


The multiple flash memory planes may belong to multiple flash memory dies.


The computer readable medium may store instructions for violating only the even odd ordering rule.


The computer readable medium may store instructions for violating only the programming type ordering rule.


The computer readable medium may store instructions for violating only the codeword portions ordering rule.


The even odd ordering rule may be indifferent to a programming order between odd and even pages.


The computer readable medium may store instructions for interleaving each codeword between at least four flash memory planes.


The computer readable medium may store instructions for: (i) determining a logical programming order based upon the even odd ordering rule and the programming type ordering rule; and (ii) applying a logical to physical mapping on the logical programming order to provide a physical programming order that is upheld during the programming of the interleaving of the different portions of the other codewords of the group.


The computer readable medium may store instructions for at least partially compensating for an expected outcome of the violating of the at least one ordering rule during the interleaving of the at least two portions of the first codeword.


Additional embodiments of the invention include a method for programming a group of codewords, each codeword may include multiple codeword portions. The method may include: (i) interleaving at least two portions of a first codeword of the group between at least two flash memory planes while violating at least one ordering rule out of (a) an even odd ordering rule, (b) a programming type ordering rule, and (c) a codeword portions ordering rule; and (ii) interleaving different portions of other codewords of the group between multiple flash memory planes while maintaining the even odd ordering rule, the programming type ordering rule and the codeword portions ordering rule. The multiple flash memory planes may include the at least two memory flash memory planes. The codeword portions ordering rule determines an order of programming of different portions of a same codeword. The even odd ordering rule determines an order of programming codeword portions to even pages and odd pages of the flash memory planes. The programming type ordering rule determines an order of programming types that differ from each other by significance.


The method may include violating the at least one ordering rule for each type of codewords of the different types of codewords.


The interleaving of the at least two portions may include programming the at least two portions to rows having a same row number.


The interleaving of the at least two portions may include programming the at least two portions to rows having different row numbers.


The method may include programming the group of codewords to rows that define a flash memory block per each flash memory plane. The interleaving of the at least two portions may include programming the at least two portions to a row at a start of a flash memory block and to another row at an end of another flash memory block.


The multiple flash memory planes may belong to a same flash memory die.


The multiple flash memory planes may belong to multiple flash memory dies.


The interleaving of the at least two portions may include violating only the even odd ordering rule.


The interleaving of the at least two portions may include violating only the programming type ordering rule.


The interleaving of the at least two portions may include violating only the codeword portions ordering rule.


The even odd ordering rule may be indifferent to a programming order between odd and even pages.


The method may include interleaving each codeword between at least four flash memory planes.


The method may include determining an order of programming of the different portions of the other codewords by: (a) determining a logical programming order based upon the even odd ordering rule and the programming type ordering rule; and (h) applying a logical to physical mapping on the logical programming order to provide a physical programming order that is upheld during the programming of the interleaving of the different portions of the other codewords of the group.


The method may include compensating for an expected outcome of the violating of the at least one ordering rule during the interleaving of the at least two portions of the first codeword.


Additional embodiments of the invention include a system that may include (a) at least one flash memory die that comprises multiple flash memory planes; and (b) a memory controller. The memory controller may be arranged to: (i) interleave at least two portions of a first codeword of the group between at least two flash memory planes while violating at least one ordering rule out of (a) an even odd ordering rule, (b) a programming type ordering rule, and (c) a codeword portions ordering rule; and (ii) interleave different portions of other codewords of the group between the multiple flash memory planes while maintaining the even odd ordering rule, the programming type ordering rule and the codeword portions ordering rule. The multiple flash memory planes may include the at least two memory flash memory planes. The codeword portions ordering rule determines an order of programming of different portions of a same codeword. The even odd ordering rule determines an order of program codeword portions to even pages and odd pages of the flash memory planes. The program type ordering rule determines an order of program types that differ from each other by significance.


The memory controller may be arranged to violate the at least one ordering rule for each type of codewords of the different types of codewords.


The memory controller may be arranged to program the at least two portions to rows having a same row number.


The memory controller may be arranged to program the at least two portions to rows having different row numbers.


The memory controller may be arranged to program the group of codewords to rows that define a flash memory block per each flash memory plane. The memory controller may be arranged to program the at least two portions to a row at a start of a flash memory block and to another row at an end of another flash memory block.


The multiple flash memory planes may belong to a same flash memory die.


The multiple flash memory planes may belong to multiple flash memory dies.


The memory controller may be arranged to violate only the even odd ordering rule.


The memory controller may be arranged to violate only the program type ordering rule.


The memory controller may be arranged to violate only the codeword portions ordering rule.


The even odd ordering rule is indifferent to a program order between odd and even pages.


The memory controller may be arranged to interleave each codeword between at least four flash memory planes.


The memory controller may be arranged to: (a) determine a logical program order based upon the even odd ordering rule and the program type ordering rule; and (b) apply a logical to physical mapping on the logical program order to provide a physical program order that is upheld during the interleaving of the different portions of the other codewords of the group.


The system may include an encoder that may be arranged to at least partially compensate for an expected outcome of violating of the at least one ordering rule during the interleaving of the at least two portions of the first codeword.


The programming type ordering rule may define at least two different decoupling sequence steps for at least two different programming types.


The size of the different decoupling sequence steps can be set according to sensitivity of the different types of programming to noise.





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:



FIGS. 1A-1C illustrate a dual-die dual-plane mapping of page number mapping to physical pages according to an embodiment of the invention;



FIG. 2 illustrates a codewords interleaving example, between a pair of pages, located in two separate dies according to an embodiment of the invention;



FIGS. 3A-3C and 4A-4C illustrate dual-die dual-plane mappings with decoupling sequences of step sizes of 1 and 4 respectively, according to various embodiments of the invention;



FIGS. 5A-5B and 6A-6B illustrate single-die dual-plane mappings with decoupling sequences of step sizes of 1 and 4 respectively, according to various embodiments of the invention;



FIG. 7 illustrates a flow chart of a method for programming according to an embodiment of the invention;



FIG. 8 illustrates an example of dual-die dual-plane mapping according to an embodiment of the invention;



FIG. 9 illustrates an interleaving of codewords over four pages of two dies according to an embodiment of the invention;



FIG. 10 illustrates quad-die dual-plane mapping according to an embodiment of the invention;



FIGS. 11 and 12 illustrate methods for interleaving codewords according to various embodiments of the invention;



FIG. 13 illustrates a method for interleaving codewords and reading codewords according to an embodiment of the invention;



FIGS. 14-15 illustrate systems according to various embodiments of the invention;



FIG. 16 illustrates a method for receiving and writing codewords according to an embodiment of the invention; and



FIG. 17 illustrates a threshold voltage distribution and read thresholds for a three bit per cell flash memory cell.





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

In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the invention. It should be appreciated, however, that the present methods, systems and computer readable media 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 following text refers to flash memory devices. It is noted that the described and the claimed methods, systems and computer readable mediums can be applied mutatis mutandis to other types of nonvolatile memory devices.


The following text refers to pages and blocks. It is noted that other partitions of the virtual and physical flash memory devices can be applied.


There are different types of programming that differ from each other by their significance. Non limiting examples of different types of programming may include a most significant bit (MSB) programming, a central significant bit (CSB) programming and a least significant bit (LSB) programming.



FIG. 17 illustrates a threshold voltage distribution 1600 of a three bit per cell (bpc) flash memory cell. The threshold voltage distribution 1600 includes multiple lobes 1600(0)-1600(7). FIG. 16 also illustrates read thresholds 1610-1616.


Each of these read thresholds is positioned between two adjacent lobes. The read thresholds include a MSB read threshold 1613, CSB read thresholds 1611 and 1615, and LSB read thresholds 1610, 1612, 1614 and 1616.


LSB, CSB and MSB programming are arranged to program flash memory cells to the appropriate lobe. The MSB programming is responsive to the MSB read threshold. The CSB programming is responsive to the CSB read thresholds. The LSB programming is responsive to LSB programming thresholds. In flash memory cells that may store more than three bits per cell—there are defined multiple CSB programming types of different significance.


The different types of programming are associated with different types of logical pages. Thus, a MSB page represents a content of a flash memory device page that was programmed by MSB programming. The same applied to a LSB page and to a CSB page.


A flash memory device may include multiple flash memory rows and can be partitioned to odd pages and even pages. The flash memory cells of odd and even pages may be proximate to each other.


According to an embodiment of the invention there are provided one or more ordering rules. Each ordering rule can be applied on a majority of codeword portions to be programmed. Some codeword portions are programmed while violating at least one ordering rule so that the majority of the codeword portions can be programmed while maintaining all of the one or more ordering rules.


A violation of an ordering rule can be seen as an exception of an ordering rule. It should be appreciated that defining ordering rules that include one or more exceptions to the programming of one or more codeword portions is equivalent to a violation of ordering rules that are applied on the majority of codewords.


Usually, the process of flash memory programming includes encoding data to be resilient to read errors. Even and odd pages may provide different resiliency to read errors—and can be regarded as being of different reliability.


The difference in read reliability can result from the order of programming the odd and even pages—usually the odd pages are programmed after the even pages, during which the even pages suffer additional noise. This phenomenon is known as program disturbs due to inherent strong coupling between even and odd pages within the same row.


A flash memory die can include one or more flash memory planes. Different flash memory planes of a flash memory die can be accessed independently.


For simplicity of explanation rows of different flash memory planes (hereinafter-planes) that share the same row number may be referred in the following description as belonging to the same row. Rows that belong to different flash memory dies that have the same row number can be referred to as the same row.


In the following text a size of the decoupling sequence step is defined as the difference between certain row numbers—regardless of the plane or die that includes these rows.


Flash memory planes that belong to the same flash memory die can differ from other each other by one or more characteristics (for example—have different threshold voltage distributions). This difference can be at least partially compensated by interleaving codewords between different flash memory planes.


Different flash memory dies can differ from the other by one or more characteristics. This difference may be at least partially compensated by interleaving codewords between different flash memory dies.


When multi-plane multi-die programming is possible, then it may be desirable to interleave codewords across multiple dies and maybe across even and odd pages. Some programming orders may require using large buffers for holding encoded data prior to programming. This is since such interleaving would usually require programming all MSB pages and only then continues to LSB pages, in order to eliminate violation of programming ordering such as even-odd codeword interleaving.


According to various embodiments of the invention a multi-die multi-plane programming scheme may be provided such that the buffering requirements are minimized. This multi-die multi-plane programming scheme may enable a generic decoupling sequence for multi-level cell (MLC) devices, and a generic page/row permutation.


A decoupling sequence, in MLC flash memory devices, refers to the programming sequence order of different page types, such as most significant bits (MSB) and least significant bits (LSB) pages (known also as lower and upper pages, respectively). To avoid program disturbs it is usually desired to perform MSB programming of several rows, and only then perform LSB programming of rows of already MSB programmed rows. This is because of the coupling effects between neighboring rows.


When the decoupling sequence step size is zero, after every row MSB programming, an LSB row programming of the same row takes place. This means that right after LSB row programming, the next row is programmed with MSB data. This may induce a relatively strong noise on the last LSB programmed pages. Therefore, increasing the decoupling sequence step size can reduce the programming noise.



FIGS. 1A-1C illustrate a table 10 that demonstrates a dual-die and dual-plane programming scheme that uses a page permutation for programming four different planes of two flash memory dies (each flash memory die having two planes).


The leftmost column of table 10 represents the row numbers. There are two dies (die 0 and die 1), each die includes two planes (plane 0 and plane 1). Each plane includes odd pages and even pages. Each of these even and odd pages includes an MSB page and LSB page (each of the pages can be MSB and LSB programmed).


Accordingly, table 10 has sixteen columns (in addition to the left most column) that represent the programming order of each page taken into account MSB programming and LSB programming. The numbers in these sixteen columns represent the programming order.


It is assumed that codewords have different portions and that different portions of the same codewords are programmed in a sequential manner and according to the programming order.


An example of an interleaving scheme includes interleaving a codeword over every 4 consecutive pages, such that the first codeword is programmed over pages 0-3. Another codeword can be programmed over pages 4-7.


In order to eliminate using long codewords, while keeping this interleaving scheme, every four pages may contain 8 interleaved codewords (where every codeword is split into four pages). In such a case the length of every codeword is exactly half of a single page length (assuming all pages have identical sizes).


Table 10 illustrates the programming order in a flash memory block. The flash memory block spans across flash memory planes and flash memory dies.


Table 10 illustrates an example where the decoupling sequence step size is equal to the number of rows of a flash memory block. In other words, all MSB pages within the flash memory block are programmed first. Once all MSB pages of the block are programmed, the LSB pages of the block are programmed, using the same page ordering. It is noted that codewords may be interleaved between even page numbers and odd page numbers.


The interleaving does not require additional memory buffers as it is done between two pages which lie on different dies. Codewords interleaving of the two first codewords according to an embodiment of the invention is demonstrated in FIG. 2.



FIG. 2 illustrates page_0 (20) of die_0 (18) and page_1 (21) of die_1 (19). These two pages store two codewords, codeword 0 and codeword 1, which are both interleaved over these two pages. One half of codeword 0 (CW0a 23) is programmed to page_0, and another half (CW0b 24) is programmed onto page_1. The same programming is applied on codeword 1, which is separated into codeword halves CW1a (25) and CW1b (26).


As may be noticed from FIGS. 1A-1C and FIG. 2, that page_0 is an even page on Die_0, and page_1 is also an even page on Die_1. In this exceptional case the codewords interleaving is across two even pages. This exception (also referred to as a violation of an even odd ordering rule) allows other codewords portions to be interleaved while maintaining the even odd ordering rule.


It is noted that the programming includes programming every even page before every odd page.


When interleaving codewords across page_2K and page_(2K+1), where K=0, 511, most codewords are programmed while maintaining even/odd interleaving across dies.


Other exceptions to the ordering rules can occur at the end of the block which interleave between two odd pages. These exceptions complement the exceptions at the start of the block.


According to an embodiment of the invention the interleaving of a first codeword can include interleaving the portions of the first codeword between even and odd pages that belong to the first and last row of the block.


This may require buffering the one or more first codeword portions to be programmed at the end of the block but eliminates the interleaving order violations. This programming can be regarded as a violation of the codeword portions ordering rule (that is applied on a majority of codewords and even on almost all codewords) that may require sequential programming of different portions of the same codeword.


The programming scheme shown in FIGS. 1A-1C may cause that a write throughput at certain time intervals is defined by the largest program time (tPROG), which is usually the LSB programming tPROG. It becomes even more noticeable in three bits per cell flash memory devices, where the tPROG difference between the LSB programming and the MSB programming is dramatically higher. That is since LSB pages are programmed sequentially along the block, after all MSB pages are already programmed.


According to an embodiment of the invention, it is suggested to program a few MSB rows, and then program the first LSB row. Thus—it may be desired to use a decoupling sequence step of size S that is smaller than the number of rows of the entire block.


Thus—after completing a LSB programming of the S first rows (the first time the decoupling sequence step is obtained), initiating a MSB programming. This may be followed by a LSB programming—while maintaining the decoupling sequence step.



FIGS. 3A-3C illustrates a dual-die dual-plane mapping of page numbers to physical pages with a decoupling sequence of step size of 1, according to an embodiment of the invention.


Table 30 shown in FIGS. 3A-3C illustrates the programming order.


This programming scheme (referred to dual-die dual-plane programming sequence, with a dual die interleaving permutation) allows almost every page couple [i.e. page_2K and page_(2K+1), K=0, . . . , 511] to be mapped to physically even and odd pages, which enables interleaving of codewords across pairs of pages over physical even/odd pages.


In addition—MSB and LSB pages are programmed with a decoupling sequence step size of 1, which means that LSB pages are programmed only after at least two MSB rows are completely programmed. Thus there is at least one row spacing between a new programmed MSB row, and the previous LSB programmed rows.


It is noted that in contrast with traditional (prior art) decoupling sequences some MSB rows may be incompletely programmed before starting to program the LSB rows. This is exemplified in FIG. 3, where the programming begins with MSB pages.


The first LSB programmed page is page_20. When it is programmed, the first two rows (0 and 1) are already fully MSB programmed, however, some pages on row 2 are programmed as well, due to the multi-die permutation, i.e. pages 13, 15, 16 and 18 are programmed on row 2, when the LSB is programmed.



FIG. 4 illustrates a dual-die dual-plane mapping of page numbers to physical pages with the suggested decoupling sequence of step size 4, according to an embodiment of the invention. The programming order is illustrated by table 40.


This programming scheme allows almost every page couple [i.e. page_2K and page_(2K+1), K=0, 511] to be mapped to physically even and odd pages, which enables interleaving of codewords across pairs of pages over physical even/odd pages.


MSB and LSB page types are programmed with a decoupling sequence step size of 4, which means that LSB pages are programmed only after at least five MSB rows are completely programmed. Thus there is at least four rows spacing between a new programmed MSB row, and the previous LSB programmed rows.



FIGS. 5 and 6 demonstrate the same technique for a multi-plane interleaving of codewords for a single-die configuration, according to various embodiments of the invention.


In FIG. 5 (table 50), a single-die dual-plane mapping of page numbers to physical pages with the suggested decoupling sequence of step size 1 is illustrated.


In FIG. 6 (table 60), a single-die dual-plane mapping of page numbers to physical pages with the suggested decoupling sequence of step size 4 is described. The interleaving of codewords can be done for every pair of even and odd indices, for example indices 0 and 1, then the next codeword can be mapped to indices 2 and 3



FIG. 7 illustrated a method 700 for interleaving of codewords according to an embodiment of the invention.


Method 700 provides a non-limiting example of programming to a 2 bpc flash memory cells by MSB programming and LSB programming with a decoupling step size stepTH predefined, while allowing multi-plane multi-die interleaving.


For simplicity of explanation FIG. 7 illustrates an interleaving of codeword portions that maintains all the ordering rules. Thus, the stages of method 700 are repeated for the majority of codewords. It is noted that method 700 includes (not shown) stages of programming while violating one or more ordering rules.


Method 710 starts by stage 710 of receiving an instruction (by a memory controller) to program a new codeword.


Stage 710 is followed by stage 720 of checking whether to program the new codeword to MSB pages (MSB programming) or LSB pages (LSB programming).


The checking is responsive to:


(A) The decoupling sequence step size stepTH (MsbRows-LsbRows>stepTH), wherein MsbRows is the number of fully programmed MSB rows, and LsbRows is the number of fully programmed LSB rows; and


(B) The overall number of rows (NumOfRows) allocated for the programming.


If MSB programming covered the overall number of rows then the remaining programming should be LSB programming (MsbRows<NumOfRows).


If there is a sufficiently large spacing, i.e. the number of fully programmed MSB rows is larger than the number of fully programmed LSB rows by more than the configured decoupling sequence step size, denoted in by stepTH, and then an additional LSB pages may be programmed.


Clearly, when all MSB rows are already programmed, then the residual LSB pages are programmed according to the page mapping permutation. After interleaving of the codewords across multiple physical pages and programming the counter of MSB/LSB full rows is updated—to reflect the current number of full MSB/LSB programmed rows.


If all MSB rows are not already programmed and if the decoupling sequence step size is not maintained then stage 720 is followed by stages 732, 734 and 736. Else, stage 720 is followed by stages 742, 744 and 746.


Stage 732 includes choosing the next MSB page pair according to permutation.


Stage 734 includes interleaving codewords over MSB page pairs.


Stage 736 includes updating MsbRows Counter.


Stage 742 includes choosing the next LSB page pair according to permutation.


Stage 744 includes interleaving codewords over LSB page pairs.


Stage 746 includes updating LshRows Counter.


According to an embodiment of the invention the decoupling sequence definition and algorithm is extended to any number of bits-per cell flash memory devices. For example, in a 3 bpc flash memory device there are three types of pages to program—MSB pages, CSB pages and LSB pages.


According to an embodiment of the invention a process of programming can include:

    • i. Program MSB pages until a decoupling sequence step is obtained, then program CSB pages.
    • ii. When there are sufficiently many CSB programmed rows, i.e. at least decoupling sequence step programmed CSB rows, and then program the first LSB pages.
    • iii. Continue programming MSB/CSB/LSB while maintaining the decoupling sequence step size for CSB w.r.t MSB and for LSB w.r.t CSB.


Yet according to another embodiment of the invention, the size of the decoupling sequence step can be changed between types of programming. For example, when programming a three hit-per cell device (three types of programming available), the size of the decoupling sequence step for CSB programming differs from the size of the decoupling sequence step for LSB programming. Conveniently, the size of the decoupling sequence step increases as the significance of the bit decreases.


The sizes of the decoupling sequence steps associated with different types of programming may be adapted to the sensitivity to noises to these different types of programming. For example, LSB programming is usually the most sensitive type of programming to program disturbs from neighboring rows and should be associated with the largest decoupling sequence step.


When there are J different types of programming (associated with bits of J different significance levels) then up to (J−1) different decoupling sequence step sizes can be defined. It is noted that fewer than (J−1) different decoupling sequence step sizes can be defined—for example if at least a pair of programming types share the same decoupling sequence step size.


For example, in programming a 3 bpc flash memory cells two different decoupling sequence step sizes can be defined.


According to another embodiment of the invention includes an extension of the page ordering to any type of row order. Thus, any mapping shown by any tables of any of the figures may reflect a mapping to a logical row number, while the physical row order may be different, and be defined by an additional mapping.


According to yet another embodiment of the invention a method can include interleaving of codewords among MSB and LSB page pairs. The method may use a similar decoupling sequence for page programming. Instead of interleaving over even/odd pages of different dies, the codeword interleaving may be applied among MSB and LSB pages. As this is not feasible in general for all page pairs since MSB pages must be programmed before the LSB pages, there will be exceptions at the first row of the block.


Such a programming sequence is illustrated in FIG. 8 (table 80), with a decoupling sequence of a step size of 1. This programming sequence includes programming a LSB page while keeping a single row space from the next MSB page to be programmed. This programming sequence may interleave a codeword over page_2K and page_(2K+1), where K=0, 511.


As may be noticed, the first two rows are programmed with MSB pages before the interleaving between MSB and LSB pages begins.


The first programmed LSB page is page_20, which holds a codeword interleaved with MSB page_21. The decoupling sequence step size of at least 1 row is maintained till the end of the block. An interleaving exception will occur by the end of the block, where the last few codewords will be interleaved over pairs of LSB pages. A possible drawback of this approach is the fact that the highest expected errors are on even LSB pages, and those are interleaved with odd MSB pages, where all MSB pages usually suffer less errors since a single read threshold is required.


It is noted that instead of breaking the MSB/LSB interleaving sequence at the beginning and end of a block, the interleaving may be done among different blocks, where the last LSB pages are interleaved with the first MSB pages of a new block. This maintains MSB/LSB interleaving for most page pairs on the flash memory device.


According to another embodiment of the invention the interleaving of codewords is done over multiple devices, and multiple pages. That is, the examples and methods presented earlier are extendible to more than two pairs of pages for codewords' interleaving. For example, every codeword may be interleaved over four pages. Thus if the four pages can lie on separate devices, a higher diversity interleaving can be obtained.



FIG. 9 illustrates an interleaving of four codewords over four pages 90-93 that belong to four different flash memory dies 98(0)-98(3) according to an embodiment of the invention.


Pages 0-3 (90-93) store 4 codewords, codeword 0 codeword 1, codeword 2 and codeword 3, which are all interleaved over the 4 pages. The first fourth of codeword 0, denoted by CW0a 94(0), is programmed to page_0 (90), another fourth of codeword 0, denoted by CW0b 94(1), is programmed to page_1 (91), another fourth, denoted by CW0c 94(2), is programmed to page_2 (92), and the last fourth, denoted by CW0d 94(3), is programmed to page_3 (93). Other codewords are also interleaved between four flash memory dies 98(0)-98(3).



FIG. 10 illustrates a 4-die interleaving scheme according to an embodiment of the invention.



FIG. 10 includes table 100. As may be noticed from FIG. 10, with interleaving over every 4 consecutive pages, most of the codewords are interleaved over even/odd MSB/LSB pages, where every page is programmed to a different die. As may be noticed, the decoupling sequence like defined earlier is maintained, where here the step is of size of 1, and only after two MSB rows are full the LSB programming starts, where the LSB and MSB interleaving includes also the even/odd interleaving, and obtains averaging over 4 dies for nearly all pages. The concept is extendible within the framework of this invention to any number of dies, any decoupling step, any row permutation, etc.


According to various embodiments of the invention the mentioned above schemes can be extended to 3 bpc devices. In the case of 3 pbc, the interleaving among page types is MSB/LSB and the CSBs are self interleaved (only even/odd). It is clearly extendible to any n-bits per cell devices following the same guidelines introduced in this invention.


Each of the mentioned above schemes can be executed by a device that may include a flash memory device and a memory controller. The memory controller controls the execution of each of the mentioned above schemes or a combination of such schemes.


Each of the mentioned above schemes can be executed by a device that may include a computer or a memory controller that executes instructions stored in a non-transitory computer readable medium.



FIG. 11 illustrates method 1100 for interleaving codewords according to an embodiment of the invention.


Method 1100 may start by stage 1110 that may include determining or receiving a programming order.


The programming order can take into account one or more of the following rules: (a) an even odd ordering rule, (b) a programming type ordering rule, and (c) a codeword portions ordering rule.


The even odd ordering rule determines an order of programming codeword portions to even pages and odd pages of the flash memory planes. The programming type ordering rule determines an order of programming types that differ from each other by significance. The codeword portions ordering rule determines an order of programming of different portions of a same codeword.


The programming order may start (or may include) a violation of one (or more) of these rules for programming two or more portions of a limited number of codeword portions and then maintain all of these rules when programming a much larger number of codeword portions. The violation facilitates maintaining the rules for other codewords (or other portions of the codewords).


For simplicity of explanation it will be assumed that the violation occurs when programming two or more portions of a first codeword. The first codeword can be the first codeword that is being programmed to a flash memory block but this is not necessarily so. It is noted that the violation can occur for more than a single codeword (as illustrated in FIG. 1) and then the violation can be applied for two or more codeword portions of the first codeword while other portions of that first codeword can be programmed while maintaining the rules.


Stage 1110 may include determining an order of programming of the different portions of the other codewords by: (a) determining a logical programming order based upon the even odd ordering rule, the codeword portions ordering rule and the programming type ordering rule; and (b) applying a logical to physical mapping on the logical programming order to provide a physical programming order that is upheld during the programming of the interleaving of the different portions of the other codewords of the group.


Stage 1110 is followed by stage 1120 of receiving a group of codewords to be programmed.


Stage 1120 can be followed by stages 1130 and 1140.



FIG. 11 illustrates stage 1120 as being followed by stages 1130 and 1140. FIG. 11 illustrates stage 1130 as being followed by stage 1140 but this is not necessarily so. For example, the interleaving may occur before receiving the entire group of codewords. Yet for another example, the violation can occur after some codewords were programmed while maintaining the rules. Referring to the last example, violation of rules during the first CSB programming can occur after maintaining all the rules for MSB programming of one or more previous codewords.


Stage 1130 includes interleaving at least two portions of a first codeword of the group between at least two flash memory planes while violating at least one ordering rule out of (a) an even odd ordering rule, (b) a programming type ordering rule, and (c) a codeword portions ordering rule. Thus stage 1130 can include applying on the at least two portions of the first codeword other rules than those applied on most of the codeword portions.


Stage 1130 may include at least one of the following:


(A) Programming the at least two portions to rows having a same row number.


(B) Programming the at least two portions to rows having different row numbers.


(C) Programming the at least two portions to a row at a start of a flash memory block and to a row at the end of the flash memory block. These rows can belong to the same flash memory plane or to different flash memory planes. The entire group of codewords is programmed to rows that define the flash memory block.


(D) Violating only the even odd ordering rule. See, for example, FIGS. 1A-1C and 3A-3C.


(E) Violating only the programming type ordering rule. See, for example, FIG. 8.


(F) Violating only the codeword portions ordering rule. For example—programming a first portion of a first codeword to an odd MSB page of a first row of a block of first flash memory plane and programming a second portion of the first codeword to an even MSB page of a last row of a corresponding block


Stage 1140 includes interleaving different portions of other codewords of the group between multiple flash memory planes while maintaining the even odd ordering rule, the programming type ordering rule and the codeword portions ordering rule.


The multiple flash memory planes (of stage 1140) may include the at least two memory flash memory planes (of stage 1130).


It is noted that the violation of a rule can lead to increased error rate in the codeword portions that were programmed during this violation. This can be at least compensated by changing at least one encoding parameters of these codeword portions—for example by allocating more redundancy bits for these codeword portions in relation to the redundancy bits allocated to codeword portions that are programmed while maintaining the rules. Additionally or alternatively, the compensation may involve applying stronger error correction decoding, reading these codeword portions multiple times, performing soft decoding and any other methods for compensating (at least partially) for the violations.


This is illustrated by stage 1122 of receiving a group of codewords wherein the group of codewords are encoded such as to at least partially compensate for an expected outcome of the violating of the at least one ordering rule during the interleaving of the at least two portions of the first codeword.



FIG. 12 illustrates method 1200 for interleaving codewords according to an embodiment of the invention.


Method 1200 differs from method 1100 of FIG. 11 by including stages 1210 and 1220 instead of stage 1120. Stage 1210 is preceded by stage 1110. Stage 1220 is followed by stages 1130 and 1140.


Stage 1210 includes receiving data to be encoded to provide a group of codewords.


Stage 1210 is followed by stage 1220 of generating the group of codewords by encoding the data while at least partially compensating for an expected outcome of violating the at least one ordering rule during interleaving of at least two portions of a first codeword.


According to various embodiments of the invention the compensation can be applied when reading the programmed codewords from the flash memory device. The data can be read multiple times, it can be soft decoded, and the like. This is illustrated in FIG. 13.



FIG. 13 illustrates method 1300 for interleaving and reading codewords according to various embodiments of the invention. Method 1300 differs from method 1100 by including stage 1310 of reading the group of codewords (or a part of the group) while at least partially compensating for excessive errors that may result from the violation of one or more rules (during stage 1130).



FIG. 14 illustrates system 1400 according to an embodiment of the invention.


System 1400 is illustrated as including two flash memory dies 1410 and 1420, each including two planes—(1412, 1414) and (1422, 1424), an interface (1416 and 1426 respectively) and an internal register (1418 and 1428). Each flash memory die (or even each plane) can have an internal controller (not shown) for managing read and write within the flash memory die.


System 1400 may execute any of the mentioned above methods, may apply any of the mentioned above programming sequences as well as other programming sequences such as those that differ from those illustrated above by the size of the decoupling sequence step.


The internal register (1418 and 1428) of each flash memory die is used as an intermediate stage for transferring codeword portions.


Each plane 1412, 1414, 1422 and 1424 has multiple rows. For simplicity of explanation rows of the different flash memory planes that share the same row number are regarded as the same row of the flash memory block.


The flash memory dies 1410 and 1420 are connected to a memory controller 1430. The memory controller 1430 may include an ordering circuit 1431, a read circuit 1432, a programming circuit 1433, an erase circuit 1434, an encoder 1435, a decoder 1436, a memory management circuit 1437 and a random access memory (RAM) circuit 1438. It is noted that the memory controller 1430 may include less circuits, more circuits or other circuits.


The memory management circuit 1437 can perform flash memory management operations such as wear leveling.


The encoder 1435 can encode data to provide codewords. The decoder 1436 can decode codewords. These circuits (1435 and 1436) can treat codeword portions that are interleaved while violating one or more ordering rules in a different manner than other codeword portions. They can apply to the former codeword portions error correcting codes that have better error correction capabilities. The latter codewords can include more redundancy bits and the like. This can at least partially compensate for the expected higher error rates that may result from the violation of the at least one ordering rule.


The ordering circuit 1431 can be used for receiving or determining an order of programming of codeword portions. It may also be used to maintain the order of reading the codeword portions from the flash memory planes.


The ordering circuit 1431 outputs order information to the programming circuit 1433 that represents an interleaving of at least two portions of a first codeword of the group between at least two flash memory planes while violating at least one ordering rule out of (a) an even odd ordering rule, (b) a programming type ordering rule, and (c) a codeword portions ordering rule; and interleaving different portions of other codewords of the group between the multiple flash memory planes while maintaining the even odd ordering rule, the programming type ordering rule and the codeword portions ordering rule;


The read circuit 1432 can read codeword portions from the flash memory planes based on read instructions and order information received from the ordering circuit 1431 and can decode the codewords. The decoding can include compensating for excessive errors expected from at least two codeword portions of a first codeword that were programmed while violating at least one ordering rule out of (a) an even odd ordering rule, (b) a programming type ordering rule, and (c) a codeword portions ordering rule.


The programming circuit 1433 can program the codeword portions such as to:

    • i. Interleave at least two codeword portions of a first codeword between at least two different flash memory planes while violating at least one ordering rule out of (a) an even odd ordering rule, (b) a programming type ordering rule, and (c) a codeword portions ordering rule.
    • ii. Interleave different portions of other codewords of the group between the multiple flash memory planes while maintaining the even odd ordering rule, the programming type ordering rule and the codeword portions ordering rule.


The programming circuit 1433 may be arranged to violate the at least one ordering rule for each type of codeword of the different types of codewords.


The programming circuit may perform said violation of at least one ordering rule while programming the at least two portions to rows having a same row number or to two portions of rows having different row numbers.


The group of codewords can be programmed to a flash memory block that spans over multiple planes. The programming circuit 1433 may be arranged to program the at least two portions to a row at a start of a flash memory block and to another row at an end of another flash memory block.


It is noted that programming circuit 1433 can perform the interleaving between multiple flash memory planes that belong to a same flash memory die, to a pair of flash memory dies or to more than two flash memory dies (for example—four).


According to various embodiments of the invention the ordering circuit 1431 can generate or receive order information that will cause the programming circuit to violate only one ordering rule out of the even odd ordering rule, the programming type ordering rule and the codeword portions ordering rule.


According to an embodiment of the invention the ordering circuit 1431 can generate order information that will apply different odd and even ordering rules for different types of programming. Any of the mentioned above methods can apply the same. For example, the interleaving can be done between MSB and LSB programming and not between odd and even pages.


According to an embodiment of the invention the ordering circuit 1431 is arranged to generate the order information based on the even odd ordering rule, the programming type ordering rule and the codeword portions ordering rule. Thus, only these rules can determine the order of programming. Alternatively, one or more additional rules or mapping can be applied in order to determine the order information. For example, these rules can determine a logical program order that may be altered (by applying a logical to physical mapping) to determine order information that represents the physical program order. It is noted that other transformations (not limited to logical to physical mappings) can be applied when generating (by the ordering circuit 1431 or by another entity) the order information.


For example, the ordering circuit can be arranged to determine a logical program order based upon the even odd ordering rule and the program type ordering rule; and apply a logical to physical mapping on the logical program order to provide a physical program order that is upheld during the interleaving of the different portions of the other codewords of the group.


Yet according to another embodiment of the invention each plane has its own erase circuit, program circuit and read circuit. This is illustrated in FIG. 15. Memory planes 1412, 1414, 1422 and 1424 have read circuits 1412(1), 1414(1), 1422(1) and 1424(1) respectively, have erase circuits 1412(2), 1414(2), 1422(2) and 1424(2) respectively and have programming circuits 1412(3), 1414(3), 1422(3) and 1424(3).



FIG. 16 illustrates method 800 for programming multiple codewords in accordance with an embodiment of the invention.


Method 800 may start by stage 810 that may include receiving multiple codewords. Each codeword may include multiple codeword portions.


In accordance with an embodiment of the invention, stage 810 can include receiving multiple information entities and/or units to be decoded and encoding them to provide the multiple codewords. The multiple codewords and/or, the information units can be stored in a buffer before the multiple codewords are written to the flash memory rows. In one embodiment in accordance with the invention, the multiple codewords can be interleaved before step 820. The multiple codewords can be written to the flash memory row portions in an interleaved manner (for example by writing different portions of a codeword to different pages/blocks/dies). Stage 810 may be followed by stage 820 of writing different portions of each codeword to at least two groups of flash memory row portions that may belong to different groups of flash memory rows. A first portion of a certain codeword may be written to a first group of flash memory row portions that may belong to a first group of flash memory rows. A second portion of the certain codeword may be written to a second group of flash memory row portions that may belong to a second group of flash memory rows that may differ from the first group of flash memory rows.


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 programming a group of codewords, wherein each codeword comprises multiple codeword portions, the method comprising: interleaving at least two portions of a first codeword of a group of codewords between at least two flash memory planes while violating at least one ordering rule out of (a) an even odd ordering rule, (b) a programming type ordering rule, and (c) a codeword portions ordering rule;interleaving different portions of other codewords of the group of codewords between multiple flash memory planes while maintaining the even odd ordering rule, the programming type ordering rule and the codeword portions ordering rule;wherein the multiple flash memory planes comprise the at least two flash memory planes;wherein the codeword portions ordering rule determines an order of programming of different portions of a same codeword;wherein the even odd ordering rule determines an order of programming codeword portions to even pages and odd pages of the flash memory planes;wherein the programming type ordering rule determines an order of programming types that differ from each other by significance; andwherein the programming type ordering rule defines at least two different decoupling sequence steps for at least two different programming types.
  • 2. The method according to claim 1, further comprising violating the at least one ordering rule for each type of codeword of different types of codewords.
  • 3. The method according to claim 1, wherein the interleaving of the at least two portions comprises programming the at least two portions to rows of the at least two flash memory planes, the rows having a same row number.
  • 4. The method according to claim 1, wherein the interleaving of the at least two portions comprises programming the at least two portions to rows of the at least two flash memory planes, the rows, the rows having different row numbers.
  • 5. The method according to claim 1, further comprising programming the group of codewords to rows that form a flash memory block per each flash memory plane; wherein the interleaving of the at least two portions comprises programming the at least two portions to a row at a start of a flash memory block and to another row at an end of another flash memory block.
  • 6. The method according to claim 1, wherein the multiple flash memory planes belong to a same flash memory die.
  • 7. The method according to claim 1, wherein the multiple flash memory planes belong to multiple flash memory dies.
  • 8. The method according to claim 1, wherein the interleaving of the at least two portions comprises violating only the even odd ordering rule.
  • 9. The method according to claim 1, wherein the interleaving of the at least two portions comprises violating only the programming type ordering rule.
  • 10. The method according to claim 1, wherein the interleaving of the at least two portions comprises violating only the codeword portions ordering rule.
  • 11. The method according to claim 1, further comprising interleaving each codeword between at least four flash memory planes.
  • 12. The method according to claim 1 further comprising compensating for an expected outcome of the violating of the at least one ordering rule during the interleaving of the at least two portions of the first codeword.
  • 13. The method according to claim 1, wherein sizes of the different decoupling sequence steps are set according to sensitivity of the at least two different programming types to noise.
  • 14. A method for programming a group of codewords, wherein each codeword comprises multiple codeword portions, the method comprising: interleaving at least two portions of a first codeword of a group of codewords between at least two flash memory planes while violating at least one ordering rule out of (a) an even odd ordering rule, (b) a programming type ordering rule, and (c) a codeword portions ordering rule; interleaving different portions of other codewords of the group of codewords between multiple flash memory planes while maintaining the even odd ordering rule, the programming type ordering rule and the codeword portions ordering rule; determining an order of programming of the different portions of the other codewords of the group of codewords by: determining a logical programming order based upon the even odd ordering rule and the programming type ordering rule; and applying a logical to physical mapping on the logical programming order to provide a physical programming order that is upheld during the interleaving of the different portions of the other codewords of the group of codewords; wherein the multiple flash memory planes comprise the at least two flash memory planes; wherein the codeword portions ordering rule determines an order of programming of different portions of a same codeword; wherein the even odd ordering rule determines an order of programming codeword portions to even pages and odd pages of the flash memory planes; and wherein the programming type ordering rule determines an order of programming types that differ from each other by significance.
  • 15. A system, comprising: at least one flash memory die that comprises multiple flash memory planes; anda memory controller arranged to:interleave at least two portions of a first codeword of a group of codewords between at least two flash memory planes while violating at least one ordering rule out of (a) an even odd ordering rule, (b) a programming type ordering rule, and (c) a codeword portions ordering rule; andinterleave different portions of other codewords of the group of codewords between the multiple flash memory planes while maintaining the even odd ordering rule, the programming type ordering rule and the codeword portions ordering rule;wherein the multiple flash memory planes comprise the at least two flash memory planes;wherein the codeword portions ordering rule determines an order of programming of different portions of a same codeword;wherein the even odd ordering rule determines an order of program codeword portions to even pages and odd pages of the flash memory planes;wherein the programming type ordering rule determines an order of program types that differ from each other by significance; andwherein the programming type ordering rule defines at least two different decoupling sequence steps for at least two different programming types.
  • 16. The system according to claim 15 wherein the memory controller is arranged to violate the at least one ordering rule for each type of codeword of the different types of codewords.
  • 17. The system according to claim 15 wherein the memory controller is arranged to program the at least two portions to rows having a same row number.
  • 18. The system according to claim 15 wherein the memory controller is arranged to program the at least two portions to rows having different row numbers.
  • 19. The system according to claim 15, wherein the memory controller is arranged to program the group of codewords to rows that define a flash memory block per each flash memory plane; and wherein the memory controller is arranged to program the at least two portions to a row at a start of a flash memory block and to another row at an end of another flash memory block.
  • 20. The system according to claim 15, wherein the multiple flash memory planes belong to a same flash memory die.
  • 21. The system according to claim 15, wherein the multiple flash memory planes belong to multiple flash memory dies.
  • 22. The system according to claim 15 wherein the memory controller is arranged to violate only the even odd ordering rule.
  • 23. The system according to claim 15 wherein the memory controller is arranged to violate only the programming type ordering rule.
  • 24. The system according to claim 15 wherein the memory controller is arranged to violate only the codeword portions ordering rule.
  • 25. The system according to claim 15 wherein the memory controller is arranged to interleave each codeword between at least four flash memory planes.
  • 26. The system according to claim 15, further comprising an encoder that is arranged to at least partially compensate for an expected outcome of violating of the at least one ordering rule during the interleaving of the at least two portions of the first codeword.
  • 27. The system according to claim 15, wherein sizes of the different decoupling sequence steps are set according to sensitivity of the different types of programming to noise.
  • 28. A system, comprising: at least one flash memory die that comprises multiple flash memory planes; and a memory controller arranged to: interleave at least two portions of a first codeword of a group of codewords between at least two flash memory planes while violating at least one ordering rule out of (a) an even odd ordering rule, (b) a programming type ordering rule, and (c) a codeword portions ordering rule; and interleave different portions of other codewords of the group of codewords between the multiple flash memory planes while maintaining the even odd ordering rule, the programming type ordering rule and the codeword portions ordering rule; wherein the multiple flash memory planes comprise the at least two flash memory planes; wherein the codeword portions ordering rule determines an order of programming of different portions of a same codeword; wherein the even odd ordering rule determines an order of program codeword portions to even pages and odd pages of the flash memory planes; wherein the programming type ordering rule determines an order of program types that differ from each other by significance; wherein the memory controller is further arranged to determine a logical program order based upon the even odd ordering rule and the program type ordering rule; and apply a logical to physical mapping on the logical program order to provide a physical programming order that is upheld during the interleaving of the different portions of the other codewords of the group of codewords.
  • 29. A non-transitory computer readable medium, wherein the non-transitory computer readable medium storing instructions for: interleaving at least two portions of a first codeword of a group of codewords between at least two flash memory planes while violating at least one ordering rule out of (a) an even odd ordering rule, (b) a programming type ordering rule, and (c) a codeword portions ordering rule;interleaving different portions of other codewords of the group of codewords between multiple flash memory planes while maintaining the even odd ordering rule, the programming type ordering rule and the codeword portions ordering rule;wherein the multiple flash memory planes comprise the at least two memory flash memory planes;wherein the codeword portions ordering rule determines an order of programming of different portions of a same codeword;wherein the even odd ordering rule determines an order of programming codeword portions to even pages and odd pages of the flash memory planes;wherein the programming type ordering rule determines an order of programming types that differ from each other by significance; andwherein the programming type ordering rule defines at least two different decoupling sequence steps for at least two different programming types.
  • 30. The non-transitory computer readable medium according to claim 29, wherein the non-transitory computer readable medium storing instructions for violating the at least one ordering rule for each type of codeword of different types of codewords.
  • 31. The non-transitory computer readable medium according to claim 29, wherein the non-transitory computer readable medium storing instructions for programming the at least two portions to rows of the at least two flash memory planes, the rows having a same row number.
  • 32. The non-transitory computer readable medium according to claim 29, wherein the non-transitory computer readable medium storing instructions for programming the at least two portions to rows of the at least two flash memory planes, the rows having different row numbers.
  • 33. The non-transitory computer readable medium according to claim 29, wherein the non-transitory computer readable medium storing instructions for programming the group of codewords to rows of the at least two flash memory planes, the rows form a flash memory block per each flash memory plane; wherein the interleaving of the at least two portions comprises programming the at least two portions to a row at a start of a flash memory block and to another row at an end of another flash memory block.
  • 34. The non-transitory computer readable medium according to claim 29, wherein the multiple flash memory planes belong to a same flash memory die.
  • 35. The non-transitory computer readable medium according to claim 29, wherein the multiple flash memory planes belong to multiple flash memory dies.
  • 36. The non-transitory computer readable medium according to claim 29, wherein the non-transitory computer readable medium storing instructions for violating only the even odd ordering rule.
  • 37. The non-transitory computer readable medium according to claim 29, wherein the non-transitory computer readable medium storing instructions for violating only the programming type ordering rule.
  • 38. The non-transitory computer readable medium according to claim 29, wherein the non-transitory computer readable medium storing instructions for violating only the codeword portions ordering rule.
  • 39. The non-transitory computer readable medium according to claim 29 wherein the non-transitory computer readable medium storing instructions for interleaving each codeword between at least four flash memory planes.
  • 40. The non-transitory computer readable medium according to claim 29, wherein the non-transitory computer readable medium storing instructions for at least partially compensating for an expected outcome of the violating of the at least one ordering rule during the interleaving of the at least two portions of the first codeword.
  • 41. The non-transitory computer readable medium according to claim 29, wherein sizes of the different decoupling sequence steps are set according to sensitivity of the at least two different programming types to noise.
  • 42. A non-transitory computer readable medium, wherein the non-transitory computer readable medium storing instructions for: interleaving at least two portions of a first codeword of a group of codewords between at least two flash memory planes while violating at least one ordering rule out of (a) an even odd ordering rule, (b) a programming type ordering rule, and (c) a codeword portions ordering rule; interleaving different portions of other codewords of the group of codewords between multiple flash memory planes while maintaining the even odd ordering rule, the programming type ordering rule and the codeword portions ordering rule; determining a logical programming order based upon the even odd ordering rule and the programming type ordering rule; and applying a logical to physical mapping on the logical programming order to provide a physical programming order that is upheld during the programming of the interleaving of the different portions of the other codewords of the group of codewords; wherein the multiple flash memory planes comprise the at least two flash memory planes; wherein the codeword portions ordering rule determines an order of programming of different portions of a same codeword; wherein the even odd ordering rule determines an order of programming codeword portions to even pages and odd pages of the flash memory planes; wherein the programming type ordering rule determines an order of programming types that differ from each other by significance.
RELATED APPLICATIONS

This application is a NONPROVISIONAL of, claims priority and incorporates by reference U.S. provisional patent application No. 61/420,654, filed Dec. 2, 2010.

US Referenced Citations (327)
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 Fandrich et al. Jan 1997 A
5623620 Fandrich et al. Apr 1997 A
5640529 Hasbun Jun 1997 A
5657332 Auclair et al. Aug 1997 A
5663901 Wallace 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 Ma et al. Apr 1998 A
5778430 Ish et al. Jul 1998 A
5793774 Usui et al. Aug 1998 A
5920578 Zook Jul 1999 A
5926409 Engh et al. Jul 1999 A
5933368 Ma et al. Aug 1999 A
5956268 Lee Sep 1999 A
5956473 Ma et al. Sep 1999 A
5968198 Hassan et al. Oct 1999 A
5982659 Irrinki et al. Nov 1999 A
6011741 Wallace 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
7667628 Breiling Feb 2010 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
20050144361 Gonzalez 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
20080034154 Lee et al. Feb 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 Shalvi 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 et al. 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
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
20100082917 Yang et al. Apr 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
20100195418 Moon et al. Aug 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
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
20110153911 Sprouse et al. Jun 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
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
Non-Patent Literature Citations (13)
Entry
Yani Chen, Kcshab K. Parhi, “Small Area Parallel Chien Search Architectures for Long BCH Codes”, Ieee Transactions on Very Large Scale Integration(VLSI) Systems, vol. 12, No. 5, May 2004, pp. 545-549.
Yuejian Wu, “Low Power Decoding of BCH Codes”, Nortel Networks, Ottawa, Ont., Canada, in Circuits and systems, 2004. ISCAS '04. Proceeding of the 2004 International Symposium on Circuits and Systems, published May 23-26, 2004, vol. 2, pp. II-369 to II-372 vol. 2.
Michael Purser, “Introduction to Error Correcting Codes”, Artech House Inc., 1995, pp. 1-133.
David Esseni, Bruno Ricco, “Trading-Off Programming Speed and Current Absorption in Flash Memories with the Ramped-Gate Programming Technique”, Ieee Transactions on Electron Devices, vol. 47, No. 4, Apr. 2000, pp. 828-834.
J.M. Portal, H. Aziza, D Nee, “EEPROM Memory: Threshold Voltage Built in Self Diagnosis”, ITC International Test Conference, Paper 2.1, copyright 2003, pp. 23-28.
J.M. Portal, H. Aziza, D. Nee, “EEPROM Diagnosis Based on Threshold Voltage Embedded Measurement”, Journal of Electronic Testing: Theory and Applications 21, 2005, pp. 33-42.
G. Tao, A. Scarpa, J. Dijkstra, W. Stidl, F. Kuper, “Data retention prediction for modern floating gate non-volatile memories”, Microelectronics Reliability 40 (2000), pp. 283-287.
T. Hirncno, N. Matsukawa, H. Hazama, K. Sakui, M. Oshikiri, K. Masuda, K. Kanda, Y. Itoh, J. Miyamoto, “A New Technique for Measuring Threshold Voltage Distribution in Flash EEPROM Devices”, Proc. IEEE 1995 Int. Conference on Microelectronics Test Structures, vol. 8, Mar. 1995.
Dempster, et al., “Maximum Likelihood from Incomplete Data via the EM Algorithm”, Journal of the Royal Statistical Society. Series B (Methodological), vol. 39, No. 1 (1997), pp. 1-38.
Mielke, et al., “Flash EEPROM Threshold Instabilities due to Charge Trapping During Program/Erase Cycling”, IEEE Transactions on Device and Materials Reliability, vol. 4, No. 3, Sep. 2004, pp. 335-344.
Daneshbeh, “Bit Serial Systolic Architectures for Multiplicative Inversion and Division over GF (2)”, A thesis presented to the University of Waterloo, Ontario, Canada, 2005, pp. 1-118.
Chen, Formulas for the solutions of Quadratic Equations over GF (2), IEEE Trans. Inform. Theory, vol. IT-28, No. 5, Sep. 1982, pp. 792-794.
Berlekamp et al., “On the Solution of Algebraic Equations over Finite Fields”, Inform. Cont. 10, Oct. 1967, pp. 553-564.
Related Publications (1)
Number Date Country
20120144093 A1 Jun 2012 US
Provisional Applications (1)
Number Date Country
61420654 Dec 2010 US