TWI602190B - Memory control method and memory device - Google Patents

Memory control method and memory device Download PDF

Info

Publication number
TWI602190B
TWI602190B TW105142576A TW105142576A TWI602190B TW I602190 B TWI602190 B TW I602190B TW 105142576 A TW105142576 A TW 105142576A TW 105142576 A TW105142576 A TW 105142576A TW I602190 B TWI602190 B TW I602190B
Authority
TW
Taiwan
Prior art keywords
ecc
control parameter
memory
volatile
control
Prior art date
Application number
TW105142576A
Other languages
Chinese (zh)
Other versions
TW201824292A (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 TW105142576A priority Critical patent/TWI602190B/en
Application granted granted Critical
Publication of TWI602190B publication Critical patent/TWI602190B/en
Publication of TW201824292A publication Critical patent/TW201824292A/en

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Description

記憶體控制方法、記憶體裝置Memory control method, memory device

本發明是有關於一種記憶體控制方法、記憶體裝置。The present invention relates to a memory control method and a memory device.

錯誤更正碼(Error Correcting Codes, ECC)是一種用來更正資料錯誤的技術,其廣泛地被應用在通訊、資料儲存等領域。藉由在原始資料上附加額外的ECC資料,即便資料在傳輸的過程中受到外界的干擾或雜訊,接收端仍可憑藉ECC資料將發生錯誤的資料更正回原本正確的資料,進而降低資料錯誤率。Error Correcting Codes (ECC) is a technique used to correct data errors and is widely used in communications and data storage. By attaching additional ECC data to the original data, even if the data is subject to external interference or noise during the transmission process, the receiving end can use the ECC data to correct the error data to the original correct data, thereby reducing the data error. rate.

然而,系統執行ECC處理需耗費額外的時間來進行資料的比對以及更正,使得系統的整體效能降低。因此,有需要提出一種新的技術來解決上述議題。However, it takes extra time for the system to perform ECC processing to compare and correct the data, which reduces the overall performance of the system. Therefore, there is a need to propose a new technology to solve the above problems.

本發明提供一種記憶體控制方法以及記憶體裝置,可依需求開啟或關閉記憶體裝置的錯誤更正碼(Error Correcting Codes, ECC)功能,使系統在運行效能與資料正確性上取得較佳的平衡。本發明亦利用儲存在非揮發性記憶區域的控制參數以及儲存在揮發性記憶區域的控制參數來產生ECC控制參數,進而改善開關ECC功能的可靠度。The invention provides a memory control method and a memory device, which can turn on or off the error correction code (ECC) function of the memory device according to requirements, so that the system achieves a better balance between the running performance and the data correctness. . The present invention also utilizes control parameters stored in the non-volatile memory region and control parameters stored in the volatile memory region to generate ECC control parameters, thereby improving the reliability of the switch ECC function.

根據本發明之一實施例,提出一種記憶體控制方法,適用於一記憶體裝置,包括:依據一非揮發性控制參數以及一揮發性控制參數產生一ECC控制參數,其中該非揮發性控制參數儲存於該記憶體裝置中的一非揮發性記憶區域,該揮發性控制參數儲存於該記憶體裝置中的一揮發性記憶區域;以及依據該ECC控制參數控制一ECC功能,使得存取自一記憶胞陣列的一儲存位置的資料經過或不經過ECC功能處理。According to an embodiment of the present invention, a memory control method is provided, which is applicable to a memory device, including: generating an ECC control parameter according to a non-volatile control parameter and a volatile control parameter, wherein the non-volatile control parameter is stored And in a non-volatile memory area of the memory device, the volatile control parameter is stored in a volatile memory area in the memory device; and an ECC function is controlled according to the ECC control parameter, so that the access is from a memory. The data of a storage location of the cell array is processed with or without ECC functionality.

根據本發明之一實施例,提出一種記憶體裝置,包括一記憶胞陣列、一控制電路、一ECC更正邏輯以及一ECC控制邏輯。控制電路耦接該記憶體陣列,用以回應一記憶體控制器的控制指令,對該記憶胞陣列中的一儲存位置進行資料讀寫。ECC更正邏輯耦接該記憶體陣列,用以執行一ECC功能。ECC控制邏輯耦接該ECC更正邏輯,用以依據一非揮發性控制參數以及一揮發性控制參數產生一ECC控制參數,並依據該ECC控制參數控制該ECC更正邏輯的該ECC功能,使得存取自該儲存位置的資料經過或不經過該ECC功能處理;其中該非揮發性控制參數儲存於該記憶體中的一非揮發性記憶區域,該揮發性控制參數儲存於該記憶體中的一揮發性記憶區域。In accordance with an embodiment of the present invention, a memory device is provided that includes a memory cell array, a control circuit, an ECC correction logic, and an ECC control logic. The control circuit is coupled to the memory array for reading and writing data to a storage location in the memory cell array in response to a memory controller control command. The ECC correction logic is coupled to the memory array for performing an ECC function. The ECC control logic is coupled to the ECC correction logic for generating an ECC control parameter according to a non-volatile control parameter and a volatile control parameter, and controlling the ECC function of the ECC correction logic according to the ECC control parameter to enable access The data from the storage location is processed or not subjected to the ECC function; wherein the non-volatile control parameter is stored in a non-volatile memory region of the memory, and the volatile control parameter is stored in the memory. Memory area.

為了對本發明之上述及其他方面有更佳的瞭解,下文特舉較佳實施例,並配合所附圖式,作詳細說明如下: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:

在本文中,參照所附圖式仔細地描述本發明的一些實施例,但不是所有實施例都有表示在圖示中。實際上,這些發明可使用多種不同的變形,且並不限於本文中的實施例。相對的,本揭露提供這些實施例以滿足應用的法定要求。圖式中相同的參考符號用來表示相同或相似的元件。In the present description, some embodiments of the invention are described in detail with reference to the drawings, but not all embodiments are illustrated in the drawings. In fact, these inventions may use a variety of different variations and are not limited to the embodiments herein. In contrast, the present disclosure provides these embodiments to meet the statutory requirements of the application. The same reference symbols are used in the drawings to refer to the same or similar elements.

第1圖繪示依據本發明一實施例之記憶體系統100之方塊圖。記憶體系統100包括記憶體控制器102、第一記憶體裝置104、第二記憶體裝置106以及輸入輸出(I/O)模組108。記憶體控制器102例如是微控制器(MCU),可透過系統匯流排與第一記憶體裝置104、第二記憶體裝置106以及輸入輸出模組108進行訊號傳輸。1 is a block diagram of a memory system 100 in accordance with an embodiment of the present invention. The memory system 100 includes a memory controller 102, a first memory device 104, a second memory device 106, and an input/output (I/O) module 108. The memory controller 102 is, for example, a microcontroller (MCU) that can transmit signals through the system bus and the first memory device 104, the second memory device 106, and the input/output module 108.

第一記憶體裝置104例如是一揮發性記憶體,像是動態隨機存取記憶體(Dynamic Random Access Memory, DRAM)或靜態隨機存取記憶體(Static Random Access Memory, SRAM)。第二記憶體裝置106例如是一非揮發性記憶體,像是快閃記憶體(flash memory)。輸入輸出模組108例如是一資料傳輸埠。The first memory device 104 is, for example, a volatile memory such as a dynamic random access memory (DRAM) or a static random access memory (SRAM). The second memory device 106 is, for example, a non-volatile memory such as a flash memory. The input/output module 108 is, for example, a data transmission port.

第二記憶體裝置106可儲存記憶體控制器102執行功能所需的資料(如韌體碼或程式碼)。在一實施例中,當記憶體系統100電源開啟(power on),記憶體控制器102將初始至一低效能模式,並執行一硬體線路啟動碼(hard-wired boot code),以將第二記憶體裝置106上的資料下載至第一記憶體裝置104。接著,記憶體控制器102將切換至一高效能模式,並執行第一記憶體裝置104上的資料,以執行快速的取碼(code fetching)。又一實施例中,記憶體控制器102可直接自第二記憶體裝置106運行程式碼以執行相關功能。The second memory device 106 can store data (such as firmware code or code) required by the memory controller 102 to perform functions. In one embodiment, when the memory system 100 is powered on, the memory controller 102 will initially initiate a low-performance mode and execute a hard-wired boot code to The data on the two memory devices 106 is downloaded to the first memory device 104. Next, the memory controller 102 will switch to a high performance mode and execute the data on the first memory device 104 to perform fast fetching. In yet another embodiment, the memory controller 102 can run the code directly from the second memory device 106 to perform related functions.

記憶體控制器102在操作過程中可對第一記憶體裝置104或第二記憶體裝置106存取資料。過程中,第一記憶體裝置104或第二記憶體裝置106可基於記憶體控制器102的規劃,選擇對存取資料執行ECC處理以確保資料的正確性,或是選擇不執行ECC處理以提升系統效能。所述的ECC處理(基於ECC功能的處理)可基於任意的ECC演算法來進行,如漢明碼(Hamming code)演算法、BCH碼演算法等,可產生對應原始資料的ECC資料,並在事後基於該ECC資料更正資料中的錯誤。The memory controller 102 can access data to the first memory device 104 or the second memory device 106 during operation. During the process, the first memory device 104 or the second memory device 106 may select to perform ECC processing on the access data to ensure the correctness of the data based on the planning of the memory controller 102, or select not to perform ECC processing to improve System performance. The ECC processing (the processing based on the ECC function) can be performed based on an arbitrary ECC algorithm, such as a Hamming code algorithm, a BCH code algorithm, etc., which can generate ECC data corresponding to the original data, and after the event Correct errors in the data based on the ECC data.

在一實施例中,記憶體控制器102可依據所欲存取資料的類型,規劃記憶體裝置是否需對該存取資料執行ECC處理。舉例來說,記憶體控制器102可規劃第二記憶體裝置106在讀/寫錯誤容忍度較高的資料(如語音資料)時,關閉ECC功能以停止對資料作ECC處理,藉此提升整體系統效能;記憶體控制器102亦可規劃第二記憶體裝置106在讀/寫錯誤容忍較低的資料時,對該資料執行ECC處理以確保資料的正確性。In an embodiment, the memory controller 102 can plan whether the memory device needs to perform ECC processing on the access data according to the type of data to be accessed. For example, the memory controller 102 can plan the second memory device 106 to turn off the ECC function to stop ECC processing the data when the read/write error tolerance data (such as voice data) is high, thereby improving the overall system. The memory controller 102 can also schedule the second memory device 106 to perform ECC processing on the data to ensure the correctness of the data when the read/write error tolerates lower data.

第2圖繪示具有ECC功能的記憶體裝置200的方塊圖。記憶體裝置200可以是第1圖中的第一記憶體裝置104或第二記憶體裝置106。FIG. 2 is a block diagram of a memory device 200 having an ECC function. The memory device 200 may be the first memory device 104 or the second memory device 106 in FIG.

記憶體裝置200主要包括記憶胞陣列202、控制電路204、ECC更正邏輯206以及ECC控制邏輯208,其中ECC更正邏輯206及ECC控制邏輯208可例如透過硬體邏輯電路或軟體程式來實現。The memory device 200 mainly includes a memory cell array 202, a control circuit 204, an ECC correction logic 206, and an ECC control logic 208, wherein the ECC correction logic 206 and the ECC control logic 208 can be implemented, for example, by a hardware logic circuit or a software program.

記憶體裝置200更可包括一傳輸介面210,其例如是一資料傳輸埠,主要負責記憶體裝置200與外部元件(如記憶體控制器102)之間的資料傳輸。傳輸介面210可回應控制電路204的控制訊號而開啟(致能)或關閉(禁能)。當傳輸介面210被開啟,傳輸介面210將與記憶體控制器102傳輸資料,反之則否。The memory device 200 further includes a transmission interface 210, for example, a data transmission port, which is mainly responsible for data transmission between the memory device 200 and external components such as the memory controller 102. The transmission interface 210 can be turned on (enabled) or turned off (disabled) in response to the control signal of the control circuit 204. When the transmission interface 210 is turned on, the transmission interface 210 will transmit data with the memory controller 102, and vice versa.

記憶胞陣列202中存有使用者資料以及ECC資料。舉例來說,若一欲寫入記憶胞陣列202的使用者資料係經過ECC功能處理才存入記憶胞陣列202,則記憶胞陣列202中將包括該使用者資料及其對應的ECC資料。User data and ECC data are stored in the memory cell array 202. For example, if the user data to be written into the memory cell array 202 is processed by the ECC function and stored in the memory cell array 202, the user data and its corresponding ECC data will be included in the memory cell array 202.

控制電路204耦接記憶胞陣列202,可回應記憶體控制器102的控制指令,對記憶胞陣列202中一儲存位置ADD進行資料讀寫。The control circuit 204 is coupled to the memory cell array 202 and can read and write data to a storage location ADD in the memory cell array 202 in response to the control command of the memory controller 102.

ECC更正邏輯206耦接記憶胞陣列202,用以執行一ECC功能,以對欲寫入或讀取自該儲存位置ADD的一資料進行ECC處理。舉例來說,ECC更正邏輯206可對一待寫入資料進行ECC處理,以產生對應該待寫入資料的ECC資料,並將該待寫入資料以及其該ECC資料儲存至記憶胞陣列202當中。The ECC correction logic 206 is coupled to the memory cell array 202 for performing an ECC function to perform ECC processing on a data to be written or read from the storage location ADD. For example, the ECC correction logic 206 can perform ECC processing on a data to be written to generate ECC data corresponding to the data to be written, and store the to-be-written data and the ECC data thereof into the memory cell array 202. .

ECC控制邏輯208可基於記憶體控制器102的規劃,輸出禁能(或致能)的ECC控制參數,使ECC更正邏輯206關閉(或開啟)ECC功能。The ECC control logic 208 can output an inhibited (or enabled) ECC control parameter based on the programming of the memory controller 102, causing the ECC correction logic 206 to turn the ECC function off (or on).

以一讀取操作為例,控制電路204先是回應來自記憶體控制器202的一讀取指令,自記憶胞陣列202的儲存位置ADD讀取使用者資料。此時,使用者資料與其對應的ECC資料將一併被送至ECC更正邏輯206。Taking a read operation as an example, the control circuit 204 first reads the user data from the storage location ADD of the memory cell array 202 in response to a read command from the memory controller 202. At this point, the user profile and its corresponding ECC profile will be sent to the ECC correction logic 206.

若ECC功能被開啟,ECC更正邏輯206將依據該ECC資料對使用者資料進行ECC處理,以檢查並更正資料中的錯誤。經ECC功能處理的使用者資料將經由傳輸介面210而被提供至記憶體控制器102。反之,若ECC功能被關閉,ECC更正邏輯206將不對使用者資料進行ECC處理,此時未經ECC功能處理的使用者資料將直接經由傳輸介面210而被提供至記憶體控制器102。If the ECC function is enabled, the ECC correction logic 206 will perform ECC processing on the user data based on the ECC data to check and correct errors in the data. User data processed by the ECC function will be provided to the memory controller 102 via the transport interface 210. Conversely, if the ECC function is disabled, the ECC correction logic 206 will not perform ECC processing on the user profile, and the user profile not processed by the ECC function will be provided to the memory controller 102 directly via the transmission interface 210.

對應地,在一寫入操作中,若ECC功能為開啟,ECC更正邏輯206將對一待寫入資料執行ECC處理並產生對應的ECC資料。接著,該待寫入資料及其對應的ECC資料將被寫入記憶胞陣列202。反之,若ECC功能被關閉,ECC更正邏輯206將不會對該待寫入資料執行ECC處理,故不產生對應該待寫入資料的ECC資料。此時,該待寫入資料將直接被寫入記憶胞陣列202當中。Correspondingly, in a write operation, if the ECC function is on, the ECC correction logic 206 will perform ECC processing on a to-be-written material and generate corresponding ECC data. Then, the to-be-written material and its corresponding ECC data will be written to the memory cell array 202. Conversely, if the ECC function is turned off, the ECC correction logic 206 will not perform ECC processing on the data to be written, so no ECC data corresponding to the data to be written is generated. At this time, the to-be-written data will be directly written into the memory cell array 202.

第3圖繪示依據本發明之一實施例之記憶體裝置200之局部示意圖。在第3圖的例子中,ECC控制邏輯208可產生一針對記憶胞陣列202全區的ECC控制參數。也就是說,當ECC控制邏輯208回應ECC控制參數而關閉ECC功能,所有欲寫入或讀取自記憶胞陣列202的資料皆不會經過ECC功能處理。反之,當ECC控制邏輯208回應ECC控制參數而開啟ECC功能,ECC更正邏輯206將會對所有欲寫入或讀取自記憶胞陣列202的資料執行ECC操作,而不論資料所對應的儲存位置ADD為何。FIG. 3 is a partial schematic view of a memory device 200 in accordance with an embodiment of the present invention. In the example of FIG. 3, ECC control logic 208 can generate an ECC control parameter for the entire region of memory cell array 202. That is, when the ECC control logic 208 responds to the ECC control parameters and turns off the ECC function, all data to be written or read from the memory cell array 202 is not processed by the ECC function. Conversely, when the ECC control logic 208 responds to the ECC control parameters and turns on the ECC function, the ECC correction logic 206 will perform an ECC operation on all data to be written or read from the memory cell array 202, regardless of the storage location ADD corresponding to the data. Why?

第4圖繪示依據本發明之另一實施例之記憶體裝置200之局部示意圖。在第4圖的例子中,ECC控制邏輯208針對記憶胞陣列202中的各記憶單元分別設有對應的ECC控制參數,使ECC更正邏輯206可只針對部分的記憶單元的開啟或關閉ECC功能。FIG. 4 is a partial schematic view of a memory device 200 in accordance with another embodiment of the present invention. In the example of FIG. 4, the ECC control logic 208 is provided with corresponding ECC control parameters for each of the memory cells in the memory cell array 202, such that the ECC correction logic 206 can only turn the ECC function on or off for a portion of the memory cells.

所述的記憶單元可以是區塊(block)、區段(sector)、頁(page)、字元線(word line))等,端視實際應用而定。舉例來說,若記憶胞陣列202包括第一記憶單元(如第1區段)以及第二記憶單元(如第2區段),ECC控制邏輯208將針對第一記憶單元設有第一ECC控制參數,並針對第二記憶單元設有第二ECC控制參數。當存取資料所對應的儲存位置ADD屬於第一記憶單元,ECC控制邏輯208將以第一ECC控制參數作為ECC控制參數來開啟或關閉ECC更正邏輯206的ECC功能;反之,當存取資料所對應的儲存位置ADD屬於第二記憶單元,ECC控制邏輯208將以第二ECC控制參數作為ECC控制參數來開啟或關閉ECC更正邏輯206的ECC功能。The memory unit may be a block, a sector, a page, a word line, etc., depending on the actual application. For example, if the memory cell array 202 includes a first memory unit (such as a first sector) and a second memory unit (such as a second sector), the ECC control logic 208 will provide a first ECC control for the first memory unit. Parameters, and a second ECC control parameter is provided for the second memory unit. When the storage location ADD corresponding to the access data belongs to the first memory unit, the ECC control logic 208 will use the first ECC control parameter as the ECC control parameter to enable or disable the ECC function of the ECC correction logic 206; The corresponding storage location ADD belongs to the second memory unit, and the ECC control logic 208 will turn the ECC function of the ECC correction logic 206 on or off with the second ECC control parameter as the ECC control parameter.

依據本發明實施例,ECC控制邏輯208可利用儲存在記憶體裝置200中非揮發性記憶區域的控制資料(以下稱非揮發性控制參數)以及儲存在揮發性記憶區域的控制資料(以下稱揮發性控制參數)來產生ECC控制參數。所述之非揮發性記憶區域指的是記憶體裝置200中在斷電後仍可保持資料的記憶體區域,其具有非揮發性記憶體的架構,而揮發性記憶區域指的是記憶體裝置200中在斷電後即無法維持資料的記憶體區域,如暫存器或其他揮發性記憶體。According to an embodiment of the present invention, the ECC control logic 208 can utilize control data (hereinafter referred to as non-volatile control parameters) stored in the non-volatile memory area of the memory device 200 and control data stored in the volatile memory area (hereinafter referred to as volatilization). Sex control parameters) to generate ECC control parameters. The non-volatile memory area refers to a memory area of the memory device 200 that can retain data after power-off, and has a non-volatile memory structure, and the volatile memory area refers to a memory device. A memory area in 200 that cannot maintain data after a power failure, such as a scratchpad or other volatile memory.

以下將配合第5至7圖所示的非限定實施例,說明產生ECC控制參數的機制。The mechanism for generating ECC control parameters will be described below in conjunction with the non-limiting embodiments shown in Figures 5-7.

第5圖繪示依據本發明之一實施例之ECC控制邏輯之示意圖。所述之ECC控制邏輯例如是(但不限於)第2圖所示之ECC控制邏輯208。Figure 5 is a schematic diagram of ECC control logic in accordance with an embodiment of the present invention. The ECC control logic is, for example, but not limited to, the ECC control logic 208 shown in FIG.

在此例中,ECC控制邏輯208包括及(AND)邏輯閘502,用以對非揮發性控制參數以及揮發性控制參數作AND邏輯運算以產生ECC控制參數。非揮發性控制參數以及揮發性控制參數的值可由記憶體控制器102事先規劃,亦可事後動態地調整。In this example, ECC control logic 208 includes AND logic gate 502 for AND logic operations on non-volatile control parameters and volatile control parameters to generate ECC control parameters. The values of the non-volatile control parameters and the volatility control parameters may be planned in advance by the memory controller 102 or may be dynamically adjusted afterwards.

由於非揮發性控制參數係儲存於非揮發性記憶體區,資料不易被更動,故若非揮發性控制參數已被規劃為禁能(如位元「0」),即便揮發性控制參數在操作過程中因誤動作而變為致能(如位元「1」),AND邏輯閘502所輸出的ECC控制參數仍可穩定地維持在與非揮發性控制參數相同的禁能狀態,使ECC更正邏輯206關閉ECC功能。換言之,以AND邏輯閘502所實現的ECC控制邏輯可應用在傾向使ECC更正邏輯206關閉ECC功能的情境。Since the non-volatile control parameters are stored in the non-volatile memory area, the data is not easily changed. Therefore, if the non-volatile control parameters have been planned to be disabled (such as bit "0"), even if the volatile control parameters are in operation The ECC control parameter output by the AND logic gate 502 can still be stably maintained in the same disable state as the non-volatile control parameter, so that the ECC correction logic 206 is enabled by the malfunction (such as the bit "1"). Turn off the ECC function. In other words, the ECC control logic implemented with AND logic gate 502 can be applied to situations where the ECC correction logic 206 is turned off to turn off the ECC function.

第6圖繪示依據本發明之另一實施例之ECC控制邏輯之示意圖。所述之ECC控制邏輯例如是(但不限於)第2圖所示之ECC控制邏輯208。Figure 6 is a schematic diagram showing ECC control logic in accordance with another embodiment of the present invention. The ECC control logic is, for example, but not limited to, the ECC control logic 208 shown in FIG.

在此例中,ECC控制邏輯包括或(OR)邏輯閘602,用以對非揮發性控制參數以及揮發性控制參數作OR邏輯運算以產生ECC控制參數。In this example, the ECC control logic includes an OR logic gate 602 for OR logic operations on the non-volatile control parameters and the volatility control parameters to generate ECC control parameters.

承前所述,由於非揮發性控制參數係儲存於非揮發性記憶體區,資料較不易被更動,故若非揮發性控制參數已被規劃為致能狀態(如位元「1」),即便揮發性控制參數在操作過程中誤變化成禁能狀態(如位元「0」),OR邏輯閘602所輸出的ECC控制參數仍可穩定地維持在致能狀態,使ECC更正邏輯206開啟ECC功能。As mentioned above, since the non-volatile control parameters are stored in the non-volatile memory area, the data is less likely to be changed. Therefore, if the non-volatile control parameters have been planned to be enabled (such as bit "1"), even if volatilized The control parameters are erroneously changed into the disabled state during operation (such as bit "0"), and the ECC control parameters output by the OR logic gate 602 can be stably maintained in the enabled state, so that the ECC correction logic 206 turns on the ECC function. .

或者,若非揮發性控制參數已預先被規劃為關閉狀態(如位元「0」),在操作過程中若記憶體控制器102需使ECC更正邏輯206開啟其ECC功能,只需將揮發性控制參數設為致能狀態(如位元「1」)即可。換言之,利用OR邏輯閘602所實現的ECC控制邏輯可應用在傾向使ECC更正邏輯206開啟ECC功能的情境。Alternatively, if the non-volatile control parameter has been previously scheduled to be off (eg, bit "0"), if the memory controller 102 needs to have the ECC correction logic 206 turn on its ECC function during operation, simply control the volatility The parameter is set to enable state (such as bit "1"). In other words, the ECC control logic implemented with OR logic gate 602 can be applied to situations where the ECC correction logic 206 is turned on to turn on the ECC function.

第7圖繪示依據本發明之另一實施例之ECC控制邏輯之示意圖。所述之ECC控制邏輯例如是(但不限於)第2圖所示之ECC控制邏輯208。FIG. 7 is a schematic diagram showing ECC control logic according to another embodiment of the present invention. The ECC control logic is, for example, but not limited to, the ECC control logic 208 shown in FIG.

在此例中,ECC控制邏輯208包括暫存器702。當電源開啟時(或其它預設的時點),非揮發性控制參數會先被載入暫存器702以作為揮發性控制參數。儲存於暫存器702中的揮發性控制參數可直接作為ECC控制參數。之後,記憶體控制器102可透過一規劃指令更新暫存器702中揮發性控制參數的值,以控制開啟或關閉ECC功能。In this example, ECC control logic 208 includes a register 702. When the power is turned on (or other preset time point), the non-volatile control parameters are first loaded into the register 702 as a volatile control parameter. The volatility control parameters stored in the register 702 can be directly used as ECC control parameters. Thereafter, the memory controller 102 can update the value of the volatile control parameter in the register 702 through a planning command to control whether to turn the ECC function on or off.

又一實施例中,如第8圖所示,控制電路204會回應記憶體控制器102的一偵測指令,偵測一記憶胞的閥電壓分布(如分布“0”或分布“1”),並判斷該閥電壓分布是否落在一閥電壓區間MR。當該閥電壓分布落在閥電壓區間MR內,表示該記憶胞讀取時邊際寬度(margin)不足,容易造成誤讀取,此時ECC控制邏輯208將輸出致能的ECC控制參數以開啟記憶體裝置200的ECC功能,藉此提升資料存取的正確性。在一實施例中,控制電路204會基於偵測指令,偵測一記憶體頁中各記憶胞的閥電壓分布,若有任一記憶胞的閥電壓分布落在閥電壓區間MR內,ECC控制邏輯208將輸出致能的ECC控制參數以開啟ECC功能。In another embodiment, as shown in FIG. 8, the control circuit 204 responds to a detection command of the memory controller 102 to detect a valve voltage distribution of a memory cell (eg, a distribution "0" or a distribution "1"). And determine whether the valve voltage distribution falls within a valve voltage interval MR. When the valve voltage distribution falls within the valve voltage interval MR, it indicates that the margin of the memory cell is insufficient, which is easy to cause erroneous reading. At this time, the ECC control logic 208 outputs the enabled ECC control parameter to turn on the memory. The ECC function of the body device 200, thereby improving the correctness of data access. In an embodiment, the control circuit 204 detects the valve voltage distribution of each memory cell in a memory page based on the detection command, and if any of the memory cell valve voltage distribution falls within the valve voltage interval MR, the ECC control Logic 208 will output the enabled ECC control parameters to turn on the ECC function.

反之,當該閥電壓分布未落在閥電壓區間MR內, ECC控制邏輯208將輸出禁能的ECC控制參數以關閉記憶體裝置200的ECC功能,藉此提升系統效率。Conversely, when the valve voltage distribution does not fall within the valve voltage interval MR, the ECC control logic 208 will output the disabled ECC control parameters to turn off the ECC function of the memory device 200, thereby increasing system efficiency.

舉例來說,假設閥電壓區間MR的上下限分別為X1及X2伏特,若有任一記憶胞的閥電壓落在閥電壓區間MR( X1<記憶胞閥電壓< X2) 內,可能造成誤讀取,ECC控制邏輯208將輸出致能的ECC控制參數以開啟ECC功能。反之,沒有任一記憶胞的閥電壓落在閥電壓區間MR內(所有的記憶胞閥電壓皆>X1或<X2),表示記憶胞的讀取邊際寬度(margin)很夠,ECC控制邏輯208將輸出禁能的ECC控制參數以關閉ECC功能。偵測閥電壓的時機,可在當電源開啟時或者記憶體裝置閒置時或接到記憶體控制器102的一偵測指令。For example, suppose the upper and lower limits of the valve voltage interval MR are X1 and X2 volts respectively. If the valve voltage of any memory cell falls within the valve voltage range MR (X1 < memory cell voltage < X2), misinterpretation may occur. The ECC control logic 208 will output the enabled ECC control parameters to turn on the ECC function. Conversely, the valve voltage of any memory cell falls within the valve voltage interval MR (all memory cell voltages are >X1 or <X2), indicating that the read margin of the memory cell is sufficient, and the ECC control logic 208 The disabled ECC control parameters will be output to turn off the ECC function. The timing of detecting the voltage of the valve may be a detection command when the power is turned on or when the memory device is idle or connected to the memory controller 102.

第9圖繪示依據本發明之一實施例之記憶體控制方法之流程圖。FIG. 9 is a flow chart showing a memory control method according to an embodiment of the present invention.

在步驟902,記憶體裝置200依據非揮發性控制參數以及揮發性控制參數產生ECC控制參數,其中非揮發性控制參數儲存於記憶體裝置200中的一非揮發性記憶區域,揮發性控制參數儲存於記憶體裝置200中的一揮發性記憶區域。In step 902, the memory device 200 generates an ECC control parameter according to the non-volatile control parameter and the volatile control parameter, wherein the non-volatile control parameter is stored in a non-volatile memory region in the memory device 200, and the volatile control parameter is stored. A volatile memory area in the memory device 200.

在步驟904,記憶體裝置200依據ECC控制參數控制一ECC功能,使得存取自記憶胞陣列202的儲存位置ADD的資料經過或不經過ECC功能處理。At step 904, the memory device 200 controls an ECC function in accordance with the ECC control parameters such that data accessed from the storage location ADD of the memory cell array 202 is processed or not processed by the ECC function.

綜上所述,本發明提供一種記憶體控制方法及記憶體裝置,可依需求開啟或關閉記憶體裝置的ECC功能,使系統在運行效能與資料正確性上取得較佳的平衡。本發明亦利用儲存在非揮發性記憶區域的控制參數以及儲存在揮發性記憶區域的控制參數來產生ECC控制參數,進而改善開關ECC功能的可靠度。In summary, the present invention provides a memory control method and a memory device, which can turn on or off the ECC function of the memory device according to requirements, so that the system achieves a better balance between operational performance and data correctness. The present invention also utilizes control parameters stored in the non-volatile memory region and control parameters stored in the volatile memory region to generate ECC control parameters, thereby improving the reliability of the switch ECC function.

雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明。本發明所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾。因此,本發明之保護範圍當視後附之申請專利範圍所界定者為準。While the invention has been described above in the preferred embodiments, it is not intended to limit the 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.

100‧‧‧記憶體系統
102‧‧‧記憶體控制器
104‧‧‧第一記憶體裝置
106‧‧‧第二記憶體裝置
108‧‧‧輸入輸出(I/O)模組
200‧‧‧記憶體裝置
202‧‧‧記憶胞陣列
204‧‧‧控制電路
206‧‧‧ECC更正邏輯
208‧‧‧ECC控制邏輯
210‧‧‧傳輸介面
ADD‧‧‧儲存位置
502‧‧‧AND邏輯閘
602‧‧‧OR邏輯閘
702‧‧‧暫存器
902、904‧‧‧步驟
100‧‧‧ memory system
102‧‧‧ memory controller
104‧‧‧First memory device
106‧‧‧Second memory device
108‧‧‧Input/Output (I/O) Module
200‧‧‧ memory device
202‧‧‧ memory cell array
204‧‧‧Control circuit
206‧‧‧ECC Correction Logic
208‧‧‧ECC Control Logic
210‧‧‧Transport interface
ADD‧‧‧ storage location
502‧‧‧AND logic gate
602‧‧‧OR logic gate
702‧‧‧ 存存器
902, 904‧‧ steps

第1圖繪示依據本發明一實施例之記憶體系統之方塊圖。 第2圖繪示具有ECC功能的記憶體裝置的方塊圖。 第3圖繪示依據本發明之一實施例之記憶體裝置之局部示意圖。 第4圖繪示依據本發明之另一實施例之記憶體裝置之局部示意圖。 第5圖繪示依據本發明之一實施例之ECC控制邏輯之示意圖。 第6圖繪示依據本發明之另一實施例之ECC控制邏輯之示意圖。 第7圖繪示依據本發明之另一實施例之ECC控制邏輯之示意圖。 第8圖繪示記憶胞的閥電壓分布示意圖。 第9圖繪示依據本發明之一實施例之記憶體控制方法之流程圖。1 is a block diagram of a memory system in accordance with an embodiment of the present invention. Figure 2 is a block diagram of a memory device having an ECC function. 3 is a partial schematic view of a memory device in accordance with an embodiment of the present invention. 4 is a partial schematic view of a memory device in accordance with another embodiment of the present invention. Figure 5 is a schematic diagram of ECC control logic in accordance with an embodiment of the present invention. Figure 6 is a schematic diagram showing ECC control logic in accordance with another embodiment of the present invention. FIG. 7 is a schematic diagram showing ECC control logic according to another embodiment of the present invention. Figure 8 is a schematic diagram showing the valve voltage distribution of the memory cell. FIG. 9 is a flow chart showing a memory control method according to an embodiment of the present invention.

902、904‧‧‧步驟 902, 904‧‧ steps

Claims (16)

一種記憶體控制方法,適用於一記憶體裝置,包括: 依據一非揮發性控制參數以及一揮發性控制參數產生一錯誤更正碼(Error Correcting Codes, ECC)控制參數,其中該非揮發性控制參數儲存於該記憶體裝置中的一非揮發性記憶區域,該揮發性控制參數儲存於該記憶體裝置中的一揮發性記憶區域;以及 依據該ECC控制參數控制一ECC功能,使得存取自一記憶胞陣列的一儲存位置的資料經過或不經過該ECC功能處理。A memory control method, applicable to a memory device, comprising: generating an Error Correcting Codes (ECC) control parameter according to a non-volatile control parameter and a volatile control parameter, wherein the non-volatile control parameter is stored And in a non-volatile memory area of the memory device, the volatile control parameter is stored in a volatile memory area in the memory device; and an ECC function is controlled according to the ECC control parameter, so that the access is from a memory. The data of a storage location of the cell array is processed with or without the ECC function. 如申請專利範圍第1項所述之記憶體控制方法,其中控制該ECC功能更包括: 當利用該ECC控制參數關閉該ECC功能,存取自該記憶胞陣列的該儲存位置的資料不經該ECC功能處理。The memory control method of claim 1, wherein controlling the ECC function further comprises: when the ECC function is turned off by using the ECC control parameter, the data accessed from the storage location of the memory cell array is not ECC function processing. 如申請專利範圍第1項所述之記憶體控制方法,其中控制該ECC功能更包括: 當利用該ECC控制參數開啟該ECC功能,存取自該記憶胞陣列的該儲存位置的資料經過該ECC功能處理。The memory control method of claim 1, wherein controlling the ECC function further comprises: when the ECC function is enabled by using the ECC control parameter, accessing the data from the storage location of the memory cell array through the ECC Functional processing. 如申請專利範圍第1項所述之記憶體控制方法,其中該記憶胞陣列包括一第一記憶單元以及一第二記憶單元,該記憶體控制方法更包括: 針對該第一記憶單元設置一第一ECC控制參數; 針對該第二記憶單元設置一第二ECC控制參數; 當該資料所對應的該儲存位置屬於該第一記憶單元,以該第一ECC控制參數作為該ECC控制參數;以及 當該資料所對應的該儲存位置屬於該第二記憶單元,以該第二ECC控制參數作為該ECC控制參數。The memory control method of claim 1, wherein the memory cell array comprises a first memory unit and a second memory unit, the memory control method further comprising: setting a first memory unit An ECC control parameter; a second ECC control parameter is set for the second memory unit; when the storage location corresponding to the data belongs to the first memory unit, the first ECC control parameter is used as the ECC control parameter; The storage location corresponding to the data belongs to the second memory unit, and the second ECC control parameter is used as the ECC control parameter. 如申請專利範圍第1項所述之記憶體控制方法,更包括: 透過一及(AND)邏輯閘對該非揮發性控制參數以及該揮發性控制參數作一AND邏輯運算,以產生該ECC控制參數。The memory control method of claim 1, further comprising: performing an AND logic operation on the non-volatile control parameter and the volatile control parameter through an AND gate to generate the ECC control parameter. . 如申請專利範圍第1項所述之記憶體控制方法,更包括: 透過一或(OR)邏輯閘對該非揮發性控制參數以及該揮發性控制參數作一OR邏輯運算,以產生該ECC控制參數。The memory control method of claim 1, further comprising: performing an OR logic operation on the non-volatile control parameter and the volatile control parameter through an OR logic gate to generate the ECC control parameter. . 如申請專利範圍第1項所述之記憶體控制方法,更包括: 將該非揮發性控制參數載入一暫存器以作為該揮發性控制參數,並以儲存於該暫存器中的該揮發性控制參數作為該ECC控制參數;以及 回應一規劃指令更新該揮發性控制參數的值,以控制開啟或關閉該ECC功能。The memory control method according to claim 1, further comprising: loading the non-volatile control parameter into a register as the volatile control parameter, and storing the volatile in the register The control parameter is used as the ECC control parameter; and the value of the volatile control parameter is updated in response to a planning instruction to control whether the ECC function is turned on or off. 如申請專利範圍第1項所述之記憶體控制方法,更包括: 偵測一記憶胞的一閥電壓分布; 判斷該閥電壓分布是否落在一閥電壓區間; 當該閥電壓分布落在該閥電壓區間,利用該ECC控制參數開啟該ECC功能;以及 當該閥電壓分布未落在該閥電壓區間,利用該ECC控制參數關閉該ECC功能。The memory control method of claim 1, further comprising: detecting a valve voltage distribution of a memory cell; determining whether the valve voltage distribution falls within a valve voltage interval; when the valve voltage distribution falls within the The valve voltage interval is opened by the ECC control parameter; and when the valve voltage distribution does not fall within the valve voltage interval, the ECC function is turned off by the ECC control parameter. 一種記憶體裝置,包括: 一記憶胞陣列; 一控制電路,耦接該記憶體陣列,用以回應一記憶體控制器的控制指令,對該記憶胞陣列中的一儲存位置進行資料讀寫; 一錯誤更正碼(Error Correcting Codes, ECC)更正邏輯,耦接該記憶體陣列,用以執行一ECC功能;以及 一ECC控制邏輯,耦接該ECC更正邏輯,用以依據一非揮發性控制參數以及一揮發性控制參數產生一ECC控制參數,並依據該ECC控制參數控制該ECC更正邏輯的該ECC功能,使得存取自該記憶胞陣列的該儲存位置的資料經過或不經過該ECC功能處理; 其中該非揮發性控制參數儲存於該記憶體中的一非揮發性記憶區域,該揮發性控制參數儲存於該記憶體中的一揮發性記憶區域。A memory device includes: a memory cell array; a control circuit coupled to the memory array for responding to a memory controller control command to read and write data to a storage location in the memory cell array; An Error Correcting Codes (ECC) correction logic coupled to the memory array for performing an ECC function; and an ECC control logic coupled to the ECC correction logic for utilizing a non-volatile control parameter And a volatility control parameter generating an ECC control parameter, and controlling the ECC function of the ECC correction logic according to the ECC control parameter, so that data accessed from the storage location of the memory cell array is processed by or without the ECC function The non-volatile control parameter is stored in a non-volatile memory area in the memory, and the volatile control parameter is stored in a volatile memory area in the memory. 如申請專利範圍第9項所述之記憶體裝置,其中當該ECC控制邏輯回應該ECC控制參數而關閉該ECC功能,存取自該記憶胞陣列的該儲存位置的資料不經該ECC功能處理。The memory device of claim 9, wherein when the ECC control logic returns to the ECC control parameter to turn off the ECC function, the data accessed from the storage location of the memory cell array is not processed by the ECC function. . 如申請專利範圍第9項所述之記憶體裝置,其中當該ECC控制邏輯回應該ECC控制參數而開啟該ECC功能,存取自該記憶胞陣列的該儲存位置的資料經過該ECC功能處理。The memory device of claim 9, wherein when the ECC control logic returns to the ECC control parameter to enable the ECC function, the data accessed from the storage location of the memory cell array is processed by the ECC function. 如申請專利範圍第9項所述之記憶體裝置,其中該記憶胞陣列包括一第一記憶單元以及一第二記憶單元,該ECC控制邏輯針對該第一記憶單元設有一第一ECC控制參數,並針對該第二記憶單元設有一第二ECC控制參數; 其中當該資料所對應的該儲存位置屬於該第一記憶單元,該ECC控制邏輯以該第一ECC控制參數作為該ECC控制參數,當該資料所對應的該儲存位置屬於該第二記憶單元,該ECC控制邏輯以該第二ECC控制參數作為該ECC控制參數。The memory device of claim 9, wherein the memory cell array comprises a first memory unit and a second memory unit, the ECC control logic is provided with a first ECC control parameter for the first memory unit, And providing a second ECC control parameter for the second memory unit; wherein when the storage location corresponding to the data belongs to the first memory unit, the ECC control logic uses the first ECC control parameter as the ECC control parameter, when The storage location corresponding to the data belongs to the second memory unit, and the ECC control logic uses the second ECC control parameter as the ECC control parameter. 如申請專利範圍第9項所述之記憶體裝置,其中該ECC控制邏輯包括一及(AND)邏輯閘,用以對該非揮發性控制參數以及該揮發性控制參數作一AND邏輯運算,以產生該ECC控制參數。The memory device of claim 9, wherein the ECC control logic includes an AND logic gate for performing an AND logic operation on the non-volatile control parameter and the volatile control parameter to generate The ECC control parameters. 如申請專利範圍第9項所述之記憶體裝置,其中該ECC控制邏輯包括透過一或(OR)邏輯閘,用以對該非揮發性控制參數以及該揮發性控制參數作一OR邏輯運算,以產生該ECC控制參數。The memory device of claim 9, wherein the ECC control logic comprises an OR logic gate for performing an OR logic operation on the non-volatile control parameter and the volatile control parameter, This ECC control parameter is generated. 如申請專利範圍第9項所述之記憶體裝置,其中該ECC控制邏輯包括一暫存器,當電源開啟(power-on)時,該非揮發性控制參數被載入該暫存器以作為該揮發性ECC控制參數,儲存於該暫存器的該揮發性ECC控制參數係作為該ECC控制參數; 其中儲存於該暫存器的該揮發性ECC控制參數係回應於該記憶體控制器的一規劃指令而被更新。The memory device of claim 9, wherein the ECC control logic comprises a register, and when the power is turned on, the non-volatile control parameter is loaded into the register as the Volatile ECC control parameter, the volatile ECC control parameter stored in the register is used as the ECC control parameter; wherein the volatile ECC control parameter stored in the register is in response to the memory controller Updated by planning instructions. 如申請專利範圍第9項所述之記憶體裝置,其中該控制電路回應該記憶體控制器的一偵測指令,偵測一記憶胞的一閥電壓分布,並判斷該閥電壓分布是否落在一閥電壓區間內; 當該閥電壓分布落在該閥電壓區間內,該ECC控制邏輯輸出致能的該ECC控制參數以開啟該ECC功能,當該閥電壓分布未落在該閥電壓區間內,該ECC控制邏輯輸出禁能的該ECC控制參數以關閉該ECC功能。The memory device of claim 9, wherein the control circuit returns a detection command of the memory controller, detects a valve voltage distribution of a memory cell, and determines whether the valve voltage distribution falls. Within a valve voltage interval; when the valve voltage distribution falls within the valve voltage interval, the ECC control logic outputs the enabled ECC control parameter to turn on the ECC function when the valve voltage distribution does not fall within the valve voltage interval The ECC control logic outputs the disabled ECC control parameter to turn off the ECC function.
TW105142576A 2016-12-21 2016-12-21 Memory control method and memory device TWI602190B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105142576A TWI602190B (en) 2016-12-21 2016-12-21 Memory control method and memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105142576A TWI602190B (en) 2016-12-21 2016-12-21 Memory control method and memory device

Publications (2)

Publication Number Publication Date
TWI602190B true TWI602190B (en) 2017-10-11
TW201824292A TW201824292A (en) 2018-07-01

Family

ID=61011179

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105142576A TWI602190B (en) 2016-12-21 2016-12-21 Memory control method and memory device

Country Status (1)

Country Link
TW (1) TWI602190B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI712886B (en) * 2019-07-05 2020-12-11 大陸商合肥兆芯電子有限公司 Memory management method, memory storage device and memory control circuit unit
US11221791B2 (en) 2019-07-01 2022-01-11 Hefei Core Storage Electronic Limited Memory management method, memory device, and memory control circuit for improving data classification

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080201626A1 (en) * 2007-02-20 2008-08-21 Qimonda North America Corp. Power savings for memory with error correction mode
US20080244367A1 (en) * 2007-03-31 2008-10-02 Henry Chin Non-volatile memory with guided simulated annealing error correction control
US20090055713A1 (en) * 2007-08-21 2009-02-26 Samsung Electronics Co., Ltd. Ecc control circuits, multi-channel memory systems including the same, and related methods of operation
US20090113272A1 (en) * 2007-10-30 2009-04-30 Spansion Llc Error correction coding in flash memory devices
US20160080002A1 (en) * 2014-09-12 2016-03-17 Freescale Semiconductor, Inc. ADAPTIVE ERROR CORRECTION CODES (ECCs) FOR ELECTRONIC MEMORIES

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080201626A1 (en) * 2007-02-20 2008-08-21 Qimonda North America Corp. Power savings for memory with error correction mode
US20080244367A1 (en) * 2007-03-31 2008-10-02 Henry Chin Non-volatile memory with guided simulated annealing error correction control
US20090055713A1 (en) * 2007-08-21 2009-02-26 Samsung Electronics Co., Ltd. Ecc control circuits, multi-channel memory systems including the same, and related methods of operation
US20090113272A1 (en) * 2007-10-30 2009-04-30 Spansion Llc Error correction coding in flash memory devices
US20160080002A1 (en) * 2014-09-12 2016-03-17 Freescale Semiconductor, Inc. ADAPTIVE ERROR CORRECTION CODES (ECCs) FOR ELECTRONIC MEMORIES

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11221791B2 (en) 2019-07-01 2022-01-11 Hefei Core Storage Electronic Limited Memory management method, memory device, and memory control circuit for improving data classification
TWI712886B (en) * 2019-07-05 2020-12-11 大陸商合肥兆芯電子有限公司 Memory management method, memory storage device and memory control circuit unit

Also Published As

Publication number Publication date
TW201824292A (en) 2018-07-01

Similar Documents

Publication Publication Date Title
US9411405B2 (en) Method for reducing power consumption in solid-state storage device
TWI643200B (en) Controller-based memory scrub for drams with internal error-correcting code (ecc) bits contemporaneously during auto refresh or by using masked write commands
US5724285A (en) Flash memory PC card capable of refreshing data a predetermined time after the PC card is removed from a host
US8589730B2 (en) Handling errors during device bootup from a non-volatile memory
TWI555023B (en) Refresh method for flash memory and memory controller
US9218851B2 (en) Power drop protection for a data storage device
US9917601B2 (en) Adaptive error correction in a memory system
JP2014179154A (en) Hold logic regarding non-volatile memory
US10761588B2 (en) Power configuration component including selectable configuration profiles corresponding to operating characteristics of the power configuration component
US11531585B2 (en) Memory module and operating method
US10725856B2 (en) Error correction to reduce a failure in time rate
KR20200076846A (en) Apparatuses that detect error of data stored in memory device and operating method thereof
TWI602190B (en) Memory control method and memory device
JP2010067098A (en) Information processor, information processing method, and information processing program
US20200159410A1 (en) Scan frequency modulation based on memory density or block usage
CN108255633B (en) Storage control method and storage device
US20240020002A1 (en) Underfill detection for memory systems
US9588708B2 (en) Semiconductor memory device, operating method thereof, and data storage device including the same
US10713105B2 (en) Operating method of memory controller, storage device including the same, and operating method of storage device
TWI512623B (en) Method of enabling sleep mode, memory control circuit unit and storage apparatus
WO2020015122A1 (en) Method for internal random-access memory to use ecc computation to achieve block data error correction and checking
US11776634B2 (en) Pulsed bias for power-up or read recovery
JP6267497B2 (en) Semiconductor memory control device and unstable memory region detection method
US20150235690A1 (en) Semiconductor memory device and control method thereof
JP2016045523A (en) Memory control device and memory control method