一种闪存存储器混合读写方法及混合读写闪存存储器Flash memory hybrid read/write method and hybrid read/write flash memory
技术领域Technical field
本发明涉及存储器领域,具体而言,涉及一种闪存存储器混合读写的方法及混合读写闪存存储器。The present invention relates to the field of memory, and in particular to a method for hybrid read and write of flash memory and a hybrid read/write flash memory.
背景技术Background technique
闪存存储器是诞生于20世纪80年代末的一种新型存储介质。由于具有非易失性、高速、高抗震、低功耗、小巧轻便等优良特性,闪存近年来被广泛应用于移动通信、数据采集等领域的嵌入式系统和便携式设备上,如手机、便携式媒体播放器、数码相机、传感器,也用于航空航天等领域,如航空航天器等。平面结构的闪存存储器已经到了扩展极限,三维闪存存储器技术,垂直堆叠了多层数据存储单元,可支持在更小的空间内容纳更高存储容量,进而带来更大的成本节约,能耗降低,以及大幅度的性能提升以全面满足众多消费移动设备和要求最严苛的企业部署的需求。Flash memory is a new type of storage medium that was born in the late 1980s. Due to its excellent characteristics such as non-volatility, high speed, high shock resistance, low power consumption, small size and light weight, flash memory has been widely used in embedded systems and portable devices such as mobile phones and data acquisition in recent years, such as mobile phones and portable media. Players, digital cameras, sensors, also used in aerospace and other fields, such as aerospace vehicles. The flash memory of the planar structure has reached the limit of expansion. The three-dimensional flash memory technology vertically stacks multiple layers of data storage units to support higher storage capacity in a smaller space, resulting in greater cost savings and lower energy consumption. And a significant performance boost to meet the needs of many consumer mobile devices and the most demanding enterprise deployments.
图1给出的三维立体闪存存储器中,由里至外主要包括氮化硅核(core-SiO2)①、多晶硅沟道(poly Silicon Chanel)②、隧穿层(tunneling layer)③、电荷存储层(charge trapping layer)④、阻挡层(blocking layer)⑤和电极(electrode)⑥。随着工艺的改变和优化,同样的垂直环形沟道结构中材料可能不同,例如多晶硅沟道可以用其他材料代替,隧穿层材料,电荷存储层材料和阻挡层的材料都可能发生替代改变。The three-dimensional flash memory shown in FIG. 1 mainly includes a silicon-core core (core-SiO2) 1, a polysilicon Chanel 2, a tunneling layer 3, and a charge storage layer from the inside to the outside. (charge trapping layer) 4, blocking layer 5 and electrode 6. As the process changes and is optimized, the materials in the same vertical annular channel structure may be different. For example, the polysilicon channel may be replaced by other materials, and the materials of the tunneling layer material, the charge storage layer material, and the barrier layer may be replaced.
图2给出了三维立体闪存存储器中多晶硅沟道。由于三维闪存存储器的特殊结构,沟道材料的特性和形状结构会随着存储深孔(memory hole)深度的不同而不同。例如在多晶硅沟道中,接近深孔底部的区域A,多晶硅晶粒的尺寸较大,沟道缺陷密度较低;存储区域C,多晶硅晶粒的尺寸较小,沟道缺陷密度较高;存储区域B中多晶硅晶粒的尺寸较为均匀,沟道缺陷密度在区域A和区域C之间。换言之,在区域B中分布的存储单元特性比较接近,其特性分布也可以得到很好控制;而相对于区域A和区域C中的存储单元,其特性相差较大,在同一种存储动作模式下特性分布会很难控制,这对于多值模式下的存储会带来很大的困难。Figure 2 shows the polysilicon channel in a three-dimensional flash memory. Due to the special structure of the three-dimensional flash memory, the characteristics and shape structure of the channel material will vary depending on the depth of the memory hole. For example, in the polysilicon channel, the area A near the bottom of the deep hole, the size of the polycrystalline silicon crystal is larger, the density of the channel defect is lower; the storage area C, the size of the polycrystalline silicon crystal is smaller, the density of the channel defect is higher; The size of the polycrystalline silicon grains in B is relatively uniform, and the channel defect density is between the regions A and C. In other words, the characteristics of the memory cells distributed in the region B are relatively close, and the characteristic distribution can be well controlled; and the characteristics of the memory cells in the regions A and C are quite different, in the same storage operation mode. The distribution of characteristics can be difficult to control, which can be very difficult for storage in multi-value mode.
图3给出了闪存存储器各种不同读写动作模式。目前存储器动作模式中,主要包括三种读写动作模式:单值存储(SLC)、多值存储(MLC)和三值存储(TLC)。近几年来,在三维立体闪存存储器中,由于存储单元尺寸较大,存储单元之间的各种干涉效应(inter-cell interference)得到了很好的控制,每个单元存储四个比特的QLC四值存储模式也得以实现。而四值存储(QLC)在三维立体闪存存储器中也得到了应用。SLC即每个单元存储一个比特,擦写速度快,数据读取窗口大,字节误读率极低,可擦写寿命长;MLC即每个单元存储两个比特,比SLC的存储容量多了一倍,擦写速度下降,寿命一般;TLC即每个单元存储三个比特,擦写速度慢,可擦写寿命短;QLC每个单元存储四个比特,存储密度是SLC模式的16倍,但擦写速度很慢,而且数据读取错误率高,需要配合很好的ECC(Error Checking and Correcting)来提高数据读取准确性,其可擦写次数也极为有限。
Figure 3 shows the various read and write modes of operation of the flash memory. Currently, the memory operation mode mainly includes three read and write operation modes: single value storage (SLC), multi value storage (MLC), and three value storage (TLC). In recent years, in the three-dimensional flash memory, due to the large size of the memory cell, various inter-cell interferences between the memory cells are well controlled, and each cell stores four bits of QLC four. The value storage mode is also implemented. Four-valued memory (QLC) is also used in 3D flash memory. SLC means that each unit stores one bit, the erasing speed is fast, the data reading window is large, the byte misreading rate is extremely low, and the erasable life is long; MLC means that each unit stores two bits, which is more than the storage capacity of the SLC. Doubled, the erasing speed is reduced, and the life is average; TLC stores three bits per unit, the erasing speed is slow, and the erasable life is short; QLC stores four bits per unit, and the storage density is 16 times that of SLC mode. However, the erasing speed is very slow, and the data reading error rate is high. It is necessary to cooperate with a good ECC (Error Checking and Correcting) to improve the data reading accuracy, and the number of erasable times is extremely limited.
然而,在三维立体闪存存储器中,无法避免的一个问题就是它的多晶硅沟道,多晶硅沟道中晶体的大小与其沟道深浅密切相关,越深的多晶硅沟道晶粒越大。由于晶粒的大小与沟道缺陷密度是紧密相关的,三维立体闪存存储器中存储单元的特性随着多晶硅沟道深度的不同其特性也相差较大,这会很大程度影响MLC,TLC和QLC存储模式的应用,为未来实现更大存储密度的闪存存储器带来困难。However, in the three-dimensional flash memory, one problem that cannot be avoided is its polysilicon channel. The size of the crystal in the polysilicon channel is closely related to the depth of the channel, and the deeper the polysilicon channel grain is. Since the size of the die is closely related to the channel defect density, the characteristics of the memory cells in the three-dimensional flash memory vary greatly depending on the depth of the polysilicon channel, which greatly affects the MLC, TLC and QLC. The storage mode application brings difficulties for flash memory with greater storage density in the future.
发明内容Summary of the invention
本发明针对三维闪存存储器的器件特性,结合存储器的多种读写方式,提供一种可有效提高闪存存储器的可靠性的闪存存储器混合读写方法,同时提供一种实现该方法的混合读写闪存存储器。The invention provides a flash memory hybrid read/write method capable of effectively improving the reliability of the flash memory, and a hybrid read/write flash memory for realizing the method, in combination with a plurality of read and write modes of the memory, and a plurality of read and write modes of the memory. Memory.
本发明的闪存存储器混合读写方法,是在闪存存储器中将单值存储(SLC)、多值存储(MLC),三值存储(TLC)和四值存储(QLC)四种存储模式进行混合操作,四种存储模式中的至少两种混合应用于同一存储区(Block)的不同字线(word-line)。The flash memory hybrid read/write method of the present invention performs a mixed operation of four storage modes of single value storage (SLC), multi value storage (MLC), three value storage (TLC) and four value storage (QLC) in a flash memory. At least two of the four storage modes are applied to different word-lines of the same block.
所述闪存存储器在使用时设置不同区域固定的读写方式,或者对每一条字线、每一层存储区域或每一片储区域动态选择读写方式。The flash memory sets a fixed read/write mode of different areas during use, or dynamically selects a read/write mode for each word line, each layer of storage area or each piece of storage area.
所述混合操作应用于在同一存储区域里有存储单元特性差异和存储分布性差异的闪存存储器。The mixing operation is applied to a flash memory having a difference in memory cell characteristics and a difference in memory distribution in the same memory area.
所述混合操作中不同的存储模式或在初期限定,或在存储器读写的过程中动态调整。Different storage modes in the hybrid operation are either initially defined or dynamically adjusted during memory read and write.
所述闪存存储器如果是二维平面闪存存储器,混用操作在于不同的存储芯片(chip)或者存储区。If the flash memory is a two-dimensional planar flash memory, the hybrid operation is in a different memory chip or memory area.
所述闪存存储器如果是三维闪存存储器,混用操作按以下模式:一是应用于不同的存储芯片或者存储区域,二是通过添加选择控制器对同一存储区中不同字线选择不同的读写方式,将相邻两层设置为不同的读写方式,或划分不同存储区域来对应不同读写方式。If the flash memory is a three-dimensional flash memory, the hybrid operation is in the following modes: one is applied to different memory chips or storage areas, and the other is to select different read and write modes for different word lines in the same storage area by adding a selection controller. Set the adjacent two layers to different read/write modes, or divide different storage areas to correspond to different read/write modes.
所述闪存存储器如果是三维闪存存储器,三维闪存存储器上层和下层的存储单元区域采用单值存储(SLC)模式,中间部分的存储单元区域采用多值存储(MLC)或者三值存储(TLC)模式读写并且通过选择控制器进行控制。If the flash memory is a three-dimensional flash memory, the upper and lower memory cell regions of the three-dimensional flash memory adopt a single value storage (SLC) mode, and the middle portion of the memory cell region adopts a multi-value storage (MLC) or a three-value storage (TLC) mode. Read and write and control by selecting a controller.
实现上述方法的混合读写闪存存储器,采用以下技术方案:The hybrid read/write flash memory implementing the above method adopts the following technical solutions:
该混合读写闪存存储器,包括数据接口,NAND控制器和存储区域;NAND控制器中设置有负责管理存储区域划分的存储区域管理模块和负责与不同存储区域动作模式对应的存储模式控制模块。The hybrid read/write flash memory includes a data interface, a NAND controller and a storage area; the NAND controller is provided with a storage area management module responsible for managing storage area division and a storage mode control module corresponding to different storage area operation modes.
所述存储区域管理模块根据存储模式的数量(目前是四种:SLC、MLC、TLC和QLC)分为相同数量的存储区域。The storage area management module is divided into the same number of storage areas according to the number of storage modes (currently four types: SLC, MLC, TLC, and QLC).
上述混合读写闪存存储器的数据写入过程是:在获得数据输入指令之后,将需要写入的数据保存在缓冲存储空间中,同时根据存储器使用情况来确定数据存储地址,然后根据NAND控制器中负责管理存储区域划分的存储区域管理模块与负责不同存储区域动作模式对应的存储模式控制模块来确定存储模式,其后进行数据写入的操作,在确定写入数据无误的前提下结束数据写入过程。
The data writing process of the above mixed read/write flash memory is: after obtaining the data input instruction, the data to be written is saved in the buffer storage space, and the data storage address is determined according to the memory usage condition, and then according to the NAND controller. The storage area management module responsible for managing the storage area division and the storage mode control module corresponding to the operation mode of the different storage area determine the storage mode, and then perform the data write operation, and end the data write on the premise that the write data is correct. process.
上述混合读写闪存存储器的数据读取的过程是:在获得数据读出指令之后,根据存储区域管理模块与存储模式控制模块来确定数据读取模式,其后进行数据读出的操作,在确定读出数据无误的前提下结束数据读出过程。由于数据读出与数据写入是一一对应的,不能用同一种读出方法来读出不同写入模式的数据,需要根据不同存储区域里的写入模式来确定数据读出时候的动作方式。The data reading process of the hybrid read/write flash memory is: after obtaining the data read command, determining the data read mode according to the storage area management module and the storage mode control module, and then performing the data read operation, and determining The data reading process is ended on the premise that the data is read without errors. Since data reading and data writing are in one-to-one correspondence, the same reading method cannot be used to read data of different writing modes, and it is necessary to determine the operation mode when data is read according to the writing mode in different storage areas. .
本发明将多种操作模式混合应用于同一存储区(Block)的不同字线(word-line),实现了高存储密度和高可靠性的平衡,有效的提高闪存存储器的可靠性。The invention applies a plurality of operation modes to different word lines of the same storage area (Block), realizes a balance of high storage density and high reliability, and effectively improves the reliability of the flash memory.
附图说明DRAWINGS
图1是三维立体闪存存储器结构的示意图。1 is a schematic diagram of a three-dimensional flash memory structure.
图2是三维立体闪存存储器中多晶硅沟道示意图。2 is a schematic diagram of a polysilicon channel in a three-dimensional flash memory.
图3是闪存存储器各种不同动作模式的示意图。3 is a schematic diagram of various different modes of operation of a flash memory.
图4是三维闪存存储器不同区域写入状态分布的示意图。4 is a schematic diagram of a write state distribution of different regions of a three-dimensional flash memory.
图5是根据存储单元特性区域划分不同动作模式的示意图。FIG. 5 is a schematic diagram of dividing different operation modes according to a memory cell characteristic region.
图6是本发明混合读写闪存存储器的结构原理示意图。6 is a schematic diagram showing the structure of a hybrid read/write flash memory of the present invention.
图7是本发明中存储区域管理模块的示意图。Figure 7 is a schematic diagram of a storage area management module in the present invention.
图8是本发明中混合动作模式存储器数据写入的示意图。Figure 8 is a diagram showing the data writing of the mixed operation mode memory in the present invention.
图9是本发明中混合动作模式存储器数据读取的示意图。Fig. 9 is a view showing the data reading of the mixed operation mode memory in the present invention.
具体实施方式Detailed ways
本发明的闪存存储器混合读写方法,是将闪存存储器的多种操作模式混合应用于同一存储区(Block)的不同字线(word-line),以实现高存储密度和高可靠性的平衡。可将闪存存储器的单值存储(SLC)、多值存储(MLC),三值存储(TLC)和四值存储(QLC)操作模式中的至少两种混合应用于同一存储区(Block)的不同字线(word-line)。The flash memory hybrid read/write method of the present invention is to apply a plurality of operation modes of the flash memory to different word lines of the same memory to achieve a balance between high storage density and high reliability. A combination of at least two of single-value storage (SLC), multi-value storage (MLC), three-value storage (TLC), and four-value storage (QLC) modes of operation of the flash memory can be applied to the same memory (Block) Word-line.
对于二维平面闪存存储器,由于同一存储区里不同字线的存储单元特性差异不大,操作模式混用主要是在于不同的存储芯片(chip)或者存储区。对于三维闪存存储器,混用操作模式除了可以应用于不同的存储芯片或者存储区域,还可通过添加选择控制器对同一存储区中不同字线选择不同的读写方式,可将相邻两层设置为不同的读写方式,也可划分不同存储区域来对应不同读写方式。不同的读写方式是可以动态调整的,即在进行读写前可设置好存储器的读写方式,在存储器读写的过程中可动态调整各个区域的读写方式,从而减小由存储单元特性的变化导致错码的概率,整体上提高存储器的工作效率。For two-dimensional planar flash memory, since the memory cell characteristics of different word lines in the same memory area are not much different, the operation mode mixing mainly lies in different memory chips or memory areas. For the three-dimensional flash memory, the mixed operation mode can be applied to different memory chips or storage areas, and different read and write modes can be selected for different word lines in the same memory area by adding a selection controller, and the adjacent two layers can be set as Different reading and writing methods can also divide different storage areas to correspond to different reading and writing modes. Different read and write modes can be dynamically adjusted, that is, the read/write mode of the memory can be set before reading and writing, and the read and write modes of each area can be dynamically adjusted during the process of reading and writing the memory, thereby reducing the characteristics of the memory unit. The change causes the probability of error code, and improves the working efficiency of the memory as a whole.
本发明的闪存存储器混合读写方法,可以应用于在同一存储区域里有存储单元特性差异和存储分布性差异的存储器,例如三维闪存存储器:三维闪存存储器上层和下层的存储单元特性差异较大,而中间部分的存储单元特性相对比较均一。将三维闪存存储器的各种读写方式,例如SLC模式、MLC模式和TLC模式混合应用,特性差异大的存储单元区域采用SLC模式,特性较为均一的存储单元区域采用MLC模式或者TLC模式读写,并且通过选择控制器进行控制,从而在提高三维闪存存储器存储密度的同时保证所有存储单元的可靠性特性,包括
数据保持特性和存储单元寿命。The flash memory hybrid read/write method of the present invention can be applied to a memory having a difference in memory cell characteristics and a memory distribution difference in the same memory area, for example, a three-dimensional flash memory: a memory cell characteristic difference between an upper layer and a lower layer of a three-dimensional flash memory is large. The memory cell characteristics in the middle part are relatively uniform. Various types of reading and writing methods of the three-dimensional flash memory, such as SLC mode, MLC mode, and TLC mode, are used, and the memory cell area with large difference in characteristics adopts the SLC mode, and the memory cell area with uniform characteristics is read and written by the MLC mode or the TLC mode. And by controlling the controller to ensure the storage density of the three-dimensional flash memory while ensuring the reliability characteristics of all memory cells, including
Data retention characteristics and memory unit lifetime.
图4给出了三维闪存存储器不同区域写入状态分布的示意图。在同一动作模式下对擦除状态下的存储区域进行数据写入,其写入状态的分布是比较宽的。在SLC动作模式下,由于其数据读取窗口大,一般不会带来字节误读的问题;然而,对于高存储密度的MLC,TLC和QLC动作模式,数据读取窗口下,很宽的写入状态分布会极大的提高数据误读率。其分布可以简化为三个不同的区域,分布于区域1的存储单元有较高的阈值电压分布,主要来源于图2中区域A的存储单元;分布于区域2的存储单元的阈值电压分布比较平均,主要来源于图2中区域B的存储单元;而分布于区域3的存储单元有较低的阈值电压分布,主要来源于图2中区域C的存储单元。Figure 4 shows a schematic diagram of the write state distribution of different regions of a three-dimensional flash memory. In the same operation mode, data is written to the storage area in the erased state, and the distribution of the write state is relatively wide. In the SLC action mode, due to its large data read window, it generally does not cause byte misreading; however, for high memory density MLC, TLC and QLC action modes, the data read window is very wide. The write state distribution greatly increases the data misreading rate. The distribution can be simplified into three different regions. The memory cells distributed in region 1 have a higher threshold voltage distribution, mainly derived from the memory cells of region A in FIG. 2; the threshold voltage distributions of the memory cells distributed in region 2 are compared. The average is mainly derived from the memory cells of region B in FIG. 2; and the memory cells distributed in region 3 have a lower threshold voltage distribution, mainly derived from the memory cells of region C in FIG.
随着工艺的优化,材料的改变,器件结构设计不同以及动作模式的改变,深孔中的存储单元特性与深孔深度的关联性可能发生变化,例如于区域1的中有较高阈值电压分布存储单元可能主要来源于上述图2中区域C,而区域3的中有较高阈值电压分布存储单元可能主要来源于上述图2中区域A。然而,不管其分布关联性如何发生变化,区域2中特性较为均一的存储单元主要还是来源于图2中区域B。With process optimization, material changes, device structure design, and changes in operating modes, the relationship between memory cell characteristics and deep hole depth in deep wells may change, for example, a higher threshold voltage distribution in region 1. The storage unit may be mainly derived from the area C in FIG. 2 above, and the higher threshold voltage distribution storage unit in the area 3 may be mainly derived from the area A in FIG. 2 described above. However, regardless of how its distribution relevance changes, the more uniform storage unit in Region 2 is mainly derived from Region B in Figure 2.
图5给出了根据存储单元特性区域划分不同动作模式。根据图4所示,不同区域的存储单元在同一个动作模式下,其分布是不同的,所以会造成整体分布变宽。因此,可以用不同的动作模式来读写不同区域的存储单元,例如动作模式A可以用单值模式SLC来读写靠近NAND存储单元阵列(NAND String)上部区域的存储单元,动作模式B可以用三值模式TLC来读写NAND存储单元阵列中间大部分存储特性较为均一的区域的存储单元,而动作模式C可以用二值模式MLC来读写靠近NAND存储单元阵列下部区域的存储单元。Figure 5 shows the different action modes divided according to the memory cell characteristic area. According to FIG. 4, the storage units of different regions have different distributions in the same operation mode, so that the overall distribution is widened. Therefore, different operation modes can be used to read and write memory cells of different regions. For example, the operation mode A can read and write the memory cells near the upper region of the NAND memory cell array (NAND String) by using the single-value mode SLC, and the operation mode B can be used. The ternary mode TLC reads and writes the memory cells of the area in which most of the NAND memory cell arrays have relatively uniform storage characteristics, and the action mode C can use the binary mode MLC to read and write the memory cells near the lower area of the NAND memory cell array.
上述区域的划分和动作模式的指定可以根据不同存储器芯片的特点来灵活指定。同时,由于不同动作模式下存储单元的退化速度不一样,MLC/TLC/QLC等多值动作模式下的存储单元寿命相对SLC模式要短的多,因此在存储单元擦写的过程中可以对存储单元的特性进行类似于图4所示的动态评估,根据评估结果重新定义区域划分和动作模式。The division of the above areas and the designation of the operation mode can be flexibly specified according to the characteristics of different memory chips. At the same time, since the degradation speed of the memory cells is different under different operation modes, the memory cell life in the multi-value operation mode such as MLC/TLC/QLC is much shorter than that of the SLC mode, so the storage unit can be stored during the erasing process. The characteristics of the unit are similar to the dynamic evaluation shown in Figure 4, and the division and action patterns are redefined according to the evaluation results.
如图6,本发明中混合读写闪存存储器主要包括数据接口,NAND控制器和存储区域。而NAND控制器中,除了一般的控制功能以外,增加了负责管理存储区域划分的存储区域管理模块和负责与不同存储区域动作模式对应的存储模式控制模块。具体而言,将闪存存储器的不同读写方式单值存储(SLC)、多值存储(MLC)、三值存储(TLC)和四值存储(QLC)进行存储区域对应控制,在NAND控制器中为不同的存储区域选择不同的读写模式。As shown in FIG. 6, the hybrid read/write flash memory of the present invention mainly includes a data interface, a NAND controller and a storage area. In addition to the general control functions, the NAND controller adds a storage area management module responsible for managing storage area division and a storage mode control module corresponding to different storage area operation modes. Specifically, different storage and read mode single-value storage (SLC), multi-value storage (MLC), three-value storage (TLC), and four-value storage (QLC) of the flash memory are correspondingly controlled in the storage area, in the NAND controller. Choose different read and write modes for different storage areas.
如图7,存储区域管理模块根据动作模式,一般可以分为存储区域1,存储区域2和存储区域3,分别对应于常用的单值存储(SLC)、多值存储(MLC)和三值存储(TLC)。当四值存储(QLC)动作模式应用的时候,可以增加一个存储区域4。当所选择的存储区域存储性能较好且性能分布较为均一时,可以采用MLC动作模式或TLC动作模式读写,当存储性能变差或者存储区域特性分布比较宽的时候可以采用SLC模式读写,由此可以在保证存储密度的前提下提高闪存存储器有效存储单元的综合擦写速度和寿命。不同的存储方式是可以选择的,也是可以动态变化的,在进行初期设置好存储器的存储方式,在存储器擦写的过程中也可动态调整各个区域的存储方式。As shown in FIG. 7, the storage area management module can be generally divided into a storage area 1, a storage area 2, and a storage area 3 according to an operation mode, which respectively correspond to commonly used single value storage (SLC), multi-value storage (MLC), and three-value storage. (TLC). When the four-value storage (QLC) action mode is applied, a memory area 4 can be added. When the storage area of the selected storage area is better and the performance distribution is relatively uniform, the MLC operation mode or the TLC action mode can be used for reading and writing. When the storage performance is poor or the storage area characteristic distribution is relatively wide, the SLC mode can be used for reading and writing. This can improve the overall erasing speed and lifetime of the effective memory cells of the flash memory while ensuring the storage density. Different storage methods are optional, and can be dynamically changed. The storage mode of the memory is set at the initial stage, and the storage mode of each area can be dynamically adjusted during the process of erasing the memory.
如图8,本发明混合读写闪存存储器的数据写入过程,是在获得数据输入指令之后,将
需要写入的数据保存在缓冲存储空间中,同时根据存储器使用情况来确定数据存储地址,然后根据NAND控制器中负责管理存储区域划分的存储区域管理模块与负责不同存储区域动作模式对应的存储模式控制模块来确定存储模式,其后进行数据写入的操作,在确定写入数据无误的前提下结束数据写入过程。As shown in FIG. 8, the data writing process of the hybrid read/write flash memory of the present invention is performed after the data input instruction is obtained.
The data to be written is stored in the buffer storage space, and the data storage address is determined according to the memory usage condition, and then the storage area management module responsible for managing the storage area division in the NAND controller and the storage mode corresponding to the operation mode of the different storage area are used. The control module determines the storage mode, and then performs a data write operation to end the data write process on the premise that the write data is correct.
如图9,本发明混合读写闪存存储器的数据读取过程,是在获得数据读出指令之后,根据存储区域管理模块与存储模式控制模块来确定数据读取模式,其后进行数据读出的操作,在确定读出数据无误的前提下结束数据读出过程。由于数据读出与数据写入是一一对应的,不能用同一种读出方法来读出不同写入模式的数据,需要根据不同存储区域里的写入模式来确定数据读出时候的动作方式。As shown in FIG. 9, the data reading process of the hybrid read/write flash memory of the present invention determines the data read mode according to the storage area management module and the storage mode control module after obtaining the data read command, and then performs data readout. The operation ends the data reading process on the premise that it is determined that the read data is correct. Since data reading and data writing are in one-to-one correspondence, the same reading method cannot be used to read data of different writing modes, and it is necessary to determine the operation mode when data is read according to the writing mode in different storage areas. .
混合读写闪存存储器,既可以在使用时设置不同区域固定的读写方式,也可在使用时对每一条字线、每一层存储区域或每一片储区域动态选择读写方式。在存储单元擦写的过程中,MLC模式和TLC模式下的存储单元容易退化,所以本发明设置的不同读写方式对应区域所采取的读写方式不是一成不变的,是可动态调整的,从而整体上解决初期工艺以后期使用过程中存储单元特性变化带来的可靠性退化。
The mixed read/write flash memory can set the fixed read/write mode of different areas in use, and can dynamically select the read/write mode for each word line, each layer storage area or each storage area during use. In the process of erasing and writing a memory cell, the memory cells in the MLC mode and the TLC mode are easily degraded. Therefore, the read and write modes adopted by the different read/write modes corresponding to the present invention are not static and can be dynamically adjusted, thereby Solve the reliability degradation caused by the change of the characteristics of the memory cell in the initial process during the initial process.