# US 2023/0058749 A1 · Adaptive matrix multipliers

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

- Number: US 2023/0058749 A1
- Document ID: US20230058749A1
- Status: Published application
- Kind: A1
- Application number: 17/867,625
- Filed: 2022-07-18
- Published: 2023-02-23
- Earliest claimed: 2021-08-20
- Assignees: Xilinx, Inc.
- Applicants: Xilinx, Inc.
- Inventors: Stephan MUNZ; Francisco Barat QUESADA; Baris OZGUL; Javier CABEZAS RODRIGUEZ; Zachary DICKMAN; Pedro Miguel Parola DUARTE; Dylan STUART; Juan J. NOGUERA SERRA
- Web page: https://patentgrep.com/patent/US20230058749A1

## CPC

- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- H03K 19/1737: {using multiplexers (H03K19/1738 takes precedence)}
- G06F 15/8046: {Systolic arrays}
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/063: using electronic means
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Examples herein describe techniques for adapting a multiplier array (e.g., a systolic array implemented in a processing core) to perform different dot products. The processing core can include data selection logic that enables different configurations of the multiplier array in the core. For example, the data selection logic can enable different configurations of the multiplier array while using the same underlying hardware. That is, the multiplier array is fixed hardware but the data selection can transmit data into the matrix multiplier such that it is configured to perform different length dot products, perform more dot products in parallel, or change its output precision. In this manner, the same underlying hardware (i.e., the multiplier array) can be reconfigured for different dot products which can result in much more efficient use of the hardware.

## Claims

### Claim 1

An integrated circuit (IC), comprising:
a data processing engine comprising:
a data selection circuit configured to receive data, and
an adaptive multiplier array connected to the data selection circuit,
wherein the data selection circuit is configured to enable different configurations of the adaptive multiplier array, wherein each of the different configurations results in the adaptive multiplier array performing a different dot product on the received data.

### Claim 2 (depends on 1)

The IC of claim 1, wherein the data selection circuit comprises multiplexers, wherein each of the different configurations corresponds to a different set of the multiplexers being used to forward data from the data selection circuit to the adaptive multiplier array.

### Claim 3 (depends on 1)

The IC of claim 1, wherein the adaptive multiplier array comprises a plurality of multiplication circuits that perform the different dot products as part of matrix multiplication.

### Claim 4 (depends on 3)

The IC of claim 3, wherein the plurality of multiplication circuits is arranged in a systolic array.

### Claim 5 (depends on 1)

The IC of claim 1, further comprising:
a plurality of data processing engines, each comprising a copy of the data selection circuit and the adaptive multiplier array.

### Claim 6 (depends on 5)

The IC of claim 5, wherein the plurality of data processing engines is arranged in an array.

### Claim 7 (depends on 1)

The IC of claim 1, wherein each of the different configurations corresponds to a different layer in a neural network.

### Claim 8

An IC, comprising:
a data selection circuit configured to receive data, and
an adaptive multiplier array connected to the data selection circuit, wherein the data selection circuit is configured to enable different configurations of the adaptive multiplier array, wherein each of the different configurations results in the adaptive multiplier array performing a different dot product on the received data.

### Claim 9 (depends on 8)

The IC of claim 8, wherein the data selection circuit comprises multiplexers, wherein each of the different configurations corresponds to a different set of the multiplexers being used to forward data from the data selection circuit to the adaptive multiplier array.

### Claim 10 (depends on 8)

The IC of claim 8, wherein the adaptive multiplier array comprises a plurality of multiplication circuits that perform the different dot products.

### Claim 11 (depends on 10)

The IC of claim 10, wherein the plurality of multiplication circuits is arranged in a systolic array.

### Claim 12 (depends on 8)

The IC of claim 8, further comprising:
a plurality of data processing engines, each comprising a copy of the data selection circuit and the adaptive multiplier array.

### Claim 13 (depends on 12)

The IC of claim 12, wherein the plurality of data processing engines is arranged in an array.

### Claim 14 (depends on 8)

The IC of claim 8, wherein each of the different configurations corresponds to a different layer in a neural network.

### Claim 15

A method, comprising:
receiving, at a data processing engine, a first instruction to execute a first dot product;
configuring a data selection circuit in the data processing engine to enable a first configuration of an adaptive multiplier array corresponding to the first dot product;
receiving, at the data processing engine, a second instruction to execute a second dot product; and
configuring the data selection circuit in the data processing engine to enable a second configuration of the adaptive multiplier array corresponding to the second dot product.

### Claim 16 (depends on 15)

The method of claim 15, wherein the data selection circuit comprises multiplexers, wherein the first and second configurations correspond to a different set of the multiplexers being used to forward data from the data selection circuit to the adaptive multiplier array.

### Claim 17 (depends on 15)

The method of claim 15, wherein the adaptive multiplier array comprises a plurality of multiplication circuits that perform the first and second dot products.

### Claim 18 (depends on 17)

The method of claim 17, wherein the plurality of multiplication circuits is arranged in a systolic array.

### Claim 19 (depends on 15)

The method of claim 15, wherein the first and second dot products are performed as part of executing a neural network.

### Claim 20 (depends on 19)

The method of claim 19, wherein the first dot product corresponds to a first layer of the neural network while the second dot product corresponds to a second layer of the neural network.
