# US 11,119,765 B2 · Processor with processing cores each including arithmetic unit array

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

- Number: US 11,119,765 B2
- Document ID: US11119765B2
- Status: Granted
- Kind: B2
- Application number: 16/671,428
- Filed: 2019-11-01
- Published: 2020-05-14
- Granted: 2021-09-14
- Earliest claimed: 2018-11-09
- Assignees: Preferred Networks, Inc.
- Applicants: Preferred Networks, Inc.
- Inventors: Tanvir Ahmed
- Web page: https://patentgrep.com/patent/US11119765B2

## CPC

- G06F 9/3001: {Arithmetic instructions}
- G06N 3/063: using electronic means
- G06F 9/30145: {Instruction analysis, e.g. decoding, instruction word fields}
- G06F 15/8046: {Systolic arrays}
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A processor having a systolic array that can perform operations efficiently is provided. The processor includes multiple processing cores aligned in a matrix, and each of the processing cores includes an arithmetic unit array including multiple arithmetic units that can form a systolic array. Each of the processing cores includes a first memory that stores first data, a second memory that stores second data, a first multiplexer that connects a first input for receiving the first data at the arithmetic unit array to an output of the first memory in the processing core or an output of the arithmetic unit array in an adjacent processing core, and a second multiplexer that connects a second input for receiving the second data at the arithmetic unit array to an output of the second memory in the processing core or an output of the arithmetic unit array in an adjacent processing core.

## Claims

### Claim 1

A processor, comprising:
a plurality of processing cores, each of the processing cores including an arithmetic unit array including a plurality of arithmetic units,
wherein each of the processing cores includes:
a first memory that stores first data;
a second memory that stores second data;
a first multiplexer that selects between an output of the first memory in the processing core and an output of the arithmetic unit array in a first adjacent processing core;
a second multiplexer that selects between an output of the second memory in the processing core and an output of the arithmetic unit array in a second adjacent processing core;
an instruction memory; and
a third multiplexer that selects between an output of the instruction memory in the processing core, and an instruction in the arithmetic unit array in at least one of the first or the second adjacent processing core.

### Claim 2 (depends on 1)

The processor as claimed in claim 1, wherein each of the processing cores includes:
a first address generator that generates a first address indicative of a destination storage of the first data output from the first memory; and
a second address generator that generates a second address indicative of a destination storage of the second data output from the second memory.

### Claim 3 (depends on 1)

The processor as claimed in claim 1,
wherein each of the arithmetic units includes:
an instruction decoder that decodes the instruction;
a plurality of types of arithmetic elements that perform operations based on the decoded instruction; and
a register that stores data for use in operations or an operational result.

### Claim 4 (depends on 3)

The processor as claimed in claim 3, wherein instructions are stored in the instruction memory in one of the plurality of processing cores, and the instruction output from the instruction memory is provided to the arithmetic unit in the processing core via the third multiplexer and to the arithmetic unit in a different processing core via the third multiplexer in the different processing core.

### Claim 5 (depends on 3)

The processor as claimed in claim 3, wherein the plurality of types of arithmetic elements includes a product sum operator and an arithmetic operator.

### Claim 6 (depends on 1)

The processor as claimed in claim 1, wherein each of the plurality of processing cores has a resultant memory to store operational results of the plurality of arithmetic units in the processing core.

### Claim 7 (depends on 1)

The processor as claimed in claim 1, wherein one of the first data and the second data is input data for use in a convolutional operation, and the other is weight data for use in the convolutional operation.

### Claim 8 (depends on 1)

The processor as claimed in claim 1, further comprising:
a network that interconnects the plurality of processing cores; and
a controller that controls transmissions of the first data to the first memory and of the second data to the second memory and operations of the first multiplexer and the second multiplexer.

### Claim 9 (depends on 8)

The processor as claimed in claim 8, wherein the controller controls to transmit the first data stored in the first memory in any of the plurality of processing cores to the first memory in a different processing core via the network during execution of an operation at the arithmetic unit array, and the controller controls to transmit the second data stored in the second memory in any of the plurality of processing cores to the second memory in a different processing core via the network during execution of an operation at the arithmetic unit array.

### Claim 10 (depends on 8)

The processor as claimed in claim 8, wherein the plurality of processing cores are arranged in a matrix, and the controller:
interconnects the plurality of arithmetic unit arrays aligned in a first direction via the first multiplexer and the plurality of arithmetic unit arrays aligned in a second direction different from the first direction via the second multiplexer to form a systolic array including a predetermined number of arithmetic units;
connects an arithmetic unit located at an end of the plurality of arithmetic unit arrays aligned in the first direction to an output of the first memory;
connects an arithmetic unit located at an end of the plurality of arithmetic unit arrays aligned in the second direction to an output of the second memory; and
causes the first memory and the second memory to output the first data and the second data, respectively, and causes an arithmetic unit in the systolic array to perform operations.

### Claim 11

A control method for a processor, wherein the processor has a plurality of processing cores, each including an arithmetic unit array including a plurality of arithmetic units, a first memory storing first data, and a second memory storing second data, the method comprising:
selecting, by a first multiplexer, between an output of the first memory in the processing core and an output of an arithmetic unit array in a first adjacent processing core:
selecting, by a second multiplexer, between an output of the second memory in the processing core and an output of an arithmetic unit array in a second adjacent processing core; and
selecting, by a third multiplexer, between an output of the instruction memory in the processing core, and an instruction in the arithmetic unit array in at least one of the first or the second adjacent processing core.

### Claim 12 (depends on 11)

The control method as claimed in claim 11, further comprising:
generating a first address to be supplied to the first memory and outputting the first data corresponding to the first address from the first memory; and
generating a second address to be supplied to the second memory and outputting the second data corresponding to the second address from the second memory.

### Claim 13 (depends on 11)

The control method as claimed in claim 11, wherein each of the plurality of processing cores has the instruction memory storing instructions and the third multiplexer connecting a third input for receiving an instruction at the arithmetic unit array to an output of the instruction memory or an instruction in at least one of the first or the second adjacent processing core.

### Claim 14 (depends on 11)

The control method as claimed in claim 11, wherein the plurality of processing cores are interconnected via a network, and the method further comprises:
controlling to transmit the first data stored in the first memory in any of the plurality of processing cores to the first memory in a different processing core via the network during execution of operations at the arithmetic unit array; and
controlling to transmit the second data stored in the second memory in any of the plurality of processing cores to the second memory in a different processing core via the network during execution of operations at the arithmetic unit array.

### Claim 15 (depends on 11)

The control method as claimed in claim 11, wherein the processor uses the systolic array to perform deep learning for a neural network.

### Claim 16 (depends on 1)

The processor as claimed in claim 1, wherein at least one of the arithmetic units has no functionality to transmit the instruction to an adjacent processing core.

### Claim 17

A processor, comprising:
a plurality of processing cores, each of the processing cores including an arithmetic unit array including a plurality of arithmetic units,
wherein each of the processing cores includes:
a first memory that stores first data;
a second memory that stores second data;
a first multiplexer that selects between an output of the first memory in the processing core and an output of the arithmetic unit array in a first adjacent processing core;
a second multiplexer that selects between an output of the second memory in the processing core and an output of the arithmetic unit array in a second adjacent processing core;
an instruction memory; and
a third multiplexer that selects between an output of the instruction memory in the processing core, an instruction in the arithmetic unit array in the first adjacent processing core, and an instruction in the arithmetic unit array in the second adjacent processing core.

### Claim 18 (depends on 17)

The processor as claimed in claim 17, wherein at least one of the arithmetic units has no functionality to transmit the instruction to an adjacent processing core.

### Claim 19 (depends on 17)

The processor as claimed in claim 17, wherein instructions are stored in the instruction memory in one of the plurality of processing cores, and the output from the instruction memory is provided to the arithmetic unit in the processing core via the third multiplexer and to the arithmetic unit in a different processing core via the third multiplexer in the different processing core.

### Claim 20 (depends on 17)

The processor as claimed in claim 17, wherein each of the plurality of processing cores has a resultant memory to store operational results of the plurality of arithmetic units in the processing core.
