Layer-based erase function
By adopting a layer-based erasure function in the memory system and executing erase and write operations alternately, the delay problem caused by multi-layer erasure before the write operation is solved, achieving more efficient memory system performance and longer service life. System life.
Patent Information
- Application Number
- CN202410198823.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-02-09
- Filing Date
- 2024-02-22
- Publication Date
- 2024-08-23
AI Technical Summary
Existing memory systems need to complete multiple levels of erase operations before performing write operations, resulting in long delays and affecting system performance.
Using a layer-based erase function, erase and write operations are performed in alternating stages so that the second group HGB associated with the virtual block is erased and written to Associated with the first group HGB, thereby reducing latency.
By alternating erase and write operations, the latency of the memory system is significantly reduced and the operational life of the system is extended, while eliminating the need to wait for all erase operations to complete before writing.
Smart Images

Figure CN118538271A_ABST
Abstract
Description
[0001] Cross Reference
[0002] This patent application claims priority to U.S. Provisional Patent Application No. 63 / 447,839, filed by Birgade et al. on February 23, 2023, entitled “DECK-BASED ERASE FUNCTION,” and U.S. Patent Application No. 18 / 437,419, filed by Birgade et al. on February 9, 2024, entitled “DECK-BASED ERASE FUNCTION,” each of which is assigned to its assignee and each of which is expressly incorporated herein by reference in its entirety.
[0003] The technical field relates to a layer-based erase function. Background Art
[0004] Memory devices are widely used to store information in devices such as computers, user devices, wireless communication devices, cameras, digital displays, and others. Information is stored by programming memory cells within the memory device to various states. For example, a binary memory cell can be programmed to one of two supported states, which are typically represented by a logical 1 or a logical 0. In some examples, a single memory cell can support more than two states, either of which can be stored. To access the stored information, the memory device can read (e.g., sense, detect, retrieve, determine) a state from the memory cell. To store information, the memory device can write (e.g., program, set, assign) a state to the memory cell.
[0005] There are various types of memory devices, including magnetic hard disks, random access memory (RAM), read-only memory (ROM), dynamic RAM (DRAM), synchronous dynamic RAM (SDRAM), static RAM (SRAM), ferroelectric RAM (FeRAM), magnetic RAM (MRAM), resistive RAM (RRAM), flash memory, phase change memory (PCM), self-selection memory, chalcogenide memory technology, NOR and NAND memory devices, and others. Memory cells may be described in terms of volatile configurations or non-volatile configurations. Memory cells configured in a non-volatile configuration may maintain a stored logic state for an extended period of time even in the absence of an external power source. Memory cells configured in a volatile configuration may lose a stored state in response to being disconnected from an external power source. Summary of the invention
[0006] An apparatus is described. The apparatus may include: a memory system including one or more memory dies; and a controller coupled to the memory system and configured to cause the apparatus to: erase data from a first subset of blocks used to configure a virtual block, wherein the first subset of blocks is associated with a first portion of the one or more memory dies; determine whether to erase data from each block in the first subset of blocks used to configure the virtual block; perform a first set of write operations on the first subset of blocks based at least in part on a determination to erase the data from each block in the first subset of blocks; erase data from a second subset of blocks used to configure the virtual block in response to completion of performing the first set of write operations on the first subset of blocks, wherein the second subset of blocks is associated with a second portion of the one or more memory dies; determine whether to erase data from each block in the second subset of blocks used to configure the virtual block; and perform a second set of write operations on the second subset of blocks based at least in part on a determination to erase the data from the second subset of blocks.
[0007] A non-transitory computer-readable medium storing code including instructions. The instructions, when executed by a processor of an electronic device, may cause the electronic device to: erase data from a first subset of blocks used to configure a virtual block, wherein the first subset of blocks is associated with a first portion of one or more memory dies of a memory system; determine whether to erase data from each block in the first subset of blocks used to configure the virtual block; perform a first set of write operations on the first subset of blocks based at least in part on the determination to erase the data from each block in the first subset of blocks; erase data from a second subset of blocks used to configure the virtual block in response to completion of performing the first set of write operations on the first subset of blocks, wherein the second subset of blocks is associated with a second portion of the one or more memory dies; determine whether to erase data from each block in the second subset of blocks used to configure the virtual block; and perform a second set of write operations on the second subset of blocks based at least in part on the determination to erase the data from the second subset of blocks.
[0008] A method is described. The method may include: erasing data from a first subset of blocks used to configure a virtual block, wherein the first subset of blocks is associated with a first portion of one or more memory dies of a memory system; determining whether to erase data from each block in the first subset of blocks used to configure the virtual block; performing a first set of write operations on the first subset of blocks based at least in part on determining to erase the data from each block in the first subset of blocks; erasing data from a second subset of blocks used to configure the virtual block in response to completion of performing the first set of write operations on the first subset of blocks, wherein the second subset of blocks is associated with a second portion of the one or more memory dies; determining whether to erase data from each block in the second subset of blocks used to configure the virtual block; and performing a second set of write operations on the second subset of blocks based at least in part on determining to erase the data from the second subset of blocks. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 An example of a system supporting layer-based erase functionality according to examples as disclosed herein is described.
[0010] Figure 2 An example of a system supporting layer-based erase functionality according to examples as disclosed herein is described.
[0011] Figure 3 An example of a process flow supporting layer-based erase functionality according to examples as disclosed herein is described.
[0012] Figure 4 A block diagram illustrating a memory system supporting level-based erase functionality according to examples as disclosed herein.
[0013] Figure 5 The description shows a flow chart of one or several methods of supporting layer-based erase functionality according to examples as disclosed herein. DETAILED DESCRIPTION
[0014] A memory system may include one or more memory devices (e.g., memory dies) including nonvolatile memory (e.g., NAND memory). In some cases, the memory system may include one or more virtual blocks (VBs), each of which may include a group of blocks of nonvolatile memory spanning one or more memory devices. In some examples, each VB may be configured to have a physical block of one or more memory devices, or to have a block (e.g., a block including a functional word line in a corresponding region of a block) constructed (e.g., logically combined) using a half-good block (HGB) of one or more memory devices. For example, a VB may be configured to have a group of blocks constructed using an upper HGB (e.g., a block having a functional word line in an upper region of a block) from an upper level (e.g., an upper region) of one or more memory devices in combination with a corresponding lower HGB (e.g., a block having a functional word line in a lower region of a block) from a lower level (e.g., a lower region) of one or more memory devices. In some cases, a memory system may perform a write operation on one or more VBs of the memory system. In order to enable the new VB for a write operation, the memory system may perform an erase operation on a block associated with the new VB. For example, if the new VB is configured with an HGB, the erase operation may include erasing the upper HGB and the lower HGB associated with the new VB before performing a write operation on the new VB. In such an example, the memory system may complete erasing the upper HGB and the lower HGB before starting to perform a write operation on the new VB, resulting in a relatively high latency compared to a memory system that does not implement HGB.
[0015] According to an example as disclosed herein, a memory system may be configured to perform a layer-based erase function, wherein erase operations and write operations are performed on the VB in alternating phases, so that a first group HGB (e.g., upper HGB, lower HGB) associated with the VB may be erased and written to before erasing and writing to a second group HGB associated with the VB. For example, before erasing the lower HGB and then writing to the lower HGB, the memory system may erase the upper HGB and then write to the upper HGB. In some cases, erasing and writing to the corresponding group HGB may include erasing and writing to the corresponding layers (e.g., upper layer, lower layer) of one or more memory devices. In some examples, the memory system may determine that the first group HGB is full of data (e.g., from performing a write operation) before erasing the second group HGB. In other examples, the memory system may identify an idle time during the execution of a write operation on the first group HGB and begin erasing the second group HGB during the idle time. By supporting a level-based erase function to perform erase operations and write operations in alternating phases, a memory system can benefit from relatively reduced latency (eg, compared to previous implementations of HGB), as well as other advantages.
[0016] First, in reference Figure 1 and 2 Features of the present disclosure are described in the context of systems, devices, and circuits. Figure 3 Features of the present disclosure are described in the context of a process flow. Figure 4 and 5 These and other features of the present disclosure are further illustrated and described in the context of device diagrams and flow charts related to layer-based erase functionality.
[0017] Figure 1 An example of a system 100 supporting layer-based erase functionality according to examples as disclosed herein is illustrated. The system 100 includes a host system 105 coupled to a memory system 110. The system 100 may be included in a computing device such as a desktop computer, a laptop computer, a network server, a mobile device, a vehicle (e.g., an airplane, a drone, a train, a car, or other transportation), a device with Internet of Things (IoT) capabilities, an embedded computer (e.g., an embedded computer included in a vehicle, industrial equipment, or a networked commercial device), or any other computing device including a memory and a processing device.
[0018] The memory system 110 may be or include any device or set of devices, wherein the device or set of devices includes at least one memory array. For example, the memory system 110 may be or include a universal flash storage (UFS) device, an embedded multimedia controller (eMMC) device, a flash device, a universal serial bus (USB) flash device, a secure digital (SD) card, a solid-state drive (SSD), a hard disk drive (HDD), a dual in-line memory module (DIMM), a small outline DIMM (SO-DIMM), or a non-volatile DIMM (NVDIMM), among other devices.
[0019] The system 100 may include a host system 105 that may be coupled to a memory system 110. In some examples, this coupling may include an interface with a host system controller 106, which may be an example of a controller or control component configured to cause the host system 105 to perform various operations according to examples as disclosed herein. The host system 105 may include one or more devices and, in some cases, may include a processor chipset and a software stack executed by the processor chipset. For example, the host system 105 may include an application configured to communicate with the memory system 110 or a device therein. The processor chipset may include one or more cores, one or more caches (e.g., memory local to or included in the host system 105), a memory controller (e.g., an NVDIMM controller), and a storage protocol controller (e.g., a peripheral component interconnect express (PCIe) controller, a serial advanced technology attachment (SATA) controller). For example, the host system 105 may use the memory system 110 to write data to the memory system 110 and read data from the memory system 110. Although Figure 1 One memory system 110 is shown in FIG. 1 , but the host system 105 may be coupled to any number of memory systems 110 .
[0020] The host system 105 may be coupled to the memory system 110 via at least one physical host interface. In some cases, the host system 105 and the memory system 110 may be configured to communicate (e.g., exchange or otherwise transfer control, address, data, and other signals between the memory system 110 and the host system 105) via the physical host interface using an associated protocol. Examples of physical host interfaces may include, but are not limited to, a SATA interface, a UFS interface, an eMMC interface, a PCIe interface, a USB interface, a Fibre Channel interface, a Small Computer System Interface (SCSI), a Serial Attached SCSI (SAS), a Double Data Rate (DDR) interface, a DIMM interface (e.g., a DDR-capable DIMM slot interface), an Open NAND Flash Interface (ONFI), and a Low Power Double Data Rate (LPDDR) interface. In some examples, one or more such interfaces may be included in or otherwise supported between a host system controller 106 of the host system 105 and a memory system controller 115 of the memory system 110. In some examples, the host system 105 may be coupled to the memory system 110 via a respective physical host interface of each memory device 130 included in the memory system 110 or via a respective physical host interface of each type of memory device 130 included in the memory system 110 (e.g., the host system controller 106 may be coupled to the memory system controller 115).
[0021] Memory system 110 may include a memory system controller 115 and one or more memory devices 130. Memory device 130 may include one or more memory arrays of any type of memory cells, such as non-volatile memory cells, volatile memory cells, or any combination thereof. Figure 1 , two memory devices 130-a and 130-b are shown in the example of , but the memory system 110 may include any number of memory devices 130. Furthermore, if the memory system 110 includes more than one memory device 130, different memory devices 130 within the memory system 110 may include the same or different types of memory cells.
[0022] The memory system controller 115 may be coupled and communicated with the host system 105 (e.g., via a physical host interface) and may be an example of a controller or control component configured to cause the memory system 110 to perform various operations in accordance with examples as disclosed herein. The memory system controller 115 may also be coupled and communicated with the memory devices 130 to perform operations such as reading data, writing data, erasing data, or refreshing data at the memory devices 130—and other such operations—which may be collectively referred to as access operations. In some cases, the memory system controller 115 may receive commands from the host system 105 and communicate with one or more memory devices 130 to execute such commands (e.g., at a memory array within the one or more memory devices 130). For example, the memory system controller 115 may receive commands or operations from the host system 105 and may convert the commands or operations into instructions or appropriate commands to achieve the desired access to the memory devices 130. In some cases, the memory system controller 115 may exchange data with the host system 105 and one or more memory devices 130 (e.g., in response to or otherwise associated with commands from the host system 105). For example, the memory system controller 115 may convert responses associated with the memory devices 130 (e.g., data packets or other signals) into corresponding signals for the host system 105.
[0023] The memory system controller 115 may be configured for other operations associated with the memory device 130. For example, the memory system controller 115 may perform or manage operations such as wear leveling operations, garbage collection operations, error control operations (e.g., error detection operations or error correction operations), encryption operations, cache operations, media management operations, background refresh, health monitoring, and address translation between logical addresses (e.g., logical block addresses (LBAs)) associated with commands from the host system 105 and physical addresses (e.g., physical block addresses) associated with memory cells within the memory device 130.
[0024] The memory system controller 115 may include hardware such as one or more integrated circuits or discrete components, buffer memory, or a combination thereof. The hardware may include circuitry having dedicated (e.g., hard-coded) logic to perform the operations attributed herein to the memory system controller 115. The memory system controller 115 may be or include a microcontroller, dedicated logic circuitry (e.g., a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a digital signal processor (DSP)), or any other suitable processor or processing circuitry.
[0025] The memory system controller 115 may also include a local memory 120. In some cases, the local memory 120 may include a read-only memory (ROM) or other memory that may store operating code (e.g., executable instructions) that may be executed by the memory system controller 115 to perform the functions attributed herein to the memory system controller 115. In some cases, the local memory 120 may additionally or alternatively include a static random access memory (SRAM) or other memory that may be used by the memory system controller 115 for internal storage or computations related to the functions attributed herein to the memory system controller 115, for example. Additionally or alternatively, the local memory 120 may act as a cache for the memory system controller 115. For example, data may be stored in the local memory 120 when read from or written to the memory device 130, and the data may be available within the local memory 120 for subsequent retrieval or manipulation (e.g., updating) by the host system 105 according to a cache policy (e.g., with reduced latency relative to the memory device 130).
[0026] although Figure 1 The example of the memory system 110 in has been illustrated as including the memory system controller 115, but in some cases, the memory system 110 may not include the memory system controller 115. For example, the memory system 110 may additionally or alternatively rely on an external controller (e.g., implemented by the host system 105) or one or more local controllers 135 (which may be located internal to the memory device 130) to perform the functions attributed herein to the memory system controller 115, respectively. In general, in some cases, one or more functions attributed herein to the memory system controller 115 may instead be performed by the host system 105, the local controller 135, or any combination thereof. In some cases, a memory device 130 that is at least partially managed by the memory system controller 115 may be referred to as a managed memory device. An example of a managed memory device is a managed NAND (MNAND) device.
[0027] The memory device 130 may include one or more arrays of non-volatile memory cells. For example, the memory device 130 may include NAND (e.g., NAND flash) memory, ROM, phase change memory (PCM), self-select memory, other chalcogenide-based memory, ferroelectric random access memory (FeRAM), magnetic RAM (MRAM), NOR (e.g., NOR flash) memory, spin transfer torque (STT)-MRAM, conductive bridge RAM (CBRAM), resistance random access memory (RRAM), oxide-based RRAM (OxRAM), electrically erasable programmable ROM (EEPROM), or any combination thereof. Additionally or alternatively, the memory device 130 may include one or more arrays of volatile memory cells. For example, the memory device 130 may include RAM memory cells, such as dynamic RAM (DRAM) memory cells and synchronous DRAM (SDRAM) memory cells.
[0028] In some examples, the memory devices 130 may include (e.g., on the same die or within the same package) a local controller 135 that may perform operations on one or more memory cells of the respective memory devices 130. The local controller 135 may operate in conjunction with the memory system controller 115 or may perform one or more functions attributed herein to the memory system controller 115. For example, Figure 1 As illustrated in FIG. 1 , memory device 130 - a may include a local controller 135 - a and memory device 130 - b may include a local controller 135 - b.
[0029] In some cases, memory device 130 may be or include a NAND device (e.g., a NAND flash device). Memory device 130 may be or include a die 160 (e.g., a memory die). For example, in some cases, memory device 130 may be a package that includes one or more die 160. In some examples, die 160 may be a piece of electronic grade semiconductor cut from a wafer (e.g., a silicon die cut from a silicon wafer). Each die 160 may include one or more planes 165, and each plane 165 may include a set of corresponding blocks 170, wherein each block 170 may include a set of corresponding pages 175, and each page 175 may include a set of memory cells.
[0030] In some cases, the NAND memory device 130 may include memory cells configured to store one bit of information each, which may be referred to as single-level cells (SLCs). Additionally or alternatively, the NAND memory device 130 may include memory cells configured to store multiple bits of information each, which may be referred to as multi-level cells (MLCs) when configured to store two bits of information each, three-level cells (TLCs) when configured to store three bits of information each, four-level cells (QLCs) when configured to store four bits of information each, or more generally, multi-level memory cells. Multi-level memory cells may provide greater storage density relative to SLC memory cells, but may involve narrower read or write margins or greater complexity of supporting circuitry in some cases.
[0031] In some cases, a plane 165 may refer to a number of group blocks 170, and in some cases, concurrent operations may be performed on different planes 165. For example, concurrent operations may be performed on memory cells within different blocks 170, as long as the different blocks 170 are in different planes 165. In some cases, individual blocks 170 may be referred to as physical blocks, and VB 180 may refer to a group of blocks 170 within which concurrent operations may occur. For example, concurrent operations may be performed on blocks 170-a, 170-b, 170-c, and 170-d within planes 165-a, 165-b, 165-c, and 165-d, respectively, and blocks 170-a, 170-b, 170-c, and 170-d may be collectively referred to as VB 180. In some cases, VB 180 may include blocks 170 from different memory devices 130 (e.g., blocks in one or more planes including memory device 130-a and memory device 130-b). In some cases, blocks 170 within VB 180 may have the same block address within their respective planes 165 (e.g., block 170-a may be “block 0” of plane 165-a, block 170-b may be “block 0” of plane 165-b, and so on). In some examples, VB 180 may be configured with blocks 170 constructed (e.g., logically combined) using HGBs (e.g., blocks including functional word lines in respective regions of blocks 170) of memory devices 130. For example, VB 180 may be configured to have a group of blocks 170 each constructed using an upper HGB (e.g., a block having functional word lines in an upper region of a block) from an upper level (e.g., an upper region) of one or more memory devices in combination with a corresponding lower HGB (e.g., a block having functional word lines in a lower region of a block) from a lower level (e.g., a lower region) of one or more memory devices. In some implementations, the two HGBs of each block 170 may be within the same respective plane of the same memory device 130.
[0032] In some cases, execution of concurrent operations in different planes 165 may be subject to one or more restrictions, such as concurrent operations being performed on memory cells within different pages 175 having the same page addresses within their respective planes 165 (e.g., related to command decoding, page address decoding circuitry, or other circuitry shared across planes 165).
[0033] In some cases, block 170 may include memory cells organized into rows (pages 175) and columns (e.g., strings, not shown). For example, memory cells in the same page 175 may share (e.g., be coupled to) a common word line, and memory cells in the same string may share (e.g., be coupled to) a common digit line (which may alternatively be referred to as a bit line).
[0034] For some NAND architectures, memory cells can be read and programmed (e.g., written) at a first granularity (e.g., at a page granularity, or portions thereof) but can be erased at a second granularity (e.g., at a block granularity). That is, a page 175 can be the smallest unit of memory (e.g., a group of memory cells) that can be independently programmed or read (e.g., concurrently programmed or read as part of a single programming or reading operation), and a block 170 can be the smallest unit of memory (e.g., a group of memory cells) that can be independently erased (e.g., concurrently erased as part of a single erase operation). Furthermore, in some cases, a NAND memory cell can be erased before it can be rewritten with new data. Thus, for example, in some cases, a used page 175 cannot be updated until the entire block 170 that includes the page 175 is erased.
[0035] In some cases, the memory system controller 115 or the local controller 135 may perform operations (e.g., as part of one or more media management algorithms) for the memory device 130, such as wear leveling, background refresh, trash collection, scrubbing, block scanning, health monitoring, or others, or any combination thereof. For example, within the memory device 130, a block 170 may have some pages 175 containing valid data and some pages 175 containing invalid data. In order to avoid waiting for all pages 175 in a block 170 to have invalid data in order to erase and reuse the block 170, an algorithm known as "trash collection" may be invoked to allow the block 170 to be erased and released as a free block for subsequent write operations. Trash collection may refer to a set of media management operations that include, for example, selecting a block 170 containing valid and invalid data, selecting a page 175 in a block containing valid data, copying the valid data from the selected page 175 to a new location (e.g., a free page 175 in another block 170), marking the data in a previously selected page 175 as invalid, and erasing the selected block 170. Thus, the number of blocks 170 that have been erased may be increased so that more blocks 170 are available to store subsequent data (eg, data subsequently received from the host system 105).
[0036] In some cases, memory system 110 may utilize memory system controller 115 to provide a managed memory system, which may include, for example, one or more memory arrays and related circuitry in combination with a local (e.g., on-die or in-package) controller, such as local controller 135. An example of a managed memory system is a managed NAND (MNAND) system.
[0037] The system 100 may include any number of non-transitory computer-readable media that support the layer-based erase functionality. For example, the host system 105 (e.g., the host system controller 106), the memory system 110 (e.g., the memory system controller 115), or the memory device 130 (e.g., the local controller 135) may include or otherwise have access to one or more non-transitory computer-readable media storing instructions (e.g., firmware, logic, code) for performing the functions attributed herein to the host system 105, the memory system 110, or the memory device 130. For example, such instructions, if executed by the host system 105 (e.g., by the host system controller 106), by the memory system 110 (e.g., by the memory system controller 115), or by the memory device 130 (e.g., by the local controller 135), may cause the host system 105, the memory system 110, or the memory device 130 to perform the associated functions as described herein.
[0038] According to examples as disclosed herein, the memory system 110 may be configured to perform a level-based erase function to enable a new VB 180 for a write operation. The level-based erase function may include erase operations and write operations performed on the VB 180 in alternating phases, such that a first group HGB (e.g., upper HGB, lower HGB) associated with the VB 180 may be erased and written to before a second group HGB associated with the VB 180 is erased and written to. For example, the memory system 110 may erase the upper HGB and then write to the upper HGB before erasing the lower HGB and then writing to the lower HGB. In some cases, erasing and writing to the respective groups of HGBs may include erasing and writing to respective levels (e.g., upper level, lower level) of the memory device 130. In some examples, the memory system 110 may determine that the first group HGB is full of data (e.g., from performing a write operation) before erasing the second group HGB. In other examples, the memory system 110 may identify an idle time during a write operation to the first group HGB and begin erasing the second group HGB during the idle time. By supporting a layer-based erase function to perform erase operations and write operations in alternating phases, the memory system 110 may benefit from relatively reduced latency (e.g., compared to previous implementations of HGBs).
[0039] Figure 2 An example of a system 200 supporting layer-based erase functionality according to an example disclosed herein is described. The system 200 may be as described in reference Figure 1 The system 200 may include a memory system 210 configured to store data received from the host system 205 and send data to the host system 205 when requested by the host system 205 using an access command (e.g., a read command or a write command). The system 200 may be implemented as described in reference Figure 1 Aspects of the described system 100. For example, memory system 210 and host system 205 may be instances of memory system 110 and host system 105, respectively.
[0040] The memory system 210 may include one or more memory devices 240 to store data transferred between the memory system 210 and the host system 205 (eg, in response to receiving an access command from the host system 205). The memory device 240 may include a memory device 240 as described in reference to FIG. Figure 1 For example, memory device 240 may include NAND memory, PCM, self-select memory, 3D cross-point or other chalcogenide-based memory, FERAM, MRAM, NOR (e.g., NOR flash) memory, STT-MRAM, CBRAM, RRAM, or OxRAM, among other examples.
[0041] The memory system 210 may include a storage controller 230 for controlling the transfer of data directly to and from the memory devices 240 (e.g., for storing data, for retrieving data, for determining memory locations in which to store data and from which to retrieve data). The storage controller 230 may communicate with the memory devices 240 directly or via a bus (not shown), which may include using a protocol specific to each type of memory device 240. In some cases, a single storage controller 230 may be used to control multiple memory devices 240 of the same or different types. In some cases, the memory system 210 may include multiple storage controllers 230 (e.g., a different storage controller 230 for each type of memory device 240). In some cases, the storage controller 230 may implement a method as described with reference to FIG. Figure 1 Aspects of the local controller 135 are described.
[0042] The memory system 210 may include an interface 220 for communicating with the host system 205, and a buffer 225 for temporarily storing data transferred between the host system 205 and the memory device 240. The interface 220, buffer 225, and memory controller 230 may support translation of data between the host system 205 and the memory device 240 (e.g., as shown by the data path 250), and may be collectively referred to as data path components.
[0043] Using buffer 225 to temporarily store data during transfers can allow data to be buffered while processing commands, which can reduce latency between commands and can support arbitrary data sizes associated with commands. This can also allow command bursts to be handled, and the buffered data can be stored or transmitted or both (e.g., after the burst stops). Buffer 225 can include relatively fast memory (e.g., some type of volatile memory, such as SRAM or DRAM) or a hardware accelerator or both to allow data to be quickly stored to and retrieved from buffer 225. Buffer 225 can include a data path switching component for bidirectional data transfer between buffer 225 and other components.
[0044] Temporary storage of data within buffer 225 may refer to data being stored in buffer 225 during execution of an access command. For example, after an access command is completed, the associated data may no longer be saved in buffer 225 (e.g., may be overwritten with data from additional access commands). In some examples, buffer 225 may be a non-cacheable buffer. For example, data cannot be read directly from buffer 225 by host system 205. In some examples, a read command may be added to a queue without requiring an operation to match an address with an address already in buffer 225 (e.g., without requiring a cache address match or lookup operation).
[0045] The memory system 210 may also include a memory system controller 215 for executing commands received from the host system 205, which may include controlling data path components for moving data. The memory system controller 215 may be a memory system controller such as the one described in the reference Figure 1 An example of a memory system controller 115 is depicted. Bus 235 may be used to communicate between system components.
[0046] In some cases, one or more queues (e.g., command queue 260, buffer queue 265, storage queue 270) may be used to control the processing of access commands and the movement of corresponding data. This may be beneficial, for example, if more than one access command from host system 205 is being processed concurrently by memory system 210. As an example of a possible implementation, command queue 260, buffer queue 265, and storage queue 270 are depicted as being at interface 220, memory system controller 215, and storage controller 230, respectively. However, the queues may be located anywhere within memory system 210 when implemented.
[0047] Data transferred between the host system 205 and the memory device 240 may be communicated along a different path than non-data information (e.g., commands, status information) in the memory system 210. For example, system components in the memory system 210 may communicate with each other using the bus 235, while data may use the data path 250 that passes through the data path components instead of the bus 235. The memory system controller 215 may control how and whether data is transferred between the host system 205 and the memory device 240 by communicating with the data path components over the bus 235 (e.g., using a protocol specific to the memory system 210).
[0048] If the host system 205 transmits access commands to the memory system 210, the commands may be received by the interface 220 (e.g., according to a protocol such as the UFS protocol or the eMMC protocol, etc.). Thus, the interface 220 may be considered the front end of the memory system 210. After receiving each access command, the interface 220 may pass the command to the memory system controller 215 (e.g., via the bus 235). In some cases, each command may be added by the interface 220 to the command queue 260 for passing the command to the memory system controller 215.
[0049] The memory system controller 215 may determine that the access command has been received based on the communication from the interface 220. In some cases, the memory system controller 215 may determine that the access command has been received by retrieving the command from the command queue 260. The command may be removed from the command queue 260 after it is retrieved (e.g., by the memory system controller 215). In some cases, the memory system controller 215 may cause the interface 220 to remove the command from the command queue 260 (e.g., via the bus 235).
[0050] After determining that an access command has been received, the memory system controller 215 may execute the access command. For a read command, this may include obtaining data from one or more memory devices 240 and transferring the data to the host system 205. For a write command, this may include receiving data from the host system 205 and moving the data to the one or more memory devices 240. In either case, the memory system controller 215 may use the buffer 225 to, among other things, temporarily store data received from or sent to the host system 205. The buffer 225 may be considered the middle of the memory system 210. In some cases, buffer address management (e.g., pointers to address locations in the buffer 225) may be performed by hardware (e.g., dedicated circuitry) in the interface 220, the buffer 225, or the memory controller 230.
[0051] To process a write command received from the host system 205, the memory system controller 215 may determine whether the buffer 225 has sufficient available space for storing data associated with the command. For example, the memory system controller 215 may determine (e.g., via firmware, via controller firmware) the amount of space available within the buffer 225 for storing data associated with the write command.
[0052] In some cases, the buffer queue 265 may be used to control the flow of commands associated with data stored in the buffer 225, including write commands. The buffer queue 265 may include access commands associated with data currently stored in the buffer 225. In some cases, commands in the command queue 260 may be moved to the buffer queue 265 by the memory system controller 215 and may remain in the buffer queue 265 while the associated data is stored in the buffer 225. In some cases, each command in the buffer queue 265 may be associated with an address at the buffer 225. For example, a pointer may be maintained indicating the location in the buffer 225 where the data associated with each command is stored. Using the buffer queue 265, multiple access commands may be received sequentially from the host system 205 and at least a portion of the access commands may be processed concurrently.
[0053] If the buffer 225 has sufficient space to store the write data, the memory system controller 215 may cause the interface 220 to transmit an availability indication to the host system 205 (e.g., a "transfer ready" indication), which may be performed according to a certain protocol (e.g., UFS protocol, eMMC protocol). When the interface 220 receives data associated with the write command from the host system 205, the interface 220 may use the data path 250 to transfer the data to the buffer 225 for temporary storage. In some cases, the interface 220 may obtain (e.g., from the buffer 225, from the buffer queue 265) the location within the buffer 225 for storing the data. The interface 220 may indicate to the memory system controller 215 (e.g., via the bus 235) whether the data transfer to the buffer 225 has been completed.
[0054] After the write data has been stored in buffer 225 by interface 220, the data may be transferred out of buffer 225 and stored in memory device 240, which may involve the operation of storage controller 230. For example, memory system controller 215 may cause storage controller 230 to retrieve the data from buffer 225 and transfer the data to memory device 240 using data path 250. Storage controller 230 may be considered the back end of memory system 210. Storage controller 230 may indicate to memory system controller 215 (e.g., via bus 235) that the data transfer to one or more memory devices 240 is complete.
[0055] In some cases, the storage queue 270 may support the transfer of write data. For example, the memory system controller 215 may push a write command from the buffer queue 265 to the storage queue 270 for processing (e.g., via the bus 235). The storage queue 270 may include an entry for each access command. In some examples, the storage queue 270 may additionally include a buffer pointer (e.g., an address) that may indicate the location where data associated with the command is stored in the buffer 225 and a storage pointer (e.g., an address) that may indicate the location associated with the data in the memory device 240. In some cases, the storage controller 230 may obtain (e.g., from the buffer 225, from the buffer queue 265, from the storage queue 270) the location within the buffer 225 from which the data is obtained. The storage controller 230 may manage the location within the memory device 240 for storing data (e.g., perform wear leveling, perform garbage collection). Entries may be added to the storage queue 270 (e.g., by the memory system controller 215). Entries may be removed from storage queue 270 after a data transfer is complete (eg, by storage controller 230, by memory system controller 215).
[0056] To process a read command received from the host system 205, the memory system controller 215 may determine whether the buffer 225 has sufficient available space for storing data associated with the command. For example, the memory system controller 215 may determine (e.g., via firmware, via controller firmware) the amount of space available within the buffer 225 for storing data associated with the read command.
[0057] In some cases, the buffer queue 265 may support buffered storage of data associated with a read command in a manner similar to that discussed with respect to a write command. For example, if the buffer 225 has sufficient space for storing the read data, the memory system controller 215 may cause the memory controller 230 to retrieve the data associated with the read command from the memory device 240 and store the data in the buffer 225 for temporary storage using the data path 250. The memory controller 230 may indicate to the memory system controller 215 (e.g., via the bus 235) whether the data transfer to the buffer 225 has been completed.
[0058] In some cases, the storage queue 270 may be used to assist in the transfer of read data. For example, the memory system controller 215 may push read commands to the storage queue 270 for processing. In some cases, the storage controller 230 may obtain (e.g., from the buffer 225, from the storage queue 270) the location within the one or more memory devices 240 from which to retrieve data. In some cases, the storage controller 230 may obtain (e.g., from the buffer queue 265) the location within the buffer 225 to store the data. In some cases, the storage controller 230 may obtain (e.g., from the storage queue 270) the location within the buffer 225 to store the data. In some cases, the memory system controller 215 may move the command processed by the storage queue 270 back to the command queue 260.
[0059] Once the data has been stored in buffer 225 by storage controller 230, the data may be transferred from buffer 225 and sent to host system 205. For example, memory system controller 215 may cause interface 220 to retrieve the data from buffer 225 using data path 250 and transfer the data to host system 205 (e.g., according to a protocol such as a UFS protocol or an eMMC protocol). For example, interface 220 may process commands from command queue 260 and may indicate to memory system controller 215 (e.g., via bus 235) that the data transfer to host system 205 is complete.
[0060] The memory system controller 215 may execute the received commands according to a certain order (e.g., first-in, first-out order, order according to the command queue 260). For each command, the memory system controller 215 may cause data corresponding to the command to be moved into and out of the buffer 225, as discussed herein. The command may remain in the buffer queue 265 while the data is moved into and stored within the buffer 225. If processing of the command is complete (e.g., if data corresponding to the access command has been transferred out of the buffer 225), the command may be removed from the buffer queue 265 (e.g., by the memory system controller 215). If a command is removed from the buffer queue 265, the address that previously stored data associated with the command may be used to store data associated with a new command.
[0061] In some examples, the memory system controller 215 may be configured for operations associated with one or more memory devices 240. For example, the memory system controller 215 may perform or manage operations such as wear leveling operations, garbage collection operations, error control operations (e.g., error detection operations or error correction operations), encryption operations, cache operations, media management operations, background refreshes, health monitoring, and address translation between logical addresses (e.g., LBAs) associated with commands from the host system 205 and physical addresses (e.g., physical block addresses) associated with memory cells within the memory device 240. For example, the host system 205 may issue a command indicating one or more LBAs and the memory system controller 215 may identify the one or more physical block addresses indicated by the LBAs. In some cases, one or more consecutive LBAs may correspond to non-consecutive physical block addresses. In some cases, the storage controller 230 may be configured to perform one or more of the described operations in conjunction with or in place of the memory system controller 215. In some cases, memory system controller 215 may perform the functions of memory controller 230 and memory controller 230 may be omitted.
[0062] In some cases, the memory system 210 may include one or more VBs, which may each include a group of blocks of non-volatile memory spanning the memory device 240. In some examples, each VB may be configured to have a physical block of the memory device 240 or may be configured to have a block constructed (e.g., logically combined) using HGBs of the memory device 240 (e.g., blocks including functional word lines in respective regions of the block). For example, the VB may be configured to have a group of blocks each constructed using an upper HGB (e.g., a block having functional word lines in the upper region of the block) from an upper plane (e.g., an upper region) of the memory device 240 in combination with a corresponding lower HGB (e.g., a block having functional word lines in the lower region of the block) from a lower plane (e.g., a lower region) of the memory device 240. In some implementations, the two HGBs of each block may be located within the same respective plane of the memory device 240.
[0063] According to the examples disclosed herein, the memory system 210 may be configured to perform a layer-based erase function to enable a new VB for a write operation. The layer-based erase function may include erase operations and write operations performed on the VB in alternating phases, so that a first group HGB (e.g., upper HGB, lower HGB) associated with the VB may be erased and written to before erasing and writing to a second group HGB associated with the VB. For example, before erasing the lower HGB and then writing to the lower HGB, the memory system 210 may erase the upper HGB and then write to the upper HGB. In some cases, erasing and writing to the corresponding group HGB may include erasing and writing to the corresponding layer (e.g., zone) of the memory device 240. In some examples, the memory system 210 may determine that the first group HGB is full of data (e.g., from performing a write operation) before erasing the second group HGB. In other examples, the memory system 210 may identify an idle time during the execution of a write operation on the first group HGB and begin erasing the second group HGB during the idle time. By supporting a layer-based erase function to perform erase operations and write operations in alternating phases, the memory system 210 may benefit from relatively reduced latency (eg, compared to previous implementations of HGB).
[0064] Figure 3 An example of a process flow 300 for supporting layer-based erase functionality according to an example disclosed herein is illustrated. The process flow 300 may be illustrated as respectively referring to Figure 1 and 2 For example, process flow 300 may depict operations at a host system 305 and a memory system 310, which may be respectively as described in reference to FIG. Figure 2300. In the following description of process flow 300, methods, techniques, processes, and operations may be performed in a different order or at a different time. In addition, certain operations may be excluded from process flow 300, or other operations may be added to process flow 300.
[0065] According to the operation as described herein, the memory system 310 may be configured to perform a layer-based erase function, wherein erase operations and write operations are performed on the VB in alternating phases, so that a first group HGB associated with the VB may be erased and written before erasing and writing to a second group HGB associated with the VB. By supporting a layer-based erase function to perform erase operations and write operations in alternating phases, the memory system may benefit from relatively reduced latency (e.g., compared to previous implementations of HGBs). Operation 301 may include steps associated with performing erase operations and write operations on the first group HGB, and operation 302 may include steps associated with performing erase operations and write operations on the first group HGB. In some cases, operation 302 may be performed before performing operation 301.
[0066] The memory system 310 may include a memory system controller 315, which may be as described in detail in reference to FIG. Figure 2 310 . In some cases, the memory system controller 315 can be configured to perform operations on the memory system 310 according to commands received from the host system 305. In addition, the memory system 310 can include one or more memory dies 320, which can be as described in detail in reference to FIG. Figure 1 and 2 Examples of memory device 130 or memory device 240 are described. Each memory die 320 can include one or more memory arrays of non-volatile memory (e.g., NAND memory). The memory arrays can include blocks of memory cells (e.g., NAND memory cells) that can be accessed via word lines (e.g., functional word lines) associated with the blocks.
[0067] In some cases, the memory system controller 315 may construct each block by combining two HGBs, where the HGB may be a block having a certain number of functional word lines (e.g., word lines that can be correctly written to one or more memory cells) in one region of the block and a certain number of non-functional word lines (e.g., word lines that cannot be correctly written to one or more memory cells) in another region of the block. For example, the upper HGB may include a certain number of functional word lines that meet a threshold in the upper region of the block, and a second number of functional word lines that do not meet the threshold in the lower region of the block. In addition, the lower HGB may include a certain number of functional word lines that meet a threshold in the lower region of the block, and a second number of functional word lines that do not meet the threshold in the upper region of the block.
[0068] In some such cases, the memory system controller 315 may construct blocks by logically combining upper HGBs and lower HGBs from the same plane of the same memory die 320. In some examples, an upper plane (e.g., an upper region) of one or more memory dies 320 may include an upper HGB that spans the plane of the one or more memory dies 320, and a lower plane (e.g., a lower region) of one or more memory dies 320 may include a lower HGB that spans the plane of the one or more memory dies 320. For example, an upper plane may include a number of functional word lines spanning an upper HGB associated with the upper plane, and a lower plane may include a number of functional word lines spanning a lower HGB associated with the lower plane. In some cases, the memory system controller 315 may implement HGBs to extend the life of the memory system 310 by utilizing blocks (e.g., HGBs) that may have otherwise been retired (e.g., in previous implementations) for access operations.
[0069] In some cases, the memory system controller 315 may perform a write operation on one or more VBs of the memory die 320 (e.g., according to a write command from the host system 305), where each VB may be associated with a group of blocks including blocks from each plane of the one or more memory dies 320. In some examples, the VB may span across one or more memory dies 320, such that the VB may include blocks from the plane of each memory die 320. In some cases, to enable a write operation to be performed on a VB (e.g., a new VB), the memory system controller 315 may first configure the VB. In some such cases, the memory system controller 315 may configure the VB to include a physical block or a block constructed using HGBs. For example, the VB may be configured from a group of logically combined blocks, where each block is constructed using an upper HGB and a lower HGB from the same plane of the same memory die 320. In some examples, to perform a write operation on a VB configured from a group of logically combined blocks, the memory system controller 315 may first erase the one group of logically combined blocks. However, in some cases, because a double number of blocks (e.g., two HGBs per block) are used to construct the VB, an erase operation on the VB may consume double the amount of time. For example, the erase time per block may be 5 ms, while the erase time for a logical combination block may be 10 ms in the case of 2 HGBs per block. Therefore, erasing the blocks associated with the HGBs before performing a write operation may result in a relatively high latency associated with performing a write operation.
[0070] According to the operation as described herein, the memory system controller 315 may implement a level-based erase function to mitigate the relatively high latency associated with performing write operations on a VB configured with blocks constructed of HGBs. The level-based erase function may include performing erase operations and write operations on the VB in alternating phases, so that a first group of HGBs (e.g., upper HGB, lower HGB) associated with the VB may be erased and written to before a second group of HGBs associated with the VB is erased and written to. For example, the memory system controller 315 may erase the upper HGB and then write to the upper HGB before erasing the lower HGB and then writing to the lower HGB. The operation described herein may support the execution of the level-based erase function.
[0071] At 322, the host system 305 may transmit a set of write commands to the memory system 310. In some cases, the memory system controller 315 may receive one or more write commands for the memory system 310. In some examples, the set of write commands may include data to be written to the memory die 320. In some implementations, the memory system controller 315 may separate the set of write commands into a first set of write operations and a second set of write operations, wherein the first set of write operations is associated with writing to an upper plane (e.g., an upper HGB) of the one or more memory dies 320 and the second set of write operations is associated with writing to a lower plane (e.g., a lower HGB) of the one or more memory dies 320.
[0072] At 324, the memory system controller 315 may configure the VB to execute the write command. In some cases, configuring the VB may include constructing a group of blocks from upper HGBs (e.g., a first block subset) and lower HGBs (e.g., a second block subset) across one or more memory dies 320. In some examples, constructing the blocks may include mapping logical block addresses corresponding to the respective HGBs to the VBs. In some cases, the memory system controller 315 may configure the VB based on (e.g., in response to) a request from the host system 305 to configure a new VB. In some examples, the VB may be constructed from each available upper HGB and lower HGB in the one or more memory dies 320. In other examples, the VB may be constructed from a subset of the available upper HGBs and a subset of the lower HGBs in the one or more memory dies 320.
[0073] At 326, the memory system controller 315 can transmit a command to the one or more memory dies 320 to erase the upper plane of the one or more memory dies 320. In some cases, the command can instruct to erase the upper HGB associated with the upper plane.
[0074] At 328, the upper HGBs may be erased. Erasing the upper HGBs may include erasing data stored in the upper HGBs from the upper level of the one or more memory dies 320. In some cases, each upper HGB of the upper level may be erased regardless of whether the upper HGB is associated with a VB.
[0075] At 330, the memory system controller 315 may refrain from performing write operations on the memory die 320 concurrently with performing step 328. For example, the memory system controller 315 may refrain from performing (e.g., suspend performing) the first set of write operations on the upper HGB for a duration associated with the memory system controller 315 erasing the upper HGB.
[0076] At 332, the memory system controller 315 can determine that data is erased from the upper HGB. In some cases, the memory system controller 315 can determine that the amount of data erased from the upper HGB or the amount of upper HGB erased satisfies a threshold.
[0077] At 334, the memory system controller 315 may transmit the write data to the one or more memory dies 320. In some cases, the write data may be associated with a set of write commands transmitted from the host system 305. In some examples, the write data may be associated with a first set of write operations.
[0078] At 336, the memory system controller 315 may perform a first set of write operations on the upper HGBs of the one or more memory dies 320. Performing the first set of write operations may include programming the write data received at 334 to the upper HGBs of the one or more memory dies 320. In some cases, each upper HGB of the upper level is written to, regardless of whether the upper HGB is associated with a VB. In some examples, the upper level may be written to until each HGB of the one or more memory dies 320 is filled with write data.
[0079] At 338, the memory system controller 315 may determine whether each of the upper HGBs has been filled with write data. In some cases, the memory system controller 315 may determine whether the amount of write data associated with the first set of write operations has satisfied a threshold, or whether the amount of the upper HGBs filled with write data has satisfied a threshold. In some such cases, the memory system controller 315 may actively monitor the one or more memory dies 320 concurrently with performing the first set of write operations on the upper HGBs, so that the memory system controller 315 may provide additional write data until each upper HGB of the one or more memory dies 320 is filled.
[0080] In some cases, at 338, the memory system controller 315 may monitor the one or more memory dies 320 to identify an idle duration (e.g., a duration associated with not writing data) during execution of the first set of write operations. For example, the memory system controller 315 may identify the idle duration based on (e.g., in response to) determining that a duration associated with not writing data to the upper HGB satisfies a threshold duration. In some implementations, the idle duration may be associated with a duration greater than an expected duration for erasing the lower HGB. Operations of the process flow 300 may not proceed to step 340 before the memory system controller 315 has determined that the upper HGB is full or before the memory system controller 315 has identified the idle duration.
[0081] At 340, the memory system controller 315 may transmit a command to the one or more memory dies 320 to erase the lower plane of the one or more memory dies 320. In some cases, the command may indicate to erase the lower HGB associated with the lower plane. In some examples, the memory system controller 315 may not transmit the command to the one or more memory dies 320 before the memory system controller 315 has determined that the first set of write operations are complete or before identifying an idle duration.
[0082] At 342, the lower HGBs can be erased. Erasing the lower HGBs can include erasing data stored in the lower HGBs from the lower level of the one or more memory dies 320. In some cases, each lower HGB of the lower level can be erased regardless of whether the lower HGB is associated with a VB.
[0083] At 344, the memory system controller 315 may refrain from performing write operations on the memory die 320 concurrently with performing step 328. For example, the memory system controller 315 may refrain from performing a second set of write operations on the lower HGB for a duration associated with the memory system controller 315 erasing the lower HGB.
[0084] At 346, the memory system controller 315 can determine that data is erased from the lower HGB. In some cases, the memory system controller 315 can determine that the amount of data erased from the lower HGB or the amount of lower HGB erased satisfies a threshold.
[0085] At 348, the memory system controller 315 may transmit the write data to the one or more memory dies 320. In some cases, the write data may be associated with a set of write commands transmitted from the host system 305. In some examples, the write data may be associated with a second set of write operations.
[0086] At 350, the memory system controller 315 may perform a second set of write operations on the lower HGBs of the one or more memory dies 320. Performing the second set of write operations may include programming the write data received at 348 to the lower HGBs of the one or more memory dies 320. In some cases, each lower HGB of the lower level may be written to, regardless of whether the lower HGB is associated with a VB. In some examples, the lower level may be written to until each HGB of the one or more memory dies 320 is filled with write data.
[0087] At 352, the memory system controller 315 may determine whether each of the lower HGBs has been filled with write data. In some cases, the memory system controller 315 may determine whether the amount of write data associated with the second set of write operations has satisfied a threshold, or whether the amount of the lower HGBs filled with write data has satisfied a threshold. In some such cases, the memory system controller 315 may actively monitor the one or more memory dies 320 concurrently with performing the second set of write operations on the lower HGBs, so that the memory system controller 315 may provide additional write data until each lower HGB of the one or more memory dies 320 is filled or until the write data associated with the write command is exhausted.
[0088] Compared to previous implementations of HGB, performing the operations of process flow 300 as described herein can be associated with relatively reduced latency. For example, by implementing a layer-based erase function, memory system 310 can benefit from alternating erase operations with write operations, rather than waiting for all erase operations to complete before starting a write operation. In some such examples, memory system 310 can achieve relatively reduced latency for performing write operations on new VBs. Therefore, memory system 310 can benefit from implementing HGB (e.g., to extend the operational life of memory system 310) without increasing the latency associated with performing erase operations and write operations on HGBs.
[0089] Figure 4 A block diagram 400 illustrates a memory system 420 supporting a layer-based erase function according to an example disclosed herein. The memory system 420 may be a memory system 420 as described in reference to Figures 1 to 3 Memory system 420 or its various components may be examples of means for performing various aspects of layer-based erase functionality as described herein. For example, memory system 420 may include erase component 425, determine component 430, write component 435, receive component 440, configure component 445, identify component 450, or any combination thereof. Each of these components may communicate with each other directly or indirectly (e.g., via one or more buses).
[0090] The erase component 425 may be configured to or otherwise support a means for erasing data from a first block subset for configuring a VB, wherein the first block subset is associated with a first portion of one or more memory dies of a memory system. The determination component 430 may be configured to or otherwise support a means for determining whether to erase data from each block in the first block subset for configuring a VB. The write component 435 may be configured to or otherwise support a means for performing a first set of write operations on the first block subset based at least in part on determining to erase data from each block in the first block subset. In some examples, the erase component 425 may be configured to or otherwise support a means for erasing data from a second block subset for configuring a VB in response to completion of performing the first set of write operations on the first block subset, wherein the second block subset is associated with a second portion of one or more memory dies. In some examples, the determination component 430 may be configured to or otherwise support a means for determining whether to erase data from each block in the second block subset for configuring a VB. In some examples, write component 435 can be configured or otherwise support means for performing a second set of write operations on the second subset of blocks based at least in part on determining to erase data from the second subset of blocks.
[0091] In some examples, receiving component 440 may be configured as or otherwise support means for receiving a set of write commands associated with a first set of write operations and a second set of write operations at a memory system, wherein erasing data from a first subset of blocks, performing the first set of write operations, erasing data from a second subset of blocks, or performing the second set of write operations, or any combination thereof is based at least in part on receiving the set of write commands.
[0092] In some examples, configuration component 445 can be configured as or otherwise support means for configuring a set of blocks including a first subset of blocks and a second subset of blocks as a VB based at least in part on the command.
[0093] In some examples, identification component 450 can be configured or otherwise support means for identifying an idle duration while performing the first set of write operations, wherein erasing data from the second subset of blocks is based at least in part on identifying the idle duration.
[0094] In some examples, write component 435 may be configured or otherwise support means for avoiding execution of a first set of write operations and a second set of write operations during a first duration associated with erasing data from a first subset of blocks. In some examples, write component 435 may be configured or otherwise support means for avoiding execution of a second set of write operations during a second duration associated with erasing data from a second subset of blocks.
[0095] In some examples, determination component 430 may be configured to or otherwise support means for determining whether an amount of data in a first subset of blocks satisfies a threshold based at least in part on performing a first set of write operations, wherein erasing data from a second subset of blocks is based at least in part on determining whether the amount of data satisfies the threshold.
[0096] In some examples, the first portion is associated with a first set of functional word lines of the one or more memory dies and the second portion is associated with a second set of functional word lines of the one or more memory dies.
[0097] In some examples, the first portion is associated with a third set of non-functional word lines of the one or more memory dies, and the second portion is associated with a fourth set of non-functional word lines of the one or more memory dies.
[0098] In some examples, a first set of functional word lines is associated with an upper level of one or more memory dies and a second set of functional word lines is associated with a lower level of one or more memory dies.
[0099] In some examples, each block in the first subset of blocks is an upper HGB, and each block in the second subset of blocks is a lower HGB.
[0100] Figure 5 The description shows a flow chart of a method 500 for supporting layer-based erase functionality according to an example as disclosed herein. The operations of the method 500 may be implemented by a memory system or components thereof as described herein. For example, the method 500 may be implemented by a memory system or components thereof as described herein. Figures 1 to 4 The described memory system performs the operations of method 500. In some examples, the memory system may execute a set of instructions to control functional elements of the device to perform the described functions. Additionally or alternatively, the memory system may use dedicated hardware to perform aspects of the described functions.
[0101] At 505, the method may include erasing data from a first subset of blocks used to configure the VB, wherein the first subset of blocks is associated with a first portion of one or more memory dies of the memory system. The operation of 505 may be performed according to examples as disclosed herein. In some examples, the operation may be performed by a processor as described in reference to Figure 4 The erase component 425 is described to perform aspects of the operation of 505 .
[0102] At 510, the method may include determining whether to erase data from each block in the first subset of blocks used to configure the VB. The operation of 510 may be performed according to examples as disclosed herein. In some examples, the operation may be performed by referring to Figure 4 Aspects of the operations of determination component 430 performing 510 are described.
[0103] At 515, the method may include performing a first set of write operations on the first subset of blocks based at least in part on determining to erase data from each block in the first subset of blocks. The operations of 515 may be performed according to examples disclosed herein. In some examples, the operations may be performed by Figure 4 The write component 435 is described to perform aspects of the operations of 515 .
[0104] At 520, the method may include erasing data from a second subset of blocks used to configure the VB in response to completion of the first set of write operations performed on the first subset of blocks, wherein the second subset of blocks is associated with a second portion of the one or more memory dies. The operations of 520 may be performed according to examples as disclosed herein. In some examples, the operations may be performed by a processor as described in reference to Figure 4 The erase component 425 is described to perform aspects of the operation of 520 .
[0105] At 525, the method may include determining whether to erase data from each block in the second subset of blocks used to configure the VB. The operation of 525 may be performed according to examples disclosed herein. In some examples, the operation may be performed by referring to Figure 4 Aspects of the operations of determination component 430 execution 525 are described.
[0106] At 530, the method may include performing a second set of write operations on the second subset of blocks based at least in part on determining to erase data from the second subset of blocks. The operations of 530 may be performed according to examples disclosed herein. In some examples, the operations may be performed by Figure 4 The write component 435 is described to perform aspects of the operations of 530 .
[0107] In some examples, an apparatus as described herein may perform one or several methods, such as method 500. The apparatus may include features, circuitry, logic, means, or instructions (e.g., a non-transitory computer-readable medium storing instructions executable by a processor) for performing the following aspects of the present disclosure, or any combination thereof:
[0108] Aspect 1: A method, apparatus, or non-transitory computer-readable medium comprising operations, features, circuit systems, logic, components, or instructions for: erasing data from a first subset of blocks used to configure a VB, wherein the first subset of blocks is associated with a first portion of one or more memory dies of a memory system; determining whether to erase data from each block in the first subset of blocks used to configure the VB; performing a first set of write operations on the first subset of blocks based at least in part on determining to erase the data from each block in the first subset of blocks; erasing data from a second subset of blocks used to configure the VB in response to completion of performing the first set of write operations on the first subset of blocks, wherein the second subset of blocks is associated with a second portion of the one or more memory dies; determining whether to erase data from each block in the second subset of blocks used to configure the VB; and performing a second set of write operations on the second subset of blocks based at least in part on determining to erase the data from the second subset of blocks.
[0109] Aspect 2: A method, apparatus, or non-transitory computer-readable medium according to Aspect 1, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for receiving a set of write commands associated with the first set of write operations and the second set of write operations at the memory system, wherein erasing data from the first block subset, performing the first set of write operations, erasing the data from the second block subset, or performing the second set of write operations, or any combination thereof is at least partially based on receiving the set of write commands.
[0110] Aspect 3: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 2, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for configuring a set of blocks including the first block subset and the second block subset as the VB based at least in part on a command.
[0111] Aspect 4: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 3, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for identifying an idle duration while performing the first set of write operations, wherein erasing the data from the second block subset is based at least in part on identifying the idle duration.
[0112] Aspect 5: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 4, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for avoiding execution of the first set of write operations and the second set of write operations within a first duration associated with erasing the data from the first block subset and avoiding execution of the second set of write operations within a second duration associated with erasing the data from the second block subset.
[0113] Aspect 6: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 5, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for determining whether the amount of the data in the first block subset satisfies a threshold based at least in part on performing the first set of write operations, wherein erasing the data from the second block subset is based at least in part on determining whether the amount of the data satisfies the threshold.
[0114] Aspect 7: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 6, wherein the first portion is associated with a first set of functional word lines of the one or more memory dies, and the second portion is associated with a second set of functional word lines of the one or more memory dies.
[0115] Aspect 8: The method, apparatus, or non-transitory computer-readable medium of Aspect 7, wherein the first portion is associated with a third set of non-functional word lines of the one or more memory dies and the second portion is associated with a fourth set of non-functional word lines of the one or more memory dies.
[0116] Aspect 9: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 7 to 8, wherein the first set of functional word lines is associated with an upper layer of the one or more memory dies, and the second set of functional word lines is associated with a lower layer of the one or more memory dies.
[0117] Aspect 10: The method, apparatus, or non-transitory computer-readable medium of any of aspects 1 to 9, wherein each block in the first subset of blocks is an upper HGB and each block in the second subset of blocks is a lower HGB.
[0118] It should be noted that the described techniques include possible implementations, and that the operations and steps may be rearranged or otherwise modified and other implementations are possible. Furthermore, portions from two or more of the methods may be combined.
[0119] The information and signals described herein may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits, or signaling symbols that may be referenced throughout the above description may be represented by voltage, current, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof. Some diagrams may illustrate a signal as a single signal; however, the signal may represent a signal bus, where the bus may have various bit widths.
[0120] The terms "electronic communication," "conductive contact," "connection," and "coupling" may refer to a relationship between components that supports the flow of signals between the components. Components are considered to be in electronic communication with each other (or in conductive contact with each other or connected or coupled to each other) if there is any conductive path between the components that can support the flow of signals between the components at any time. At any given time, based on the operation of the device that includes the connected components, the conductive path between the components that are in electronic communication with each other (or in conductive contact with each other or connected or coupled to each other) may be an open circuit or a closed circuit. The conductive path between the connected components may be a direct conductive path between the components, or the conductive path between the connected components may be an indirect conductive path that may include intermediate components such as switches, transistors, or other components. In some examples, the flow of signals between the connected components may be interrupted for a period of time, for example, using one or more intermediate components such as switches or transistors.
[0121] The term "coupled" (e.g., "electrically coupled") may refer to a state of moving from an open circuit relationship between components (where signals cannot currently pass between components via a conductive path) to a closed circuit relationship between components (where signals can pass between components via a conductive path). If a component, such as a controller, couples other components together, the component causes a change that allows signals to flow between the other components via a conductive path that previously did not permit signal flow.
[0122] The term "isolation" refers to a relationship between components where a signal cannot currently flow between the components. Components are isolated from one another if an open circuit exists between them. For example, if a switch positioned between two components is open, the components separated by the switch are isolated from one another. If a controller isolates two components, the controller causes a change that prevents a signal from flowing between the components using a conduction path that previously permitted the signal to flow.
[0123] The terms "if," "when," "based on," or "based at least in part on" may be used interchangeably. In some instances, if the terms "if," "when," "based on," or "based at least in part on" are used to describe a connection between conditional actions, conditional processes, or parts of processes, the terms may be interchangeable.
[0124] The term "responsive to" may refer to a condition or action that occurs at least in part, if not entirely, as a result of a prior condition or action. For example, a first condition or action may be performed and a second condition or action may occur at least in part as a result of the prior condition or action occurring (whether immediately after the first condition or action or after one or more other intermediate conditions or actions that occur after the first condition or action).
[0125] In addition, the term "directly in response to / in direct response to" may refer to a condition or action that occurs as a direct result of a previous condition or action. In some instances, a first condition or action may be performed and a second condition or action may occur directly as a result of the occurrence of a previous condition or action, regardless of whether other conditions or actions occur. In some instances, a first condition or action may be performed and a second condition or action may occur directly as a result of the occurrence of a previous condition or action, so that no other intermediate conditions or actions occur between an earlier condition or action and the second condition or action, or a limited number of one or more intermediate steps or actions occur between an earlier condition or action and the second condition or action. Unless otherwise specified, any condition or action described herein as "based on", "at least partially based on" or "in response to" some other steps, actions, events or conditions may be performed in addition or alternatively (e.g., in alternative instances) "in direct response to / directly in response to" this other condition or action.
[0126] The devices discussed herein, including memory arrays, may be formed on a semiconductor substrate such as silicon, germanium, silicon-germanium alloys, gallium arsenide, gallium nitride, etc. In some examples, the substrate is a semiconductor wafer. In some other examples, the substrate may be a silicon-on-insulator (SOI) substrate, such as silicon-on-glass (SOG) or silicon-on-sapphire (SOP), or an epitaxial layer of semiconductor material on another substrate. The conductivity of the substrate or a sub-region of the substrate may be controlled by doping using various chemical species, including but not limited to phosphorus, boron, or arsenic. Doping may be performed by ion implantation during the initial formation or growth of the substrate or by any other doping method.
[0127] The switch components or transistors discussed herein may represent field effect transistors (FETs) and include three-terminal devices including a source, a drain, and a gate. The terminals may be connected to other electronic components by conductive materials (e.g., metals). The source and drain may be conductive and may include heavily doped (e.g., degenerate) semiconductor regions. The source and drain may be separated by a lightly doped semiconductor region or channel. If the channel is n-type (i.e., most carriers are electrons), the FET may be referred to as an n-type FET. If the channel is p-type (i.e., most carriers are holes), the FET may be referred to as a p-type FET. The channel may be capped by an insulating gate oxide. Channel conductivity may be controlled by applying a voltage to the gate. For example, applying a positive voltage or a negative voltage to an n-type FET or a p-type FET, respectively, may cause the channel to become conductive. If a voltage greater than or equal to the threshold voltage of the transistor is applied to the transistor gate, the transistor may be "on" or "activated." A transistor may be "off" or "deactivated" if a voltage less than the transistor's threshold voltage is applied to the transistor gate.
[0128] The description set forth herein in conjunction with the drawings describes example configurations and does not represent all examples that may be implemented or within the scope of the claims. The term "exemplary" as used herein is intended to mean "serving as an example, instance, or illustration" rather than "preferred" or "advantageous over other examples." The detailed description includes specific details for providing an understanding of the described techniques. However, these techniques may be practiced without these specific details. In some examples, well-known structures and devices are shown in block diagram form to avoid obscuring the concepts of the described examples.
[0129] In the drawings, similar components or features may have the same reference label. Further, various components of the same type may be distinguished by following the reference label with a hyphen and a second label that distinguishes among the similar components. If only the first reference label is used in the specification, the description applies to any of the similar components having the same first reference label without regard to the second reference label.
[0130] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored on a computer-readable medium or transmitted via a computer-readable medium as one or more instructions or codes. Other examples and implementations are within the scope of the present disclosure and the appended claims. For example, due to the nature of software, the described functions may be implemented using software executed by a processor, hardware, firmware, hard wiring, or a combination of any of these. Features that implement the functions may also be physically located at various locations, including portions that are distributed so that the functions are implemented at different physical locations.
[0131] For example, the various illustrative blocks and components described in connection with the disclosure herein may be implemented or performed using a general purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device designed to perform the functions described herein, discrete gate or transistor logic, discrete hardware components, or any combination thereof. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any processor, controller, microcontroller, or state machine. A processor may be implemented as a combination of computing devices (e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration).
[0132] As used herein, "or" as used in a list of items (for example, a list of items preceded by a phrase such as "at least one of..." or "one or more of...") in the inclusion claims indicates an inclusion list such that (for example) a list of at least one of A, B, or C means A or B or C or AB or AC or BC or ABC (i.e., A and B and C). Moreover, as used herein, the phrase "based on" should not be interpreted as a reference to a closed set of conditions. For example, an exemplary step described as "based on condition A" can be based on both condition A and condition B without departing from the scope of the present disclosure. In other words, as used herein, the phrase "based on" should be interpreted in the same manner as the phrase "based at least in part on".
[0133] Computer-readable media include both non-transitory computer storage media and communication media, including any media that facilitates the transfer of a computer program from one location to another. Non-transitory storage media may be any available media that can be accessed by a general or special computer. For example, but not limited to, non-transitory computer-readable media may include RAM, ROM, electrically erasable programmable read-only memory (EEPROM), compact disk (CD) ROM or other optical disk storage device, magnetic disk storage device or other magnetic storage device or can be used to carry or store the desired program code components in the form of instructions or data structures and can be accessed by a general or special computer or a general or special processor. Any other non-transitory media. Moreover, any connection is appropriately referred to as computer-readable media. For example, if the software is transmitted from a website, server or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technology (such as infrared, radio and microwave), then coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology (such as infrared, radio and microwave) are included in the definition of media. As used herein, disk and disc include CD, laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of these are also included within the scope of computer-readable media.
[0134] The description herein is provided to enable one skilled in the art to make or use the present disclosure. Various modifications to the present disclosure will be apparent to one skilled in the art, and the general principles defined herein may be applied to other variations without departing from the scope of the present disclosure. Therefore, the present disclosure is not limited to the examples and designs described herein, but should be in the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A device, wherein include: a memory system comprising one or more memory dies; and a controller coupled to the memory system and configured to cause the apparatus to: erasing data from a first subset of blocks used to configure a virtual block, wherein the first subset of blocks is associated with a first portion of the one or more memory dies; determining whether to erase data from each block in the first subset of blocks used to configure the virtual block; performing a first set of write operations on the first subset of blocks based at least in part on determining to erase the data from each block in the first subset of blocks; erasing data from a second subset of blocks used to configure the virtual block in response to completion of performing the first set of write operations on the first subset of blocks, wherein the second subset of blocks is associated with a second portion of the one or more memory dies; determining whether to erase data from each block in the second subset of blocks used to configure the virtual block; and A second set of write operations is performed on the second subset of blocks based at least in part on determining to erase the data from the second subset of blocks.
2. The apparatus of claim 1, wherein the controller is further configured to cause the apparatus to: A set of write commands associated with the first set of write operations and the second set of write operations are received at the memory system, wherein erasing data from the first subset of blocks, performing the first set of write operations, erasing the data from the second subset of blocks, or performing the second set of write operations, or any combination thereof is based at least in part on the set of write commands.
3. The apparatus of claim 1 , wherein the controller is further configured to cause the apparatus to: A group of blocks including the first subset of blocks and the second subset of blocks are configured as the virtual block based at least in part on a command.
4. The apparatus of claim 1, wherein the controller is further configured to cause the apparatus to: An idle duration is identified while performing the first set of write operations, wherein erasing the data from the second subset of blocks is based at least in part on the idle duration.
5. The apparatus of claim 1, wherein the controller is further configured to cause the apparatus to: refraining from executing the first set of write operations and the second set of write operations for a first duration associated with erasing the data from the first subset of blocks; and Execution of the second set of write operations is avoided for a second duration associated with erasing the data from the second subset of blocks.
6. The apparatus of claim 1, wherein the controller is further configured to cause the apparatus to: A determination is made based at least in part on performing the first set of write operations whether an amount of the data in the first subset of blocks satisfies a threshold, wherein erasing the data from the second subset of blocks is based at least in part on whether the amount of the data satisfies the threshold.
7. The apparatus of claim 1, wherein the first portion is associated with a first set of functional word lines of the one or more memory dies and the second portion is associated with a second set of functional word lines of the one or more memory dies.
8. The apparatus of claim 7, wherein the first portion is associated with a third set of non-functional word lines of the one or more memory dies and the second portion is associated with a fourth set of non-functional word lines of the one or more memory dies.
9. The apparatus of claim 7, wherein the first set of functional word lines is associated with an upper level of the one or more memory dies and the second set of functional word lines is associated with a lower level of the one or more memory dies.
10. The apparatus of claim 1, wherein each block in the first subset of blocks is an upper-half good block and each block in the second subset of blocks is a lower-half good block.
11. A non-transitory computer-readable medium storing code including instructions that, when executed by a processor of an electronic device, cause the electronic device to: erasing data from a first subset of blocks used to configure a virtual block, wherein the first subset of blocks is associated with a first portion of one or more memory dies of a memory system; determining whether to erase data from each block in the first subset of blocks used to configure the virtual block; performing a first set of write operations on the first subset of blocks based at least in part on determining to erase the data from each block in the first subset of blocks; erasing data from a second subset of blocks used to configure the virtual block in response to completion of performing the first set of write operations on the first subset of blocks, wherein the second subset of blocks is associated with a second portion of the one or more memory dies; determining whether to erase data from each block in the second subset of blocks used to configure the virtual block; and A second set of write operations is performed on the second subset of blocks based at least in part on determining to erase the data from the second subset of blocks.
12. The non-transitory computer-readable medium of claim 11, wherein the instructions, when executed by the processor of the electronic device, further cause the electronic device to: A set of write commands associated with the first set of write operations and the second set of write operations are received at the memory system, wherein erasing data from the first subset of blocks, performing the first set of write operations, erasing the data from the second subset of blocks, or performing the second set of write operations, or any combination thereof is based at least in part on the set of write commands.
13. The non-transitory computer-readable medium of claim 11, wherein the instructions, when executed by the processor of the electronic device, further cause the electronic device to: A group of blocks including the first subset of blocks and the second subset of blocks are configured as the virtual block based at least in part on a command.
14. The non-transitory computer-readable medium of claim 11, wherein the instructions, when executed by the processor of the electronic device, further cause the electronic device to: An idle duration is identified while performing the first set of write operations, wherein erasing the data from the second subset of blocks is based at least in part on the idle duration.
15. The non-transitory computer-readable medium of claim 11, wherein the instructions, when executed by the processor of the electronic device, further cause the electronic device to: refraining from executing the first set of write operations and the second set of write operations for a first duration associated with erasing the data from the first subset of blocks; and Execution of the second set of write operations is avoided for a second duration associated with erasing the data from the second subset of blocks.
16. The non-transitory computer-readable medium of claim 11, wherein the instructions, when executed by the processor of the electronic device, further cause the electronic device to: A determination is made based at least in part on performing the first set of write operations whether an amount of the data in the first subset of blocks satisfies a threshold, wherein erasing the data from the second subset of blocks is based at least in part on whether the amount of the data satisfies the threshold.
17. The non-transitory computer-readable medium of claim 11, wherein the first portion is associated with a first set of functional word lines of the one or more memory dies and the second portion is associated with a second set of functional word lines of the one or more memory dies.
18. The non-transitory computer-readable medium of claim 17, wherein the first set of functional word lines is associated with an upper level of the one or more memory dies and the second set of functional word lines is associated with a lower level of the one or more memory dies.
19. The non-transitory computer-readable medium of claim 11, wherein each block in the first subset of blocks is a top-half good block and each block in the second subset of blocks is a bottom-half good block.
20. A method wherein include: erasing data from a first subset of blocks used to configure a virtual block, wherein the first subset of blocks is associated with a first portion of one or more memory dies of a memory system; determining whether to erase data from each block in the first subset of blocks used to configure the virtual block; performing a first set of write operations on the first subset of blocks based at least in part on determining to erase the data from each block in the first subset of blocks; erasing data from a second subset of blocks used to configure the virtual block in response to completion of performing the first set of write operations on the first subset of blocks, wherein the second subset of blocks is associated with a second portion of the one or more memory dies; determining whether to erase data from each block in the second subset of blocks used to configure the virtual block; and A second set of write operations is performed on the second subset of blocks based at least in part on determining to erase the data from the second subset of blocks.
