# US 2022/0291872 A1 · Storage device accessible on a cell-by-cell basis and method of operating the same

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

- Number: US 2022/0291872 A1
- Document ID: US20220291872A1
- Status: Published application
- Kind: A1
- Application number: 17/828,362
- Filed: 2022-05-31
- Published: 2022-09-15
- Earliest claimed: 2019-12-26
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Doo Hyun Kim; Jong-Hoon Lee
- Web page: https://patentgrep.com/patent/US20220291872A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 7/5443: {Sum of products (for applications thereof, see the relevant places, e.g. G06F17/10, H03H17/00)}
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/063: using electronic means
- G11C 7/1006: {Data managing, e.g. manipulating data before writing or reading out, data bus switches or control circuits therefor}
- G11C 11/54: using elements simulating biological cells, e.g. neuron
- G11C 11/5628: {Programming or writing circuits; Data input circuits}
- G11C 11/5635: {Erasing circuits}
- G11C 11/5642: {Sensing or reading circuits; Data output circuits}
- G11C 16/10: Programming or data input circuits
- G11C 16/14: Circuits for erasing electrically, e.g. erase voltage switching circuits
- G11C 16/26: Sensing or reading circuits; Data output circuits
- G11C 16/349: {Arrangements for evaluating degradation, retention or wearout, e.g. by counting erase cycles}
- G06F 2207/4824: Neural networks
- G11C 16/0483: {comprising cells having several storage transistors connected in series}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A storage device includes a nonvolatile memory device having a plurality of memory cells and a storage controller. Each memory cell is set to one of a plurality of memory cell states, wherein distinct subsets of the memory cell states are associated with one of a plurality of data sets. The storage controller accesses data stored in one of the memory cells in a first state, performs a multiplier-accumulator (MAC) operation on the data, and sets the one memory cell to a second state corresponding to a result of the MAC operation to perform an in-place update.

## Claims

### Claim 1

A storage device comprising:
a nonvolatile memory device comprising a plurality of memory cells, each memory cell is set to one of a plurality of memory cell states, wherein distinct subsets of the memory cell states are associated with one of a plurality of data sets; and
a storage controller configured to access the nonvolatile memory device,
wherein the storage controller accesses data stored in one of the memory cells in a first state, performs a multiplier-accumulator (MAC) operation on the data, and sets the one memory cell to a second state corresponding to a result of the MAC operation to perform an in-place update.

### Claim 2 (depends on 1)

The storage device of claim 1, wherein each of the data sets comprises a plurality of values respectively mapped to one of the subsets of the memory cell states.

### Claim 3 (depends on 2)

The storage device of claim 2, wherein the values are linearly mapped to respective memory cell states of a corresponding one of the subsets of the memory cell states, and each of the values is an integer.

### Claim 4 (depends on 3)

The storage device of claim 3, wherein in a current data set to which the first state belongs, when the result of the operation is located to the right of a value mapped to the first state, the second state to which the result of the operation is mapped belongs to the current data set.

### Claim 5 (depends on 3)

The storage device of claim 3, wherein in the current data set to which the first state belongs, when the result of the operation is located to the left of a value mapped to the first state, the second state to which the result of the operation is mapped belongs to a next data set adjacent to the current data set.

### Claim 6 (depends on 1)

The storage device of claim 1, wherein a threshold voltage of the second state is greater than a threshold voltage of the first state.

### Claim 7 (depends on 1)

The storage device of claim 1, wherein the nonvolatile memory device comprises a plurality of flag cells respectively corresponding to the memory cells and storing information about the memory cells.

### Claim 8 (depends on 7)

The storage device of claim 7, wherein each of the flag cells comprises activation information indicating which of the data sets has been activated during an in-place update to a corresponding one of the memory cells, and the storage controller accesses the activated data sets based on the activation information.

### Claim 9 (depends on 7)

The storage device of claim 7, wherein each of the flag cells comprises program/erase (PE) cycle information of a corresponding memory cell, and the storage controller re-maps states belonging to data sets excluding at least one data set to new threshold voltages based on the PE cycle information.

### Claim 10 (depends on 7)

The storage device of claim 7, wherein when erasing one of the memory cells, the storage controller erases a flag cell corresponding to the one memory cell being erased.

### Claim 11

A method of operating a storage device including a nonvolatile memory, the method comprising:
receiving an operation command;
performing an operation on a value of a memory cell of the nonvolatile memory mapped to a first state according to the operation command to generate a result;
determining a second state mapped to the result of the operation; and
setting the memory cell to the second state for overwriting the value with the result,
wherein the nonvolatile memory comprises a plurality of memory cells, each memory cell is set to one of a plurality of memory cell states, wherein distinct subsets of the memory cell states are associated with one of a plurality of data sets, and each of the data sets comprises a plurality of values linearly mapped to one of the subsets, respectively.

### Claim 12 (depends on 11)

The method of claim 11, wherein the nonvolatile memory comprises a plurality of flag cells storing information corresponding to the memory cells, respectively, and each of the flag cells comprises one or more states respectively corresponding to the plurality of data sets.

### Claim 13 (depends on 12)

The method of claim 12, before the operation is performed, further comprises,
accessing the plurality of flag cells; and
checking whether each of data sets has been activated.

### Claim 14 (depends on 12)

The method of claim 12, wherein activation information of data sets to which the first state and the second state belong as a result of the operation is updated to the flag cell corresponding the data sets.

### Claim 15

A neural network device comprising:
a memory comprising a plurality of nonvolatile memory cells, each memory cell being set to one of a plurality of memory cell states, wherein distinct subsets of the memory cell states are associated with one of a plurality of data sets, and storing data;
a nonvolatile memory device configured to store a computer program; and
a processor configured to performs an operation on the data by driving a neural network by executing the program,
wherein the processor performs the operation on the data stored in one of the nonvolatile memory cells and mapped to a first state to generate a result and sets the one nonvolatile memory cell to a second state mapped to a result of the operation.

### Claim 16 (depends on 15)

The neural network device of claim 15, wherein each of the data sets comprises a plurality of values respectively mapped to one of the subsets of the memory cell states.

### Claim 17 (depends on 15)

The neural network device of claim 15, wherein the operation is addition, subtraction, multiplication, or division for a convolution operation.

### Claim 18 (depends on 15)

The neural network device of claim 15, wherein the nonvolatile memory device comprises the memory.

### Claim 19 (depends on 15)

The neural network device of claim 15, wherein the memory comprises a plurality of flag cells storing information corresponding to the memory cells, respectively, and each of the flag cells store flag information corresponding to the data sets, respectively.

### Claim 20 (depends on 19)

The neural network device of claim 19, wherein the flag cell stores degradation information of the nonvolatile memory cell and processor re-maps states excluding at least one degraded state to new threshold voltages based on the degradation information.
