Erase Power Loss Indicator (EPLI) Implementation in Flash Memory Devices
The implementation of EPLI in supplementary cells of NOR flash memory using dynamic and static reference word lines with majority voting techniques addresses power loss issues, ensuring reliable erase operations and improved memory performance.
Patent Information
- Application Number
- JP2024526754
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-01-11
- Filing Date
- 2022-11-03
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-11-03
AI Technical Summary
Flash memory erase operations are prone to interruption by power loss, leading to unreliable states of non-volatile memory cells, which can cause catastrophic failures in memory systems.
Implementing an Erase Power Loss Indicator (EPLI) in supplementary cells of the NOR flash memory array, using dynamic and static reference word lines, and employing a majority voting technique for reliable EPLI codeword verification without consuming additional storage space.
Ensures reliable verification of erase operations without area penalties, enhancing the reliability and performance of NOR flash memory by ensuring complete erase cycles without power loss interruptions.
Smart Images

Figure 2024539725000001_ABST
Abstract
Description
[Technical field]
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application is an international application of U.S. Nonprovisional Application No. 17 / 572,881, filed January 11, 2022, which claims the benefit of priority under 35 U.S.C. § 119(e) to U.S. Patent Application No. 63 / 275,779, filed November 4, 2021, the entire contents of which are incorporated herein by reference.
[0002] The present disclosure relates generally to non-volatile memory (NVM) devices, and more particularly to NVM devices or systems and methods of operation thereof that implement embodiments of an erase power loss indicator (EPLI) to improve reliability and performance of erase operations. [Background technology]
[0003] Flash memory is both a mature and developing technology, with NAND flash and NOR flash each having advantages and disadvantages as a standalone memory and an embedded memory within memory devices and systems. Generally, flash memory is implemented in the physical form of a flash memory array as an array of non-volatile memory cells that can be written with a specified amount of data and erased in a larger amount (e.g., erase block, erase area, sector or erase sector). One known problem is that the erase process can be interrupted by a power loss, causing the non-volatile memory cells in the erase area to go into a non-uniform and unreliable state, potentially catastrophically disrupting the subsequent use of the memory, and any system that relies on it. One known solution to this problem that is applicable to some non-volatile memory devices is to use an erase power loss indicator (EPLI) that is written (i.e., programmed) into a designated bit within a sector, as described in U.S. Pat. No. 9,378,829, which is incorporated herein by reference. However, this solution may not be applicable to all types of flash memory or all memory devices and systems. Thus, there is a need in the art for a solution that overcomes the above disadvantages. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] U.S. Pat. No. 9,378,829
[0005] The described embodiments and their advantages may best be understood by referring to the following description in conjunction with the accompanying drawings, which in no way limit the changes in form and detail that may be made by those skilled in the art to the described embodiments without departing from the spirit and scope of the described embodiments. [Brief description of the drawings]
[0006] [Figure 1] 1 illustrates a NOR flash memory having data written to a selected data cell and an erase power loss indicator (EPLI) codeword written to a selected supplemental cell, according to one embodiment. [Diagram 2] A particular type of NOR flash memory cell suitable for embodiments is shown, having a split gate architecture (1.5T) and embedded charge trap (eCT™) technology. [Diagram 3] 1 illustrates dynamic and static reference word lines and their relationship to program / erase cycles and hybrid referencing in various embodiments. [Figure 4] 1 illustrates a pair of normal sectors of a NOR flash memory with sense amplifiers generating an EPLI read, according to one embodiment. [Diagram 5] 1 illustrates one embodiment for verifying a longer code composed of multiple repetitions of a shorter code suitable for verifying EPLI codewords. [Figure 6] A further embodiment is presented for verifying a longer code composed of multiple repetitions of a shorter code suitable for verifying EPLI codewords. [Figure 7] 1 illustrates a cache line (CL) structure having a specified number of available bits and suitable for writing and reading EPLI codewords in various embodiments. [Figure 8] FIG. 6 is a graph for evaluating Option #1 considering the correct number of code iterations to pass verification for a longer codeword composed of multiple iterations of a shorter code, as shown for example in the EPLI codeword of FIG. [Figure 9] FIG. 7 is a graph for evaluating Option #2 considering code length (number of bits) for verification of longer codewords composed of multiple repetitions of shorter codes, as shown for example in the EPLI codeword of FIG. [Figure 10]1 illustrates one embodiment of a NOR flash memory device suitable for use with the various embodiments and variations of NOR flash memory described herein. [Figure 11A] FIG. 2 is a flow diagram of a method for operating an EPLI erase operation in a NOR flash memory according to one embodiment. [Figure 11B] FIG. 2 is a flow diagram of a method for operating a blank check operation in a NOR flash memory according to one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0007] In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present embodiments. However, it will be apparent to those skilled in the art that the present embodiments may be practiced without these specific details. In other instances, well-known circuits, structures and techniques have not been shown in detail, but rather in block diagram form in order to avoid unnecessarily obscuring the understanding of this description.
[0008] Reference in the description to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with that embodiment is included in at least one embodiment. The phrase "in one embodiment" in various places in this specification does not necessarily refer to the same embodiment.
[0009] Various embodiments described herein write and read data in a NOR flash memory array (e.g., similar to a typical NOR flash memory) and write and read erase power loss indicators (EPLIs) or other system data (more generally, other data) to various reference word lines, more specifically, the complementary cells of the various reference word lines. In some embodiments, similar to other NOR flash memory embodiments, the complementary cells (or more specifically, the complementary non-volatile memory cells) are primarily used in reading data in the non-volatile memory cells of the NOR flash memory array, as is the case in the present embodiment. In other words, the complementary cells connected by the reference word lines typically do not store data, and these complementary cells are different from the memory cells of the array that are typically used to store data. Thus, the present embodiment presents a practical application and solution to the technical problem of how (and where) to utilize the reference word lines, more specifically, the complementary cells of the reference word lines, to store erase power loss indicators or other system data without consuming space in the NOR flash memory array (and thereby reducing the available storage space for data) and without adding additional area penalty. Furthermore, the present embodiments present a practical solution to the technical problem of how to reliably verify erase power loss indicators or other system data that is stored in unconventional locations outside the NOR flash memory cell array itself, but within a NOR flash memory or NOR flash memory device, and that may not be able to benefit from conventional read reliability techniques.
[0010] Previous technical solutions to the technical problem of interrupting an erase process due to power loss include writing and reading an erase power loss indicator in the same erase area of the non-volatile memory undergoing the erase process. In such an embodiment, the erase power loss indicator (EPLI) is a non-volatile memory (NVM) code located in a cycle erase sector (E-sector) that is used to indicate whether the last erase command performed on that E-sector was completed successfully or not, and thus indicates that the data (more specifically, the erased state of the cells) in that E-sector can be trusted. One important use of the EPLI is to enable a blank check feature that is used as part of the erase flow in such an embodiment. The present embodiment discloses, among other aspects, a method of implementing the EPLI concept in embedded charge trapping (eCT™) products, and more broadly, a method of implementing the EPLI concept or other specialized storage of system data in NOR flash memory with reference word lines.
[0011] To provide a solution to the technical problem of how to implement the EPLI concept or other special storage of system data without reducing storage space or incurring an area penalty, one approach is to write the EPLI or other system data to a supplementary non-volatile memory cell so that storage space is not consumed in the non-volatile memory cell array and no additional non-volatile memory cells need to be added. In one embodiment, in a NOR flash memory architecture with embedded charge trap type non-volatile memory cells, to implement the EPLI code without an area penalty, one available location is to place such code in a dynamic reference (Dynamic-Reference, DREF) word line (WL), more specifically, in an available supplementary non-volatile memory cell in the dynamic reference word line. However, this brings about another technical problem. One problem in such an implementation is that the EPLI code written in the supplementary cell of the dynamic reference word line can be read by comparing it with a reference cell of a static reference word line, resulting in an EPLI code that is significantly less reliable than normal data reliability (e.g., reliability when a non-volatile memory cell of an NVM cell array is compared with a hybrid reference consisting of supplementary cells of both the dynamic reference word line and the static reference word line).
[0012] As a first technical solution, the present embodiment discloses a unique EPLI code implementation scheme, in which the EPLI code is placed in the DREF WL, and also discloses a unique EPLI encoding and EPLI codeword reading and verification implementation scheme, which ensures better reliability than normal data reliability. In such an implementation, there is no area penalty and no reliability penalty for the EPLI code.
[0013] The present embodiment is a unique approach to implementing reliable EPLI code per erase sector in embedded charge trap NOR flash memory and further NOR flash memory architectures without additional area cost.
[0014] In various embodiments, the EPLI code is written into available memory cells that cannot be sensed by the hybrid reference (and therefore are not used for data storage). To restore the reliability of that code, a unique data multiplication and majority vote read technique is then applied in some embodiments, resulting in code reliability that exceeds normal data reliability. In further embodiments, these technical solutions are envisioned with various combinations of other flash memories with dynamic and static reference word lines, which may include NOR and NAND flash memory embodiments that do not necessarily have split gate or eCT™ cells.
[0015] This technique can be used to store various types of system data. Additionally, this technique is also used to implement reliable program / erase cycle counters per erase sector and storage for other system data such as timestamps, firmware revision identifiers, codes, counters, pointers to addresses, calculation results, information about chip performance, information about chip reliability, etc., without area penalty. In various further embodiments, the system data is not limited to EPLI or cycle counters.
[0016] 1 illustrates a NOR flash memory having data 124 written to a selected data cell 102 and an erase power loss indicator (EPLI) code word 126 written to a selected supplemental cell 104, according to one embodiment. The data cells 102 are arranged in an array of columns 106 and rows 108, connected to bit lines 114 in a NOR arrangement, and selectably addressed by word lines 110 and bit line select 122, similar to a conventional NOR flash memory. The supplemental cells 104 are arranged separately from the array of data cells 102, and selectably addressed (e.g., according to a memory address) by reference word lines 112 and bit line select 122. A bit line selector 116, e.g., a switch or more specifically a transistor, couples the selected bit line 114 to a sense amplifier 118 according to the bit line select 122, which generates read data 120. Voltage supplies, switching circuits, selection logic, write and erase circuits, and further supporting circuits are easily developed for a particular implementation, again similar to conventional NOR flash memory, or as appropriate for the particular type of data cells 102 and supplemental cells 104.
[0017] In some embodiments, the storage of the EPLI codeword 126 in the selected supplemental cells 104 as selected by the particular reference word line 112, or in further embodiments, the storage of other system data or other data, does not consume storage space in the data cell 102 array and does not add an area penalty to the NOR flash memory. In various embodiments, the supplemental cells 104 may be similar or identical to the data cells 102, or may be of a different size or geometric shape, and both the data cells 102 and the supplemental cells 104 are a type of NVM cell, more specifically a flash memory cell, in some embodiments, an embedded charge trap cell. In some embodiments, the data cells 102 are used to write data, and the supplemental cells 104 are used as a reference, e.g., a reference cell, when reading data from the data cells 102. In this embodiment, some of the supplemental cells 104 are further used to write special data, including the EPLI codeword 126, that is different from the data written to and read from the data cells 102. For example, a memory device, a memory controller, or the like, may write the EPLI codeword or other special data.
[0018] More specifically, in one supplemental embodiment, the supplemental cells 104 connected to the dynamic reference word lines have an EPLI codeword 126 written to them and read back by comparison with the static reference cells 104 connected to the static reference word lines, as further described below with reference to Figures 3 and 4. The system can then determine the erase status of the data cells 102 in the array based on reading the EPLI codeword 126.
[0019] FIG. 2 illustrates a particular type of NOR flash memory cell suitable for embodiments, having a split gate architecture (1.5T) or embedded charge trap (eCT™) technology. In each memory cell, one transistor is a memory gate (MG) 206 that stores non-volatile data, and the other transistor is a select gate (SG) 204. The threshold voltage (Vt) of the memory gate 206 is changed by adding or removing charge from the nitride layer 208 of an oxide-nitride-oxide (ONO) gate dielectric. The memory gate 206 is programmed by channel hot electron injection (CHEI), which raises the threshold voltage by injecting negative charge 212 into the nitride layer 208. An erase operation utilizes band-to-band tunneling (BTBT) hot hole injection, which lowers the threshold voltage by injecting positive charge 216 into the nitride layer 208. In operation in a NOR flash memory array, the select gate 204 and memory gate 206 of a memory cell are operated by a selected word line (e.g., one word line connected to the memory gate 206 with selectable voltages for programming, reading and erasing, and one word line connected to the select gate 204 to select that memory cell). Diffusion regions 210, 214 provide the source and drain of the split gate transistor.
[0020] 3 illustrates the dynamic reference word line 306 and the static reference word line 308 in various embodiments and their relationship to program / erase cycles 304 and hybrid reference 310. Referring back to FIG. 1, to read data 124 from a selected data cell 102 in the array, the sense amplifier 118, in various embodiments, compares the current (or in further embodiments, the voltage) of the selected data cell 102 with the current of a selected reference cell 104 or combination of reference cells 104 over a specified number of bits (e.g., the number of bits in the read data 120). In the embodiment illustrated in FIG. 3, the reference cell 104 (see FIG. 1) connected to and controlled by the static reference word line 308 undergoes no or few program / erase cycles, or in some embodiments, undergoes a reduced frequency of program / erase cycles compared to the number of program / erase cycles undergone by the reference cell 104 connected to and controlled by the dynamic reference word line 306. Each dynamic reference word line 306 associated with an NVM sector 302 then undergoes the same number of program / erase cycles 304 for the reference cells 104 of that dynamic reference word line 306 as its corresponding NVM sector 302, such that the aging characteristics of the dynamic reference word line 306 (i.e., the aging characteristics of the reference cells 104 connected to and controlled by the dynamic reference word line 306) track and match the aging characteristics of the data cells 102. A hybrid reference is developed from a combination of a dynamic reference word line 306 and a static reference word line 308, for example, generating a current that is intermediate between the current of a reference cell 104 coupled to a dynamic reference word line 306 and the current of a reference cell 104 coupled to a static reference word line 308. There are several ways in which the hybrid reference 310 can be generated, for example, by varying the size of the reference cells 104 compared to the data cells 102, by varying the threshold voltage to which the reference cells 104 are programmed compared to the threshold voltage to which the data cells 102 are programmed, by combining or averaging the currents or voltages of one or more reference cells 104 of the dynamic reference word line 306 and one or more reference cells 104 of the static reference word line 308, or a combination thereof.The dynamic reference wordline, static reference wordline, hybrid reference and interaction with sense amplifiers are further described in US Pat. No. 9,901,001, which is incorporated herein by reference.
[0021] FIG. 4 illustrates a pair 404 of normal sectors 402 of a NOR flash memory 406 with sense amplifiers 410, 416 generating EPLI reads 412, 414, according to one embodiment. In this example, each normal physical sector 402 includes four erase sectors, also called E-sectors 408, and the pair 404 includes two normal sectors 402 that sandwich a dynamic reference word line (DREF WL), a static reference word line (STATIC REF WL) and a sense amplifier (SA). The location of the dynamic reference word line includes free cache lines (CL), and the EPLI code is stored multiple times in one of those free CLs in various embodiments and read using a majority voting technique (e.g., as further described below with reference to FIGS. 5-7). The term "cache line" is used herein to mean a basic memory portion for read / write data. The predicted reliability with such majority voting reads significantly exceeds the target requirements, even without the use of hybrid reference and / or ECC protection (as further described below with reference to FIGS. 8 and 9).
[0022] In one embodiment, an EPLI codeword is assigned to an E-sector during an erase operation of the E-sector. The EPLI code of each erase operation and each E-sector may be the same or different in various embodiments. The EPLI codeword is later read to verify whether the erase operation is completed or not interrupted by a power loss. In one embodiment, as an example, a pair of physical sectors 404 may include eight E-sectors. As shown in the left diagram of FIG. 4, E-sectors 0-3 are mirrored to E-sectors 4-7. Sensing of data located above or on one side of the SA is performed relative to or against a hybrid referencing scheme (see FIG. 3) located below or on the other side of the SA (and vice versa). This is accomplished by the sense amplifier 410 comparing the EPLI codes of E-sectors 4-7 written in the complementary cells (or unused reference cells) 104 of the dynamic reference word lines of E-sectors 4-7 with reference to the static reference cells 104 from the static reference word lines of E-sectors 0-3, and the sense amplifier 416 comparing the EPLI codes of E-sectors 0-3 written in the complementary cells 104 of the dynamic reference word lines of E-sectors 0-3 with reference to the reference cells 104 from the static reference word lines of E-sectors 4-7. There is an EPLI code for each E-sector, which is placed in the DREF WL of the E-sector and sensed against the static reference of the mirrored sector. In an embodiment, the EPLI code for each E-sector may be the same or different. It will be appreciated that in other embodiments, a sector such as normal sectors 402 and 406 may include any number of E-sectors without departing from the teachings of this disclosure.
[0023] Here, the reading of the EPLI code word 126 from the supplementary cell 104 of the dynamic word reference line uses only a comparison to the reference cell 104 of the static reference word line, so this reading does not have the read reliability benefit from the use of the hybrid reference 310 (see FIG. 3 ) as the reading of the data 124 from the data cell 102 in the NVM data cell 102 array. Therefore, there is a problem to be solved to improve the read reliability of the data written to the dynamic reference word line (e.g., the supplementary cell 104 of the dynamic reference word line 306). Various solutions to this technical problem are given below.
[0024] FIG. 5 illustrates an embodiment for verifying a longer code 502 composed of multiple repetitions of a shorter code 504 suitable for verifying an EPLI codeword 126 (see FIG. 1). Here, the longer code 502 is composed of a specified number of repetitions of the shorter code 504, e.g., EPLI code 506 “N”. In further embodiments, the shorter code 504 may be system data or other special data. The longer code 502 is written to the dynamic reference wordline 306 during an erase operation (i.e., written to the complementary cell 104 of the dynamic reference wordline 306) and is later read from the same dynamic reference wordline 306, at which point the read of the longer code 502 may be complete or may have corruption or errors. To approve (or not), i.e., to check the read of the longer code 502, each repetition of the shorter code 504 is compared to a predetermined value of the shorter code 504. For example, to validate a read of the EPLI codeword 126, each repetition of the EPLI code 506 in the read data 120 is compared to a predetermined value, e.g., the original correct value "N" of the EPLI code 506. A comparison count 510 of the number of correct matches of the shorter code 502 in the read of the longer code 504 is compared 514 to a threshold 512, e.g., a minimum count number. For example, in FIG. 5, two instances of the EPLI code 506 value "N" are shown in the read of the longer code 502, and one instance of the distinct error 508 value "M" is shown in the read of the longer code 502, so that the comparison count 510 sums to 2 or more. If the comparison count 510 meets the threshold 512, the read of the EPLI codeword 126 is verified or validated as having the correct EPLI code 506. This verification then indicates that the corresponding sector of the NVM memory is trusted to have completed the erase process without a power loss or other interruption (because only upon such completion are the EPLI code 506 and longer code 502 or EPLI codeword 126 written to the dynamic reference word line 306 corresponding to that NVM sector 302).
[0025] 6 illustrates a further embodiment for the verification of a longer code 502 composed of multiple repetitions of a shorter code 504 suitable for verifying an EPLI codeword 126. Similar to the depiction in FIG. 5, the longer code 502 is constructed and written into available supplemental non-volatile memory cells in the dynamic reference wordline 306, and later read out to be verified or checked. To approve (or not), i.e., to check the EPLI codeword 126, a particular bit of each repetition of the shorter code 504, i.e., one bit of each putative repetition of the EPLI code 506, undergoes a majority decision 606 of the bit, followed by a majority decision 608 of the next bit, and so on, proceeding (in various embodiments, serially or in parallel) through all the bits of the repetitions of the shorter code 504 in the longer code 502. From the majority decision of each bit, a read value 612 of the shorter code 504, in this example the value "X", is determined, and this value undergoes a comparison 614 with a predetermined value of the shorter code 504, in this example the value "N" of the EPLI code 506. In this example, the two are found to be unequal and the authorization fails, indicating that the corresponding sector of NVM memory should not be trusted to have completed the erase process without a power loss interruption.
[0026] FIG. 7 shows a CL structure 702 having a specified number of available bits 704 or supplementary cells or unused reference cells (e.g., 288 available bits in one of the CLs in the dynamic reference word line) suitable for writing and reading the EPLI code word 126 in various embodiments. In one embodiment, the CL structure 702 may be part of the supplementary NVM cells or unused reference cells of the dynamic reference word line available for storing system data such as the EPLI code. The CL structure 702 also has additional bits 706, e.g., 16 additional bits as 10 bits of internal error correction code (ECC), 4 bits of redundancy and 2 bits of spare. Typically, to write data to the data cells 102 in the array, the CL structure 702 is used for 4×64b ECC units that are externally protected by the user for 1-bit correction. In one embodiment, to write the EPLI codeword 126, the CL structure need not be used as four groups of 64-bit data, each with 8 bits for ECC, but instead provide a total of 288 bits (=4×(64+8)) available for other forms of code. Various considerations are then taken into account as to how to optimize the alternative forms of code. It will be appreciated that the 288 available bits 704 shown above are an example, and the number of available bits in the CL structure 702 may vary in different embodiments.
[0027] FIG. 8 is a graph 800 for the evaluation of option #1 considering the number of correct code iterations to pass verification of a longer codeword composed of multiple iterations of a shorter code, for example as shown for the EPLI codeword in FIG. 5. Here, the consideration is how many correct code iterations, i.e. error-free iterations of the shorter code 504 in the read of the longer code 502, will optimally balance between the risk of false positives and false negatives. Bit error rate (BER) 808 is shown on the vertical axis of graph 800 and parameter X 810 (# of correct code iterations to pass) is shown on the horizontal axis. The graph shows an evaluation of the false positive and false negative risks of each word (option #1) against parameter X, showing false negative risk 802 (risk of EPLI failure due to retention), false positive risk 804 (false EPLI success due to power loss near the read level), and false negative risk 806 (risk of EPLI failure due to retention) for a single bit error probability of 1E-6. In this particular example, the intersection of the curves indicates an optimal value of "2" for parameter X at two different single bit error probability points 812, 814. From this evaluation, it is determined that for such validation, the minimum number of correct code repeats is 2. In various embodiments, other correct code repeat numbers are possible.
[0028] One suitable analysis is as follows: A memory controller or memory device can retrieve an EPLI codeword and evaluate each of the nine versions or iterations of the 32-bit EPLI code in the read EPLI codeword. The memory controller or memory device can check each of the nine 32-bit word reads to see if they match the predetermined EPLI code. If x (or >x) of the nine versions or iterations of the 32-bit EPLI code are correct, the EPLI passes verification (e.g., 32 bits with 8 matches and 1 mismatch is OK). The value of "x" for the threshold of how many iterations of the 32-bit EPLI code in an EPLI codeword read should match the predetermined EPLI code can be determined in a variety of ways, such as by empirical testing or theoretical optimization, or by factory, user or administrator settings.
[0029] The memory controller or memory device can perform a majority vote decision of each bit location of the 32-bit EPLI code as it is repeated in the EPLI codeword. The memory controller can check each of the 32 bits over each of the 9 iterations in the EPLI codeword read and determine a 0 or 1 for the bit based on a majority vote (i.e., 9 is an odd number, so there are no ties). The EPLI then passes verification if the EPLI code where each bit is majority voted matches the predefined EPLI code. Considering the optimization of a memory controller or memory device capable of performing majority vote type 1 decision (first majority vote embodiment), graph 800 shows EPLI code false negative and false positive probabilities (on the vertical axis) versus parameter x (on the horizontal axis) with majority vote type 1. Parameter x is the number of correct code iterations to pass verification using majority vote type 1 decision, as described above with reference to FIG. 5.
[0030] An optimal result is achieved for x=2 iterations (i.e., the EPLI test passes if at least 2 out of 9 code iterations match the predefined EPLI code). The test error probability is approximately 1E-40 assuming a single bit failure probability of 1E-7 (eCT40 WC evaluation of read against static reference).
[0031] FIG. 9 is a graph 900 for the evaluation of option #2 considering code length (number of bits) for verification of a longer codeword composed of multiple repetitions of a shorter code, for example as shown for the EPLI codeword in FIG. 6. Here, the consideration is which code length will optimally balance between risk of false positives and false negatives, i.e., how many bits should there be in the shorter code 504. The bit error rate (BER) 908 is shown on the vertical axis of the graph, and the parameter code length 910 (# of bits) is shown on the horizontal axis. The graph 900 shows an evaluation of the false negative risk 902 (risk of EPLI failure due to retention), the false positive risk 904 (false EPLI success due to power loss near the read level), and the false negative risk 906 (risk of EPLI failure due to retention) for a single bit error probability of 1E-6. The intersection of the curves indicates the optimal value of the 32-bit codelength at a certain probability point 912. From this evaluation of this particular example, it is determined that the optimal number of bits for the shorter code 504, e.g., the EPLI code 506, is 32 bits. In various embodiments, other numbers of bits for the shorter code 504 or the EPLI code 506 are possible.
[0032] One suitable analysis is as follows: Considering the optimization of a memory controller or memory device capable of performing majority type 2 determination (a second majority embodiment), graph 900 shows the false negative and false positive probabilities (on the vertical axis) of the EPLI code for a code length of 288 bits size CL (see FIG. 7) and several options of corresponding odd code repetitions (on the horizontal axis) with majority type 2.
[0033] 5, 6, 7, 8 and 9, in one embodiment, for an EPLI code length of 32 bits that fits a 288-bit size CL and 9 iterations, one optimal result is achieved at probability point 912. The test error probability is approximately 1E-23 assuming a single-bit failure probability of 1E-7. The test error probability remains approximately 1E-23 for single-bit error probabilities up to 1E-6.
[0034] Remarks and conclusions: Although the reliability of majority voting method 1 is better, both majority voting methods provide EPLI reliability that significantly exceeds the target. A key advantage of majority voting method 2 is that it always provides a read regardless of the value of a given code, and therefore this implementation method is also better suited for additional applications such as counters. Therefore, one embodiment uses majority voting method 2 (i.e., bit-by-bit majority decision).
[0035] In various embodiments, system data other than the EPLI code may be stored, read and verified with algorithms and methods similar to those shown in Figures 4-9. In other embodiments, the storage, reading and verification of system data may or may not be associated with an erase operation.
[0036] FIG. 10 illustrates an embodiment of a system 1000 suitable for using the non-volatile memory embodiments described herein. The system 1000 may be implemented, for example, as one or more integrated circuits. An external processor 1052 connects to a controller 1006 in the system 1000 via an I / O 1010. Inside the system 1000, a memory cell array 1050 has a number of erase sectors 1004. The erase sectors 1004 have an EPLI bit 1012. In one embodiment, the memory cell array 1050 may employ an architecture and be arranged similar to the NOR flash memory 406, as shown in FIG. 4 and its corresponding description. The controller 1006 connects to the memory cell array 1050 directly and via an array access circuit 1008, and has an EPLI comparator 1014. In one embodiment, the EPLI comparator 1014 may be tasked with comparing an EPLI code word programmed into a particular E-sector during an erase operation with a predetermined or pre-stored EPLI code to verify the completion of the erase operation. In one embodiment, the predetermined or pre-stored EPLI code may be generated or stored within the controller 1006 .
[0037] 11A and 11B are flow diagrams of a method of operating a NOR flash memory according to one embodiment. The method can be implemented using or by this embodiment and its variations, which in the functional description are referred to as a system that performs the actions. In some embodiments, the method can be implemented by hardware (e.g., digital and analog circuitry), firmware, software running on a processor, and combinations thereof, or can be realized in a non-transitory, tangible computer-readable medium. The method is suitable for implementation using NOR flash memories with dynamic and static reference word lines, including eCT™ memories and devices with eCT™ memories.
[0038] In one embodiment, the system writes data to a NOR flash memory array, for example, the system writes data to selected data cells, such as data cells 102 of FIG. 1, also referred to as non-volatile memory cells of the array.
[0039] In one embodiment, the system reads data from a NOR flash memory array using sense amplifiers and hybrid referencing of dynamic and static reference word lines, as shown in Figure 3 and its corresponding description. Various mechanisms for hybrid referencing based on reference cells connected to and controlled by selectable dynamic and static reference word lines are described herein as suitable for performing action 1104.
[0040] Reference is now made to Figure 11A, which is an exemplary flowchart of an EPLI erase operation 1100 for use in a non-volatile memory, such as memory cell array 1050 of Figure 10, according to one embodiment of the present disclosure. At action 1102, a sector, such as sector 406 of Figure 4, is selected for an erase operation.
[0041] In action 1104, the EPLI code already stored in the supplemental NVM cells of the corresponding dynamic reference word line is overwritten or destroyed. In one embodiment, all supplemental NVM cells that store EPLI codes are written to a programmed state (e.g., "0"). Action 1104 is necessary because a power loss may occur while erasing the selected sector in action 1106, leaving the correct EPLI code (from a previous erase operation) in the unreliable sector (the erase is interrupted). Therefore, the EPLI code destruction must be performed immediately before erasing the sector.
[0042] In action 1106, the system erases selected sectors of the NOR flash memory array. The erase process is specific to the type of NVM memory cells in the NOR flash memory array and may also be system and implementation specific. In one embodiment, the erase process may also include one or a combination of pre-programming all bits in the selected sector, an erase operation, a soft program to correct over-erased bits, and a non-data program.
[0043] In action 1108, the system writes an erase power loss indicator (EPLI) to the complementary NVM cell of the corresponding dynamic reference word line. For example, each sector of a NOR flash memory array has a corresponding dynamic reference word line that is used in reading data of that sector and is also used here to store the EPLI, for example, in the form of an EPLI code word. In one embodiment, the EPLI code word may be stored in the available CL structure 702 of FIG. 7, and the EPLI code word may be stored in a redundant manner as described in FIG. 5, FIG. 6 and their corresponding descriptions. In one embodiment, after the EPLI code word is programmed into the complementary NVM cell of the corresponding dynamic reference word line, the EPLI erase operation 1100 may be considered complete. In one embodiment, if the EPLI erase operation 1100 is interrupted due to power loss, the EPLI code word is not written and all EPLI bits may remain "programmed to 1" as a result of action 1104.
[0044] Reference is now made to FIG. 11B, which is an exemplary flowchart of an erase operation 1110 incorporating a blank check for use in a non-volatile memory, such as the memory cell array 1050 of FIG. 10, according to one embodiment of the present disclosure.
[0045] In response to an erase command for a particular sector, in action 1112, the system uses the sense amplifiers and static reference NVM cells of the static reference word line to read the value of the erase power loss indicator from the supplemental NVM cell of the corresponding dynamic reference word line. For example, the sense amplifiers compare the current of the selected supplemental NVM cell connected to the corresponding dynamic reference word line with the current of the selected static reference NVM cell connected to the static reference word line to determine read data from the data written to the selected supplemental NVM cell of the dynamic reference word line. In one embodiment, the read / sensing operation in action 1112 may be similar to the embodiment shown in FIG. 4 and its corresponding description.
[0046] In action 1114, the system verifies the value of the erase power loss indicator read in action 1112 by comparing it with a pre-stored or pre-determined EPLI code. Several mechanisms for verifying the erase power loss indicator codeword and EPLI code are described above in Figures 5, 6, 7, 8 and 9, and one may be adopted or even optimized for this function. If the read EPLI code is verified as correct (YES), the sector can be considered trusted, meaning that the last erase operation was not interrupted, and proceeds to next action 1116. However, if the read EPLI code is verified as incorrect (NO), the sector is not trusted and the process flow returns to action 1118, where the EPLI erase operation 1100 as described in Figure 11A is performed.
[0047] In action 1116, the system performs a blank check of the selected sector of the NOR flash memory array. Blank checks are frequently used in non-volatile memory devices to determine whether a sector has been erased. For example, during a blank check, all bits in a sector may be read, and if all are in an erased state or set to "1", the sector may be considered erased. Blank checks may be particularly useful because they may save "re-erasing" already erased sectors, allowing "blank checked" sectors to be skipped during the erase process, thus saving time. Furthermore, they may save the execution of additional erase cycles, which may contribute to improved reliability of the memory device. Since the EPLI is verified in action 1114, which indicates that the NVM sector corresponding to the particular dynamic reference word line was trusted to have had no power loss during the last erase process, the result of the blank check should be reliable. Alternatively, if the value read for EPLI fails the verification in action 1112, the system may perform corrective actions, such as writing the EPLI code following the erase process. The system then approves the result of the blank check. If the results are approved, the erase can proceed to action 1120 where the erase is considered complete. If the blank check results are not approved, the process flow returns to action 1118 where the EPLI erase operation 1100 is performed as described in Figure 11A.
[0048] In the above description, numerous details are set forth. However, it will be apparent to one skilled in the art having the benefit of this disclosure that embodiments of the present disclosure may be practiced without these specific details. In some instances, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring the description.
[0049] Some portions of the detailed descriptions are presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is generally conceived herein to be a self-consistent sequence of steps leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, the physical quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared and otherwise manipulated. It has proven convenient at times, primarily for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.
[0050] It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these physical quantities. As is apparent from the above description, unless otherwise noted, throughout the description, descriptions utilizing terms such as "determining," "writing," "reading," "erasing," "determining," "verifying," and the like, will be understood to refer to actions and processes of a computing system or similar electronic computing device that manipulates and converts data represented as physical (e.g., electronic) quantities in the registers and memories of the computing system into other data that are similarly represented as physical quantities in the memories or registers of the computing system or other such information storage, transmission, or display devices.
[0051] As used herein, the word "example" or "exemplary" is used to mean serving as an example, illustration, or illustration. An aspect or design described herein as "example" or "exemplary" should not necessarily be construed as preferred or advantageous over other aspects or designs. Rather, use of the word "example" or "exemplary" is intended to present a concept in a concrete manner. As used in this application, the term "or" is intended to mean an inclusive "or" rather than an exclusive "or." That is, unless otherwise specified or clear from the context, "X includes A or B" is intended to mean any of the natural inclusive permutations. That is, in any of the above examples, "X includes A or B" is satisfied if X includes A, if X includes B, or if X includes both A and B. Furthermore, the articles "a" and "an" as used in this application and the appended claims should generally be construed to mean "one or more" unless otherwise specified or unless the singular form is clearly intended from the context. Furthermore, the use of the terms "an embodiment" or "one embodiment" or "an implementation" or "one implementation" throughout is not intended to refer to the same embodiment or implementation unless so stated.
[0052] The embodiments described herein may also relate to an apparatus for performing the operations herein. This apparatus may be specially constructed for the required purposes or may comprise a general-purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a non-transitory computer-readable storage medium, such as, but not limited to, any type of disk, including floppy disks, optical disks, CD-ROMs and magneto-optical disks, read-only memory (ROM), random access memory (RAM), EPROM, EEPROM, magnetic or optical cards, flash memory, or any type of medium suitable for storing electronic instructions. The term "computer-readable storage medium" should be interpreted to include a single medium or multiple media (e.g., centralized or distributed databases and / or associated caches and servers) that store one or more sets of instructions. The term "computer-readable medium" should also be interpreted to include any medium that can store, encode or carry a set of instructions for execution by a machine, causing the machine to perform any one or more of the methodologies of the present embodiments. Accordingly, the term "computer-readable storage medium" shall be taken to include, but not be limited to, solid-state memory, optical media, electromagnetic media, and any medium capable of storing a set of instructions for execution by a machine and causing the machine to perform any one or more of the methodologies of the present embodiments.
[0053] The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various general-purpose systems may be used with programs in accordance with the teachings herein, or it may prove convenient to construct more specialized apparatus to perform the required method steps. The required structure for a variety of these systems will appear from the description that follows. Further, the present embodiments are not described with reference to any particular programming language. It will be understood that a variety of programming languages may be used to implement the teachings of the embodiments described herein.
[0054] In the above description, numerous specific details are described, such as examples of specific systems, components, methods, etc., to enhance understanding of some embodiments of the present disclosure. However, it will be apparent to those skilled in the art that at least some embodiments of the present disclosure may be practiced without these specific details. In other instances, well-known components or methods are not described in detail or are presented in simple block diagram form to avoid unnecessarily obscuring the present embodiments. Thus, the above specific details are merely illustrative. It is contemplated that a particular implementation may differ from these illustrative details and still be within the scope of the present embodiments.
[0055] It is to be understood that the above description is intended to be illustrative, and not limiting. Many other embodiments will be apparent to those of ordinary skill in the art upon reading and understanding the above description. The scope of the present embodiments should therefore be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
Claims
1. an array of non-volatile memory cells arranged in rows and columns selected by word lines for writing and reading; a plurality of reference word lines including a first reference word line and a second reference word line, each of which selects a corresponding supplemental non-volatile memory cell from the first reference word line and a reference non-volatile cell from the second reference word line; a plurality of sense amplifiers configured to read system data written to the supplemental non-volatile memory cells of the first reference word line after an erase operation using a comparison between the supplemental non-volatile memory cells of the first reference word line and the reference non-volatile memory cells of the second reference word line; a processing element that determines a status of the erase operation of the nonvolatile memory based on reading the system data written to the supplemental nonvolatile memory cells of the first reference word line; A non-volatile memory comprising:
2. the nonvolatile memory cells of the array and the complementary nonvolatile memory cells of the plurality of reference word lines each comprise split-gate memory cells; the first reference word line includes a dynamic reference word line; the second reference word line includes a static reference word line; the system data includes an erase power loss indicator (EPLI) code; The nonvolatile memory of claim 1 .
3. 2. The nonvolatile memory of claim 1, wherein the system data includes at least one of an erase power loss indicator (EPLI) code, a cycle counter, a code, a counter, a pointer to an address, a calculation result, information regarding chip performance, and information regarding chip reliability.
4. the system data includes a longer code that includes repeated instances of a shorter code; the shorter code includes an erase power loss indicator (EPLI) code; The nonvolatile memory of claim 1 .
5. the system data written to the supplemental non-volatile memory cells of the selected first reference word line is verified by checking each of a plurality of repetitions of the shorter code against a predetermined value of the shorter code in reading the longer code; The nonvolatile memory of claim 1 .
6. the system data written to the supplemental nonvolatile memory cells of the selected first reference word line is verified in a longer code read by comparing each bit of the shorter code with a predetermined value of the shorter code over multiple iterations of the shorter code to determine a majority vote; The nonvolatile memory of claim 1 .
7. 1. A method of operating a NOR flash memory, the method comprising: writing system data to the selected complementary cell of the first reference word line; reading the system data through a sense amplifier that compares the selected complementary cell of the first reference word line with a selected reference cell of a second reference word line; determining an erased state status of a non-volatile memory based on the reading of the system data written to the selected supplemental cell of the first reference word line; A method comprising:
8. the nonvolatile memory cells of the array and the nonvolatile memory cells of a plurality of reference word lines each comprise split-gate memory cells; the first reference word line includes a dynamic reference word line; the second reference word line includes a static reference word line; the system data includes an erase power loss indicator (EPLI) code; The method of claim 7.
9. the system data includes at least one of an erase power loss indicator (EPLI) code, a cycle counter, a code, a counter, a pointer to an address, a calculation result, information about chip performance, and information about chip reliability; The method of claim 7.
10. the writing of the system data includes writing a longer code including repeated instances of a shorter code including an erase power loss indicator (EPLI) code. The method of claim 7.
11. the method further comprising the step of verifying the read system data by checking each of a plurality of repetitions of a shorter code within a longer code contained in the written system data by comparing each of a plurality of corresponding portions of the read system data with a predetermined value of the shorter code; The method of claim 7.
12. the method further includes verifying the read system data by comparing each bit of the shorter code with a predetermined value across multiple repetitions of the shorter code within the longer code included in the system data and determining a majority vote for the shorter code; The method of claim 7.
13. the system data includes a longer code having nine repetitions of a shorter code including a 32-bit erase power loss indicator (EPLI) code; Verification of the read system data compared with a predetermined value of the EPLI code indicates that the corresponding sector of the NOR flash memory is trusted to have had no power loss during erasure and is ready for blank check. The method of claim 7.
14. 1. A system comprising: an array of non-volatile memory cells arranged in columns selected by word lines and rows selected for writing and reading as a NOR flash memory; a plurality of reference word lines including a first reference word line and a second reference word line, each of the plurality of reference word lines selecting a corresponding complementary non-volatile memory cell; a plurality of sense amplifiers selectively coupled to the supplemental nonvolatile memory cells of the plurality of reference word lines and selectively coupled to the nonvolatile memory cells of the array via bit lines; A controller; Equipped with The controller writing system data into selected supplemental non-volatile memory cells of the first reference word line; reading the system data through the sense amplifier comparing the selected supplemental non-volatile memory cell of the first reference word line with the selected reference non-volatile memory cell of the second reference word line; determining the erase status of the non-volatile memory cells of the array based on such reading of the system data; system.
15. the nonvolatile memory cells of the array and the complementary nonvolatile memory cells of the plurality of reference word lines each comprise split-gate memory cells; the first reference word line includes a dynamic reference word line; the second reference word line includes a static reference word line; the system data includes an erase power loss indicator (EPLI) code; The system of claim 14.
16. the system data includes at least one of an erase power loss indicator (EPLI) code, a cycle counter, a code, a counter, a pointer to an address, a calculation result, information about chip performance, and information about chip reliability; The system of claim 14.
17. the system data includes a longer code including repeated instances of a shorter code including an erase power loss indicator (EPLI) code; The system of claim 14.
18. The controller and verifying the read system data by checking each of a plurality of repetitions of a shorter code within a longer code included in the written system data by comparing each of a plurality of corresponding portions of the read system data with a predetermined value of the shorter code. The system of claim 14.
19. The controller and verifying the read system data by comparing each bit of the shorter code with a predetermined value across multiple repetitions of the shorter code in the longer code included in the system data and by majority voting. The system of claim 14.
20. the system data includes a longer code having nine repetitions of a shorter code including a 32-bit erase power loss indicator (EPLI) code; The controller is further configured to perform verification of the read system data compared with a predetermined value of the EPLI code to indicate that the corresponding sector of the NOR flash memory is trusted to have had no power loss during erasure; the controller is further configured to, in response to the verification of the read system data, perform a blank check of the corresponding sector of the NOR flash memory. The system of claim 14.
Citation Information
Patent Citations
Memory controller, flash memory system having the same, and method for controlling flash memory
JP2004362001A
Non-volatile storage and data holding state monitoring method
JP2012094210A
Non-volatile memory device
US20140219018A1
Methods, circuits, devices and systems for sensing an NVM cell
US20150340098A1
Non-volatile memory device with an EPLI comparator
US9378829B2
