# US 2021/0173893 A1 · Methods and apparatus for performing diversity matrix operations within a memory array

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

- Number: US 2021/0173893 A1
- Document ID: US20210173893A1
- Status: Published application
- Kind: A1
- Application number: 16/705,096
- Filed: 2019-12-05
- Published: 2021-06-10
- Earliest claimed: 2019-12-05
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Fa-Long Luo
- Web page: https://patentgrep.com/patent/US20210173893A1

## CPC

- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- G06F 9/3001: {Arithmetic instructions}
- G06F 9/30036: {Instructions to perform operations on packed data, e.g. vector, tile or matrix operations}
- G06F 12/0207: {with multidimensional access, e.g. row/column, matrix}
- G06F 15/7821: {Tightly coupled to memory, e.g. computational memory, smart memory, processor in memory}
- 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 13/004: {Reading or sensing circuits or methods}
- G11C 13/0069: {Writing or programming circuits or methods}
- G06F 2212/454: Vector or matrix data
- G11C 2213/77: Array wherein the memory element being directly connected to the bit lines and word lines without any access device being used
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Methods and apparatus for performing diversity matrix operations within a memory fabric. Various embodiments of the present disclosure are directed to converting a memory array into a matrix fabric for spatial diversity-related matrix transformations and performing matrix operations therein. Exemplary embodiments described herein perform MIMO-related matrix transformations (e.g., precoding, beamforming, or data recovery matrix operations) within a memory device that includes a matrix fabric and matrix multiplication unit (MMU). In one variant, the matrix fabric uses a “crossbar” construction of resistive elements. Each resistive element stores a level of impedance that represents the corresponding matrix coefficient value. The crossbar connectivity can be driven with an electrical signal representing the input vector as an analog voltage. The resulting signals can be converted from analog voltages to a digital values by an MMU to yield a matrix-vector product. The MMU may additionally perform various other logical operations within the digital domain.

## Claims

### Claim 1

A non-transitory computer readable medium, comprising:
an array of memory cells, where each memory cell of the array of memory cells is configured to store a digital value as an analog value in an analog medium;
a memory sense component, where the memory sense component is configured to read the analog value of a first memory cell as a first digital value;
logic configured to:
receive a coding matrix operation opcode;
operate the array of memory cells as a matrix multiplication unit (MMU) based on the coding matrix operation opcode;
wherein each memory cell of the MMU modifies the analog value in the analog medium in accordance with the coding matrix operation opcode and at least one coding operand;
configure the memory sense component to convert the analog value of the first memory cell into a second digital value in accordance with the matrix transformation opcode and the at least one coding operand; and
responsive to reading the at least one coding operand into the MMU, write a matrix transformation result based on the second digital value.

### Claim 2 (depends on 1)

The non-transitory computer readable medium of claim 1, wherein the matrix transformation opcode indicates a size of the MMU.

### Claim 3 (depends on 2)

The non-transitory computer readable medium of claim 2, wherein:
the matrix transformation opcode includes at least one vector corresponding to communication data;
the coding matrix operation opcode comprises a wireless channel precoding matrix opcode; and
the at least one coding operand comprises a wireless channel precoding operand. 4.

### Claim 4 (depends on 1)

The non-transitory computer readable medium of claim 1, wherein the coding matrix operation spans at least one other MMU.

### Claim 5 (depends on 1)

The non-transitory computer readable medium of claim 1, wherein the coding matrix operation opcode identifies one or more analog values corresponding to one or more memory cells.

### Claim 6 (depends on 5)

The non-transitory computer readable medium of claim 5, wherein:
the one or more analog values corresponding to the one or more memory cells are stored within a look-up-table (LUT) data structure; and . the LUT is located in the array of memory cells and comprises a codebook of coding matrices.

### Claim 7 (depends on 1)

The non-transitory computer readable medium of claim 1, wherein each memory cell of the MMU comprises resistive random access memory (ReRAM) cells; and
wherein the each memory cell of the MMU multiplies the analog value in the analog medium in accordance with the coding matrix operation opcode and the at least one coding operand.

### Claim 8 (depends on 7)

The non-transitory computer readable medium of claim 7, wherein each memory cell of the MMU further accumulates the analog value in the analog medium with a previous analog value.

### Claim 9 (depends on 1)

The non-transitory computer readable medium of claim 1, wherein the first digital value is characterized by a first radix of two (2); and
wherein the second digital value is characterized by a second radix greater than two (2).

### Claim 10

A device, comprising:
a processor apparatus coupled to a non-transitory computer readable medium;
wherein the non-transitory computer readable medium comprises one or more instructions which, when executed by the processor apparatus, cause the device to:
write a MIMO (Multiple Input Multiple Output) processing matrix operation opcode and a matrix transformation operand to the non-transitory computer readable medium;
wherein the MIMO processing matrix operation opcode causes the non-transitory computer readable medium to operate at least one array of memory cells as a matrix structure;
wherein the matrix transformation operand modifies one or more analog values of the matrix structure; and
read a matrix transformation result from the matrix structure.

### Claim 11 (depends on 10)

The device of claim 10, wherein the non-transitory computer readable medium further comprises one or more instructions which, when executed by the processor apparatus, cause the processor to:
obtain information relating to a precoding matrix; and
obtain one or more vectors derived from a communication data stream;
wherein the matrix transformation operand comprises the one or more vectors and the matrix transformation result comprises one or more precoded transmit vectors.

### Claim 12 (depends on 10)

The device of claim 10, wherein the non-transitory computer readable medium further comprises one or more instructions which, when executed by the processor apparatus, cause the device to:
obtain information relating to a MIMO data recovery matrix; and
obtain one or more vectors corresponding to received signal data;
wherein the matrix transformation operand comprises the one or more vectors and the matrix transformation result comprises one or more recovered data values.

### Claim 13 (depends on 10)

The device of claim 10, wherein the non-transitory computer readable medium further comprises one or more instructions which, when executed by the processor apparatus, cause the device to:
receive data comprising one or more vectors derived from a matrix of data symbols;
wherein the matrix transformation operand comprises the one or more vectors, and the matrix transformation result comprises one or more transmit vectors corresponding signals transmitted over two or more antennas of the device,

### Claim 14 (depends on 10)

The device of claim 10, wherein the MIMO processing matrix operation opcode causes the non-transitory computer readable medium to operate another array of memory cells as another matrix structure; and
wherein the matrix transformation result associated with the matrix structure and another matrix transformation result associated with the another matrix structure are logically combined.

### Claim 15 (depends on 10)

The device of claim 10, wherein:
the one or more analog values of the matrix structure are stored within a look-up-table (LUT) data structure; and
the LUT data structure comprises a codebook of precoding matrices.

### Claim 16

A method to perform matrix transformation operations, comprising:
receiving a spatial diversity processing matrix operation opcode;
configuring an array of memory cells of a memory into a matrix structure, based on the spatial diversity processing matrix operation opcode;
configuring a memory sense component based on the spatial diversity processing matrix operation opcode; and
responsive to reading a matrix transformation operand into the matrix structure, writing a matrix transformation result from the memory sense component.

### Claim 17 (depends on 16)

The method of claim 16, wherein the configuring the array of memory cells comprises connecting a plurality of word lines and a plurality of bit lines corresponding to a row dimension and a column dimension associated with the matrix structure.

### Claim 18 (depends on 17)

The method of claim 17, further comprising determining the row dimension and the column dimension from the spatial diversity processing matrix operation opcode.

### Claim 19 (depends on 16)

The method of claim 16, wherein the configuring the array of memory cells comprises setting one or more analog values of the matrix structure based on a look-up-table (LUT) data structure.

### Claim 20 (depends on 19)

The method of claim 19, further comprising identifying an entry from the LUT data structure based on the spatial diversity processing matrix operation opcode.

### Claim 21 (depends on 20)

The method of claim 20, wherein the spatial diversity processing matrix operation comprises a precoding matrix index, and wherein the identifying the entry from the LUT data structure comprises utilizing the precoding matrix index to find a precoding matrix corresponding to the precoding matrix index within the LUT data structure.

### Claim 22 (depends on 16)

The method of claim 16, wherein the configuring the memory sense component enables matrix transformation results having a radix greater than two (2).

### Claim 23 (depends on 16)

The method of claim 16, wherein the spatial diversity processing matrix operation opcode comprises matrix value information, and wherein the configuring the array of memory cells comprises setting one or more analog values of the matrix structure based on the matrix value information.
