Method for refreshing memory device, storage device and memory device
By combining the refresh operations of rotated addresses and unrotated addresses, the refresh process of the memory device is optimized, the problem of data loss of the memory device under environmental events is solved, and the accuracy of stored information and system reliability are improved.
Patent Information
- Application Number
- CN202110211627.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-12-11
- Filing Date
- 2021-02-25
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-02-25
AI Technical Summary
Existing memory devices are unable to effectively maintain the accuracy of stored information during refresh operations, especially when bit corruption occurs due to environmental events such as particle impacts, radiation effects, or thermal effects, resulting in data loss and system failure.
Using a method that combines refresh operations with rotated addresses and unrotated addresses, the refresh operation is optimized to minimize the number of rewrites and resource utilization of the storage device by performing error checking and data rewriting in the cell array to ensure data accuracy. .
By rotating the address of the refresh operation, the data is evenly written into different units, reducing data damage caused by unit failures, optimizing the resource utilization of the refresh operation and the number of storage unit writes of the storage device, and improving the accuracy of stored information and system reliability. sex.
Smart Images

Figure CN113314173B_ABST
Abstract
Description
Technical Field
[0001] The technology described in the embodiments of the present invention generally relates to refreshing a memory device, and more particularly, to a method and a storage device for refreshing a memory device and a memory device. Background Art
[0002] Semiconductor memory is widely used as a storage medium for digital devices such as personal computers, cellular phones, personal data assistants, and other similar products. Digital information in units of one bit is stored in a two-dimensional array of bit cells or memory cells. For example, a one-megabit memory device contains an array of 1024 x 1024 memory cells. A single memory cell in an exemplary one-megabit memory device can be selected by a 10-bit row address and a 10-bit column address. Summary of the invention
[0003] An embodiment of the present invention provides a method for refreshing a memory device, comprising: reading first data stored in a first cell of a cell array in a first time slot; performing an error check on the first data in a second time slot; substantially simultaneously with performing the error check on the first data in the second time slot, reading second data stored in a second cell of the cell array; performing the error check on the second data in a third time slot; and substantially simultaneously with performing the error check on the second data in the third time slot, writing the first data to the second cell.
[0004] An embodiment of the present invention provides a storage device, comprising: a storage device; and a processor connected to the storage device, wherein the processor is operable to: perform a refresh operation of a non-rotated address in a cell array, and after performing the refresh operation of the non-rotated address, perform a refresh operation of a rotated address in the cell array.
[0005] An embodiment of the present invention provides a memory device, comprising: a cell array; a sense amplifier connected to the cell array; a buffer connected to the sense amplifier; and a controller connected to the cell array, wherein the controller is operable to: perform a refresh operation of an unrotated address in the cell array, repeat the refresh operation of the unrotated address a predetermined number of times, and after repeating the refresh operation of the rotated address the predetermined number of times, perform a refresh operation of the rotated address in the cell array. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Various aspects of the present disclosure are best understood from the following detailed description when read in conjunction with the accompanying drawings. It should be noted that, in accordance with standard practice in the industry, various features are not drawn to scale. In fact, the dimensions of various features may be arbitrarily increased or decreased for clarity of discussion. In addition, the drawings are illustrative as examples of embodiments of the present invention and are not intended to be limiting.
[0007] Figure 1 is a diagram of a memory device according to some embodiments.
[0008] Figure 2 is a flow chart of a method for performing a refresh operating in a memory device according to some embodiments.
[0009] Figure 3 is a flow chart of a method for performing a refresh operation of an unrotated address according to some embodiments.
[0010] Figure 4 A flow chart illustrating a method for performing a refresh operation with rotated addresses according to some embodiments.
[0011] Figure 5A A process flow is described for a method for performing a refresh operation of an unrotated address according to some embodiments.
[0012] Figure 5B A process flow is described for a method for performing a refresh operation with rotated addresses according to some embodiments.
[0013] Figure 6 is a block diagram illustrating an example of a processing system according to some embodiments. DETAILED DESCRIPTION
[0014] The following disclosure provides many different embodiments or examples for implementing the different features of the provided themes. Specific examples of components and arrangements are described below to simplify the present disclosure. Of course, these are only examples and are not intended to be restrictive. For example, in the following description, the formation of a first feature above or on a second feature may include an embodiment in which the first feature is formed in direct contact with the second feature, and may also include an embodiment in which an additional feature may be formed between the first feature and the second feature so that the first feature may not be in direct contact with the second feature. In addition, the present disclosure may repeat reference numerals and / or letters in various examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or configurations discussed.
[0015] Additionally, for ease of description, spatially relative terms such as "below," "beneath," "lower," "above," "upper," and the like may be used to describe the relationship of one element or feature to another element or feature as illustrated in the drawings. The spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the drawings. The device may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein may likewise be interpreted accordingly.
[0016] Memory devices are used to store information in semiconductor devices and systems. A dynamic random access memory (DRAM) cell includes switches and capacitors. DRAM does not retain data when the power is turned off. Non-volatile memory devices retain data even after the power is turned off. Examples of non-volatile memory devices include flash memory, magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), resistive random access memory (RRAM), and phase-change random access memory (PRAM). MRAM, FRAM, RRAM, and PRAM are sometimes referred to as "emerging memories." MRAM uses the change in magnetization direction at a tunnel junction to store data. FRAM uses the polarization properties of ferroelectricity to store data. RRAM uses the change in resistance of a resistive material layer to store data. PRAM uses the change in resistance caused by the phase change of a specific material to store data.
[0017] Digital information stored in memory can be corrupted due to various reasons. One possible cause of corruption is due to environmental events both inside the memory and outside the memory. One such external event is a particle strike. In addition to environmental events, there are other causes of bit corruption (failures). Data errors that are not permanent or do not represent physical damage to the device (such as soft errors) can be caused by interference errors, radiation effects, or thermal effects, etc. When a bit is corrupted, the stored information is lost, resulting in system failure or data loss.
[0018] The present disclosure provides a memory refresh operation to maintain the accuracy of stored information. A memory refresh operation, or simply a refresh operation, is a process of periodically reading data from a memory area, checking for data errors, correcting errors (if errors are detected), and rewriting the data. Each memory refresh cycle refreshes a successive area of the memory, thereby repeatedly refreshing all cells in a continuous cycle. Generally speaking, while a refresh operation is in progress, the memory may not be available for normal read and write operations.
[0019] According to some embodiments, the present disclosure also provides an optimized refresh operation. For example, the disclosed technology provides refresh operations with rotated addresses and unrotated addresses. In a refresh operation without rotating addresses, data stored in a cell is read, errors are checked, and the data is written back (or rewritten) to the same cell. In a refresh operation with rotated addresses, data read from one cell is rewritten to another cell, and the data address of the read data is updated to point to the other cell when the read data is rewritten. In a refresh operation with rotated addresses, since data is rewritten to different cells and the addresses are rotated accordingly when performing a refresh operation, the number of writes to the storage cells of the memory device is averaged. In example embodiments and discussed in detail in the following sections of the present disclosure, refresh operations with rotated addresses and refresh operations without rotating addresses are performed in a coordinated manner (i.e., in a predetermined order and at a predetermined frequency) to minimize the number of rewrites of the memory device and optimize resource utilization of refresh operations.
[0020] Figure 1 A memory device 100 according to some embodiments is described. In some instances, the memory device 100 is a non-volatile memory device capable of retaining data even after power is turned off. For example, the memory device 100 may include flash memory, MRAM, FRAM, RRAM, and PRAM. MRAM uses a change in magnetization direction at a tunnel junction to store data. FRAM uses the polarization property of ferroelectricity to store data. RRAM uses a change in resistance of a resistive material layer to store data. PRAM uses a change in resistance caused by a phase change of a particular material to store data. However, it will be apparent to a person of ordinary skill in the art after reading this disclosure that other types of memory devices are within the scope of this disclosure.
[0021] like Figure 1As shown in FIG. 1 , the memory device 100 includes a cell array 102, an address decoder 104, a sense amplifier (SA) 106, a flip-flop (FF) 108, a buffer 110, and a controller 112. The controller 112 also includes a timer 114. It is obvious to a person skilled in the art after reading this disclosure that the memory device 100 may include other components in addition to the memory device 102. Figure 1 In addition, it will be apparent to those of ordinary skill in the art after reading this disclosure that the memory device 100 may include more than Figure 1 Fewer components than those shown.
[0022] The cell array 102 includes a plurality of cells arranged in a matrix of a plurality of rows and a plurality of columns. For example, a one-megabit memory device includes a cell array having 1024 rows and 1024 columns, and therefore 1024×1024 cells. Each of the plurality of cells is configured to store a bit logic “0” or “1” value of data therein. Each of the plurality of rows is associated with a word line (e.g., WL1, WL2, WL3, WL4, etc.). In addition, each of the plurality of rows includes a first plurality of cells (cell A, cell B, cell C, cell D, etc.) of the plurality of cells. Each of the first plurality of cells of each of a row of the plurality of rows is connected to an associated word line (i.e., one of WL1, WL2, WL3, WL4, etc.). Similarly, each of the plurality of columns of the cell array 102 is associated with a bit line (i.e., BL1, BL2, BL3, BL4, etc.). In addition, each of the plurality of columns includes a second plurality of bit cells of the plurality of bit cells. Each of the second plurality of bit cells of one of the plurality of columns is connected to an associated bit line (ie, one of BL1, BL2, BL3, BL4, etc.).
[0023] The address decoder 104 is connected to the cell array 102. The address decoder 104 is operable to select one of a plurality of word lines (i.e., one of WL1, WL2, WL3, WL4, etc.) and charge the selected word line to a predetermined voltage level for read and write operations on a first plurality of cells associated with the selected word line. A single memory cell in an example one megabit memory device having 1024×1024 cells can be selected by a 10-bit row address and a 10-bit column address. In some examples, the address decoder 104 is also referred to as a word line driver.
[0024] The sense amplifier 106 is connected to the cell array 102 and is operable to read data from the cell array 102 or write data into the cell array 102. For example, the sense amplifier 106 is operable to sense a current in a bit line and compare the sensed current with a reference current to read data from the cell array 102 or write data into the cell array 102. The sense amplifier 106 may be associated with a predetermined number of bit lines (e.g., four bit lines, eight bit lines, etc.). The predetermined number of bit lines associated with each sense amplifier 108 is also referred to as a word. The flip-flop 108 is connected to the sense amplifier 106 and is operable to retain data read from the cell array 102 or data to be written into the cell array 102. The buffer 110 is operable to temporarily store data associated with the cell array 102. Although Figure 1 The memory device 100 is shown as including only one sense amplifier, but it will be apparent to one of ordinary skill in the art that the memory device 100 may include more than one sense amplifier and flip-flop.
[0025] The controller 112 is connected to the cell array 102 and is operable to perform a refresh operation on the cell array 102. For example, the controller 112 starts and performs a refresh operation on the cell array 102. The controller 112 repeats the refresh operation after a predetermined time period. For example, the controller 112 repeats the refresh operation after every 20 milliseconds, 200 milliseconds, 2 seconds, etc. The predetermined time period for the refresh operation is provided by the timer 114. The controller 112 may include: a storage device for storing instructions for the refresh operation; and one or more processors that execute the stored instructions to execute and manage the refresh operation. The storage device for storing instructions may include a non-transistor computer readable medium.
[0026] In an example embodiment, the controller 112 may be in the form of a separate chip. In one example, the controller 112 is integrated with the memory device 100. In another example, the controller 112 is implemented on a motherboard and forms an integrated memory controller (IMC) on a microprocessor to potentially reduce memory latency. The controller 112 includes, in particular, an error correction code (ECC) circuit (not shown). The ECC circuit is configured to perform error checking on data stored in the cell array 102. For example, the ECC circuit is configured to detect and correct data errors in a plurality of cells stored in the cell array 102. In some examples, the ECC circuit may include an error detection module for detecting errors and an error correction module for correcting detected errors.
[0027] Figure 21 is a flowchart of a method 200 for performing a refresh operation in a memory device 100 according to some embodiments. The refresh operation is performed to correct errors in information stored in the memory device 100. In some examples, the method 200 is performed by the controller 112 or by referring to the present disclosure. Figure 6 The processing system described herein performs. In other examples, the method 200 may be stored as instructions in a storage device accessible to the controller 112 or the processor. The stored instructions may be executed by the controller 112 or the processor to perform the method 200. The storage device used to store the instructions may include a non-transistor computer readable medium.
[0028] At block 210 of the method 200, a refresh operation of the unrotated address is performed. For example, the refresh operation of the unrotated address is performed in the cell array 102 of the memory device 100 or a portion of the cell array 102. The refresh operation of the unrotated address may be performed on each of the plurality of cells of the cell array 102 or a portion of the plurality of cells of the cell array 102. In an example, the controller 112 or the processor may be operable to perform the refresh operation of the unrotated address in the cell array 102. Referring to the present disclosure Figure 3 The refresh operation of unrotated addresses is discussed in more detail.
[0029] At block 220 of method 200, the refresh operation of the unrotated address is repeated a predetermined number of times. For example, the refresh operation of the unrotated address is repeated three times, five times, ten times, fifteen times, twenty times, etc. The number of repetitions may be predetermined and modified during the refresh operation. In some examples, the controller 112 or the processor may be operable to repeatedly perform the refresh operation of the unrotated address in the cell array 102. For example, the controller 112 may be configured to repeat the refresh operation of the unrotated address in the cell array 102 a predetermined number of times.
[0030] At block 230 of method 200, after repeatedly performing the refresh operation without rotating the address a predetermined number of times, a refresh operation with the address rotated is performed. For example, after repeating the refresh operation without rotating the address five times, ten times, twenty times, etc., a refresh operation with the address rotated is performed in the cell array 102 or a portion of the cell array 102. In some examples, the controller 112 or processor is operable to perform the refresh operation with the address rotated in the cell array 102. Referring to the present disclosure Figure 4 The refresh operation of the rotated address is discussed in more detail.
[0031] Although the method 200 illustrates that a refresh operation with rotated addresses is performed after a refresh operation without rotated addresses is performed a predetermined number of times, it will be apparent to one of ordinary skill in the art after reading this disclosure that a refresh operation with rotated addresses may be performed without performing a refresh operation without rotated addresses. That is, a refresh operation with rotated addresses may be performed independently of a refresh operation without rotated addresses to correct errors in information stored in the memory device 100. Similarly, a refresh operation without rotated addresses may be performed independently of a refresh operation without rotated addresses to correct errors in information stored in the memory device 100.
[0032] Figure 3 300 is a flow chart of a method for performing a refresh operation with unrotated addresses in a memory device according to some embodiments. The unrotated address refresh operation is performed to correct errors in information stored in the memory device 100. In the unrotated address refresh operation, data stored in a cell is read, checked for errors, and the data is written back (or rewritten) to the same cell. In some examples, the method 300 is performed by the controller 112 or by referring to the present disclosure. Figure 6 The processing system described herein performs. In other examples, the method 300 may be stored as instructions in a storage device accessible to the controller 112 or the processor. The stored instructions may be executed by the controller 112 or the processor to perform the method 300. The storage device used to store the instructions may include a non-transistor computer readable medium.
[0033] At block 310 of method 300, first data stored in a first cell is read. The first data is read in a first time slot. For example, first data stored in a cell of cell array 100 of memory device 102 is read in a first time slot. In an example, address decoder 104 selects and charges a first word line (WL1), and sense amplifier 106 reads the first data from cell A using bit line BL1. Sense amplifier 106 provides the first data to flip-flop 108.
[0034] At block 320 of method 300, error checking is performed on the first data. During the error checking, it is determined whether the first data is corrupted. If the first data is found to be corrupted, the first data is corrected. In an example embodiment, an error correction code (ECC) scheme is used to perform the error checking. The error checking is performed by an ECC circuit of controller 112. The error checking is performed on the first data in a second time slot. The second time slot is after the first time slot. For example, the second time slot is the next time slot after the first time slot.
[0035] In an example embodiment, the ECC scheme encodes data by generating ECC check bits (e.g., redundant bits or parity bits), which are stored together with the data in the memory device 100. The data bits and the check (e.g., parity) bits together form a codeword. For example, an ECC that generates 8 parity bits for 64-bit data can typically detect two bit errors and correct one bit error in the 64-bit data, which is called a DED / SEC code, meaning double-error detecting (DED) and single-error correcting (SEC). However, it will be apparent to one of ordinary skill in the art after reading the present disclosure that other error correction schemes may be employed, such as in yet another example, single-error detecting (SED) and single error correction (SEC), single-error detecting (SED) and double-error correcting (DEC), double-error detecting (DED) and double-error correction (DEC), triple-error detecting (TED) and triple-error correcting (TEC), etc.
[0036] At block 330 of method 300, after performing error checking, the first data is written back to the first cell. For example, the first data is rewritten into cell A of cell array 102. The rewriting process corrects the first data stored in cell A of cell array 102. The first data is rewritten into cell A in a third time slot. The third time slot is after the second time slot. For example, the third time slot is the next time slot after the second time slot.
[0037] The steps of blocks 310, 320, and 330 are repeated for each cell connected to the first word line WL1 associated with the sense amplifier 106. For example, at block 340 of the method 300, the second data stored in the second cell connected to the first word line WL1 is read in the fourth time slot. That is, the second data stored in the cell B of the cell array 102 is read in the fourth time slot. In the example, the sense amplifier 106 reads the second data from the cell B. The sense amplifier 106 provides the first data to the flip-flop 108. The fourth time slot is after the third time slot. For example, the fourth time slot is the next time slot after the third time slot.
[0038] At block 350 of method 300, error checking is performed on the second data read from unit B. The error checking includes determining errors of the second data, if any, and correcting the errors, if any. The error checking is performed by an ECC circuit of controller 112. Error checking is performed on the second data in a fifth time slot. The fifth time slot is after the fourth time slot. For example, the fifth time slot is the next time slot after the fourth time slot.
[0039] At block 360 of method 300, after performing error checking on the second data, the second data is rewritten into the second cell. For example, the second data is rewritten into cell B of cell array 102. The rewriting process corrects the second data stored in cell B of cell array 102. The second data is rewritten into cell B in a sixth time slot. The sixth time slot is after the fifth time slot. For example, the sixth time slot is the next time slot after the fifth time slot.
[0040] In an example embodiment, the method 300 continues to read the data stored in the cell C and the cell D, perform error checking on the data and rewrite the data back to the cell C and the cell D, respectively, in consecutive time slots (not shown) associated with the first word line WL1 and the sense amplifier 106. After performing the refresh operation of the unrotated address on the cell A, the cell B, the cell C and the cell D, the method 300 continues to perform the refresh operation of the unrotated address on the cell associated with the first word line WL1 and another sense amplifier, then on the cell connected to the second word line WL2 and the sense amplifier 106, and so on. In an example embodiment, the range or coverage is predetermined and controlled by the controller 112. In addition, after the timer 114 expires, the refresh operation of the unrotated address is repeated for the cell array 102. Therefore, the order in which the refresh operation of the unrotated address is performed is configurable and controlled by the controller 112. In addition, the frequency of performing the refresh operation of the unrotated address is also configurable and controlled by the controller 112.
[0041] Figure 4 4 is a flow chart of a method for performing a refresh operation with a rotated address in a memory device 100 according to some embodiments. The refresh operation with a rotated address is performed to correct errors in information stored in the memory device 100. In the refresh operation with a rotated address, data read from one cell is rewritten to another cell, and when the read data is rewritten, the data address of the read data is refreshed to point to another cell. In some examples, the method 400 is performed by the controller 112 or by referring to the present disclosure. Figure 6 The processing system described herein performs. In other examples, the method 400 may be stored as instructions in a storage device accessible to the controller 112 or the processor. The stored instructions may be executed by the controller 112 or the processor to perform the method 400. The storage device used to store the instructions may include a non-transistor computer readable medium.
[0042] At block 410 of method 400, first data is read. The first data is read from a first cell of cell array 102 and is read in a first time slot. For example, first data stored in a first cell (i.e., cell A) connected to a first word line (i.e., WL1) and a first bit line (i.e., BL1) of cell array 102 is read in a first time slot. The first time slot is substantially equal to a clock period.
[0043] The first data is read by the sense amplifier 106 and provided in the flip-flop 108 .
[0044] At block 420a of method 400, error checking is performed on the first data. The error checking includes determining whether the first data is corrupted. If the first data is found to be corrupted, the first data is corrected. The error checking is performed by an ECC circuit of controller 112. In an example embodiment, after performing the error checking, the first data is stored in buffer 110. Error checking is performed on the first data in a second time slot. The second time slot is after the first time slot. For example, the second time slot is the next time slot after the first time slot.
[0045] In an example embodiment, an error correction code (ECC) scheme is used to perform error checking. The ECC scheme encodes data by generating ECC check bits (e.g., redundant bits or parity bits), which are stored in the memory device 100 together with the data. The data bits and the check (e.g., parity) bits together form a codeword. For example, an ECC that generates 8 parity bits for 64-bit data can usually detect two bit errors and correct one bit error in the 64-bit data, which is called a DED / SEC code, meaning double error detection (DED) and single error correction (SEC).
[0046] At block 420b of method 400, second data is read. The second data is read from a second cell of cell array 102 in a second time slot. For example, second data stored in a second cell (i.e., cell B) connected to a first word line (i.e., WL1) and a second bit line (i.e., BL2) of cell array 102 of memory device 100 is read in a second time slot. That is, the second data is read while error checking is performed on the first data in the second time slot. In other words, the second data is read in parallel with error checking of the first data in the second time slot. The second time slot is after the first time slot. For example, the second time slot is the next time slot after the first time slot. The second data is read by sense amplifier 106 and provided to flip-flop 108.
[0047] At block 430a of method 400, error checking is performed on the second data. The error checking includes determining whether the second data is corrupted. If the second data is found to be corrupted, the second data is corrected. The error checking is performed by an ECC circuit of controller 112. In an example embodiment, after performing the error checking, the second data is stored in buffer 110. Error checking is performed on the second data in a third time slot. The third time slot is after the second time slot. For example, the third time slot is the next time slot after the second time slot.
[0048] At block 430b of method 400, the first data is written. In an example embodiment, the first data is written back to another cell of the cell array 102. For example, the first data is written to a second cell (i.e., cell B) of the cell array 102. The process of rewriting the first data corrects the first data. After writing the first data to the second cell (i.e., cell B), the address of the first data is rotated to the second cell (i.e., cell B). In some examples, the first data may be written to cell C or cell D associated with the first word line WL1 and the sense amplifier 106. The first data is written from the buffer 110 to the second cell (i.e., cell B) by the sense amplifier 106. Writing the first data is substantially simultaneous with performing error checking on the second data in the third time slot. In other words, writing the first data is parallel with performing error checking on the second data in the third time slot. The third time slot is after the second time slot. For example, the third time slot is the next time slot after the second time slot.
[0049] At block 440 of method 400, third data is read. The third data is read from the third cell of cell array 102 in a fourth time slot. For example, the third data stored in a third cell (i.e., cell C) connected to the first word line (i.e., WL1) and the third bit line (i.e., BL3) of cell array 102 is read in the fourth time slot. The fourth time slot is after the third time slot. The fourth time slot is approximately equal to the clock period. The third data is read by sense amplifier 106 and provided in flip-flop 108.
[0050] At block 450a of method 400, error checking is performed on the third data. The error checking includes determining whether the third data is corrupted. If the third data is found to be corrupted, the third data is corrected. The error checking is performed by an ECC circuit of controller 112. After performing the error checking, the third data is stored in buffer 110. Error checking is performed on the third data in a fifth time slot. The fifth time slot is after the fourth time slot. For example, the fifth time slot is the next time slot after the fourth time slot.
[0051] At block 450b of method 400, second data is written. In an example embodiment, the second data is written to another cell of cell array 102. For example, the second data is written to a third cell (i.e., cell C) of cell array 102. The process of rewriting the second data corrects the second data. After the second data is written to the third cell, the address of the second data is rotated to the third cell. In some examples, the second data may be written to cell D instead of cell C. The second data is written from buffer 110 to the third cell (i.e., cell C) by sense amplifier 106. In an example embodiment, writing the second data is substantially simultaneous with performing error checking on the third data in the fifth time slot. In other words, writing the second data is parallel with performing error checking on the third data in the fifth time slot.
[0052] At block 460 of method 400, fourth data is read. The fourth data is read from the fourth cell of the cell array 102 in the sixth time slot. For example, the fourth data stored in the fourth cell (i.e., cell D) connected to the first word line (i.e., WL1) and the fourth bit line (i.e., BL4) of the cell array 102 of the memory device 100 is read. The fourth data is read by the sense amplifier 106 and provided to the flip-flop 108. The fourth data is read in the sixth time slot. The sixth time slot is after the fifth time slot. For example, the sixth time slot is the next time slot after the fifth time slot.
[0053] At block 470a of method 400, error checking is performed on the fourth data. The error checking includes determining whether the fourth data is corrupted. If the fourth data is found to be corrupted, the fourth data is corrected. The error checking is performed by an ECC circuit of controller 112. After performing the error checking, the fourth data is stored in buffer 110. Error checking is performed on the fourth data in a seventh time slot. The seventh time slot is after the sixth time slot. For example, the seventh time slot is the next time slot after the sixth time slot.
[0054] At block 470b of method 400, third data is written. In an example embodiment, the third data is written to another cell of cell array 102. For example, the third data is written to a fourth cell (i.e., cell D) of cell array 102. The process of rewriting the third data corrects the third data. After the third data is written to the fourth cell, the address of the third data is rotated to the fourth cell. The second data is written from buffer 110 to the fourth cell (i.e., cell D) through sense amplifier 106. In an example embodiment, writing the third data is substantially simultaneous with performing error checking on the fourth data in the seventh time slot. In other words, writing the third data is parallel with performing error checking on the fourth data in the seventh time slot.
[0055] At block 480 of method 400, fourth data is written. In an example embodiment, the fourth data is written back to another cell of cell array 102. For example, the fourth data is rewritten to a first cell (i.e., cell A) of cell array 102. The process of rewriting the fourth data corrects the fourth data. After writing the fourth data to the first cell, the address of the fourth data is rotated to the first cell. The fourth data is written from buffer 110 to the first cell (i.e., cell A) through sense amplifier 106. The fourth data is rewritten in an eighth time slot. The eighth time slot is after the seventh time slot. For example, the eighth time slot is the next time slot after the seventh time slot.
[0056] Therefore, in the example embodiment, using method 400 (i.e., a refresh operation with a rotated address), the cells connected to the first word line (i.e., WL1) and the sense amplifier 106 (i.e., cell A, cell B, cell C, and cell D) are refreshed with a smaller number of time slots than using method 300 (i.e., a refresh operation with a non-rotated address). In addition, in a refresh operation with a rotated address, since each refresh operation rotates the stored data to a different cell, the same stored data is not damaged multiple times due to cell failure. This reduces the number of rewrites of the cell array 102, thereby improving resource utilization of the refresh operation.
[0057] In an example embodiment, after performing the refresh operation with the rotated address on the cell A, the cell B, the cell C, and the cell D, the method 400 continues to perform the refresh operation with the rotated address on other cells of the cell array 102. For example, the method 400 continues to perform the refresh operation with the rotated address on the next group of cells connected to the second word line (i.e., WL2), the next group of cells connected to the first word line (i.e., WL1) and another sense amplifier. In an example, the order of performing the refresh operation with the rotated address can be predetermined and can be controlled by the controller 112. In addition, the frequency of performing the refresh operation without rotating the address can also be predetermined and controlled by the controller 112. For example, the refresh operation with the rotated address is repeated for multiple cells of the cell array 102 at the expiration of the timer 114. In some examples, the refresh operation with the rotated address is performed after performing a predetermined number of refresh operations without rotating the address.
[0058] Figure 5A An example process flow 500 for performing a refresh operation of an unrotated address according to some embodiments is described. The refresh operation begins with a selected cell of the cell array 102. For example, and as Figure 5AAs shown in FIG. 5 , in a first time slot, data from cell A of cell array 102 is read. After the data is read from cell A in the first time slot, an error check is performed on the data read from cell A in a second time slot (arrow 502). After the error check is performed in the second time slot, the data read from cell A is written back to cell A in a third time slot (arrow 504).
[0059] After rewriting the data in cell A, process flow 500 continues to the next cell. Figure 5A As shown in FIG. 5 , in the fourth time slot, data stored in cell B of cell array 102 is read. After the data is read from cell B in the fourth time slot, an error check is performed on the data read from cell B in the fifth time slot (arrow 506). After the error check is performed in the fifth time slot, the data read from cell B is written back to cell B in the sixth time slot (arrow 508).
[0060] After rewriting the data in cell B, process flow 500 continues to the next cell. Figure 5A As shown in FIG. 5 , in the seventh time slot, data stored in cell C is read. After the data is read from cell C in the seventh time slot, an error check is performed on the data read from cell C in the eighth time slot (arrow 510). After the error check is performed in the eighth time slot, the data read from cell C is written back to cell C in the next time slot (e.g., the ninth time slot (not shown)). The process flow 500 may continue until each of the selected cells of the cell array 102 is rewritten. In addition, the process 500 may be repeated after a predetermined amount of time from the last refresh operation.
[0061] Figure 5B An example process flow 550 for performing a refresh operation with a rotated address is described in accordance with some embodiments. The refresh operation with a rotated address begins with a selected cell of the cell array 102. For example, and as Figure 5B , in a first time slot, data from cell A of the cell array 102 is read. After the data is read from cell A in the first time slot, data from the next cell (i.e., cell B) is read in a second time slot. In addition, substantially simultaneously with the reading of data from cell B, an error check is performed on the data read from cell A in the second time slot (arrow 552). That is, the reading of data from cell B and the error check on the data read from cell A are performed in parallel in the second time slot.
[0062] After reading data from cell B in parallel in the second time slot and performing error checking on the data read from cell A, the data read from cell A is written to another cell (e.g., cell B) of the cell array 102 in the third time slot (arrow 554). In addition, at substantially the same time as the data read from cell A is rewritten to cell B, error checking is performed on the data read from cell B in the third time slot (arrow 556). That is, rewriting the data read from cell A and performing error checking on the data read from cell B are performed in parallel in the third time slot.
[0063] After rewriting the data read from cell A and performing error checking on the data read from cell B, process flow 550 continues with the next cell of cell array 102. Figure 5B , in the fourth time slot, data stored in the cell C of the cell array 102 is read. After the data is read from the cell C in the fourth time slot, the data read from the cell B is written to another cell (e.g., the cell C) of the cell array 102 in the fifth time slot (arrow 558). In addition, substantially simultaneously with the rewriting of the data read from the cell B, an error check is performed on the data read from the cell C in the fifth time slot (arrow 560). That is, the rewriting of the data read from the cell B and the error check on the data read from the cell C are performed in parallel in the fifth time slot.
[0064] After rewriting the data read from cell B and performing error checking on the data read from cell C, process flow 550 continues with the next cell of cell array 102. Figure 5B As shown in FIG. 5 , in the sixth time slot, data stored in the cell D of the cell array 102 is read. After the data is read from the cell D in the sixth time slot, the data read from the cell C is written to another cell (e.g., the cell D) of the cell array 102 in the seventh time slot (arrow 562). In addition, substantially simultaneously with the rewriting of the data read from the cell C, an error check is performed on the data read from the cell D in the seventh time slot (arrow 564). That is, the rewriting of the data read from the cell C and the error check on the data read from the cell D are performed in parallel in the seventh time slot.
[0065] After performing error checking on the data read from cell D in parallel with rewriting the data read from cell C, in the eighth time slot, the data read from cell D is written to another cell (i.e., cell A) (arrow 566). In an example embodiment, the rotation mode may be modified as needed. For example, data read from cell A may be rotated to cell C, data read from cell B may be rotated to cell D, etc. It is not limited thereto.
[0066] Figure 66 is a block diagram illustrating an example of a processing system 600 according to some embodiments disclosed herein. The processing system 600 can be used to implement memory refresh operations according to various processes discussed herein. The processing system 600 includes a processing unit 610, such as a desktop computer, a workstation, a laptop computer, a dedicated unit customized for a specific application, a smart phone or a tablet computer, etc. The processing system 600 can be equipped with a display 614 and one or more input / output devices 612, such as a mouse, a keyboard, a touch screen, a printer, etc. The processing unit 610 also includes a central processing unit (CPU) 620, a memory device 622, a mass storage device 624, a video adapter 626, and an I / O interface 628 connected to a bus 630.
[0067] Bus 630 may be one or more of any type of several bus architectures including a memory bus or memory controller, a peripheral bus, or a video bus. CPU 620 may include any type of electronic data processor, and memory device 622 may include any type of system memory, such as static random access memory (SRAM), dynamic random access memory (DRAM), or read-only memory (ROM).
[0068] The mass storage device 624 may include any type of storage device configured to store data, programs, and other information and configured to make the data, programs, and other information accessible via the bus 630. The mass storage device 624 may include, for example, one or more of a hard drive, a magnetic disk drive, an optical disk drive, flash memory, or the like.
[0069] The term computer-readable media as used herein may include computer storage media such as system memory and the storage devices described above. Computer storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, or program modules. Storage device 622 and mass storage device 624 are examples of computer storage media (e.g., memory storage).
[0070] Computer storage media may include RAM, ROM, electrically erasable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical storage, cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other article of manufacture that can be used to store information and accessed by processing device 600. Any such computer storage media may be part of processing device 600. Computer storage media do not include carrier waves or other propagated or modulated data signals.
[0071] Communication media may be embodied in a modulated data signal such as a carrier wave or other transport mechanism via computer readable instructions, data structures, program modules or other data, and includes any information delivery media. The term "modulated data signal" may describe a signal that has one or more characteristics set or changed in a manner that encodes information in the signal. By way of example and not limitation, communication media may include wired media such as a wired network or direct-wired connection; and wireless media such as acoustic, radio frequency (RF), infrared and other wireless media.
[0072] The video adapter 626 and the input output (I / O) interface (Interface, I / F) 628 provide interfaces to couple external input and output devices to the processing unit 610. Figure 6 , examples of input devices and output devices include a display 614 coupled to a video adapter 626 and an I / O device 612 such as a mouse, keyboard, printer, and the like coupled to an I / O interface 628. Other devices may be coupled to the processing unit 610, and additional or fewer interface cards may be utilized. For example, a serial interface card (not shown) may be used to provide a serial interface for a printer. The processing unit 610 may also include a network interface 640, which may be a wired link to a local area network (LAN) or a wide area network (WAN) 616 and / or a wireless link.
[0073] Embodiments of processing system 600 may include other components. For example, processing system 600 may include a power supply, cables, a motherboard, removable storage media, a chassis, and the like. These other components (although not shown) should be considered part of processing system 600.
[0074] In some examples, instructions or software codes are implemented by the CPU 620 to perform the refresh operation. The instructions or software codes may be accessed by the CPU 620 via the bus 630 from the memory device 622, the mass storage device 624, or the like, or remotely through the network interface 640. Furthermore, in some examples, the refresh operation instructions may be received through the I / O interface 628 and / or stored in the memory device 622 or the mass storage device 624 according to various methods and processes implemented by the software code.
[0075] According to an example embodiment, a method of refreshing a memory device includes: reading first data stored in a first cell of a cell array in a first time slot; performing error checking on the first data in a second time slot; reading second data stored in a second cell of the cell array substantially simultaneously with performing error checking on the first data in the second time slot; performing error checking on the second data in a third time slot; and writing the first data to the second cell substantially simultaneously with performing error checking on the second data in the third time slot.
[0076] In a related embodiment, the method for refreshing a memory device further includes: storing the first data in a buffer after performing the error check on the first data.
[0077] In a related embodiment, the method of refreshing a memory device, wherein performing the error check on the first data includes: determining that the first data is damaged; and correcting the first data in response to determining that the first data is damaged.
[0078] In a related embodiment, the method for refreshing a memory device further includes: reading third data stored in a third unit in a fourth time slot.
[0079] In a related embodiment, the method for refreshing a memory device further includes: performing the error check on the third data in a fifth time slot; and writing the second data to the third unit substantially simultaneously with performing the error check on the third data in the fifth time slot.
[0080] In a related embodiment, the method for refreshing a memory device further includes: reading fourth data stored in a fourth unit in a sixth time slot.
[0081] In a related embodiment, the method for refreshing a memory device further includes: performing the error check on the fourth data in a seventh time slot; and writing the third data to the fourth unit substantially simultaneously with performing the error check on the fourth data in the seventh time slot.
[0082] In a related embodiment, the first time slot, the second time slot, the third time slot, the fourth time slot, the fifth time slot, the sixth time slot and the seventh time slot are consecutive time slots.
[0083] In a related embodiment, the first cell, the second cell, the third cell, and the fourth cell are connected to a first word line of the cell array, and wherein the first cell is connected to a first bit line, the second cell is connected to a second bit line, the third cell is connected to a third bit line, and the fourth cell is connected to a fourth bit line. In an example embodiment of the present disclosure, a memory device includes: a memory device; and a processor connected to the memory device, wherein the processor is operable to: perform a refresh operation in the cell array without rotating the address; and after performing the refresh operation without rotating the address, perform a refresh operation in the cell array with rotated address.
[0084] In a related embodiment, the processor is operable to perform the refresh operation of the unrotated address including the processor being operable to: read first data stored in a first cell of the cell array in a first time slot; perform error checking on the first data in a second time slot; and after performing the error checking, write the first data to the first cell in a third time slot.
[0085] In a related embodiment, the processor is further operable to: read second data stored in a second cell of the cell array in a fourth time slot; perform the error check on the second data in a fifth time slot; and after performing the error check, write the second data to the second cell in a sixth time slot.
[0086] In a related embodiment, the processor is operable to perform the refresh operation with the address rotated, including the processor being operable to: read first data stored in a first cell of the cell array in a first time slot; perform error checking on the first data in a second time slot; read second data stored in a second cell of the cell array substantially simultaneously with performing the error checking on the first data in the second time slot; perform the error checking on the second data in a third time slot; and write the first data to the second cell substantially simultaneously with performing the error checking on the second data in the third time slot.
[0087] In a related embodiment, the processor is further operable to: read third data stored in the third unit in a fourth time slot.
[0088] In a related embodiment, the processor is further operable to: perform the error checking on the third data in a fifth time slot; and write the second data to the third unit substantially simultaneously with performing the error checking on the third data in the fifth time slot.
[0089] In a related embodiment, the first time slot, the second time slot, the third time slot, the fourth time slot and the fifth time slot are consecutive time slots.
[0090] According to an example embodiment, a memory device includes: a cell array; a sense amplifier connected to the cell array; a buffer connected to the sense amplifier; and a controller connected to the cell array, wherein the controller is operable to: perform a refresh operation without rotating the address in the cell array; repeat the refresh operation without rotating the address a predetermined number of times; and perform a refresh operation with rotated addresses in the cell array after repeating the refresh operation with rotated addresses a predetermined number of times.
[0091] In a related embodiment, the controller is operable to perform the refresh operation of the unrotated address including the controller being operable to: read first data stored in a first cell of the cell array in a first time slot; perform an error check on the first data in a second time slot; and after performing the error check, write the first data to the first cell in a third time slot.
[0092] In a related embodiment, wherein the controller is operable to perform the refresh operation with a rotated address, includes the controller being operable to: read first data stored in a first cell of a cell array in a first time slot; perform error checking on the first data in a second time slot; read second data stored in a second cell of the cell array substantially simultaneously with performing the error checking on the first data in the second time slot; perform the error checking on the second data in a third time slot; and write the first data to the second cell substantially simultaneously with performing the error checking on the second data in the third time slot.
[0093] In a related embodiment, the memory device is a non-volatile memory device. The present disclosure summarizes various embodiments so that those skilled in the art can better understand the various aspects of the present invention. Those skilled in the art will appreciate that they can readily use the present disclosure as a basis for designing or modifying other processes and structures for carrying out the same purposes and / or achieving the same advantages of the embodiments described herein. Those skilled in the art will also recognize that such equivalent constructions do not depart from the spirit and scope of the present disclosure, and that they may make various changes, substitutions, and modifications herein without departing from the spirit and scope of the present disclosure.
Claims
1. A method for refreshing a memory device, comprising: reading first data stored in a first cell of the cell array in a first time slot; performing error checking on the first data in a second time slot; substantially simultaneously with performing the error check on the first data in the second time slot, reading second data stored in a second cell of the cell array; performing the error checking on the second data in a third time slot; as well as Substantially simultaneously with performing the error check on the second data in the third time slot, the first data is written to the second cell.
2. The method for refreshing a memory device according to claim 1, further comprising: After performing the error check on the first data, the first data is stored in a buffer.
3. The method of refreshing a memory device according to claim 1 , wherein performing the error check on the first data comprises: Determining that the first data is damaged; as well as The first data is corrected in response to determining that the first data is corrupted.
4. The method for refreshing a memory device according to claim 1, further comprising: The third data stored in the third cell is read in the fourth time slot.
5. The method for refreshing a memory device according to claim 4, further comprising: performing the error check on the third data in a fifth time slot; as well as Substantially simultaneously with performing the error check on the third data in the fifth time slot, the second data is written to the third cell.
6. The method for refreshing a memory device according to claim 5, further comprising: The fourth data stored in the fourth cell is read in the sixth time slot.
7. The method for refreshing a memory device according to claim 6, further comprising: performing the error check on the fourth data in a seventh time slot; as well as The third data is written to the fourth unit substantially simultaneously with performing the error check on the fourth data in the seventh time slot. 8 . The method of refreshing a memory device according to claim 7 , wherein the first time slot, the second time slot, the third time slot, the fourth time slot, the fifth time slot, the sixth time slot, and the seventh time slot are consecutive time slots.
9. The method for refreshing a memory device according to claim 7, wherein the first cell, the second cell, the third cell, and the fourth cell are connected to a first word line of the cell array, and wherein the first cell is connected to a first bit line, the second cell is connected to a second bit line, the third cell is connected to a third bit line, and the fourth cell is connected to a fourth bit line.
10. A storage device, comprising: Storage devices; as well as a processor connected to the memory device, wherein the processor is configured to: In the cell array, a refresh operation is performed without rotating the address; as well as After performing the refresh operation without rotating the address, performing the refresh operation with rotating the address in the cell array, The refresh operation in which the address is rotated includes: substantially simultaneously with performing error checking on first data stored in a first cell of the cell array, reading second data stored in a second cell of the cell array; as well as The first data is written to a second cell of the cell array substantially simultaneously with performing the error check on the second data stored in the second cell.
11. The apparatus of claim 10, wherein the refresh operation of an unrotated address comprises: In a first time slot, reading the first data stored in the first cell of the cell array; In a second time slot, performing the error check on the first data; as well as After performing the error check, the first data is written to the first unit in a third time slot.
12. The device of claim 11, wherein the processor is further configured to: In a fourth time slot, reading the second data stored in the second cell of the cell array; In a fifth time slot, performing the error check on the second data; and After performing the error check, the second data is written to the second cell in a sixth time slot.
13. The apparatus of claim 10, wherein the refresh operation with the address rotated comprises: In a first time slot, reading the first data stored in the first cell of the cell array; In a second time slot, performing the error check on the first data; as well as In a third time slot, the error check is performed on the second data.
14. The device of claim 13, wherein the processor is further configured to: In the fourth time slot, the third data stored in the third cell is read.
15. The device of claim 14, wherein the processor is further configured to: In a fifth time slot, performing the error check on the third data; and Substantially simultaneously with performing the error checking on the third data in the third time slot, the second data is written to the third cell.
16. The apparatus of claim 15, wherein the first time slot, the second time slot, the third time slot, the fourth time slot, and the fifth time slot are consecutive time slots.
17. A memory device comprising: Cell arrays; a sense amplifier connected to the cell array; a buffer connected to the sense amplifier; as well as A controller connected to the cell array, wherein the controller is configured to: performing a refresh operation of an unrotated address in the cell array; Repeating the refresh operation of the unrotated address a predetermined number of times; as well as After repeatedly performing the refresh operation without rotating the address for the predetermined number of times, performing the refresh operation with rotating the address in the cell array, The refresh operation in which the address is rotated includes: substantially simultaneously with performing error checking on first data stored in a first cell of the cell array, reading second data stored in a second cell of the cell array; as well as The first data is written to a second cell of the cell array substantially simultaneously with performing the error check on the second data stored in the second cell.
18. The memory device of claim 17, wherein the refresh operation without rotating addresses comprises: In a first time slot, reading the first data stored in the first cell of the cell array; In a second time slot, performing the error check on the first data; as well as After performing the error check, the first data is written to the first unit in a third time slot.
19. The memory device of claim 17, wherein the refresh operation with the address rotated comprises: In a first time slot, reading the first data stored in the first cell of the cell array; In a second time slot, performing the error check on the first data; as well as In a third time slot, the error check is performed on the second data.
20. The memory device of claim 17, wherein the memory device is a non-volatile memory device.
Citation Information
Patent Citations
Refresh of non-volatile memory cells based on fatigue conditions
CN101755307A
Error correction operations in a memory device
CN105144302A
Semiconductor device
CN106683707A
Memory system and operating method thereof
CN109753375A
Semiconductor memory device, memory system and method of operating semiconductor memory device
CN110556156A
