TWI543170B - Operation method for memory device - Google Patents

Operation method for memory device Download PDF

Info

Publication number
TWI543170B
TWI543170B TW103137130A TW103137130A TWI543170B TW I543170 B TWI543170 B TW I543170B TW 103137130 A TW103137130 A TW 103137130A TW 103137130 A TW103137130 A TW 103137130A TW I543170 B TWI543170 B TW I543170B
Authority
TW
Taiwan
Prior art keywords
code
voltage level
mapping rule
write page
memory device
Prior art date
Application number
TW103137130A
Other languages
Chinese (zh)
Other versions
TW201616506A (en
Inventor
張育銘
李永駿
謝志昌
黃識夫
李祥邦
張原豪
郭大維
Original Assignee
旺宏電子股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 旺宏電子股份有限公司 filed Critical 旺宏電子股份有限公司
Priority to TW103137130A priority Critical patent/TWI543170B/en
Publication of TW201616506A publication Critical patent/TW201616506A/en
Application granted granted Critical
Publication of TWI543170B publication Critical patent/TWI543170B/en

Links

Landscapes

  • Read Only Memory (AREA)

Description

記憶裝置的操作方法Memory device operation method 【0001】【0001】

本揭露是關於記憶裝置的操作方法,特別是關於記憶裝置的寫入。The present disclosure relates to a method of operating a memory device, and more particularly to writing to a memory device.

【0002】【0002】

記憶裝置的寫入可使用各種方法來進行。其中一種方法是步進式脈衝寫入(Incremental Step Pulse Programming, ISPP)。在步進式脈衝寫入處理中,記憶胞係藉由對寫入電壓Vpgm 逐漸地增加少量的固定電壓ΔVISPP 來向高的臨界電壓狀態寫入。於這樣的處理過程中,位置接近被寫入的記憶胞的記憶胞也可能受到影響。此一效應稱為寫入干擾。如果被寫入的記憶胞是「慢記憶胞」,亦即相較於其他記憶胞而言需要更多次寫入脈衝的記憶胞,則寫入干擾效應就變得更為緊要。The writing of the memory device can be performed using various methods. One such method is Incremental Step Pulse Programming (ISPP). In the step-by-step pulse writing process, the memory cell is written to a high threshold voltage state by gradually increasing a small amount of fixed voltage ΔV ISPP to the write voltage V pgm . During such processing, memory cells located close to the memory cells being written may also be affected. This effect is called write interference. If the memory cell being written is a "slow memory cell", that is, a memory cell that requires more write pulses than other memory cells, the write disturb effect becomes more critical.

【0003】[0003]

在本揭露中,提供了記憶裝置的操作方法,以降低寫入干擾。In the present disclosure, a method of operating a memory device is provided to reduce write disturbance.

【0004】[0004]

根據一些實施例,提供一種記憶裝置的操作方法。此一操作方法包括如下所述地寫入記憶裝置。首先,提供複數資料至控制器。這些資料包括複數編碼(code)。由控制器計算所述編碼各自的數目。接著,根據所述編碼各自的數目由控制器產生一對映規則(mapping rule)。在對映規則中,所述編碼各對映至依序由低至高排列的複數驗證電壓準位(verifying voltage level)的其中一者。之後,根據對映規則寫入資料至記憶裝置的一記憶體陣列中。According to some embodiments, a method of operating a memory device is provided. This method of operation includes writing to the memory device as described below. First, provide the complex data to the controller. These materials include complex codes. The respective numbers of the codes are calculated by the controller. Next, a mapping rule is generated by the controller according to the respective numbers of the codes. In the mapping rule, the codes are each mapped to one of a verifying voltage level that is sequentially arranged from low to high. Thereafter, the data is written into a memory array of the memory device according to the mapping rule.

【0005】[0005]

根據一些實施例,提供一種記憶裝置的操作方法。此一操作方法包括如下所述地寫入記憶裝置。提供複數資料的複數第一寫入頁位元,其中,這些第一寫入頁位元包括編碼0及編碼1。由一控制器計算第一寫入頁位元中編碼0及編碼1各自的數目。根據第一寫入頁位元中編碼0及編碼1各自的數目由控制器產生第一對映規則。接著,根據第一對映規則寫入第一寫入頁位元至記憶裝置的一第一寫入頁中。提供這些資料的複數第二寫入頁位元,其中,這些第二寫入頁位元包括編碼0及一碼1。在第一寫入頁位元的編碼0及編碼1各者之下,由控制器計算第二寫入頁位元中編碼0及編碼1各自的數目。根據第二寫入頁位元中編碼0及編碼1各自的數目由控制器產生第二對映規則。接著,根據第二對映規則寫入第二寫入頁位元至記憶裝置的一第二寫入頁中。提供這些資料的複數第三寫入頁位元,其中,這些第三寫入頁位元包括編碼0及編碼1。在第一寫入頁位元的編碼0及編碼1各者以及第二寫入頁位元的編碼0及編碼1各者之下,由控制器計算第三寫入頁位元中編碼0及編碼1各自的數目。根據第三寫入頁位元中編碼0及編碼1各自的數目由控制器產生一第三對映規則。接著,根據第三對映規則寫入第三寫入頁位元至記憶裝置的一第三寫入頁中。According to some embodiments, a method of operating a memory device is provided. This method of operation includes writing to the memory device as described below. A plurality of first write page bits are provided for the plurality of data, wherein the first write page bits comprise code 0 and code 1. The number of codes 0 and 1 in the first written page bit is calculated by a controller. The first mapping rule is generated by the controller based on the respective numbers of the encoding 0 and the encoding 1 in the first written page bit. Then, the first write page bit is written into a first write page of the memory device according to the first mapping rule. A plurality of second write page bits are provided for the data, wherein the second write page bits include code 0 and a code 1. Under the code 0 and code 1 of the first page bit, the controller calculates the number of codes 0 and 1 in the second page bit. The second mapping rule is generated by the controller based on the respective numbers of the code 0 and the code 1 in the second write page bit. Then, the second write page bit is written into a second write page of the memory device according to the second mapping rule. A plurality of third write page bits are provided for the data, wherein the third write page bits include code 0 and code 1. Under the code 0 and code 1 of each of the first write page bit and the code 0 and the code 1 of the second write page bit, the controller calculates the code 0 in the third write page bit and Code 1 is the number of each. A third mapping rule is generated by the controller based on the respective numbers of the code 0 and the code 1 in the third write page bit. Then, the third write page bit is written into a third write page of the memory device according to the third mapping rule.

【0006】[0006]

為了對本發明之上述及其他方面有更佳的瞭解,下文特舉較佳實施例,並配合所附圖式,作詳細說明如下:In order to better understand the above and other aspects of the present invention, the preferred embodiments are described below, and in conjunction with the drawings, the detailed description is as follows:

【0042】[0042]

152、154、156、158、160、162‧‧‧位元
252、254、256、258、260、262‧‧‧位元
352、354、356、358、360、362‧‧‧位元
A1、A2‧‧‧群組
B1、B2、B3、B4‧‧‧群組
S102、S104、S106、S108‧‧‧步驟
S132、S134、S136‧‧‧步驟
S202、S204、S206、S208‧‧‧步驟
S232、S234、S236‧‧‧步驟
S302、S304、S306、S308、S310、S312、S314、S316、S318、S320、S322、S324、S326、S328、S330‧‧‧步驟
S332、S334、S336‧‧‧步驟
152, 154, 156, 158, 160, 162‧ ‧ bits
252, 254, 256, 258, 260, 262‧ ‧ bits
352, 354, 356, 358, 360, 362‧ ‧ bits
A1, A2‧‧‧ groups
Group B1, B2, B3, B4‧‧‧
S102, S104, S106, S108‧‧‧ steps
S132, S134, S136‧‧‧ steps
S202, S204, S206, S208‧‧‧ steps
S232, S234, S236‧‧‧ steps
S302, S304, S306, S308, S310, S312, S314, S316, S318, S320, S322, S324, S326, S328, S330‧‧
S332, S334, S336‧‧‧ steps

【0007】【0007】


第1圖為根據一實施例的多階儲存式(Multi-Level-Cell, MLC)記憶裝置的操作方法的寫入處理的流程圖。
第2A圖~第2C圖為 MLC記憶裝置的操作方法的寫入處理的示意圖。
第3圖為根據一實施例的MLC記憶裝置的操作方法的讀取處理的流程圖。
第4圖為根據一實施例的三階儲存式(Triple-Level-Cell, TLC)記憶裝置的操作方法的寫入處理的流程圖。
第5A圖~第5B圖為TLC記憶裝置的操作方法的寫入處理的示意圖。
第6圖為根據一實施例的TLC記憶裝置的操作方法的讀取處理的流程圖。
第7圖為根據一實施例的TLC記憶裝置的操作方法的寫入處理的流程圖。
第8A圖~第8F圖為TLC記憶裝置的操作方法的寫入處理的的示意圖。
第9圖為根據一實施例的TLC記憶裝置的操作方法的讀取處理的流程圖。

1 is a flow chart of a write process of an operation method of a multi-level-cell (MLC) memory device according to an embodiment.
2A to 2C are schematic diagrams showing the writing process of the operation method of the MLC memory device.
Fig. 3 is a flow chart showing the reading process of the operation method of the MLC memory device according to an embodiment.
4 is a flow chart of a write process of an operation method of a Triple-Level-Cell (TLC) memory device according to an embodiment.
5A to 5B are schematic views of the writing process of the operation method of the TLC memory device.
Fig. 6 is a flow chart showing the reading process of the operation method of the TLC memory device according to an embodiment.
Fig. 7 is a flow chart showing a write process of an operation method of a TLC memory device according to an embodiment.
8A to 8F are schematic diagrams showing the writing process of the operation method of the TLC memory device.
Fig. 9 is a flow chart showing the reading process of the operation method of the TLC memory device according to an embodiment.

【0008】[0008]

根據一實施例,提供一種MLC記憶裝置的操作方法。第1圖為根據此一實施例的MLC記憶裝置的操作方法的寫入處理的流程圖。According to an embodiment, a method of operating an MLC memory device is provided. Fig. 1 is a flow chart showing the writing process of the operation method of the MLC memory device according to this embodiment.

【0009】【0009】

首先,在步驟S102,提供複數資料至一控制器。這些資料包括第一編碼、第二編碼、第三編碼及第四編碼。第一編碼、第二編碼、第三編碼及第四編碼為二位元。舉例來說,第一編碼、第二編碼、第三編碼及第四編碼各者可為編碼00、01、10及11的其中一者。First, in step S102, a plurality of data is supplied to a controller. The data includes a first code, a second code, a third code, and a fourth code. The first code, the second code, the third code, and the fourth code are two bits. For example, each of the first code, the second code, the third code, and the fourth code may be one of codes 00, 01, 10, and 11.

【0010】[0010]

接著,在步驟S104,由控制器計算第一編碼、第二編碼、第三編碼及第四編碼各自的數目。在步驟S106,根據第一編碼、第二編碼、第三編碼及第四編碼各自的數目由控制器產生一對映規則。在對映規則中,第一編碼、第二編碼、第三編碼及第四編碼各對映至依序由低至高排列的第一驗證電壓準位、第二驗證電壓準位、第三驗證電壓準位及第四驗證電壓準位的其中一者。舉例來說,第一驗證電壓準位為抹除驗證準位(EV),第二驗證電壓準位、第三驗證電壓準位及第四驗證電壓準位可為寫入驗證準位(PV1, PV2, PV3)。在一範例中,於對映規則中,第一編碼、第二編碼、第三編碼及第四編碼中數目最大者係對映至第一驗證電壓準位。在另一範例中,於對映規則中,第一編碼、第二編碼、第三編碼及第四編碼中數目最大者係對映至第二驗證電壓準位。對映規則可儲存在MLC記憶裝置或外部記憶體中。由於一共24種對映規則,只需要五個位元(小於一個位元組)就能夠儲存所使用的對映規則為何。Next, in step S104, the controller calculates the respective numbers of the first code, the second code, the third code, and the fourth code. In step S106, a pairing rule is generated by the controller according to the respective numbers of the first code, the second code, the third code, and the fourth code. In the mapping rule, the first code, the second code, the third code, and the fourth code are respectively mapped to a first verification voltage level, a second verification voltage level, and a third verification voltage, which are sequentially arranged from low to high. One of the level and the fourth verification voltage level. For example, the first verification voltage level is an erase verification level (EV), and the second verification voltage level, the third verification voltage level, and the fourth verification voltage level may be write verification levels (PV1, PV2, PV3). In an example, in the mapping rule, the largest number of the first code, the second code, the third code, and the fourth code is mapped to the first verify voltage level. In another example, in the mapping rule, the largest number of the first code, the second code, the third code, and the fourth code is mapped to the second verify voltage level. The mapping rules can be stored in an MLC memory device or external memory. Since there are a total of 24 mapping rules, only five bits (less than one byte) are needed to store the mapping rules used.

【0011】[0011]

之後,在步驟S108,根據對映規則寫入資料至MLC記憶裝置的一記憶體陣列中。步驟S108可包括對MLC記憶裝置的一頁緩衝器下一個寫入指令以及從頁緩衝器寫入資料至記憶體陣列。在一些範例中,於對頁緩衝器下寫入指令之前,可計算錯誤校正編碼(error correction code)。Thereafter, in step S108, the data is written into a memory array of the MLC memory device according to the mapping rule. Step S108 may include writing a write command to a page buffer of the MLC memory device and writing data from the page buffer to the memory array. In some examples, an error correction code can be calculated prior to writing an instruction to the page buffer.

【0012】[0012]

在一些範例中,於寫入資料至MLC記憶裝置的陣列(S108)之前,可根據對映規則轉換原始資料。在原始資料轉換後,再將資料寫入至MLC記憶裝置的頁緩衝器中。此一轉換步驟可由控制器進行。或者,此一轉換步驟可實施於一軟體管理層,例如快閃轉譯層(Flash Translation Layer, FTL),或快閃檔案系統(flash file system)。In some examples, prior to writing the data to the array of MLC memory devices (S108), the original data may be converted according to the mapping rules. After the original data is converted, the data is written to the page buffer of the MLC memory device. This conversion step can be performed by the controller. Alternatively, the conversion step can be implemented in a software management layer, such as a Flash Translation Layer (FTL), or a flash file system.

【0013】[0013]

現在提供MLC記憶裝置的操作方法的寫入處理的範例,如第2A圖~第2C圖所繪示者。如第2A圖所示,提供十六個將要被寫入的資料。這些資料包括四種編碼00、01、10及11。資料包括將要被寫入的第一寫入頁位元152及將要被寫入的第二寫入頁位元154。An example of the writing process of the operation method of the MLC memory device is now provided, as shown in FIGS. 2A-2C. As shown in Figure 2A, sixteen pieces of data to be written are provided. These materials include four codes 00, 01, 10 and 11. The data includes a first write page bit 152 to be written and a second write page bit 154 to be written.

【0014】[0014]

計算四種編碼00、01、10及11的數目。結果為七個編碼00、五個編碼01、一個編碼10、三個編碼11。也就是說,將編碼從數目最多往最少排序的話為00、01、11、10。The number of four codes 00, 01, 10, and 11 is calculated. The result is seven codes 00, five codes 01, one code 10, and three codes 11. That is to say, the codes are sorted from the most to the least to 00, 01, 11, and 10.

【0015】[0015]

在此,提供四個驗證電壓準位,包括第一驗證電壓準位、第二驗證電壓準位、第三驗證電壓準位及第四驗證電壓準位。在預設對映規則中,第一驗證電壓準位對應至編碼11,第二驗證電壓準位對應至編碼10,第三驗證電壓準位對應至編碼00,第四驗證電壓準位對應至編碼01。Here, four verification voltage levels are provided, including a first verification voltage level, a second verification voltage level, a third verification voltage level, and a fourth verification voltage level. In the preset mapping rule, the first verification voltage level corresponds to the code 11, the second verification voltage level corresponds to the code 10, the third verification voltage level corresponds to the code 00, and the fourth verification voltage level corresponds to the code 01.

【0016】[0016]

在一範例中,由於數目最多的編碼為編碼00,編碼00係對映至第一驗證電壓準位。編碼01、11及10則分別對映至第二驗證電壓準位、第三驗證電壓準位及第四驗證電壓準位。接著,可將編碼00、01、10及11轉換成編碼11、10、00及01,並寫入至MLC記憶裝置的陣列中。寫入的結果示於第2B圖,其中寫入的第一寫入頁位元156及寫入的第二寫入頁位元158不同於原始將要被寫入的第一寫入頁位元152及原始將要被寫入的第二寫入頁位元154。在此一範例中,可大幅降低寫入干擾。此外,還可降低位元錯誤率(bit error rate)。In an example, since the most numbered code is code 00, code 00 is mapped to the first verify voltage level. Codes 01, 11, and 10 are respectively mapped to a second verification voltage level, a third verification voltage level, and a fourth verification voltage level. The codes 00, 01, 10, and 11 can then be converted to codes 11, 10, 00, and 01 and written to the array of MLC memory devices. The result of the write is shown in Figure 2B, where the first write page bit 156 and the second write page bit 158 written are different from the first write page bit 152 that was originally written. And a second write page bit 154 that is to be written. In this example, write disturb can be greatly reduced. In addition, the bit error rate can be reduced.

【0017】[0017]

在另一範例中,數目最多的編碼,亦即編碼00,係對映至第二驗證電壓準位。編碼01、11及10則分別對映至第一驗證電壓準位、第三驗證電壓準位及第四驗證電壓準位。接著,可將編碼00、01、10及11轉換成編碼10、11、00及01,並寫入至MLC記憶裝置的陣列中。寫入的結果示於第2C圖,其中寫入的第一寫入頁位元160及寫入的第二寫入頁位元162不同於原始將要被寫入的第一寫入頁位元152及原始將要被寫入的第二寫入頁位元154。在此一範例中,可降低寫入干擾,並可大幅降低位元錯誤率。使用者可依其需求選擇對映規則。In another example, the most numerous code, ie, code 00, is mapped to a second verify voltage level. Codes 01, 11, and 10 are respectively mapped to a first verification voltage level, a third verification voltage level, and a fourth verification voltage level. The codes 00, 01, 10, and 11 can then be converted to codes 10, 11, 00, and 01 and written to the array of MLC memory devices. The result of the writing is shown in Figure 2C, in which the first written page bit 160 written and the second written page bit 162 written are different from the first written page bit 152 that was originally written. And a second write page bit 154 that is to be written. In this example, write disturb can be reduced and the bit error rate can be greatly reduced. Users can choose the mapping rules according to their needs.

【0018】[0018]

第3圖為根據此一實施例的MLC記憶裝置的操作方法的讀取處理的流程圖。首先,在步驟S132,由控制器取得對映規則。在步驟S134,根據對映規則自MLC記憶裝置的記憶體陣列讀取資料。在對映規則中,依序由低至高排列的第一驗證電壓準位、第二驗證電壓準位、第三驗證電壓準位及第四驗證電壓準位各對映至第一編碼、第二編碼、第三編碼及第四編碼的其中一者。之後,在步驟S136,輸出資料。在一些範例中,於輸出資料之前,自MLC記憶裝置的記憶體陣列所讀取的資料可先由控制器、快閃轉譯層或快閃檔案系統轉換。Fig. 3 is a flow chart showing the reading process of the operation method of the MLC memory device according to this embodiment. First, in step S132, the mapping rule is obtained by the controller. At step S134, data is read from the memory array of the MLC memory device according to the mapping rule. In the mapping rule, the first verification voltage level, the second verification voltage level, the third verification voltage level, and the fourth verification voltage level, which are sequentially arranged from low to high, are respectively mapped to the first code and the second code. One of the encoding, the third encoding, and the fourth encoding. Thereafter, in step S136, the material is output. In some examples, data read from the memory array of the MLC memory device may be converted by the controller, flash translation layer, or flash file system prior to outputting the data.

【0019】[0019]

現在,根據一實施例,提供一種TLC記憶裝置的操作方法。第4圖為根據此一實施例的TLC記憶裝置的操作方法的寫入處理的流程圖。Now, according to an embodiment, a method of operating a TLC memory device is provided. Fig. 4 is a flow chart showing the writing process of the operation method of the TLC memory device according to this embodiment.

【0020】[0020]

首先,在步驟S202,提供複數資料至一控制器。這些資料包括第一編碼、第二編碼、第三編碼、第四編碼、第五編碼、第六編碼、第七編碼及第八編碼。第一編碼、第二編碼、第三編碼、第四編碼、第五編碼、第六編碼、第七編碼及第八編碼為三位元。舉例來說,第一編碼、第二編碼、第三編碼、第四編碼、第五編碼、第六編碼、第七編碼及第八編碼各者可為編碼000、001、010、011、100、101、110及111的其中一者。First, in step S202, a plurality of data is supplied to a controller. The data includes a first code, a second code, a third code, a fourth code, a fifth code, a sixth code, a seventh code, and an eighth code. The first code, the second code, the third code, the fourth code, the fifth code, the sixth code, the seventh code, and the eighth code are three bits. For example, each of the first code, the second code, the third code, the fourth code, the fifth code, the sixth code, the seventh code, and the eighth code may be coded 000, 001, 010, 011, 100, One of 101, 110 and 111.

【0021】[0021]

接著,在步驟S204,由控制器計算第一編碼、第二編碼、第三編碼、第四編碼、第五編碼、第六編碼、第七編碼及第八編碼各自的數目。在步驟S206,根據第一編碼、第二編碼、第三編碼、第四編碼、第五編碼、第六編碼、第七編碼及第八編碼各自的數目由控制器產生一對映規則。在對映規則中,第一編碼、第二編碼、第三編碼、第四編碼、第五編碼、第六編碼、第七編碼及第八編碼各對映至依序由低至高排列的第一驗證電壓準位、第二驗證電壓準位、第三驗證電壓準位、第四驗證電壓準位、第五驗證電壓準位、第六驗證電壓準位、第七驗證電壓準位及一第八驗證電壓準位的其中一者。舉例來說,第一驗證電壓準位為抹除驗證準位(EV),第二驗證電壓準位、第三驗證電壓準位、第四驗證電壓準位、第五驗證電壓準位、第六驗證電壓準位、第七驗證電壓準位及第八驗證電壓準位可為寫入驗證準位(PV1, PV2, PV3, PV4, PV5, PV6, PV7)。對映規則可儲存在TLC記憶裝置或外部記憶體中。由於一共40320種對映規則,只需要兩個位元組就能夠儲存所使用的對映規則為何。Next, in step S204, the controller calculates the respective numbers of the first code, the second code, the third code, the fourth code, the fifth code, the sixth code, the seventh code, and the eighth code. In step S206, a pairing rule is generated by the controller according to the respective numbers of the first code, the second code, the third code, the fourth code, the fifth code, the sixth code, the seventh code, and the eighth code. In the mapping rule, the first coding, the second coding, the third coding, the fourth coding, the fifth coding, the sixth coding, the seventh coding, and the eighth coding are respectively mapped to the first in order from low to high. Verifying the voltage level, the second verifying voltage level, the third verifying voltage level, the fourth verifying voltage level, the fifth verifying voltage level, the sixth verifying voltage level, the seventh verifying voltage level, and an eighth Verify one of the voltage levels. For example, the first verification voltage level is an erase verification level (EV), a second verification voltage level, a third verification voltage level, a fourth verification voltage level, a fifth verification voltage level, and a sixth The verification voltage level, the seventh verification voltage level, and the eighth verification voltage level may be write verification levels (PV1, PV2, PV3, PV4, PV5, PV6, PV7). The mapping rules can be stored in a TLC memory device or external memory. Since there are a total of 40,320 mapping rules, only two bytes are needed to store the mapping rules used.

【0022】[0022]

之後,在步驟S208,根據對映規則寫入資料至TLC記憶裝置的一記憶體陣列中。步驟S208可包括對TLC記憶裝置的一頁緩衝器下一個寫入指令以及從頁緩衝器寫入資料至記憶體陣列。在一些範例中,於對頁緩衝器下寫入指令之前,可計算錯誤校正編碼。Thereafter, in step S208, the data is written into a memory array of the TLC memory device according to the mapping rule. Step S208 may include writing a write command to a page buffer of the TLC memory device and writing data from the page buffer to the memory array. In some examples, the error correction code can be calculated prior to writing an instruction to the page buffer.

【0023】[0023]

在一些範例中,於寫入資料至TLC記憶裝置的陣列(S208)之前,可根據對映規則轉換原始資料。在原始資料轉換後,再將資料寫入至TLC記憶裝置的頁緩衝器中。此一轉換步驟可由控制器進行。或者,此一轉換步驟可實施於一軟體管理層,例如快閃轉譯層,或快閃檔案系統。In some examples, prior to writing the data to the array of TLC memory devices (S208), the original data may be converted according to the mapping rules. After the original data is converted, the data is written to the page buffer of the TLC memory device. This conversion step can be performed by the controller. Alternatively, the conversion step can be implemented in a software management layer, such as a flash translation layer, or a flash file system.

【0024】[0024]

在此提供TLC記憶裝置的操作方法的寫入處理的範例,如第5A圖~第5B圖所繪示者。如第5A圖所示,提供十六個將要被寫入的資料。這些資料包括八種編碼000、001、010、011、100、101、110及111。資料包括將要被寫入的第一寫入頁位元252、將要被寫入的第二寫入頁位元254及將要被寫入的第三寫入頁位元256。Here, an example of the writing process of the operation method of the TLC memory device is provided, as shown in FIGS. 5A to 5B. As shown in Figure 5A, sixteen pieces of data to be written are provided. These materials include eight codes 000, 001, 010, 011, 100, 101, 110 and 111. The data includes a first write page bit 252 to be written, a second write page bit 254 to be written, and a third write page bit 256 to be written.

【0025】[0025]

計算八種編碼000、001、010、011、100、101、110及111的數目。結果為二個編碼000、四個編碼001、二個編碼010、一個編碼011、一個編碼100、三個編碼101、二個編碼110、一個編碼111。也就是說,將編碼從數目最多往最少排序的話為001、101、000、010、110、011、100、111。The number of eight codes 000, 001, 010, 011, 100, 101, 110, and 111 is calculated. The result is two codes 000, four codes 001, two codes 010, one code 011, one code 100, three codes 101, two codes 110, and one code 111. That is to say, the codes are sorted from the most to the least to 001, 101, 000, 010, 110, 011, 100, 111.

【0026】[0026]

在此,提供八個驗證電壓準位,包括第一驗證電壓準位、第二驗證電壓準位、第三驗證電壓準位、第四驗證電壓準位、第五驗證電壓準位、第六驗證電壓準位、第七驗證電壓準位及第八驗證電壓準位。在預設對映規則中,第一驗證電壓準位對應至編碼011,第二驗證電壓準位對應至編碼010,第三驗證電壓準位對應至編碼000,第四驗證電壓準位對應至編碼001,第五驗證電壓準位對應至編碼101,第六驗證電壓準位對應至編碼100,第七驗證電壓準位對應至編碼110,第八驗證電壓準位對應至編碼111。Here, eight verification voltage levels are provided, including a first verification voltage level, a second verification voltage level, a third verification voltage level, a fourth verification voltage level, a fifth verification voltage level, and a sixth verification. Voltage level, seventh verification voltage level and eighth verification voltage level. In the preset mapping rule, the first verification voltage level corresponds to the code 011, the second verification voltage level corresponds to the code 010, the third verification voltage level corresponds to the code 000, and the fourth verification voltage level corresponds to the code 001, the fifth verification voltage level corresponds to the code 101, the sixth verification voltage level corresponds to the code 100, the seventh verification voltage level corresponds to the code 110, and the eighth verification voltage level corresponds to the code 111.

【0027】[0027]

在一範例中,由於數目最多的編碼為編碼001,編碼001係對映至第一驗證電壓準位。編碼101、000、010、110、011、100及111則分別對映至第二驗證電壓準位、第三驗證電壓準位、第四驗證電壓準位、第五驗證電壓準位、第六驗證電壓準位、第七驗證電壓準位及第八驗證電壓準位。接著,可將編碼000、001、010、011、100、101、110及111轉換成編碼000、011、001、100、110、010、101及111,並寫入至TLC記憶裝置的陣列中。寫入的結果示於第5B圖,其中寫入的第一寫入頁位元258、寫入的第二寫入頁位元260及寫入的第三寫入頁位元262不同於原始將要被寫入的第一寫入頁位元252、原始將要被寫入的第二寫入頁位元254及原始將要被寫入的第三寫入頁位元256。使用者可依其需求選擇對映規則。In an example, since the most numbered code is code 001, the code 001 is mapped to the first verify voltage level. Codes 101, 000, 010, 110, 011, 100, and 111 are respectively mapped to a second verification voltage level, a third verification voltage level, a fourth verification voltage level, a fifth verification voltage level, and a sixth verification. Voltage level, seventh verification voltage level and eighth verification voltage level. Next, the codes 000, 001, 010, 011, 100, 101, 110, and 111 can be converted into codes 000, 011, 001, 100, 110, 010, 101, and 111, and written into the array of the TLC memory device. The result of the write is shown in Figure 5B, where the first write page bit 258, the written second write page bit 260, and the written third write page bit 262 are different from the original The first write page bit 252 to be written, the second write page bit 254 to be originally written, and the third write page bit 256 to be written originally. Users can choose the mapping rules according to their needs.

【0028】[0028]

第6圖為根據一實施例的TLC記憶裝置的操作方法的讀取處理的流程圖。首先,在步驟S232,由控制器讀取對映規則。在步驟S234,根據對映規則自TLC記憶裝置的記憶體陣列讀取資料。在對映規則中,依序由低至高排列的第一驗證電壓準位、第二驗證電壓準位、第三驗證電壓準位、第四驗證電壓準位、第五驗證電壓準位、第六驗證電壓準位、第七驗證電壓準位及第八驗證電壓準位各對映至第一編碼、第二編碼、第三編碼、第四編碼、第五編碼、第六編碼、第七編碼及第八編碼的其中一者。之後,在步驟S236,輸出資料。在一些範例中,於輸出資料之前,自TLC記憶裝置的記憶體陣列所讀取的資料可先由控制器、快閃轉譯層或快閃檔案系統轉換。Fig. 6 is a flow chart showing the reading process of the operation method of the TLC memory device according to an embodiment. First, in step S232, the mapping rule is read by the controller. In step S234, data is read from the memory array of the TLC memory device according to the mapping rule. In the mapping rule, the first verification voltage level, the second verification voltage level, the third verification voltage level, the fourth verification voltage level, the fifth verification voltage level, and the sixth are sequentially arranged from low to high. Verifying that the voltage level, the seventh verifying voltage level, and the eighth verifying voltage level are respectively mapped to the first code, the second code, the third code, the fourth code, the fifth code, the sixth code, the seventh code, and One of the eighth codes. Thereafter, in step S236, the material is output. In some examples, data read from the memory array of the TLC memory device may be converted by the controller, flash translation layer, or flash file system prior to outputting the data.

【0029】[0029]

在以上的實施例中,資料是已經決定好的。然而,在某些情況下,資料可能還未底定,並可能根據使用者的輸入而改變。在接下來的內容中,將例示性地提供TLC記憶裝置的操作方法的一實施例。In the above embodiments, the information has been determined. However, in some cases, the data may not be finalized and may change depending on the user's input. In the following, an embodiment of an operation method of the TLC memory device will be exemplarily provided.

【0030】[0030]

第7圖為根據此一實施例的TLC記憶裝置的操作方法的寫入處理的流程圖。此一寫入處理包括寫入複數資料的第一寫入頁位元至TLC記憶裝置的第一寫入頁的步驟S302、寫入這些資料的第二寫入頁位元至TLC記憶裝置的第二寫入頁的步驟S304、以及寫入這些資料的第三寫入頁位元至TLC記憶裝置的第三寫入頁的步驟S306。Fig. 7 is a flow chart showing the writing process of the operation method of the TLC memory device according to this embodiment. The write processing includes a step S302 of writing a first write page bit of the complex material to the first write page of the TLC memory device, and a second write page bit writing the data to the TLC memory device. Step S304 of writing a page, and step S306 of writing a third write page bit of the material to a third write page of the TLC memory device.

【0031】[0031]

在步驟S302,首先,提供複數資料的複數第一寫入頁位元,如步驟S308。這些第一寫入頁位元包括編碼0及編碼1。在步驟S310,由一控制器計算第一寫入頁位元中編碼0及編碼1各自的數目。在步驟S312,根據第一寫入頁位元中編碼0及編碼1各自的數目由控制器產生一第一對映規則。接著,在步驟S314,根據第一對映規則寫入第一寫入頁位元至TLC記憶裝置的一第一寫入頁中。In step S302, first, a plurality of first write page bits of the plurality of materials are provided, as by step S308. These first write page bits include code 0 and code 1. In step S310, the number of codes 0 and 1 in the first written page bit is calculated by a controller. In step S312, a first mapping rule is generated by the controller according to the respective numbers of the encoding 0 and the encoding 1 in the first written page bit. Next, in step S314, the first write page bit is written into a first write page of the TLC memory device according to the first mapping rule.

【0032】[0032]

在步驟S304,首先,提供這些資料的複數第二寫入頁位元,如步驟S316。這些第二寫入頁位元包括編碼0及編碼1。在步驟S318,於第一寫入頁位元的編碼0及編碼1各者之下,由控制器計算第二寫入頁位元中編碼0及編碼1各自的數目。在步驟S320,根據第二寫入頁位元中編碼0及編碼1各自的數目由控制器產生一第二對映規則。接著,在步驟S322,根據第二對映規則寫入第二寫入頁位元至TLC記憶裝置的一第二寫入頁中。In step S304, first, a plurality of second write page bits of the material are provided, as by step S316. These second write page bits include code 0 and code 1. In step S318, under each of the code 0 and the code 1 of the first page bit, the controller calculates the number of codes 0 and 1 in the second page bit. In step S320, a second mapping rule is generated by the controller according to the respective numbers of the encoding 0 and the encoding 1 in the second written page bit. Next, in step S322, the second write page bit is written into a second write page of the TLC memory device according to the second mapping rule.

【0033】[0033]

在步驟S306,首先,提供這些資料的複數第三寫入頁位元,如步驟S324。這些第三寫入頁位元包括編碼0及編碼1。在步驟S326,於第一寫入頁位元的編碼0及編碼1各者以及第二寫入頁位元的編碼0及編碼1各者之下,由控制器計算第三寫入頁位元中編碼0及編碼1各自的數目。在步驟S328,根據第三寫入頁位元中編碼0及編碼1各自的數目由控制器產生一第三對映規則。接著,在步驟S330,根據第三對映規則寫入第三寫入頁位元至TLC記憶裝置的一第三寫入頁中。In step S306, first, a plurality of third write page bits of the material are provided, as by step S324. These third write page bits include code 0 and code 1. In step S326, the third write page bit is calculated by the controller under each of the code 0 and the code 1 of the first write page bit and the code 0 and the code 1 of the second write page bit. The number of codes 0 and 1 is the same. In step S328, a third mapping rule is generated by the controller according to the respective numbers of the encoding 0 and the encoding 1 in the third written page bit. Next, in step S330, the third write page bit is written into a third write page of the TLC memory device according to the third mapping rule.

【0034】[0034]

在此提供根據此一實施例的TLC記憶裝置操作方法的寫入處理的範例,如第8A圖~第8F圖所繪示者。在此一範例中,提供十六個將要被寫入的資料。在預設對映規則中,第一驗證電壓準位對應至編碼011,第二驗證電壓準位對應至編碼010,第三驗證電壓準位對應至編碼000,第四驗證電壓準位對應至編碼001,第五驗證電壓準位對應至編碼101,第六驗證電壓準位對應至編碼100,第七驗證電壓準位對應至編碼110,第八驗證電壓準位對應至編碼111。An example of the write processing of the TLC memory device operation method according to this embodiment is provided herein, as shown in FIGS. 8A to 8F. In this example, sixteen pieces of data to be written are provided. In the preset mapping rule, the first verification voltage level corresponds to the code 011, the second verification voltage level corresponds to the code 010, the third verification voltage level corresponds to the code 000, and the fourth verification voltage level corresponds to the code 001, the fifth verification voltage level corresponds to the code 101, the sixth verification voltage level corresponds to the code 100, the seventh verification voltage level corresponds to the code 110, and the eighth verification voltage level corresponds to the code 111.

【0035】[0035]

請參照第8A圖,首先提供將要被寫入的資料的第一寫入頁位元352。將要被寫入的第一寫入頁位元352包括編碼0及1。計算編碼0及編碼1的數目。結果為九個編碼0及七個編碼1。由於編碼0的數目多於編碼1的數目,不須將它們轉換。接著,編碼0係對映至一第一驗證電壓準位(EV),編碼1係對映至一第五驗證電壓準位(PV4)。寫入的第一寫入頁位元354示於第8B圖。Referring to Figure 8A, a first write page bit 352 of the material to be written is first provided. The first write page bit 352 to be written includes codes 0 and 1. Calculate the number of codes 0 and 1 . The result is nine codes of 0 and seven codes of 1. Since the number of codes 0 is more than the number of codes 1, it is not necessary to convert them. Next, the code 0 is mapped to a first verify voltage level (EV), and the code 1 is mapped to a fifth verify voltage level (PV4). The first written page bit 354 written is shown in Figure 8B.

【0036】[0036]

請參照第8C圖,提供將要被寫入的第二寫入頁位元356。將要被寫入的第二寫入頁位元356包括編碼0及1。將要被寫入的第二寫入頁位元356係根據對應的第一寫入頁位元354分成兩個群組A1及A2。計算第一群組A1的第二寫入頁位元的編碼0及編碼1的數目。結果為六個編碼0及三個編碼1。由於編碼0的數目多於編碼1的數目,將編碼0及編碼1轉換。轉換後的編碼00維持在第一驗證電壓準位(EV),轉換後的編碼01對映至第三驗證電壓準位(PV2)。計算第二群組A2的編碼0及編碼1的數目。結果為四個編碼0及三個編碼1。由於編碼0的數目多於編碼1的數目,不須將第二群組A2的編碼0及編碼1轉換。編碼10維持在第五驗證電壓準位(PV4),編碼11對映至第七驗證電壓準位(PV6)。寫入的第二寫入頁位元358示於第8D圖。Referring to Figure 8C, a second write page bit 356 to be written is provided. The second write page bit 356 to be written includes codes 0 and 1. The second write page bit 356 to be written is divided into two groups A1 and A2 according to the corresponding first write page bit 354. The number of codes 0 and 1 of the second write page bit of the first group A1 is calculated. The result is six codes of 0 and three codes of 1. Since the number of codes 0 is more than the number of codes 1, the code 0 and the code 1 are converted. The converted code 00 is maintained at the first verify voltage level (EV), and the converted code 01 is mapped to the third verify voltage level (PV2). The number of codes 0 and 1 of the second group A2 is calculated. The result is four codes of 0 and three codes of 1. Since the number of codes 0 is more than the number of codes 1, it is not necessary to convert the code 0 and code 1 of the second group A2. Code 10 is maintained at a fifth verify voltage level (PV4) and code 11 is mapped to a seventh verify voltage level (PV6). The written second write page bit 358 is shown in Figure 8D.

【0037】[0037]

請參照第8E圖,提供將要被寫入的第三寫入頁位元360。將要被寫入的第三寫入頁位元360包括編碼0及1。將要被寫入的第三寫入頁位元360係根據對應的第一寫入頁位元354及對應的第二寫入頁位元358分成四個群組B1、B2、B3及B4。計算第一群組B1的第三寫入頁位元的編碼0及編碼1的數目。結果為四個編碼1及二個編碼0。由於編碼1的數目多於編碼0的數目,不需將它們轉換。編碼001維持在第一驗證電壓準位(EV),編碼000對映至第二驗證電壓準位(PV1)。計算第二群組B2的編碼0及編碼1的數目。結果為二個編碼0及一個編碼1。由於編碼0的數目多於編碼1的數目,不需將它們轉換。編碼010維持在第三驗證電壓準位(PV2),編碼011對映至第四驗證電壓準位(PV3)。計算第三群組B3的編碼0及編碼1的數目。結果為三個編碼0及一個編碼1。由於編碼0的數目多於編碼1的數目,將第三群組B3的編碼0及編碼1轉換。轉換後的編碼101維持在第五驗證電壓準位(PV4),轉換後的編碼100對映至一第六驗證電壓準位(PV5)。計算第四群組B4的編碼0及編碼1的數目。結果為二個編碼1及一個編碼0。由於編碼1的數目多於編碼0的數目,將第四群組B4的編碼1及編碼0轉換。轉換後的編碼110維持在第七驗證電壓準位(PV6),轉換後的編碼111對映至第八驗證電壓準位(PV7)。寫入的第三寫入頁位元362示於第8F圖。Referring to Figure 8E, a third write page bit 360 to be written is provided. The third write page bit 360 to be written includes codes 0 and 1. The third write page bit 360 to be written is divided into four groups B1, B2, B3, and B4 according to the corresponding first write page bit 354 and corresponding second write page bit 358. The number of codes 0 and 1 of the third page of the first page B1 of the first group B1 is calculated. The result is four codes 1 and two codes 0. Since the number of codes 1 is more than the number of codes 0, they need not be converted. Code 001 is maintained at a first verify voltage level (EV) and code 000 is mapped to a second verify voltage level (PV1). The number of codes 0 and 1 of the second group B2 is calculated. The result is two codes of 0 and one code of 1. Since the number of codes 0 is more than the number of codes 1, it is not necessary to convert them. The code 010 is maintained at the third verify voltage level (PV2) and the code 011 is mapped to the fourth verify voltage level (PV3). The number of codes 0 and 1 of the third group B3 is calculated. The result is three codes of 0 and one code of 1. Since the number of codes 0 is more than the number of codes 1, the code 0 and code 1 of the third group B3 are converted. The converted code 101 is maintained at a fifth verify voltage level (PV4), and the converted code 100 is mapped to a sixth verify voltage level (PV5). The number of codes 0 and 1 of the fourth group B4 is calculated. The result is two codes 1 and one code 0. Since the number of codes 1 is more than the number of codes 0, the code 1 and code 0 of the fourth group B4 are converted. The converted code 110 is maintained at the seventh verify voltage level (PV6), and the converted code 111 is mapped to the eighth verify voltage level (PV7). The written third write page bit 362 is shown in Figure 8F.

【0038】[0038]

對映規則可儲存在TLC記憶裝置或外部記憶體中。第一寫入頁的對映規則需要一個位元,第二寫入頁的對映規則需要二個位元,第三寫入頁的對映規則需要四個位元。總合起來,只要使用一個位元組。The mapping rules can be stored in a TLC memory device or external memory. The mapping rule of the first write page requires one bit, the mapping rule of the second write page requires two bits, and the mapping rule of the third write page requires four bits. Take it all together, just use one byte.

【0039】[0039]

第9圖為根據此一實施例的TLC記憶裝置的操作方法的讀取處理的流程圖。在步驟S332,由控制器取得第一對映規則、第二對映規則及第三對映規則。在步驟S334,根據第一對映規則、第二對映規則及第三對映規則自TLC記憶裝置讀取資料的第一寫入頁位元、第二寫入頁位元及第三寫入頁位元。之後,在步驟S336,輸出資料。在一些範例中,只需要第一寫入頁位元、第二寫入頁位元或第三寫入頁位元。此時,由控制器只取得對應的第一對映規則、第二對映規則或第三對映規則,且只根據對應的對映規則讀取需要的位元。Fig. 9 is a flow chart showing the reading process of the operation method of the TLC memory device according to this embodiment. In step S332, the first mapping rule, the second mapping rule, and the third mapping rule are obtained by the controller. In step S334, the first write page bit, the second write page bit, and the third write of the data are read from the TLC memory device according to the first mapping rule, the second mapping rule, and the third mapping rule. Page bit. Thereafter, in step S336, the material is output. In some examples, only the first write page bit, the second write page bit, or the third write page bit are required. At this time, the controller only obtains the corresponding first mapping rule, second mapping rule or third mapping rule, and only reads the required bits according to the corresponding mapping rule.

【0040】[0040]

在上述的實施例中,因為記憶胞的對映,減少了將慢記憶胞寫入至較高的臨界電壓狀態(例如第四驗證電壓準位或第八驗證電壓準位)的機率。因此,降低了由慢記憶胞所造成的寫入干擾。此外,也降低了由通過電壓Vpass 所造成的干擾。根據上述實施例的操作方法可用於快閃記憶裝置。雖然上述實施例係以MLC及TLC記憶裝置為例,其他記憶裝置(例如四階儲存式(Quad-Level-Cell, QLC)記憶裝置)也可以採取類似的操作方法。或者,這些方法可用於先進的記憶裝置,例如相變化隨機存取記憶體(PRAM)或相變化記憶體(PCM)。In the above embodiment, the probability of writing the slow memory cell to a higher threshold voltage state (e.g., the fourth verify voltage level or the eighth verify voltage level) is reduced because of the mapping of the memory cells. Therefore, write disturbance caused by slow memory cells is reduced. In addition, the interference caused by the pass voltage Vpass is also reduced. The operation method according to the above embodiment can be applied to a flash memory device. Although the above embodiment uses the MLC and TLC memory devices as an example, other memory devices (such as a Quad-Level-Cell (QLC) memory device) can adopt a similar operation method. Alternatively, these methods can be used with advanced memory devices such as phase change random access memory (PRAM) or phase change memory (PCM).

【0041】[0041]

綜上所述,雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明。本發明所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾。因此,本發明之保護範圍當視後附之申請專利範圍所界定者為準。In conclusion, the present invention has been disclosed in the above preferred embodiments, and is not intended to limit the present invention. A person skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims.

S102、S104、S106、S108‧‧‧步驟 S102, S104, S106, S108‧‧‧ steps

Claims (9)

【第1項】[Item 1] 一種記憶裝置的操作方法,包括:
寫入一記憶裝置,包括:
提供複數資料至一控制器,該些資料包括複數編碼(code);
由該控制器計算該些編碼各自的數目;
根據該些編碼各自的數目由該控制器產生一對映規則(mapping rule),其中,在該對映規則中,該些編碼各對映至依序由低至高排列的複數驗證電壓準位(verifying voltage level)的其中一者;以及
根據該對映規則寫入該些資料至該記憶裝置的一記憶體陣列中。
A method of operating a memory device, comprising:
Write to a memory device, including:
Providing plural data to a controller, the data including a complex code;
Calculating the respective numbers of the codes by the controller;
A mapping rule is generated by the controller according to the respective numbers of the codes, wherein, in the mapping rule, the codes are respectively mapped to a complex verification voltage level sequentially arranged from low to high ( One of verifying voltage levels; and writing the data to a memory array of the memory device according to the mapping rule.
【第2項】[Item 2] 如申請專利範圍第1項所述之操作方法,其中該些編碼包括第一編碼、第二編碼、第三編碼及第四編碼,該第一編碼、該第二編碼、該第三編碼及該第四編碼為二位元,且其中在該對映規則中,該第一編碼、該第二編碼、該第三編碼及該第四編碼各對映至依序由低至高排列的第一驗證電壓準位、第二驗證電壓準位、第三驗證電壓準位及第四驗證電壓準位的其中一者。The operation method of claim 1, wherein the codes include a first code, a second code, a third code, and a fourth code, the first code, the second code, the third code, and the The fourth code is a two-bit, and wherein in the mapping rule, the first code, the second code, the third code, and the fourth code are each mapped to a first verification that is sequentially arranged from low to high. One of a voltage level, a second verification voltage level, a third verification voltage level, and a fourth verification voltage level. 【第3項】[Item 3] 如申請專利範圍第2項所述之操作方法,其中,在該對映規則中,該第一編碼、該第二編碼、該第三編碼及該第四編碼中數目最大的一者係對映至該第一驗證電壓準位。The method of operation of claim 2, wherein in the mapping rule, one of the first number, the second code, the third code, and the fourth code is the largest one Up to the first verification voltage level. 【第4項】[Item 4] 如申請專利範圍第2項所述之操作方法,其中,在該對映規則中,該第一編碼、該第二編碼、該第三編碼及該第四編碼中數目最大的一者係對映至該第二驗證電壓準位。The method of operation of claim 2, wherein in the mapping rule, one of the first number, the second code, the third code, and the fourth code is the largest one Up to the second verification voltage level. 【第5項】[Item 5] 如申請專利範圍第1項所述之操作方法,其中該些編碼包括第一編碼、第二編碼、第三編碼、第四編碼、第五編碼、第六編碼、第七編碼及第八編碼,該第一編碼、該第二編碼、該第三編碼、該第四編碼、該第五編碼、該第六編碼、該第七編碼及該第八編碼為三位元,且其中在該對映規則中,該第一編碼、該第二編碼、該第三編碼、該第四編碼、該第五編碼、該第六編碼、該第七編碼及該第八編碼各對映至依序由低至高排列的第一驗證電壓準位、第二驗證電壓準位、第三驗證電壓準位、第四驗證電壓準位、第五驗證電壓準位、第六驗證電壓準位、第七驗證電壓準位及第八驗證電壓準位的其中一者。The operating method of claim 1, wherein the encoding comprises a first encoding, a second encoding, a third encoding, a fourth encoding, a fifth encoding, a sixth encoding, a seventh encoding, and an eighth encoding, The first code, the second code, the third code, the fourth code, the fifth code, the sixth code, the seventh code, and the eighth code are three bits, and wherein the pair is In the rule, the first code, the second code, the third code, the fourth code, the fifth code, the sixth code, the seventh code, and the eighth code are respectively mapped to a lower order a first verification voltage level, a second verification voltage level, a third verification voltage level, a fourth verification voltage level, a fifth verification voltage level, a sixth verification voltage level, and a seventh verification voltage level One of the bit and the eighth verification voltage level. 【第6項】[Item 6] 如申請專利範圍第1項所述之操作方法,更包括:
讀取該記憶裝置,包括:
由該控制器取得該對映規則;
根據該對映規則自該記憶裝置的該記憶體陣列讀取該些資料,其中,在該對映規則中,依序由低至高排列的該些驗證電壓準位各對映至該些編碼的其中一者;以及
輸出該些資料。
For example, the operation method described in claim 1 of the patent scope further includes:
Reading the memory device, including:
Obtaining the mapping rule by the controller;
And reading the data from the memory array of the memory device according to the mapping rule, wherein, in the mapping rule, the verify voltage levels sequentially arranged from low to high are respectively mapped to the codes One of them; and output the information.
【第7項】[Item 7] 一種記憶裝置的操作方法,包括:
寫入一記憶裝置,包括:
提供複數資料的複數第一寫入頁位元,其中,該些第一寫入頁位元包括編碼0及編碼1;
由一控制器計算該些第一寫入頁位元中該編碼0及該編碼1各自的數目;
根據該些第一寫入頁位元中該編碼0及該編碼1各自的數目由該控制器產生一第一對映規則;
根據該第一對映規則寫入該些第一寫入頁位元至該記憶裝置的一第一寫入頁中;
提供該些資料的複數第二寫入頁位元,其中,該些第二寫入頁位元包括編碼0及編碼1;
在該些第一寫入頁位元的該編碼0及該編碼1各者之下,由該控制器計算該些第二寫入頁位元中該編碼0及該編碼1各自的數目;
根據該些第二寫入頁位元中該編碼0及該編碼1各自的數目由該控制器產生一第二對映規則;
根據該第二對映規則寫入該些第二寫入頁位元至該記憶裝置的一第二寫入頁中;
提供該些資料的複數第三寫入頁位元,其中,該些第三寫入頁位元包括編碼0及編碼1;
在該些第一寫入頁位元的該編碼0及該編碼1各者以及該些第二寫入頁位元的該編碼0及該編碼1各者之下,由該控制器計算該些第三寫入頁位元中該編碼0及該編碼1各自的數目;
根據該些第三寫入頁位元中該編碼0及該編碼1各自的數目由該控制器產生一第三對映規則;以及
根據該第三對映規則寫入該些第三寫入頁位元至該記憶裝置的一第三寫入頁中。
A method of operating a memory device, comprising:
Write to a memory device, including:
Providing a plurality of first write page bits of the plurality of data, wherein the first write page bits include code 0 and code 1;
Calculating, by a controller, the number of each of the code 0 and the code 1 in the first write page bit;
Generating a first mapping rule by the controller according to the number of the code 0 and the code 1 in the first write page bit;
Writing the first write page bits to a first write page of the memory device according to the first mapping rule;
Providing a plurality of second write page bits of the data, wherein the second write page bits include code 0 and code 1;
Under the code 0 and the code 1 of the first write page bit, the controller calculates the number of each of the code 0 and the code 1 in the second page write bits;
Generating a second mapping rule by the controller according to the number of the code 0 and the code 1 in the second write page bit;
Writing the second write page bits to a second write page of the memory device according to the second mapping rule;
Providing a plurality of third write page bits of the data, wherein the third write page bits include code 0 and code 1;
The controller calculates the number of the code 0 and the code 1 and the code 0 and the code 1 of the second write page bit. The number of the code 0 and the code 1 in the third write page bit;
Generating a third mapping rule by the controller according to the number of the code 0 and the code 1 in the third write page bit; and writing the third write page according to the third mapping rule The bit is in a third write page of the memory device.
【第8項】[Item 8] 如申請專利範圍第7項所述之操作方法,更包括:
讀取該記憶裝置,包括:
由該控制器取得該第一對映規則、該第二對映規則及該第三對映規則;
根據該第一對映規則、該第二對映規則及該第三對映規則自該記憶裝置讀取該些資料的該些第一寫入頁位元、該些第二寫入頁位元及該些第三寫入頁位元;以及
輸出該些資料。
For example, the operation method described in claim 7 of the patent scope further includes:
Reading the memory device, including:
Obtaining, by the controller, the first mapping rule, the second mapping rule, and the third mapping rule;
Reading the first write page bits and the second write page bits of the data from the memory device according to the first mapping rule, the second mapping rule, and the third mapping rule And the third write page bit; and outputting the data.
【第9項】[Item 9] 如申請專利範圍第7項所述之操作方法,更包括:
讀取該記憶裝置,包括:
由該控制器取得該第一對映規則、該第二對映規則或該第三對映規則;
根據該第一對映規則、該第二對映規則或該第三對映規則自該記憶裝置讀取對應的該些資料的該些第一寫入頁位元、該些第二寫入頁位元或該些第三寫入頁位元;以及
輸出該些資料的該些第一寫入頁位元、該些第二寫入頁位元或該些第三寫入頁位元。
For example, the operation method described in claim 7 of the patent scope further includes:
Reading the memory device, including:
Obtaining, by the controller, the first mapping rule, the second mapping rule, or the third mapping rule;
Reading the first write page bits, the second write pages of the corresponding materials from the memory device according to the first mapping rule, the second mapping rule, or the third mapping rule a bit or the third write page bit; and the first write page bit, the second write page bit or the third write page bit that output the data.
TW103137130A 2014-10-28 2014-10-28 Operation method for memory device TWI543170B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103137130A TWI543170B (en) 2014-10-28 2014-10-28 Operation method for memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103137130A TWI543170B (en) 2014-10-28 2014-10-28 Operation method for memory device

Publications (2)

Publication Number Publication Date
TW201616506A TW201616506A (en) 2016-05-01
TWI543170B true TWI543170B (en) 2016-07-21

Family

ID=56508631

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103137130A TWI543170B (en) 2014-10-28 2014-10-28 Operation method for memory device

Country Status (1)

Country Link
TW (1) TWI543170B (en)

Also Published As

Publication number Publication date
TW201616506A (en) 2016-05-01

Similar Documents

Publication Publication Date Title
US11763883B2 (en) Nonvolatile memory and writing method
TWI545580B (en) Method for generating random number, memory storage device and control circuit
US9858993B2 (en) Non-volatile memory device and method of programming the same
JP5944941B2 (en) Method and apparatus for storing data in a multi-level cell flash memory device using cross-page sector, multi-page encoding and per-page encoding
US8825945B2 (en) Mapping different portions of data to different pages of multi-level non-volatile memory
US20140029338A1 (en) Storage at m bits/cell density in n bits/cell analog memory cell devices, m>n
US10283216B2 (en) Data storage device and data maintenance method thereof
US8386884B2 (en) Memory apparatus with multi-level cells and operation method thereof
CN101533671B (en) Non-volatile memory device and method of operating the same
KR20140008705A (en) Non_volatile memory device and memory system having the same and memory management, erase and programming methods thereof
JP2012079403A5 (en)
JP2011165301A (en) Flash memory device and reading-out method thereof
CN101833996A (en) Non-volatile memory device and read method thereof
US9230664B2 (en) Nonvolatile memory and data writing method
US20130104000A1 (en) Nibble encoding for improved reliability of non-volatile memory
KR101348354B1 (en) Method of reading page data of nand flash memory device
KR20120138895A (en) Data storage system having multi-level memory device and operating method thereof
CN109949839A (en) The operating method of Memory Controller and Memory Controller
US8949686B1 (en) Protection against word line failure in memory devices
KR102211220B1 (en) Semiconductor device and operating method thereof
TWI543170B (en) Operation method for memory device
JP6710298B2 (en) Memory system
US9305638B1 (en) Operation method for memory device
CN105632554B (en) The operating method of storage device
US20150254131A1 (en) Memory controller, storage device and memory control method