# US 9,354,824 B2 · System and method for distributed computing in non-volatile memory

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

- Number: US 9,354,824 B2
- Document ID: US9354824B2
- Status: Granted
- Kind: B2
- Application number: 14/991,536
- Filed: 2016-01-08
- Published: 2016-05-05
- Granted: 2016-05-31
- Earliest claimed: 2014-05-29
- Assignees: SanDisk Technologies LLC
- Applicants: SanDisk Technologies Inc.
- Inventors: William Kwei-Cheung Lam
- Web page: https://patentgrep.com/patent/US9354824B2

## 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/061: {Improving I/O performance}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0658: {Controller construction arrangements}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F 12/0875: with dedicated cache, e.g. instruction or stack
- G06F 13/28: using burst mode transfer, e.g. direct memory access {DMA}, cycle steal (G06F13/32 takes precedence)
- G06F 2212/452: Instruction code
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method are disclosed for incorporating mathematical and/or logical functionality within a memory system (such as a solid state drive (SSD)). The mathematical and/or logical functionality may comprise an arithmetic logic unit (ALU). The ALU may be resident in one or both of flash memory chips or the SSD controller. When resident in the flash memory chips, a single ALU or multiple ALUs may be used. For example, a single ALU may be assigned to one, some, or each block of flash memory within the flash memory chip. As another example, an ALU may be assigned to a sub-block construct, such as to each bit line in the block. Having ALUs resident in the SSD enables more processing to be performed within the SSD and reduces the need to transmit data outside of the SSD for processing.

## Claims

### Claim 1

A memory integrated circuit chip configured for use in a solid state drive (SSD), the memory integrated circuit chip comprising:
an interface configured to communicate with an SSD controller for the SSD, the SSD controller configured to receive one or more values from a host device;
memory, at least a part of the memory comprising cache memory; and
a controller in communication with the interface and the memory, the controller comprising computation functionality, and configured to:
receive a write command from the SSD controller, the write command indicative of writing the one or more values to the memory;
in response to receiving the write command, store the one or more values in the memory;
receive a mathematical computation instruction, the mathematical computation instruction being indicative to perform a mathematical computation;
responsive to receiving the mathematical computation instruction:
load the one or more values into the cache memory; and
perform the mathematical computation on the one or more values stored in the cache memory in order to generate one or more results.

### Claim 2 (depends on 1)

The memory integrated circuit chip of claim 1, wherein the controller is further configured to:
store the one or more results in the memory.

### Claim 3 (depends on 2)

The memory integrated circuit chip of claim 2, wherein the controller is configured to store the one or more results in the memory by storing the one or more results in the cache memory.

### Claim 4 (depends on 2)

The memory integrated circuit chip of claim 2, wherein the controller is configured to store the one or more results in the memory by:
storing the one or more results in the cache memory; and
copying the one or more results stored in the cache memory into non-volatile memory of the memory.

### Claim 5 (depends on 1)

The memory integrated circuit chip of claim 1, wherein the memory comprises non-volatile memory;
wherein the one or more values are stored in the non-volatile memory;
wherein the one or more values comprise a first set of values and a second set of values; and
wherein the processor is configured to load the first set of values into a first data cache and the second set of values into a second data cache.

### Claim 6 (depends on 5)

The memory integrated circuit chip of claim 5, wherein the computation functionality comprises an arithmetic logic unit (ALU); and
wherein the first data cache and the second data cache comprise operand registers for the ALU.

### Claim 7 (depends on 6)

The memory integrated circuit chip of claim 6, wherein the processor is configured to perform the mathematical computation by the ALU operating on the first set of values and the second set of values in the operand registers to generate the one or more results.

### Claim 8 (depends on 1)

The memory integrated circuit chip of claim 1, wherein the mathematical computation command comprises an image processing command.

### Claim 9 (depends on 1)

The memory integrated circuit chip of claim 1, wherein the memory comprises flash memory.

### Claim 10 (depends on 1)

The memory integrated circuit chip of claim 1, wherein the controller comprises:
a processor; and
ALU circuitry in communication with the processor, the ALU circuitry including an ALU and comprising the computational functionality.

### Claim 11 (depends on 1)

The memory integrated circuit chip of claim 1, wherein the controller comprises a processor; and
wherein the processor is configured as an ALU by executing instructions in order to generate the computational functionality.

### Claim 12

A method for operating a memory integrated circuit chip configured for use in a solid state drive (SSD), the memory integrated circuit chip having a memory, at least a part of the memory comprising cache memory, the method comprising:
receiving a write command from the SSD controller, the write command indicative of writing one or more values to the memory;
in response to receiving the write command, storing the one or more values in the memory;
receiving at least one mathematical computation command from the SSD controller, the mathematical computation instruction being indicative to perform a mathematical computation;
in response to receiving the mathematical computation command:
loading the one or more values into the cache memory; and
performing the mathematical computation on the one or more values stored in the cache memory in order to generate one or more results.

### Claim 13 (depends on 12)

The method of claim 12, further comprising storing the one or more results in the memory.

### Claim 14 (depends on 13)

The method of claim 13, wherein storing the one or more results in the memory comprises storing the one or more results in the cache memory.

### Claim 15 (depends on 13)

The method of claim 13, wherein storing the one or more results in the memory comprises:
storing the one or more results in the cache memory; and
copying the one or more results stored in the cache memory into non-volatile memory of the memory.

### Claim 16 (depends on 12)

The method of claim 12, wherein the memory comprises non-volatile memory;
wherein the one or more values are stored in the non-volatile memory;
wherein the one or more values comprise a first set of values and a second set of values; and
wherein loading the one or more values into the cache memory comprises loading the first set of values into a first data cache and the second set of values into a second data cache.

### Claim 17 (depends on 16)

The method of claim 16, wherein performing the mathematical computation comprises using an arithmetic logic unit (ALU); and
wherein the first data cache and the second data cache comprise operand registers for the ALU.

### Claim 18 (depends on 17)

The method of claim 17, wherein performing the mathematical computation comprises the ALU operating on the first set of values and the second set of values in the operand registers to generate the one or more results.

### Claim 19 (depends on 12)

The method of claim 12, wherein the mathematical computation command comprises an image processing command.
