This application contains subject matter related to U.S. patent application Ser. No. 16/237,115, filed Dec. 31, 2018, titled “MEMORY WITH ON-DIE DATA TRANSFER,” and assigned to Micron Technology, Inc. The subject matter of U.S. patent application Ser. No. 16/237,115 is incorporated herein by reference thereto.
The present disclosure is related to memory systems, devices, and associated methods. In particular, the present disclosure is related to memory devices with partial array refresh.
Memory devices are widely used to store information related to various electronic devices such as computers, wireless communication devices, cameras, digital displays, and the like. Memory devices are frequently provided as internal, semiconductor, integrated circuits and/or external removable devices in computers or other electronic devices. There are many different types of memory, including volatile and non-volatile memory. Volatile memory, including static random access memory (SRAM), dynamic random access memory (DRAM), and synchronous dynamic random access memory (SDRAM), among others, may require a source of applied power to maintain its data. Non-volatile memory, by contrast, can retain its stored data even when not externally powered. Non-volatile memory is available in a wide variety of technologies, including flash memory (e.g., NAND and NOR), phase change memory (PCM), ferroelectric random access memory (FeRAM), resistive random access memory (RRAM), and magnetic random access memory (MRAM), among others. Improving memory devices, generally, may include increasing memory cell density, increasing read/write speeds or otherwise reducing operational latency, increasing reliability, increasing data retention, reducing power consumption, or reducing manufacturing costs, among other metrics.
Many aspects of the present disclosure can be better understood with reference to the following drawings. The components in the drawings are not necessarily to scale. Instead, emphasis is placed on illustrating clearly the principles of the present disclosure. The drawings should not be taken to limit the disclosure to the specific embodiments depicted, but are for explanation and understanding only.
As discussed in greater detail below, the technology disclosed herein relates to memory systems and devices with partial array refresh control over memory regions in a memory array, and associated methods. A person skilled in the art, however, will understand that the technology may have additional embodiments and that the technology may be practiced without several of the details of the embodiments described below with reference to
As used herein, the term “refresh” refers to various maintenance operations that can be performed on one or more memory cells of memory devices configured in accordance with various embodiments of the present technology. In some embodiments, the term “refresh” can refer to maintenance operations performed on one or more memory cells to maintain their data. For example, in the context of DRAM and other memory devices, the term “refresh” can refer to reading data from the one or more memory cells and rewriting the data to the one or more memory cells to increase the charge stored on the one or more memory cells to ameliorate charge leakage and to prevent data loss. In these and other embodiments, the term “refresh” can refer to reading data from the one or more memory cells and rewriting the data to the one or more memory cells in an inverted or other data state (e.g., from high to low or low to high), to ameliorate hysteresis shift, material depolarization, imprint and/or wear effects, or the like. In these and still other embodiments, the term “refresh” can refer to other maintenance operations, such as reading data from one or more memory cells and rewriting the data to one or more memory cells at another/other memory location(s).
Memory cells in a memory array of a memory device may be periodieally refreshed to prevent data loss. For example, volatile memory devices, such as DRAM devices, may periodieally refresh memory cells (e.g., by restoring charge levels programmed on the memory cells) to prevent data loss due to charge leakage. Refreshing the memory cells, however, often consumes a large amount of input/output (IO) bandwidth and power of the memory device, which can be further increased as the number of memory cells and/or refresh rates of the memory cells in the memory devices are increased. Thus, in the event that less than all of the memory cells in a memory array of a memory device are fully utilized (e.g., programmed with and/or storing non-stale data), refreshing each of the memory cells in the memory array to refresh utilized memory cells results in refreshing junk data stored on unutilized memory cells and in a waste of power.
To address these concerns, several embodiments of the present technology are directed to memory devices, systems including memory devices, and methods of operating memory devices in which memory cells in a memory array of a memory device are programmed in accordance with a programming sequence to keep data consolidated. In some embodiments, a memory controller of the memory device and/or a host device operably connected to the memory device can track which memory regions (e.g., memory banks, logical memory ranks or dies, etc.) include utilized memory cells. In these and other embodiments, refresh operations refresh only memory regions that contain utilized memory cells, thereby conserving power in relation to conventional refresh operations during which all memory regions are refreshed. In these and still other embodiments, as a portion of a memory region is no longer used, data stored on memory cells that remain utilized on the memory region can be transferred to another memory location on the same or a different memory region so that data stored on the memory device can be reconsolidated. In these and still other embodiments, the programming sequence can be changed such that a memory region that is no longer used or a memory region that is less active than another memory region is no longer refreshed during refresh operations. In this manner, memory devices (and associated systems and methods) configured in accordance with various embodiments of the present technology can refresh only memory regions that are currently utilized, thereby saving power and IO bandwidth over conventional refreshing schemes.
The memory device 100 may employ a plurality of external terminals that include command and address terminals coupled to a command bus and an address bus to receive command signals CMD and address signals ADDR, respectively. The memory device may further include a chip select terminal to receive a chip select signal CS, clock terminals to receive clock signals CK and CKF, data clock terminals to receive data clock signals WCK and WCKF, data terminals DQ, RDQS, DBI, and DMI, and power supply terminals VDD, VSS, and VDDQ.
The power supply terminals of the memory device 100 may be supplied with power supply potentials VDD and VSS. These power supply potentials VDD and VSS can be supplied to an internal voltage generator circuit 170. The internal voltage generator circuit 170 can generate various internal potentials VPP, VOD, VARY, VPERI, and the like based on the power supply potentials VDD and VSS. The internal potential VPP can be used in a row decoder 140, the internal potentials VOD and VARY can be used in sense amplifiers included in a memory array 150 of the memory device 100, and the internal potential VPERI can be used in many other circuit blocks.
The power supply terminals may also be supplied with power supply potential VDDQ. The power supply potential VDDQ can be supplied to an input/output (IO) circuit 160 together with the power supply potential VSS. The power supply potential VDDQ can be the same potential as the power supply potential VDD in an embodiment of the present technology. The power supply potential VDDQ can be a different potential from the power supply potential VDD in another embodiment of the present technology. However, the dedieated power supply potential VDDQ can be used for the IO circuit 160 so that power supply noise generated by the IO circuit 160 does not propagate to the other circuit blocks.
The clock terminals and data clock terminals may be supplied with external clock signals and complementary external clock signals. The external clock signals CK, CKF, WCK, WCKF can be supplied to a clock input circuit 120. The CK and CKF signals can be complementary, and the WCK and WCKF signals can also be complementary. Complementary clock signals can have opposite clock levels and transition between the opposite clock levels at the same time. For example, when a clock signal is at a low clock level a complementary clock signal is at a high level, and when the clock signal is at a high clock level the complementary clock signal is at a low clock level. Moreover, when the clock signal transitions from the low clock level to the high clock level the complementary clock signal transitions from the high clock level to the low clock level, and when the clock signal transitions from the high clock level to the low clock level the complementary clock signal transitions from the low clock level to the high clock level.
Input buffers included in the clock input circuit 120 can receive the external clock signals. For example, when enabled by a CKE signal from a command decoder 115, an input buffer can receive the CK and CKF signals and the WCK and WCKF signals. The clock input circuit 120 can receive the external clock signals to generate internal clock signals ICLK. The internal clock signals ICLK can be supplied to an internal clock circuit 130. The internal clock circuit 130 can provide various phase and frequency controlled internal clock signals based on the received internal clock signals ICLK and a clock enable signal CKE from the command decoder 115. For example, the internal clock circuit 130 can include a clock path (not shown in
The memory device 100 may include an array of memory cells, such as memory array 150. The memory cells of the memory array 150 may be arranged in a plurality of memory regions, and each memory region may include a plurality of word lines (WL), a plurality of bit lines (BL), and a plurality of memory cells arranged at intersections of the word lines and the bit lines. In some embodiments, a memory region can be one or more memory banks or another arrangement of memory cells. In these and other embodiments, the memory regions of the memory array 150 can be arranged in one or more groups (e.g., one or more groups of memory banks, one or more logical memory ranks or dies, etc.). Memory cells in the memory array 150 can include any one of a number of different memory media types, including capacitive, magnetoresistive, ferroelectric, phase change, or the like. The selection of a word line WL may be performed by a row decoder 140, and the selection of a bit line BL may be performed by a column decoder 145. Sense amplifiers (SAMP) may be provided for corresponding bit lines BL and connected to at least one respective local I/O line pair (LIOT/B), which may in turn be coupled to at least respective one main I/O line pair (MIOT/B), via transfer gates (TG), which can function as switches. The memory array 150 may also include plate lines and corresponding circuitry for managing their operation.
The command terminals and address terminals may be supplied with an address signal and a bank address signal from outside the memory device 100. The address signal and the bank address signal supplied to the address terminals can be transferred, via a command/address input circuit 105, to an address decoder 110. The address decoder 110 can receive the address signals and supply a decoded row address signal (XADD) to the row decoder 140, and a decoded column address signal (YADD) to the column decoder 145. The address decoder 110 can also receive the bank address signal (BADD) and supply the bank address signal to both the row decoder 140 and the column decoder 145.
The command and address terminals can be supplied with command signals CMD, address signals ADDR, and chip selection signals CS (e.g., from the memory controller 101 and/or the host device 108). The command signals may represent various memory commands (e.g., including access commands, which can include read commands and write commands). The select signal CS may be used to select the memory device 100 to respond to commands and addresses provided to the command and address terminals. When an active CS signal is provided to the memory device 100, the commands and addresses can be decoded and memory operations can be performed. The command signals CMD may be provided as internal command signals ICMD to a command decoder 115 via the command/address input circuit 105. The command decoder 115 may include circuits to decode the internal command signals ICMD to generate various internal signals and commands for performing memory operations, for example, a row command signal to select a word line and a column command signal to select a bit line. The internal command signals can also include output and input activation commands, such as clocked command CMDCK (not shown) to the command decoder 115. The command decoder 115 may further include one or more registers 118 for tracking various counts or values (e.g., counts of refresh commands received by the memory device 100 or self-refresh operations performed by the memory device 100; memory regions enabled for refresh operations; a last programmed and/or next-to-be programmed memory cell, memory row, memory column, memory bank, logical memory rank or die, and/or other memory region; etc.).
When a read command is issued, and a row address and a column address are timely supplied with the read command, read data can be read from memory cells in the memory array 150 designated by these row address and column address. The read command may be received by the command decoder 115, which can provide internal commands to the IO circuit 160 so that read data can be output from the data terminals DQ, RDQS, DBI, and DMI via read/write (RW) amplifiers 155 and the IO circuit 160 according to the RDQS clock signals. The read data may be provided at a time defined by read latency information RL that can be programmed in the memory device 100, for example, in a mode register (not shown in
When a write command is issued, and a row address and a column address are timely supplied with the command, write data can be supplied to the data terminals DQ, DBI, and DMI according to the WCK and WCKF clock signals. The write command may be received by the command decoder 115, which can provide internal commands to the IO circuit 160 so that the write data can be received by data receivers in the IO circuit 160, and supplied via the IO circuit 160 and the RW amplifiers 155 to the memory array 150. The write data may be written in the memory cell designated by the row address and the column address. The write data may be provided to the data terminals at a time that is defined by write latency WL information. The write latency WL information can be programmed in the memory device 100, for example, in the mode register (not shown in
As described in greater detail below, when a write command is issued, the row address and a column address supplied with the write command can correspond to a programming sequence that defines a sequence of memory regions and/or locations to which the memory device 100 is configured to write new data. In this manner, data stored on the memory device 100 is consolidated on the memory device 100 at the time it is written to memory cells of the memory array 150. For example, the memory system 190 can write data to the memory array 150 in sequence, starting with memory cells in a first memory region (e.g., memory cells in a first memory bank in the memory array 150 and/or in each memory bank group). As a threshold number of the memory cells in the first memory region become utilized, the memory system 190 can proceed to write data to a next memory region (e.g., the next memory bank in the memory array 150 and/or the next memory bank in each memory bank group) in the programming sequence. As data is written to memory cells of the memory array 150, the memory system 190 can track the last programmed or next-to-be programmed memory region and/or location (e.g., the last programmed or next-to-be programmed memory cell, memory row, memory column, memory bank logical memory rank or die, etc.), such that data corresponding to a subsequent write command is written to the next-to-be programmed memory region and/or location and consolidates data stored on the memory array 150. In some embodiments, the memory system 190 can track the last programmed and/or the next-to-be programmed memory region and/or location using corresponding circuitry, such as one or more counters (e.g., a CBR counter), registers (e.g., the register 118), buffers, latches, embedded memories, etc., on the host device 108, on the memory controller 101, and/or on the memory device 100. In these and other embodiments, the corresponding circuitry can be reset in the event of power loss (e.g., powering down of the memory device 100) such that the memory system 190 is configured to write data to memory cells beginning at the first memory region and/or location in the programming sequence when the memory system 190 is subsequently powered on. In some embodiments, the programming sequence can be stored on the host device 108, on the memory controller 101, and/or on the memory device 100. In these and other embodiments, the programming sequence can be loaded into the host device 108, into the memory controller 101, and/or into the memory device 100 (e.g., as the memory system 190 is powered on).
The memory array 150 may be refreshed or maintained as described herein to prevent data loss, either due to charge leakage or imprint effects. A refresh operation, as described herein, may be initiated by the memory system 190 (e.g., by the host device 108, the memory controller 101, and/or the memory device 100), and may include accessing one or more rows (e.g., WL) and discharging cells of the accessed row to a corresponding SAMP. While the row is opened (e.g., while the accessed WL is energized), the SAMP may compare the voltage resulting from the discharged cell to a reference. The SAMP may then write back a logic value (e.g., charge the cell) to a nominal value for the given logic state. In some cases, this write back process may increase the charge of the cell to ameliorate the discharge issues discussed above. In other cases, the write back process may invert the data state of the cell (e.g., from high to low or low to high), to ameliorate hysteresis shift, material depolarization, or the like. Other refresh schemes or methods may also be employed.
In one approach, the memory device 100 may be configured to refresh the same row of memory cells in every memory bank of the memory array 150 simultaneously. In another approach, the memory device 100 may be configured to refresh the same row of memory cells in every memory bank of the memory array 150 sequentially. In still another approach, the memory device 100 can further include circuitry (e.g., one or more registers, latches, embedded memories, counters, etc.) configured to track row (e.g., word line) addresses, each corresponding to one of the memory banks in the memory array 150. In this approach, the memory device 100 is not constrained to refresh the same row in each memory bank of the memory array 150 before refreshing another row in one of the memory banks.
Regardless of the refresh approach, the memory device 100 can be configured to refresh memory cells in the memory array 150 within a given refresh rate or time window (e.g., 32 ms, 28 ms, 25 ms, 23 ms, 21 ms, 18 ms, 16 ms, 8 ms, etc.). In these embodiments, the memory system 190 can be configured to supply refresh commands to the memory device 100 in accordance with a specified minimum cadence tREFI. For example, the memory system 190 can be configured to supply one or more refresh commands to the memory device 100 at least every 7.8 us such that an approximate minimum of 4000 refresh commands are supplied to the memory device 100 within a 32 ms time window.
As explained above, refreshing memory cells in the memory array 150 can consume a large amount of IO bandwidth and power, especially as the number of memory cells, the specified minimum cadence tREFI, and/or the refresh rates increase. In addition, it is unlikely that every memory cell in the memory array 150 is utilized (e.g., is programmed with and/or is storing non-stale data) at any given time. Thus, refreshing every memory cell in the memory array 150 during each refresh operation (as is performed during conventional refresh operations) results in refreshing memory cells that are not utilized and/or contain junk data, which constitutes a waste of IO bandwidth and/or power.
The memory bank 255 of the memory bank group 251 illustrated in
In some embodiments, the inhibit circuitry 278 can be used by the memory system 190 to enable and/or disable one or more of the memory banks 255-258 from receiving refresh commands. For example, the inhibit circuitry 278 can disable the memory bank 255 from receiving refresh commands (e.g., by default or until the memory bank 255 registers an activate) by masking the memory bank 255 during refresh operations of the memory device 100. While disabled, the inhibit circuitry 278 can prevent the memory bank 255 from receiving refresh commands issued from memory system 190, thereby preventing the memory cells 265 of the memory bank 255 from being refreshed. In this manner, power that would otherwise be consumed by the memory device 100 to refresh the memory cells 265 of the memory bank 255 is saved.
In some embodiments, as the memory cells 265 of the memory bank 255 are programmed or are otherwise utilized (e.g., used to store non-stale data), the memory system 190 can use the inhibit circuitry 278 to enable the memory bank 255 (e.g., after the memory bank 255 registers an activate) to receive refresh commands by unmasking the memory bank 255 during refresh operations of the memory device 100. In other embodiments, the memory bank 255 can be enabled to receive refresh commands by default (e.g., by initially not masking the memory bank 255 during refresh operations of the memory device 100). While enabled, the memory bank 255 can receive refresh commands issued by the memory system 190 such that memory cells 265 of the memory bank 255 are refreshed. In these and other embodiments, when the memory cells 265 of the memory bank 255 are no longer utilized (e.g., the memory cells 265 are erased, are no longer programmed, and/or are programmed with stale data), the memory system 190 can use the inhibit circuitry 278 to disable the memory bank 255 from receiving refresh commands issued by the memory system 190. In some embodiments, disabling the memory bank 255 from receiving refresh commands using the inhibit circuitry 278 can include toggling a reset pin of the memory bank 255 such that the memory bank 255 is reset. In these and other embodiments, the memory system 190 can be configured to disable all or a subset of the memory banks in the memory device 100 in response to a power loss event of the memory device 100. In these and still other embodiments, the inhibit circuitry 278 can disable the memory bank 255 from receiving refresh commands by masking the memory bank 255.
In some embodiments, the memory bank 255 can be a first memory region of the memory device 100 in a programming sequence stored on the memory system 190. Therefore, as discussed above, the memory system 190 can be configured to write data to the memory cells 265 of the memory bank 255 in accordance with the programming sequence before writing data to memory cells of other memory regions (e.g., before writing data to memory cells of other memory banks in the memory array 150 (
In some embodiments, the memory system 190 can be configured to change or alter the programming sequence of the memory device 100. For example, the memory system 190 can include a first memory region and a second memory region that is later in the programming sequence than the first memory region. In these embodiments, the memory system 190 can be configured to alter the programming sequence if the second memory region becomes more active (e.g., memory cells of the second memory region become more utilized) than the first memory region. In these embodiments, memory cells of another memory region (e.g., memory cells of the second and/or another memory region later in the programming sequence) can be moved ahead of the memory cells of first memory region in the programming sequence and/or can be moved to the beginning of the programming sequence. In these and other embodiments, the memory system 190 can be configured to place the memory cells of the first memory region at the end of or at another position within the programming sequence such that memory cells of the second or other memory region(s) are programmed before the memory cells of the first memory region. This can permit memory cells of the first memory region to become unutilized (e.g., erased, no longer programmed, and/or programmed with stale data) over time. In turn, this can permit the memory system 190 to disable the memory cells of the first memory region from receiving refresh commands (e.g., by using the inhibit circuitry 278 and/or other corresponding inhibit circuitry to mask the first memory region during refresh operations of the memory device 100), thereby conserving power during refresh operations.
In these and other embodiments, the memory system 190 can be configured to alter the programming sequence if data stored on memory cells of the first memory region becomes stale, the memory cells of the first memory region are no longer programmed, and/or the memory cells at the first memory region are erased. In these and still other embodiments, the memory system 190 can be configured to periodieally alter the programming sequence. For example, the memory system 190 can be configured to periodieally alter the programming sequence to prolong the life of memory cells in the memory array 150.
In these and other embodiments, the memory system 190 can be configured to reconsolidate data within a memory region (e.g., within the memory bank 255) and/or across multiple memory regions in the memory array 150 (e.g., across one or more of the memory banks 255-258 in the memory bank group 251). For example, as some of the memory cells 265 in the memory bank 255 become unutilized while others of the memory cells 265 in the memory bank 255 remain utilized, data stored to the memory bank 255 and/or on the memory array 150 can become unconsolidated. In response, the memory system 190 in some embodiments can be configured to transfer (e.g., rewrite) the data stored in utilized memory cells 265 of the memory bank 255 to memory cells 265 at (e.g., physically or logically contiguous) memory locations within the memory bank 255. As a result, data stored on the memory bank 255 can be reconsolidated, and a greater amount of (e.g., physically or logically contiguous) memory cells 265 in the memory bank 255 can be made available to store data in subsequent write operations. In these and other embodiments, the memory system 190 can be configured to alter the programming sequence such that the unutilized memory cells 265 of the memory bank 255 are programmed before memory cells of other memory regions in the programming sequence. In these and still other embodiments, the memory system 190 can be configured to transfer (e.g., rewrite) the data stored in utilized memory cells 265 of the memory bank 255 to memory cells of another memory region (e.g., to memory cells of a more active memory bank) in the memory array 150. In this manner, data stored to the memory array 150 can be reconsolidated. Additionally, the memory system 190 in some embodiments can disable the memory bank 255 from receiving refresh commands once the data stored on the utilized memory cells 265 of the memory bank 255 is transferred to another memory region of the memory array 150, thereby conserving power during refresh operations and opening the memory cells 265 of the memory bank 255 to store data in subsequent write operations.
Although memory regions are primarily discussed above in the context of entire memory banks in the memory array 150, any of the above operations can be carried out at different levels of the memory system 190. For example, memory regions in other embodiments can include individual memory cells and/or any combination of word lines and associated bit lines internal to the memory device 100 (e.g., logical memory ranks or dies). Thus, in embodiments where a memory region includes logical memory ranks or dies, the memory system 190 can use inhibit circuitry to enable or disable entire logical memory ranks or dies from receiving refresh commands such that one or more memory banks in a given logical memory rank or die are enabled (e.g., are not masked or are unmasked) or disabled (e.g., are masked) from receiving refresh commands. In these and other embodiments, inhibit circuitry can disable a given logical memory rank or die until the logical memory rank or die or individual memory banks within the logical rank or die register an activate. In these and still other embodiments, disabling a previously enabled logical rank or memory die can include toggling one or more reset pins of the previously enabled logical memory rank or die and/or of the memory banks in the previously enabled logical memory rank or die (e.g., in response to a power loss event of the memory device 100). Furthermore, although the memory system 190 is discussed above in the context of issuing one refresh command that is passed to or masked from individual memory regions (e.g., logical memory ranks or dies, memory banks, etc.), the memory system 190 in other embodiments can be configured to issue more than one refresh command. For example, the memory system 190 in other embodiments can be configured to individually issue a refresh command to each memory region of the memory device 100 that is enabled to receive refresh commands.
Referring to
At block 352, the routine 350 can write data to a next memory region (e.g., a next available memory region) of the memory device in accordance with a programming sequence. The programming sequence can define an order of memory regions and/or locations (e.g., memory rows (word lines), memory columns (bit lines) memory banks, memory bank groups, logical memory ranks or dies, etc.) in the memory device to which the routine 350 sequentially writes data. In some embodiments, the programming sequence can be a predefined programming sequence (e.g., one defined during manufacture of and/or powering on of the memory device). In these and other embodiments, the programming sequence can be stored on the memory device and/or on other components of the memory system (e.g., on the host device and/or on the memory controller). In these and still other embodiments, the programming sequence can be loaded into the memory device, the memory controller, and/or the host device (e.g., when the memory device is powered on).
In some embodiments, the routine 350 can track the last programmed or next-to-be programmed memory region (e.g., memory row (word line), memory column (bit line) memory bank, memory bank group, logical memory rank or die, etc.) in the programming sequence by storing a corresponding value on the memory device, on the memory controller, and/or on the host device. In these embodiments, the routine 350 can reference the programming sequence (e.g., the stored value) to determine one or more row and column addresses corresponding to the next available memory region, to supply the one or more row and column address corresponding to the next available memory region to the memory device, and/or to write data to memory cells of the next available memory region at the corresponding one or more row and column addresses. For example, after the memory device is powered on, the routine 350 can initially retrieve one or more row and column addresses corresponding to a first memory region (e.g., a first memory bank and/or logical memory rank or die in the memory device, a first memory bank in each memory bank group, etc.) in the programming sequence, supply the one or more row and column addresses corresponding to the first memory region in the programming sequence to the memory device, and/or write data to the first memory region in the programming sequence at memory locations corresponding to the one or more row and column addresses. As described in greater detail below with respect to block 355, the routine 350 can update the stored value to reflect the last programmed and/or the next-to-be programmed memory region such that the routine 350 can reference the stored value and write data to the next-to-be programmed memory region during a subsequent write operation.
At block 353, the routine 350 determines whether the next available memory region is disabled from receiving refresh commands. In some embodiments, the routine 350 can track and/or determine which memory regions are enabled and/or disabled from receiving refresh operations by using a table and/or other values stored on the memory device, on the memory controller, and/or on the host device. If the routine 350 determines the next available memory region is disabled from receiving refresh operations, the routine 350 can proceed to block 354. On the other hand, if the routine 350 determines that the next available memory region is not disabled from receiving refresh operations, the routine 350 can proceed to block 355.
At block 354, the routine 350 can enable the next available memory region to receive refresh commands. In some embodiments, the routine 350 can enable the next available memory region to receive refresh commands using inhibit circuitry corresponding to the next available memory region. In these and other embodiments, the routine 350 can enable the next available memory region to receive refresh commands by registering an activate of the next available memory region (e.g., with the host device, with the memory controller, and/or with the memory device). For example, memory regions in the memory device can be disabled from receiving refresh operations by default until memory cells on the next available memory region are utilized (e.g., are programmed with and/or store non-stale data). In these embodiments, the first time the routine 350 writes data to memory cells of the next available memory region, the routine 350 can register an activate of the next available memory region to enable the next available memory region to receive refresh commands. In these and still other embodiments, a memory region can be disabled from receiving refresh commands by masking the next available memory region from receiving refresh commands. In these embodiments, the routine 350 can enable the next available memory region to receive refresh commands by removing the mask from (e.g., by not masking) the next available memory region during refresh operations.
At block 355, the routine 350 can update the stored value referenced at block 352 to reflect the last programmed or next-to-be programmed memory region. In this manner, the routine 350 can reference the updated value during a subsequent write operation and can write data to the memory device in accordance with the programming sequence such that data stored on the memory device is consolidated at the time it is written to the memory device. As described in greater detail below with respect to the routine 380 (
Referring to
At block 362, the routine 360 can distribute the refresh command to memory regions of the memory device that are enabled to receive refresh commands. In some embodiments, the routine 360 can distribute the refresh command to enabled memory regions by individually sending a refresh command to each enabled memory region. In other embodiments, the routine 360 can distribute the refresh command to enabled memory regions by masking disabled memory regions (e.g., using corresponding inhibit circuitry) from receiving a refresh command sent to all or a subset of the memory regions in the memory device.
At block 363, the routine 360 can refresh memory cells of memory regions that receive the refresh command(s). In some embodiments, the routine 360 can refresh the memory cells by accessing one or more rows (e.g., WL) of a memory region and discharging cells of the accessed row to a corresponding SAMP. While a row is opened (e.g., while the accessed word line is energized), the routine 360 can compare the voltage resulting from the discharged cell to a reference, and/or the routine 360 can write back a logic value (e.g., charge the cell) to a nominal value for the given logic state. In some cases, the write back process can increase the charge of the cell to ameliorate the discharge issues discussed above. In other cases, the write back process can invert the data state of the cell (e.g., from high to low or low to high), to ameliorate hysteresis shift, material depolarization or the like. In this manner, only memory cells of enabled memory regions are refreshed in response to a refresh command received at block 361.
Referring to
At block 372, the routine 370 can reconsolidate data stored to one or more memory regions of the memory device. In some embodiments, the routine 370 can reconsolidate data stored on one or more memory regions by transferring data stored on a memory region (e.g., a memory bank) to physically or logically contiguous memory locations on the same memory region. In these and other embodiments, the routine 370 can reconsolidate data stored on one or more memory regions by transferring data stored on a memory region (e.g., on a memory bank) to memory locations (e.g., physically or logically contiguous memory locations) on another memory region (e.g., another memory bank).
At block 373, the routine 370 can determine whether a memory region of the memory device later in the programming sequence is more active than a memory region of the memory device earlier in the programming sequence. In some embodiments, a memory region can be considered more active than another memory region of the memory device when more memory cells of a memory region are utilized (e.g., programmed with and/or store non-stale data) than memory cells of the other memory region. If the routine 370 determines that a memory region of the memory device later in the programming sequence is more active than a memory region carlier in the programming sequence, the routine 370 can proceed to block 374.
At block 374, the routine 370 can update (e.g., change or alter) the programming sequence of the memory device. For example, the routine 370 can move a more active memory region of the memory device later in the programming sequence ahead of a less active memory region earlier in the programming sequence (such that the more active memory region is ahead of the less active memory region in the programming sequence). In these embodiments, the routine 350 (
In these and still other embodiments, routine 370 can update the programming sequence regardless of whether a memory region later in the programming sequence is more active than a memory region earlier in the programming sequence. For example, the routine 370 can alter the order of the memory regions in the programming sequence such that another memory region is listed as the first memory region in the programming sequence and is therefore programmed ahead of the other memory regions. In this manner, the routine 370 can prolong the life of the memory cells in the memory device by distributing the programming of data across memory cells of multiple memory regions and/or enabling other memory cells for refresh operations.
Referring to
At block 382, the routine 380 can determine whether a power loss event has occurred. In some embodiments, a power loss event can occur when power supplied to the memory device is interrupted (e.g., for a threshold period of time) or is terminated. If the routine 380 determines that a power loss event has occurred, the routine 380 can proceed to block 383.
At block 383, the routine can disable one or more memory regions from receiving refresh commands. For example, in the event of a power loss event, the routine 380 can disable all or a subset of memory regions of the memory device from receiving refresh operations. In these and other embodiments, the routine 380 can disable an otherwise enabled memory region from receiving refresh operations when the routine 380 determines that all or a subset of the memory cells of the memory region are unutilized. In some embodiments, the routine 380 can disable a memory region from receiving refresh commands by using corresponding inhibit circuitry. In these and other embodiments, the routine 380 can disable a memory region from receiving refresh commands by masking the memory region from receiving a refresh command received by the memory device, as discussed above with respect to the refresh routine 360 (
Although the steps of the routines 350, 360, 370, and 380 are discussed and illustrated in a particular order, the methods illustrated by the routines 350, 360, 370, and 380 in
The above detailed descriptions of embodiments of the technology are not intended to be exhaustive or to limit the technology to the precise form disclosed above. Although specific embodiments of, and examples for, the technology are described above for illustrative purposes, various equivalent modifications are possible within the scope of the technology, as those skilled in the relevant art will recognize. For example, while steps are presented and/or discussed in a given order, alternative embodiments can perform steps in a different order. Furthermore, the various embodiments described herein can also be combined to provide further embodiments.
From the foregoing, it will be appreciated that specific embodiments of the technology have been described herein for purposes of illustration, but well-known structures and functions have not been shown or described in detail to avoid unnecessarily obscuring the description of the embodiments of the technology. Where the context permits, singular or plural terms can also include the plural or singular term, respectively. Moreover, unless the word “or” is expressly limited to mean only a single item exclusive from the other items in reference to a list of two or more items, then the use of “or” in such a list is to be interpreted as including (a) any single item in the list, (b) all of the items in the list, or (c) any combination of the items in the list. Where the context permits, singular or plural terms can also include the plural or singular term, respectively. Additionally, the terms “comprising,” “including,” “having” and “with” are used throughout to mean including at least the recited feature(s) such that any greater number of the same feature and/or additional types of other features are not precluded.
From the foregoing, it will also be appreciated that various modifications can be made without deviating from the technology. For example, various components of the technology can be further divided into subcomponents, or that various components and functions of the technology can be combined and/or integrated. Furthermore, although advantages associated with certain embodiments of the technology have been described in the context of those embodiments, other embodiments can also exhibit such advantages, and not all embodiments need necessarily exhibit such advantages to fall within the scope of the technology. Accordingly, the disclosure and associated technology can encompass other embodiments not expressly shown or described herein.
This application is a continuation of U.S. application Ser. No. 17/684,235, filed Mar. 1, 2022; which is a continuation of U.S. application Ser. No. 16/939,669, filed Jul. 27, 2020; which is a continuation of U.S. application Ser. No. 16/237,013, filed Dec. 31, 2018, now U.S. Pat. No. 10,762,946; each of which is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 17684235 | Mar 2022 | US |
Child | 18434404 | US | |
Parent | 16939669 | Jul 2020 | US |
Child | 17684235 | US | |
Parent | 16237013 | Dec 2018 | US |
Child | 16939669 | US |