# US 2017/0293555 A1 · Determining control states for address mapping in non-volatile memories

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0293555 A1
- Document ID: US20170293555A1
- Status: Published application
- Kind: A1
- Application number: 15/627,042
- Filed: 2017-06-19
- Published: 2017-10-12
- Earliest claimed: 2015-07-14
- Assignees: Western Digital Technologies, Inc.
- Applicants: Western Digital Technologies, Inc.
- Inventors: Kiran Kumar Gunnam
- Web page: https://patentgrep.com/patent/US20170293555A1

## CPC

- G06F 12/0607: {Interleaved addressing}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2212/1016: Performance improvement
- G06F 2212/1044: Space efficiency improvement
- G06F 2212/214: Solid state disk
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7211: Wear leveling
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods for determining a cumulative control state for mapping logical block addresses (LBAs) to physical block addresses (PBAs) are disclosed. One such system includes a bitonic network including first switches and configured to receive a first randomly ordered list and random switch settings, determine a permutation of the first randomly ordered list using the random switch settings at the first switches, where the permutation includes a second randomly ordered list, and output the second randomly ordered list; a bitonic sorter including second switches and configured to receive the second randomly ordered list, sort the second randomly ordered list, and output settings of the second switches used to achieve the sort, where the second switch settings define a cumulative control state; and an access network configured to determine a PBA of a non-volatile memory (NVM) to enable a data access of a corresponding LBA using the cumulative control state.

## Claims

### Claim 1

A system for determining a cumulative control state for mapping logical block addresses (LBAs) to physical block addresses (PBAs), the system comprising:
a bitonic network comprising first switches and configured to:
receive a first randomly ordered list and random switch settings;
determine a permutation of the first randomly ordered list using the random switch settings at the first switches, wherein the permutation comprises a second randomly ordered list; and
output the second randomly ordered list;
a bitonic sorter comprising second switches and configured to:
receive the second randomly ordered list;
sort the second randomly ordered list; and
output settings of the second switches used to achieve the sort, wherein the second switch settings define a cumulative control state; and
an access network configured to determine a PBA of a non-volatile memory (NVM) to enable a data access of a corresponding LBA using the cumulative control state.

### Claim 2 (depends on 1)

The system of claim 1, wherein the sort is ascending.

### Claim 3 (depends on 1)

The system of claim 1, wherein the sort is descending.

### Claim 4 (depends on 1)

The system of claim 1, wherein the sort comprises a naturally order sort.

### Claim 5 (depends on 1)

The system of claim 1, wherein the bitonic sorter is configured to output a naturally ordered list.

### Claim 6 (depends on 5)

The system of claim 5, wherein the naturally ordered list comprises the numbers from 0 to M−1 where M is the number of inputs to the bitonic network.

### Claim 7 (depends on 1)

The system of claim 1, wherein the access network is further configured to:
generate a first PBA candidate from a LBA using a first function;
generate a second PBA candidate from the LBA using a second function; and
select either the first PBA candidate or the second PBA candidate for data access based on information related to a background swap of data stored at the first PBA candidate and a background swap of data stored at the second PBA candidate.

### Claim 8 (depends on 7)

The system of claim 7, wherein at least one of the first function or the second function comprises a function performed by at least one of a multi-stage interconnection network or a block cipher.

### Claim 9

A method for determining a cumulative control state for mapping logical block addresses (LBAs) to physical block addresses (PBAs), the method comprising:
generating, randomly, first switch settings;
receiving a first randomly ordered list and the first switch settings;
generating a permutation of the first randomly ordered list using the first switch settings, wherein the permutation comprises a second randomly ordered list;
sorting the second randomly ordered list using a bitonic sort;
determining settings of second switches used to achieve the bitonic sort, wherein the second switch settings define a cumulative control state; and
determining a PBA of a non-volatile memory (NVM) to enable a data access of a corresponding LBA using the cumulative control state.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
generating a bitonic network comprising a plurality of first switches;
generating a bitonic sorter comprising a plurality of second switches;
wherein the receiving the first randomly ordered list and the first switch settings comprises receiving, at the bitonic network, the first randomly ordered list and the first switch settings;
wherein the generating the permutation of the first randomly ordered list using the first switch settings comprises generating the permutation of the first randomly ordered list using the first switch settings at the first switches;
wherein the sorting the second randomly ordered list using the bitonic sort comprises sorting, at the bitonic sorter, the second randomly ordered list; and
wherein the determining the settings of second switches used to achieve the sort comprises determining the settings of the second switches of the bitonic sorter used to achieve the bitonic sort.

### Claim 11 (depends on 10)

The method of claim 10, wherein the bitonic network comprises at least one of a Benes network, an inverse Benes network, an inverse Bitonic network, an Omega network, an inverse Omega network, a Butterfly network, or an inverse Butterfly network.

### Claim 12 (depends on 9)

The method of claim 9, wherein the sort is ascending.

### Claim 13 (depends on 9)

The method of claim 9, wherein the sort is descending.

### Claim 14 (depends on 9)

The method of claim 9, wherein the sort comprises a naturally order sort.

### Claim 15 (depends on 9)

The method of claim 9, wherein the sorting the second randomly ordered list using the bitonic sort comprises generating a naturally ordered list.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
generating a bitonic network comprising a plurality of first switches;
wherein the receiving the first randomly ordered list and the first switch settings comprises receiving, at the bitonic network, the first randomly ordered list and the first switch settings; and
wherein the naturally ordered list comprises the numbers from 0 to M−1 where M is the number of inputs to the bitonic network.

### Claim 17 (depends on 9)

The method of claim 9, wherein the determining the PBA of the NVM to enable the data access of the corresponding LBA using the cumulative control state comprises:
generating a first PBA candidate from a LBA using a first function;
generating a second PBA candidate from the LBA using a second function; and
selecting either the first PBA candidate or the second PBA candidate for data access based on information related to a background swap of data stored at the first PBA candidate and a background swap of data stored at the second PBA candidate.

### Claim 18 (depends on 17)

The method of claim 17, wherein at least one of the first function or the second function comprises a function performed by at least one of a multi-stage interconnection network or a block cipher.

### Claim 19

A system for determining a cumulative control state for mapping logical block addresses (LBAs) to physical block addresses (PBAs), the system comprising:
means for randomly generating first switch settings;
means for receiving a first randomly ordered list and the first switch settings;
means for generating a permutation of the first randomly ordered list using the first switch settings, wherein the permutation comprises a second randomly ordered list;
means for sorting the second randomly ordered list using a bitonic sort;
means for determining settings of second switches used to achieve the bitonic sort, wherein the second switch settings define a cumulative control state; and
means for determining a PBA of a non-volatile memory (NVM) to enable a data access of a corresponding LBA using the cumulative control state.

### Claim 20 (depends on 19)

The system of claim 19:
wherein the means for generating the permutation of the first randomly ordered list using the first switch settings comprises a bitonic network comprising a plurality of first switches;
wherein the means for sorting the second randomly ordered list using the bitonic sort comprises a bitonic sorter comprising a plurality of second switches;
wherein the means for receiving the first randomly ordered list and the first switch settings comprises means for receiving, at the bitonic network, the first randomly ordered list and the first switch settings;
wherein the means for generating the permutation of the first randomly ordered list using the first switch settings comprises means for generating the permutation of the first randomly ordered list using the first switch settings at the first switches;
wherein the means for sorting the second randomly ordered list using the bitonic sort comprises means for sorting, at the bitonic sorter, the second randomly ordered list; and
wherein the means for determining the settings of second switches used to achieve the sort comprises means for determining the settings of the second switches of the bitonic sorter used to achieve the bitonic sort.

### Claim 21 (depends on 20)

The system of claim 20, wherein the bitonic network comprises at least one of a Benes network, an inverse Benes network, an inverse Bitonic network, an Omega network, an inverse Omega network, a Butterfly network, or an inverse Butterfly network.

### Claim 22 (depends on 19)

The system of claim 19, wherein the sort is ascending.

### Claim 23 (depends on 19)

The system of claim 19, wherein the sort is descending.

### Claim 24 (depends on 19)

The system of claim 19, wherein the sort comprises a naturally order sort.

### Claim 25 (depends on 19)

The system of claim 19, wherein the means for sorting the second randomly ordered list using the bitonic sort comprises means for generating a naturally ordered list.

### Claim 26 (depends on 25)

The system of claim 25, further comprising:
means for generating a bitonic network comprising a plurality of first switches;
wherein the means for the receiving the first randomly ordered list and the first switch settings comprises means for receiving, at the bitonic network, the first randomly ordered list and the first switch settings; and
wherein the naturally ordered list comprises the numbers from 0 to M−1 where M is the number of inputs to the bitonic network.

### Claim 27 (depends on 19)

The system of claim 19, wherein the means for determining the PBA of the NVM to enable a data access of a corresponding LBA using the cumulative control state comprises:
means for generating a first PBA candidate from a LBA using a first function;
means for generating a second PBA candidate from the LBA using a second function; and
means for selecting either the first PBA candidate or the second PBA candidate for data access based on information related to a background swap of data stored at the first PBA candidate and a background swap of data stored at the second PBA candidate.

### Claim 28 (depends on 27)

The system of claim 27, wherein at least one of the first function or the second function comprises a function performed by at least one of a multi-stage interconnection network or a block cipher.
