# US 9,086,955 B2 · Rank-modulation rewriting codes for flash memories

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

- Number: US 9,086,955 B2
- Document ID: US9086955B2
- Status: Granted
- Kind: B2
- Application number: 13/791,823
- Filed: 2013-03-08
- Published: 2013-09-26
- Granted: 2015-07-21
- Earliest claimed: 2012-03-08
- Assignees: California Institute of Technology; The Texas A&M University System
- Applicants: California Institute of Technology; Texas A&M University System
- Inventors: Anxiao Jiang; Eyal En Gad; Jehoshua Bruck; Eitan Yaakobi
- Web page: https://patentgrep.com/patent/US9086955B2

## CPC

- G06F 11/1072: {in multilevel memories}
- G06F 11/1016: {Error in accessing a memory location, i.e. addressing error}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G11C 7/1006: {Data managing, e.g. manipulating data before writing or reading out, data bus switches or control circuits therefor}
- G11C 11/5628: {Programming or writing circuits; Data input circuits}
- G11C 16/10: Programming or data input circuits
- G11C 16/349: {Arrangements for evaluating degradation, retention or wearout, e.g. by counting erase cycles}
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- H03M 13/13: Linear codes
- G11C 2211/5649: Multilevel memory with plate line or layer, e.g. in order to lower programming voltages
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

Rank modulation has been recently proposed as a scheme for storing information in flash memories. Three improved aspects are disclosed. In one aspect the minimum push-up scheme, for storing data in flash memories is provided. It aims at minimizing the cost of changing the state of the memory. In another aspect, multi-cells, used for storing data in flash memories is provided. Each transistor is replaced with a multi-cell of mm transistors connected in parallel. In yet another aspect, multi-permutations, are provided. The paradigm of representing information with permutations is generalized to the case where the number of cells in each level is a constant greater than one. In yet another aspect, rank-modulation rewriting schemes which take advantage of polar codes, are provided for use with flash memory.

## Claims

### Claim 1

A method to operate a memory device, the method comprising:
receiving a new data set for a rank of a plurality of ranks to be stored in the memory device, wherein the memory device comprises a plurality of cells;
reading a current state of candidate cells within the plurality of cells, wherein the candidate cells are used to store the new data set;
creating a binary representation of the plurality of cells used to store the new data set;
using a write once memory (WOM) code to combine the binary representation with the new data set to create a binary WOM vector;
modifying the binary WOM vector to equal quantities of 1's and 0's within the candidate cells to create a new data vector; and
writing the new data vector to the candidate cells.

### Claim 2 (depends on 1)

The method of claim 1, wherein the WOM code includes a polar WOM code.

### Claim 3 (depends on 1)

The method of claim 1, wherein a cost to write is defined as a maximum level of the plurality of cells after the new data vector is written minus a maximum level of the candidate cells before the new data vector is written.

### Claim 4 (depends on 3)

The method of claim 3, wherein the cost is 1.

### Claim 5 (depends on 1)

The method of claim 1, wherein the method further comprises:
reading the new data vector from the candidate cells;
modifying the new data vector to recreate the binary WOM vector; and
using the WOM code on the binary WOM vector to separate the binary representation from the data set.

### Claim 6 (depends on 5)

The method of claim 5, wherein the WOM code includes a polar WOM code.

### Claim 7

A computer method to operate a memory device, the method comprising:
receiving a new data set m for a rank to store in the memory device, wherein the memory device comprises a plurality of cells;
reading a current state of the plurality of cells, wherein the plurality of cells are arranged according to a rank modulation scheme and the plurality of cells are used to store the received new data set m;
determining a new multi-permutation to be written to the plurality of cells representing the received new data set m determined in accordance with a particular cost; and
writing the new multi-permutation to the memory device.

### Claim 8

A computer method to operate a memory device, the method comprising:
receiving a data value comprising a plurality of data sets, wherein each data set includes a set of values representing a rank in a plurality of ranks; and
repeating for the plurality of data sets in the data value:
receiving a new data set for a rank of the plurality of ranks to be stored in the memory device, wherein the memory device comprises a plurality of cells;
reading a current state of candidate cells within the plurality of cells, wherein the candidate cells are used to store the new data set;
creating a binary representation of the plurality of cells used to store the new data set;
using a write once memory (WOM) code to combine the binary representation with the new data set to create a binary WOM vector;
modifying the binary WOM vector to equal quantities of 1's and 0's within the candidate cells creating a new data vector; and
writing the new data vector to the candidate cells.

### Claim 9 (depends on 8)

The method of claim 8, wherein the WOM code includes a polar WOM code.

### Claim 10

A computer method of operate a memory device, the method comprising:
reading a plurality of cells and determining a multi-permutation stored in the plurality of cells;
identifying a group of cells in the plurality of cells, contained within each rank of a plurality of ranks; and
for each rank:
reading a new data vector from the rank;
modifying the new data vector to recreate a binary write once memory (WOM) vector; and
using a WOM code on the binary WOM vector to separate a binary representation from a data set.

### Claim 11 (depends on 10)

The method of claim 10, wherein the WOM code includes a polar WOM code.

### Claim 12

A memory controller, comprising:
an interface configured to receive a new data set for a rank of a plurality of ranks to be stored in a memory comprising a plurality of cells; and
a processor coupled to the interface and configured to:
read a current state of candidate cells within the plurality of cells,
wherein the candidate cells are used to store the new data set;
create a binary representation of the plurality of cells used to store the new data set;
use a write once memory (WOM) code to combine the binary representation with the new data set to create a binary WOM vector;
modify the binary WOM vector to equal quantities of 1's and 0's within the candidate cells to create a new data vector; and
write the new data vector to the candidate cells.

### Claim 13 (depends on 12)

The memory controller of claim 12, wherein the WOM code includes a polar WOM code.

### Claim 14 (depends on 12)

The memory controller of claim 12, wherein a cost to write is defined as a maximum level of the plurality of cells after the new data vector is written minus a maximum level of the candidate cells before the new data vector is written.

### Claim 15 (depends on 14)

The memory controller of claim 14, wherein the cost is 1.

### Claim 16 (depends on 12)

The memory controller of claim 12, wherein the processor is further configured to:
read the new data vector from the candidate cells;
modify the new data vector to recreate the binary WOM vector; and
use the WOM code on the binary WOM vector to separate the binary representation from the data set.

### Claim 17 (depends on 16)

The memory controller as in claim 16, wherein the WOM code includes a polar WOM code.

### Claim 18

A memory controller, comprising:
an interface configured to receive a new data set m for a rank to be stored in a memory device, wherein the memory device comprises a plurality of cells; and
a processor coupled to the interface and configured to:
read a current state of the plurality of cells within the plurality of cells that are arranged according to a rank modulation scheme and the plurality of cells are used to store the received new data set m;
determine a new multi-permutation to be written to the plurality of cells that represents the received new data set m determined in accordance with a particular cost; and
write the new multi-permutation to memory.

### Claim 19

A memory controller, comprising:
an interface configured to receive a data value comprising a plurality of data sets, wherein each data set is a set of values that represent a rank in a plurality of ranks; and
a processor coupled to the interface and configured to perform operations repeated for the data sets in the data value, wherein the operations include:
receive a new data set for a rank of the plurality of ranks to be stored in a memory device, wherein the memory device comprises a plurality of cells;
read a current state of candidate cells within the plurality of cells, wherein the candidate cells are used to store the new data set;
create a binary representation of the plurality of cells used to store the new data set;
use a write once memory (WOM) code to combine the binary representation with the new data set to create a binary WOM vector;
modify the binary WOM vector to equal quantities of 1's and 0's within the candidate cells to create a new data vector; and
write the new data vector to the candidate cells.

### Claim 20 (depends on 19)

The memory controller of claim 19, wherein the WOM code includes a polar WOM code.

### Claim 21

A memory controller, comprising:
an interface configured to provide access to a plurality of cells in a memory device; and
a processor coupled to the interface and configured to:
access the plurality of cells through the interface;
read the plurality of cells; and
perform operations that include:
determine a multi-permutation stored in the plurality of cells;
identify a group of cells in the plurality of cells contained within each rank of a plurality of ranks; and
for each rank:
read a new data vector from the rank;
modify the new data vector to recreate a binary write once memory (WOM) vector; and
us a WOM code on the binary WOM vector to separate a binary representation from a data set.

### Claim 22 (depends on 21)

The memory controller of claim 21, wherein the WOM code includes a polar WOM code.

### Claim 23

A data device, comprising:
a memory configured to store data values; and
a memory controller coupled to the memory and that is configured to store the data values in the memory by performance of operations that include:
receive a new data set for a rank of a plurality of ranks to be stored in the data device, wherein the data device comprises a plurality of cells;
read a current state of candidate cells within the plurality of cells, wherein the candidate cells are used to store the new data set;
create a binary representation of the plurality of cells used to store the new data set;
use a write once memory (WOM) code to combine the binary representation with the new data set to create a binary WOM vector;
modify the binary WOM vector to equal quantities of 1's and 0's within the candidate cells to create a new data vector; and
write the new data vector to the candidate cells.

### Claim 24 (depends on 23)

The data device of claim 23, wherein the WOM code includes a polar WOM code.

### Claim 25 (depends on 23)

The data device of claim 23, wherein a cost to write is defined as a maximum level of the plurality of cells after the new data vector is written minus a maximum level of the candidate cells before the new data vector is written.

### Claim 26 (depends on 25)

The data device of claim 25, wherein the cost is 1.

### Claim 27 (depends on 23)

The data device of claim 23, wherein the operations further include:
read the new data vector from the candidate cells;
modify the new data vector to recreate the binary WOM vector; and
use a WOM code on the binary WOM vector to separate the binary representation from the data set.

### Claim 28 (depends on 27)

The data device as in claim 27, wherein the WOM code includes a polar WOM code.

### Claim 29

A data device, comprising:
a memory configured to store data values; and
a memory controller coupled to the memory and that is configured to store the data values in the memory by performance of operations that include:
receive a new data set m for a rank to store in the data device, wherein the data device comprises a plurality of cells;
read a current state of the plurality of cells, wherein the plurality of cells are arranged according to a rank modulation scheme and the plurality of cells are used to store the received new data set m;
determine a new multi-permutation to be written to the plurality of cells that represent the received new data set m determined in accordance with a particular cost; and
write the new multi-permutation to the data device.

### Claim 30

A data device, comprising:
a memory configured to store data values; and
a memory controller coupled to the memory and that is configured to store the data values in the memory by performance of operations that include:
receive a data value comprising a plurality of data sets, wherein each data set is a set of values that represent a rank in a plurality of ranks, and repeat for the data sets in the data value operations include to:
receive a new data set for a rank of the plurality of ranks to be stored in the data device, wherein the data device comprises a plurality of cells;
read a current state of candidate cells within the plurality of cells, wherein the candidate cells are used to store the new data set;
create a binary representation of the plurality of cells used to store the new data set;
use a write once memory (WOM) code to combine the binary representation with the new data set to create a binary WOM vector;
modify the binary WOM vector to equal quantities of 1's and 0's within the candidate cells to create a new data vector; and
write the new data vector to the candidate cells.

### Claim 31 (depends on 30)

The data device of claim 30, wherein the WOM code includes a polar WOM code.

### Claim 32

An apparatus, comprising:
a data device configured to:
read a plurality of cells and determine a multi-permutation stored in the plurality of cells;
identify a group of cells in the plurality of cells, contained within each rank of a plurality of ranks; and
for each rank:
read a new data vector from the rank;
modify the new data vector to recreate a binary write once memory (WOM) vector; and
use a WOM code on the binary WOM vector to separate a binary representation from a data set.

### Claim 33 (depends on 32)

The data device of claim 32, wherein the WOM code includes a polar WOM code.
