# US 2024/0004612 A1 · Multiply-Accumulate Pipelines for Finite Impulse Response Filtering

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

- Number: US 2024/0004612 A1
- Document ID: US20240004612A1
- Status: Published application
- Kind: A1
- Application number: 18/215,993
- Filed: 2023-06-29
- Published: 2024-01-04
- Earliest claimed: 2022-06-29
- Applicants: Flex Logix Technologies, Inc.
- Inventors: Frederick A. Ware; Cheng C. Wang
- Web page: https://patentgrep.com/patent/US20240004612A1

## CPC

- G06F 7/5443: {Sum of products (for applications thereof, see the relevant places, e.g. G06F17/10, H03H17/00)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An integrated circuit device includes broadcast data paths, a weighting-value memory, multiply-accumulate (MAC) units, and shared shift-out circuitry. The MAC units are coupled in common to each of the broadcast data paths and coupled to receive respective weighting values from the weighting-value memory via respective weighting-value paths. Each of the MAC units includes MAC circuits that each receive an input data value via a respective one of the broadcast data paths and a shared one of the weighting values via a shared one of the respective weighting-value paths; generate a sequence of multiplication products by multiplying the input data value with the shared one of the weighting values; accumulate a sum of the multiplication products; and output the sum of the multiplication products to a respective one of a plurality of serially coupled storage elements within the shared shift-out path.

## Claims

### Claim 1

An integrated circuit device comprising:
first, second and third tensor processing units (TPUs), each TPU having:
a plurality of broadcast data paths;
a weighting-value memory;
a plurality of multiply-accumulate (MAC) units coupled in common to each of the broadcast data paths and coupled to receive respective weighting values from the weighting-value memory via respective weighting-value paths, each of the MAC units having a plurality of MAC circuits coupled respectively to the broadcast data paths, each of the MAC circuits within a given one of the MAC units having:
a data input coupled to receive, during each of a plurality of timing cycles, an input data value via a respective one of the broadcast data paths;
a weighting-value input coupled to receive, during each of the plurality of timing cycles, a shared one of the weighting values via a shared one of the respective weighting-value paths;
a multiplier circuit to generate a sequence of multiplication products by multiplying the input data value received during each of the plurality of timing cycles with the shared one of the weighting values received during each of the plurality of timing cycles; and
an accumulator circuit to accumulate a sum of constituent multiplication products within the sequence of multiplication products; and
data steering circuitry to route first, second and third sets of data streams onto the broadcast data paths within the first, second and third TPUs, respectively.

### Claim 2 (depends on 1)

The integrated circuit device of claim 1 wherein each of the first, second and third sets of data streams conveys, during each of the plurality of timing cycles, one of the input data values onto a corresponding one of the broadcast data paths within first, second and third, TPUs, respectively.

### Claim 3 (depends on 1)

The integrated circuit device of claim 1 wherein the first set of data streams comprises at least one stream of input data values not included in the second or third sets of data streams.

### Claim 4 (depends on 3)

The integrated circuit device of claim 3 wherein the first set of data streams comprises a stream of input data values that is also included in at least one of the second and third sets of data streams.

### Claim 5 (depends on 1)

The integrated circuit device of claim 1 wherein each of the first, second and third TPUs comprises shift-out circuitry to sequentially output the respective instances of the sum of constituent multiplication products.

### Claim 6 (depends on 5)

The integrated circuit device of claim 5 wherein the shift-out circuitry comprises a quantity N of the storage elements coupled to form a serial shift register, and wherein the plurality of MAC units is constituted by a quantity N of the MAC units.

### Claim 7 (depends on 1)

The integrated circuit device of claim 1 wherein the number of timing cycles corresponds to a collective number of the MAC circuits included within the plurality of MAC units.

### Claim 8 (depends on 1)

The integrated circuit device of claim 1 further comprising summing circuitry to add the accumulated sum of constituent multiplication products generated within the accumulator circuit of a first one of the MAC units within the first TPU with the accumulated sum of constituent multiplication products generated within the accumulator circuit of a first one of the MAC units within the second TPU.

### Claim 9 (depends on 1)

The integrated-circuit device of claim 1 further comprising a fourth TPU having a plurality of broadcast data paths coupled respectively to the plurality of broadcast data paths within the first TPU.

### Claim 10 (depends on 9)

The integrated-circuit device of claim 9 further comprising fifth and sixth TPUs, the fifth TPU having a plurality of broadcast data paths coupled respectively to the plurality of broadcast data paths within the second TPU, and the sixth TPU having a plurality of broadcast data paths coupled respectively to the plurality of broadcast data paths within the third TPU.

### Claim 11 (depends on 9)

The integrated circuit device of claim 9 wherein the first TPU comprises first shift-register circuitry to sequentially output the respective instances of the sum of constituent multiplication products generated therein, and the fourth TPU comprises second shift-register circuitry coupled serially with the first shift-register circuitry.

### Claim 12

A method of operation with an integrated-circuit (IC) device having first, second and third tensor processing units (TPUs), each of the first, second and third TPUs having a plurality of broadcast data paths, a weighting-value memory, shift-out circuitry, and a plurality of multiply-accumulate (MAC) units coupled in common to each of the broadcast data paths and coupled to receive respective weighting values from the weighting-value memory via respective weighting-value paths, each of the MAC units having a plurality of MAC circuits with inputs coupled respectively to the broadcast data paths and outputs coupled to respective storage elements within the shift-out circuitry, the method comprising:
retrieving input data values from an input data memory; and
organizing the input data values into first, second and third sets of input data streams; and
routing the first, second and third sets of input data streams onto the broadcast data paths within the first, second and third TPUs, respectively.

### Claim 13 (depends on 12)

The method of claim 12 wherein each of the first, second and third sets of data streams conveys, during each of a plurality of timing cycles, one of the input data values onto a corresponding one of the broadcast data paths within first, second and third, TPUs, respectively.

### Claim 14 (depends on 12)

The method of claim 12 wherein the first set of data streams comprises at least one stream of input data values not included in the second or third sets of data streams.

### Claim 15 (depends on 14)

The method of claim 14 wherein the first set of data streams comprises a stream of input data values that is also included in at least one of the second and third sets of data streams.

### Claim 16 (depends on 12)

The method of claim 12 further comprising conducting the first set of data streams from the plurality of broadcast data paths of the first TPU to a plurality of broadcast data paths of a fourth TPU.

### Claim 17 (depends on 16)

The method of claim 16 further comprising:
conducting the second set of data streams from the plurality of broadcast data paths of the second TPU to a plurality of broadcast data paths of a fifth TPU; and
conducting the third set of data streams from the plurality of broadcast data paths of the third TPU to a plurality of broadcast data paths of a sixth TPU.

### Claim 18 (depends on 16)

The method of claim 16 further comprising sequentially shifting multiply-accumulation results generated within the fourth TPU into a shift register within the first TPU over a first interval in which multiply-accumulation results generated within the first TPU are shifted out of the shift register.

### Claim 19 (depends on 18)

The method of claim 18 further comprising sequentially shifting multiply-accumulation results generated within the fifth TPU into a shift register within the second TPU over the first interval.

### Claim 20 (depends on 12)

The method of claim 12 further comprising adding a plurality of multiply-accumulation values generated within the first TPU during a first vector-multiply interval with a plurality of multiply-accumulation results generated within the second TPU during the first vector-multiply interval and with a plurality of multiply-accumulation results generated within the third TPU during the first vector-multiply interval.

### Claim 21 (depends on 20)

The method of claim 20 wherein adding the plurality of multiply-accumulation results generated within the first TPU with the plurality of multiply-accumulation results generated within the second TPU comprises adding each of a plurality of multiply-accumulation values within the multiply-accumulation results generated within the first TPU with a respective one of a plurality of multiply-accumulation values within the multiply-accumulation results generated within the second TPU.

### Claim 22

An integrated circuit device comprising:
first, second and third tensor processing units (TPUs), each TPU having:
a plurality of broadcast data paths;
a weighting-value memory;
a plurality of multiply-accumulate (MAC) units coupled in common to each of the broadcast data paths and coupled to receive respective weighting values from the weighting-value memory via respective weighting-value paths, each of the MAC units having a plurality of MAC circuits coupled respectively to the broadcast data paths, each of the MAC circuits within a given one of the MAC units having:
a data input coupled to receive, during each of a plurality of timing cycles, an input data value via a respective one of the broadcast data paths;
a weighting-value input coupled to receive, during each of the plurality of timing cycles, a shared one of the weighting values via a shared one of the respective weighting-value paths;
a multiplier circuit to generate a sequence of multiplication products by multiplying the input data value received during each of the plurality of timing cycles with the shared one of the weighting values received during each of the plurality of timing cycles; and
an accumulator circuit to accumulate a sum of constituent multiplication products within the sequence of multiplication products; and
means for steering first, second and third sets of data streams onto the broadcast data paths within the first, second and third TPUs, respectively.
