# US 2021/0173787 A1 · Accelerator and system for accelerating operations

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

- Number: US 2021/0173787 A1
- Document ID: US20210173787A1
- Status: Published application
- Kind: A1
- Application number: 17/048,045
- Filed: 2019-04-09
- Published: 2021-06-10
- Earliest claimed: 2018-04-19
- Assignees: AImotive Kft.
- Applicants: AImotive Kft.
- Inventors: Gyula Nagy; Márton Fehér
- Web page: https://patentgrep.com/patent/US20210173787A1

## CPC

- G06F 12/0846: Cache with multiple tag or data arrays being simultaneously accessible
- G06F 12/0875: with dedicated cache, e.g. instruction or stack
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 13/1668: {Details of memory controller}
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06F 2212/1024: Latency reduction
- G06F 2212/603: of operating mode, e.g. cache mode or local memory mode
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/045: Combinations of networks
- G06N 3/063: using electronic means
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

An accelerator and a system for accelerating operations are disclosed. A respective apparatus comprises an interface configured to couple the apparatus to an interconnect, a plurality of processing modules, each processing module configured to process data, a control module configured to control processing of each of the plurality of processing modules, and a cache module configured to store at least a portion of data processed by at least one of the plurality of processing modules. Each processing module includes a processing core configured to process data by performing an operation on the data using a plurality of processing elements, an input control unit configured to retrieve data via the interface and data stored in the cache module and to provide the retrieved data to the processing core, and an output control unit configured to provide data processed by the processing core to the interface and the cache module.

## Claims

### Claim 1

An apparatus, comprising:
an interface configured to couple the apparatus to an interconnect;
a plurality of processing modules, each processing module configured to process data;
a control module configured to control processing of each of the plurality of processing modules; and
a cache module configured to store at least a portion of data processed by at least one of the plurality of processing modules,
wherein each processing module further includes:
a processing core configured to process data by performing an operation on the data using a plurality of processing elements;
an input control unit configured to retrieve data via the interface and data stored in the cache module and to provide the retrieved data to the processing core; and
an output control unit configured to provide data processed by the processing core to the interface and the cache module.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the control module is configured to retrieve configuration data via the interface and to set up at least one processing module of the plurality of processing modules based on the configuration data.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the control module is configured to schedule commands between the plurality of processing modules, wherein the commands are scheduled responsive to a plurality of states received from one or more of the input control units and the output control units of the plurality of processing modules.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the control module is configured to control at least one output control unit of at least one processing module and one or more input control units of one or more processing modules to feed back data processed by the at least one processing module to the one or more processing modules via the cache module.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein each processing module further includes a coefficient control unit configured to retrieve coefficient data via the interface.

### Claim 6 (depends on 1)

The apparatus of claim 1, the processing core further including a data buffer, and a processing control unit configured to control the plurality of processing elements to process input data stored in the data buffer.

### Claim 7 (depends on 6)

The apparatus of claim 6, the processing core further including a coefficient buffer, wherein the processing control unit is configured to control the plurality of processing elements to process input data stored in the data buffer using coefficient data stored in the coefficient buffer.

### Claim 8 (depends on 6)

The apparatus of claim 6, wherein the data buffer is a two-dimensional data buffer configured to store the input data as a two-dimensional array.

### Claim 9 (depends on 5)

The apparatus of claim 5, wherein the coefficient data include weight coefficients and bias values applied to at least some of the input data.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein at least one processing element of the processing core is configured to perform a multiply-accumulate operation, and wherein the at least one processing element of the processing core further comprises a result store configured to buffer results of the multiply-accumulate operation.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein the apparatus is configured to retrieve input data via the interface, the input data representing at least a part of the input layer of a neural network.

### Claim 12 (depends on 1)

The apparatus of claim 1, wherein each processing module processes at least a part of a layer of a neural network, and wherein data stored in the cache module represent at least a part of a next layer of the neural network.

### Claim 13 (depends on 1)

The apparatus of claim 1, wherein the apparatus is a convolutional neural network accelerator.

### Claim 14 (depends on 1)

A system, comprising:
a processing host;
at least one memory;
an apparatus according to claim 1; and
an interconnect coupling the processing host, the at least one memory, and the apparatus,
wherein the apparatus is configured to retrieve input data from the at least one memory via the interconnect.

### Claim 15 (depends on 14)

The system of claim 14, wherein the interconnect is a system bus.
