The present disclosure includes devices, systems, and methods for memory address translation. One or more embodiments include a memory array and a controller coupled to the array. The array includes a first table having a number of records, wherein each record includes a number of entries, wherein each entry includes a physical address corresponding to a data segment stored in the array and a logical address. The controller includes a second table having a number of records, wherein each record includes a number of entries, wherein each entry includes a physical address corresponding to a record in the first table and a logical address. The controller also includes a third table having a number of records, wherein each record includes a number of entries, wherein each entry includes a physical address corresponding to a record in the second table and a logical address.
|
12. A memory device, comprising:
a memory array including a first table having a number of records; and
a controller coupled to the array and including:
a second table having a number of records; and
a third table having a number of records;
wherein at least one of the first table, second table, and third table have a variable size.
23. A method of operating a memory device, comprising:
determining an entry in a record of a first variable size table in a controller of the memory device;
determining, using the determined entry in the first variable size table, an entry in a record of a second variable size table in the controller; and
determining, using the determined entry in the second variable size table, an entry in a record of a third variable size table in a memory array of the memory device.
18. A method of operating a memory device, comprising:
determining an entry in a record of a first table in a controller of a memory device, wherein the entry corresponds to a logical address corresponding to a data segment stored in the memory device;
determining, using the determined entry in the first table, a physical address corresponding to a record in a second table in the controller and a logical address; and
determining an entry in the record in the second table that corresponds to the logical address corresponding to the data segment.
7. A memory device, comprising:
a controller including:
a first table having a number of records, wherein:
each of the number of records includes a number of entries; and
each of the number of entries in each of the number of records includes a physical address corresponding to a record in a table in a memory array and a logical address; and
a second table having a number of records, wherein:
each of the number of records includes a number of entries; and
each of the number of entries in each of the number of records includes a physical address corresponding to a record in the first table and a logical address.
1. A memory device, comprising:
a memory array including a first table having a number of records, wherein:
each of the number of records includes a number of entries; and
each of the number of entries in each of the number of records includes a physical address corresponding to a data segment stored in the array and a logical address; and
a controller coupled to the array and including a second table having a number of records, wherein:
each of the number of records includes a number of entries; and
each of the number of entries in each of the number of records includes a physical address corresponding to a record in the first table and a logical address.
2. The memory device of
3. The memory device of
each of the number of records in the third table includes a number of entries; and
each of the number of entries in each of the number of records in the third table includes a physical address corresponding to a record in the second table and a logical address.
4. The memory device of
5. The memory device of
8. The memory device of
the record in the table in the memory array includes a number of entries; and
each of the number of entries in the memory array includes a physical address corresponding to a data segment stored in the array and a logical address.
9. The memory device of
11. The memory device of
15. The memory device of
16. The memory device of
17. The memory device of
a first sub-table having a number of records, wherein:
each of the number of records includes a number of entries; and
each of the number of entries in each of the number of records includes a physical address corresponding to a record in the first table and a logical address; and
a second-sub table having a number of records, wherein:
each of the number of records includes a number of entries; and
each of the number of entries in each of the number of records includes a physical address corresponding to a record in the cache and a logical address.
19. The method of
20. The method of
determining an entry in the record in the third table that corresponds to the logical address corresponding to the data segment; and
determining, using the determined entry in the third table, a physical address corresponding to the data segment.
21. The method of
22. The method of
determining an entry in the record in the cache that corresponds to the logical address corresponding to the data segment; and
determining, using the determined entry in the cache, a physical address corresponding to the data segment.
24. The method of
25. The method of
determining, using the determined entry in the first variable size table, an entry in a record in a first sub-table of the second variable size table; and
determining, using the determined entry in the first variable size table, an entry in a record in a second sub-table of the second variable size table.
26. The method of
27. The method of
|
This application is a Continuation of U.S. application Ser. No. 12/985,787, filed Jan. 6, 2011, to be issued on Apr. 9, 2013, as U.S. Pat. No. 8,417,914, the specification of which is incorporated herein by reference.
The present disclosure relates generally to semiconductor memory devices, methods, and systems, and more particularly, to memory address translation.
Memory devices are typically provided as internal, semiconductor, integrated circuits and/or external removable devices in computers or other electronic devices. There are many different types of memory including random-access memory (RAM), read only memory (ROM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), phase change random access memory (PCRAM), and flash memory, among others.
Flash memory devices can be utilized as volatile and non-volatile memory for a wide range of electronic applications. Flash memory devices typically use a one-transistor memory cell that allows for high memory densities, high reliability, and low power consumption. Flash memory devices often may have a “NAND” or “NOR” memory array architecture, so called for the logical form in which the basic memory cell configuration of each is arranged. Uses for flash memory include memory for solid state drives (SSDs), personal computers, personal digital assistants (PDAs), digital cameras, cellular telephones, portable music players (e.g., MP3 players), and movie players, among other electronic devices. Data, such as program code, user data, and/or system data, such as a basic input/output system (BIOS), are typically stored in flash memory devices.
A flash memory device may include a flash transition layer (FTL). An FTL can be used (e.g., during a programming operation performed on the flash memory device) to map a logical address associated with a data entry to a physical address in the flash memory. An FTL may include an address mapping table in the local memory of the flash memory device to perform the mapping operation. However, the size of (e.g., the amount of data stored in) address mapping tables used in previous FTL approaches may be fixed. Because the size of address mapping tables used in previous FTL approaches may be fixed, address mapping tables used in previous FTL approaches may not be adaptable to different types of flash memory devices. That is, previous FTL approaches may be used in only one type of flash memory device.
The present disclosure includes devices, systems, and methods for memory address translation. One or more embodiments include a memory array and a controller coupled to the array. The array includes a first table having a number of records, wherein each record includes a number of entries, wherein each entry includes a physical address corresponding to a data segment stored in the array and a logical address. The controller includes a second table having a number of records, wherein each record includes a number of entries, wherein each entry includes a physical address corresponding to a record in the first table and a logical address. The controller also includes a third table having a number of records, wherein each record includes a number of entries, wherein each entry includes a physical address corresponding to a record in the second table and a logical address.
Embodiments of the present disclosure can include flash translation layers having tables (e.g., address mapping tables) that have variable sizes. That is, the size of (e.g., the amount of data stored in) the tables in flash translation layers of the present disclosure can change. Because the size of the tables in flash translation layers of the present disclosure can change, the tables may be adaptable to different types of flash memory devices. That is, flash translation layers in accordance with the present disclosure may be used in different types of flash memory devices.
In the following detailed description of the present disclosure, reference is made to the accompanying drawings that form a part hereof, and in which is shown by way of illustration how a number of embodiments of the disclosure may be practiced. These embodiments are described in sufficient detail to enable those of ordinary skill in the art to practice the embodiments of this disclosure, and it is to be understood that other embodiments may be utilized and that process, electrical, and/or structural changes may be made without departing from the scope of the present disclosure.
As used herein, “a number of” something can refer to one or more such things. For example, a number of tables can refer to one or more tables. Additionally, the designators “B”, “D”, “E”, “R”, and “S” as used herein, particularly with respect to reference numerals in the drawings, indicates that a number of the particular feature so designated can be included with a number of embodiments of the present disclosure.
The figures herein follow a numbering convention in which the first digit or digits correspond to the drawing figure number and the remaining digits identify an element or component in the drawing. Similar elements or components between different figures may be identified by the use of similar digits. For example, 232 may reference element “32” in
As shown in
In the example shown in
As shown in
As one of ordinary skill in the art will appreciate, each row 120-0, 120-1, . . . , 120-R can include (e.g., store) one or more physical pages of data. A physical page refers to a unit of programming and/or sensing (e.g., a number of cells that are programmed and/or sensed together as a functional group of memory cells). In the embodiment shown in
In one or more embodiments of the present disclosure, and as shown in
Each physical sector 122-0, 122-1, . . . , 122-S can have a physical address, such as, for example, a physical block number (PBN), associated therewith. The PBN of a physical sector can identify the actual physical location of the sector within memory array 100. For example, a PBN can identify a CE#, LUN, plane, block, page, position, and/or status. Further, a number of PBNs can map onto a physical page of memory cells in memory array 100. For example, one, two or four PBNs can map onto a physical page, depending on what the type of memory array 100 is.
As one of ordinary skill in the art will appreciate, logical block addressing is a scheme that can be used by a host for identifying a logical sector of data. For example, each logical sector can correspond to a unique logical block address (LBA). Additionally, an LBA may also correspond to a physical address. As an example, a logical sector of data can be a number of bytes of data (e.g., 256 bytes, 512 bytes, or 1,024 bytes). However, embodiments are not limited to these examples.
In one or more embodiments of the present disclosure, a number of LBAs can correspond to a logical page number (LPN). That is, an LPN can include a number of LBAs (e.g., a number of logical sectors of data). For example, one or more LPNs can map logically into one LBA, depending on the size of the LBA and/or LPN(s). Additionally, a virtual page number (VPN) can be used to identify the logical address (e.g., map the location) of data stored in a table, such as, for example, tables 232, 236, 242, 332, 438, and/or 542 further described herein in connection with
It is noted that other configurations for the physical blocks 116-0, 116-1, . . . , 116-B, rows 120-0, 120-1, . . . , 120-R, sectors 122-0, 122-1, . . . , 122-S, and pages are possible. For example, rows 120-0, 120-1, . . . , 120-R of physical blocks 116-0, 116-1, . . . , 116-B can each store data corresponding to a single logical sector which can include, for example, more or less than 512 bytes of data.
Memory array 200 can be, for example, memory array 100 previously described in connection with
As shown in
In the embodiment illustrated in
Tables 232, 236, and 242 can be, for example, a data block lookup table, a global directory lookup table, and a root directory lookup table, respectively. Table 232 is located (e.g., stored) in memory array 200, as shown in
Table 232 can include a number of records. Each record in table 232 can include a number of entries, and each entry in a record can include a physical address (e.g., a PBN) corresponding to a data segment (e.g., a sector of data) stored in memory array 200 and a logical address (e.g., an LPN). That is, each entry in table 232 can include a mapping of an LPN to a PBN. The records and entries in table 232 will be further described herein (e.g., in connection with
As shown in
For example, the one or more records in cache 234 can be records in table 232 having an entry most recently used to determine a physical address of a particular data segment in memory array 200. That is, no record in table 232 that is not also currently in cache 234 may have an entry that has been used to determine a physical address of a particular data segment in memory array 200 more recently than a record in table 232 that is also currently in cache 234. Additionally and/or alternatively, the one or more records in cache 234 can be records in table 232 having an entry previously used at least twice to determine a physical address of a particular data segment in memory array 200.
As shown in
Although not illustrated in
As shown in
In one or more embodiments of the present disclosure, tables 232, 236, and/or 242 can have a variable size. That is, the size of (e.g., the amount of data stored in) tables 232, 236, and/or 242 can change. Because the size of tables 232, 236, and/or 242 can change, tables 232, 236, and/or 242 may be adaptable to different types of flash memory devices. That is, flash translation layers having tables 232, 236, and 242 may be used in different types of flash memory devices.
Additionally, table 232 can have a smaller size than memory array 200, table 236 can have a smaller size than table 232, and table 242 can have a smaller size than table 236. For example, the ratio of the size of table 232 to the size of memory array 200 can be approximately 1 to 1000, table 236 can be approximately three orders of magnitude smaller than table 232, and table 242 can be approximately three orders of magnitude smaller than table 236. However, embodiments of the present disclosure are not limited to a particular size relationship between memory array 200 and tables 232, 236, and 242.
Although the embodiment illustrated in
The embodiment illustrated in
As illustrated in
Using the determined entry in sub-table 238, a physical address (e.g., a PBN) corresponding to a record in table 232 and a logical address (e.g., a VPN) can be determined, as illustrated in
As illustrated in
Using the determined entry in table 232, a physical address (e.g., a PBN) corresponding to the data segment in memory array 200 and a logical address (e.g., an LPN) can be determined, as illustrated in
As shown in
Additionally, each record 352-0, 352-1, . . . , 352-D can include a link configured to incorporate the record into cache 234 previously described in connection with
As shown in
Each entry 464-1, 464-2, . . . , 464-E in a record 462-0, 462-1, . . . , 462-D can have a one-to-one correspondence with an entry in sub-table 240 previously described in connection with
Additionally, an entry in sub-table 240 may only be valid if the record in table 332 mapped by the entry is also concurrently stored in cache 234. For example, when a record in table 332 is removed from cache 234, the entry in sub-table 240 used to map the record in cache 234 can be invalidated, and the entry in sub-table 438 used to map the record in table 332 can be updated.
As shown in
The present disclosure includes devices, systems, and methods for memory address translation. One or more embodiments include a memory array and a controller coupled to the array. The array includes a first table having a number of records, wherein each record includes a number of entries, wherein each entry includes a physical address corresponding to a data segment stored in the array and a logical address. The controller includes a second table having a number of records, wherein each record includes a number of entries, wherein each entry includes a physical address corresponding to a record in the first table and a logical address. The controller also includes a third table having a number of records, wherein each record includes a number of entries, wherein each entry includes a physical address corresponding to a record in the second table and a logical address.
Although specific embodiments have been illustrated and described herein, those of ordinary skill in the art will appreciate that an arrangement calculated to achieve the same results can be substituted for the specific embodiments shown. This disclosure is intended to cover adaptations or variations of a number of embodiments of the present disclosure. It is to be understood that the above description has been made in an illustrative fashion, and not a restrictive one. Combination of the above embodiments, and other embodiments not specifically described herein will be apparent to those of ordinary skill in the art upon reviewing the above description. The scope of a number of embodiments of the present disclosure includes other applications in which the above structures and methods are used. Therefore, the scope of a number of embodiments of the present disclosure should be determined with reference to the appended claims, along with the full range of equivalents to which such claims are entitled.
In the foregoing Detailed Description, some features are grouped together in a single embodiment for the purpose of streamlining the disclosure. This method of disclosure is not to be interpreted as reflecting an intention that the disclosed embodiments of the present disclosure have to use more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive subject matter lies in less than all features of a single disclosed embodiment. Thus, the following claims are hereby incorporated into the Detailed Description, with each claim standing on its own as a separate embodiment.
Manning, Troy A., Larsen, Troy D., Culley, Martin L.
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
6898669, | Dec 18 2001 | Kabushiki Kaisha Toshiba | Disk array apparatus and data backup method used therein |
6938144, | Mar 22 2001 | Panasonic Corporation | Address conversion unit for memory device |
20030115414, | |||
20040186946, | |||
20080320214, | |||
20090132755, | |||
20090193184, | |||
20100030999, | |||
20100217927, | |||
TW564346, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Apr 09 2013 | Micron Technology, Inc. | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Date | Maintenance Schedule |
Jun 17 2017 | 4 years fee payment window open |
Dec 17 2017 | 6 months grace period start (w surcharge) |
Jun 17 2018 | patent expiry (for year 4) |
Jun 17 2020 | 2 years to revive unintentionally abandoned end. (for year 4) |
Jun 17 2021 | 8 years fee payment window open |
Dec 17 2021 | 6 months grace period start (w surcharge) |
Jun 17 2022 | patent expiry (for year 8) |
Jun 17 2024 | 2 years to revive unintentionally abandoned end. (for year 8) |
Jun 17 2025 | 12 years fee payment window open |
Dec 17 2025 | 6 months grace period start (w surcharge) |
Jun 17 2026 | patent expiry (for year 12) |
Jun 17 2028 | 2 years to revive unintentionally abandoned end. (for year 12) |