# US 2021/0342277 A1 · Circuit, corresponding device, system and method

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

- Number: US 2021/0342277 A1
- Document ID: US20210342277A1
- Status: Published application
- Kind: A1
- Application number: 17/224,772
- Filed: 2021-04-07
- Published: 2021-11-04
- Earliest claimed: 2020-04-29
- Assignees: STMicroelectronics S.r.l.
- Applicants: STMicroelectronics S.r.l.
- Inventors: Giampiero Borgonovo; Lorenzo Re Fiorentin
- Web page: https://patentgrep.com/patent/US20210342277A1

## CPC

- G06F 7/4806: {Computations with complex numbers}
- G06F 13/1668: {Details of memory controller}
- G06F 7/50: Adding; Subtracting (G06F7/483 - G06F7/491, G06F7/544 - G06F7/556 take precedence)
- G06F 7/523: Multiplying only
- G06F 13/28: using burst mode transfer, e.g. direct memory access {DMA}, cycle steal (G06F13/32 takes precedence)
- G06F 13/4027: {using bus bridges (G06F13/4022 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An embodiment circuit comprises a set of input terminals configured to receive input digital signals which carry input data, a set of output terminals configured to provide output digital signals which carry output data, and computing circuitry configured to produce the output data as a function of the input data. The computing circuitry comprises a set of multiplier circuits, a set of adder-subtractor circuits, a set of accumulator circuits, and a configurable interconnect network. The configurable interconnect network is configured to selectively couple the multiplier circuits, the adder-subtractor circuits, the accumulator circuits, the input terminals and the output terminals in at least two processing configurations. In a first configuration, the computing circuitry is configured to compute the output data according to a first set of functions, and, in a second configuration, the computing circuitry is configured to compute the output data according to a different set of functions.

## Claims

### Claim 1

A circuit comprising:
a set of input terminals configured to receive a set of respective input digital signals carrying input data;
a set of output terminals configured to provide a set of respective output digital signals carrying output data; and
computing circuitry configured to produce the output data as a function of the input data, wherein the computing circuitry comprises:
a set of multiplier circuits;
a set of adder-subtractor circuits;
a set of accumulator circuits; and
a configurable interconnect network configured to selectively couple the multiplier circuits, the adder-subtractor circuits, the accumulator circuits, the input terminals and the output terminals in at least two processing configurations;
wherein:
in a first processing configuration, the computing circuitry is configured to compute the output data according to a first set of functions; and
in at least one second processing configuration, the computing circuitry is configured to compute the output data according to a respective second set of functions, the respective second set of functions being different from the first set of functions.

### Claim 2 (depends on 1)

The circuit of claim 1, further comprising:
respective configurable read direct memory access controllers coupled to a first subset of the set of input terminals to receive a respective first subset of the input digital signals carrying a first subset of input data, wherein the configurable read direct memory access controllers are configured to control fetching of the first subset of input data from a memory; and
respective configurable write direct memory access controllers coupled to the set of output terminals for providing the output digital signals carrying output data, wherein the configurable write direct memory access controllers are configured to control storage of the output data into the memory.

### Claim 3 (depends on 2)

The circuit of claim 2, further comprising respective input buffer registers coupled to the configurable read direct memory access controllers and respective output buffer registers coupled to the configurable write direct memory access controllers.

### Claim 4 (depends on 1)

The circuit of claim 1, further comprising:
a read only memory (ROM) address generator circuit configured to control fetching of a second subset of input data from at least one read-only memory via a second subset of the input digital signals; and/or
a memory address generator circuit configured to control fetching of a third subset of input data from at least one local configurable memory via a third subset of the input digital signals.

### Claim 5 (depends on 1)

The circuit of claim 1, wherein the set of multiplier circuits comprises a first multiplier circuit, a second multiplier circuit, a third multiplier circuit and a fourth multiplier circuit, the set of adder-subtractor circuits comprises a first adder-subtractor circuit and a second adder-subtractor circuit, and the set of accumulator circuits comprises a first accumulator circuit and a second accumulator circuit, and wherein:
the first multiplier circuit receives as a first operand a first input signal of the set of respective input digital signals, and receives as a second operand a second input signal of the set of respective input digital signals;
the second multiplier circuit receives as a first operand a third input signal of the set of respective input digital signals, and receives as a second operand a signal selectable out of a fourth input signal and a fifth input signal of the set of respective input digital signals;
the third multiplier circuit receives as a first operand a signal selectable out of an output signal from the first multiplier circuit and the second input signal, and receives as a second operand a signal selectable out of a sixth input signal, a seventh input signal and the fifth input signal;
the fourth multiplier circuit receives as a first operand a signal selectable out of an output signal from the second multiplier circuit and the third input signal, and receives as a second operand a signal selectable out of the fifth input signal and the seventh input signal;
the first adder-subtractor circuit receives as a first operand a signal selectable out of the output signal from the first multiplier circuit, the second input signal and the output signal from the third multiplier circuit, and receives as a second operand a signal selectable out of the third input signal, the output signal from the second multiplier circuit and a null signal;
the second adder-subtractor circuit receives as a first operand a signal selectable out of the output signal from the third multiplier circuit and the output signal from the fourth multiplier circuit, and receives as a second operand a signal selectable out of the output signal from the fourth multiplier circuit, the output signal from the second multiplier circuit and a null signal;
the first accumulator circuit receives as input an output signal from the first adder-subtractor circuit;
the second accumulator circuit receives as input an output signal from the second adder-subtractor circuit; and
the first accumulator circuit is selectively activatable to provide a first output signal and the second accumulator circuit is selectively activatable to provide a second output signal.

### Claim 6 (depends on 5)

The circuit of claim 5, wherein the computing circuitry comprises a set of function circuits configured to compute non-linear functions.

### Claim 7 (depends on 6)

The circuit of claim 6, wherein the set of function circuits configured to compute non-linear functions comprises a first circuit configured to compute non-linear functions and a second circuit configured to compute non-linear functions, and wherein:
the first circuit configured to compute non-linear functions receives as input an output signal from the first accumulator circuit;
the second circuit configured to compute non-linear functions receives as input an output signal from the second accumulator circuit;
the first output signal is selectable between the output signal from the first accumulator circuit and the output signal from the first circuit configured to compute non-linear functions; and
the second output signal is selectable between the output signal from the second accumulator circuit and the output signal from the second circuit configured to compute non-linear functions.

### Claim 8

A device comprising:
a set of data memory banks;
a control unit;
an interconnect network; and
a set of circuits, each circuit comprising:
a set of input terminals configured to receive a set of respective input digital signals carrying input data;
a set of output terminals configured to provide a set of respective output digital signals carrying output data; and
computing circuitry configured to produce the output data as a function of the input data, wherein the computing circuitry comprises:
a set of multiplier circuits;
a set of adder-subtractor circuits;
a set of accumulator circuits; and
a configurable interconnect network configured to selectively couple the multiplier circuits, the adder-subtractor circuits, the accumulator circuits, the input terminals and the output terminals in at least two processing configurations;
wherein:
in a first processing configuration, the computing circuitry is configured to compute the output data according to a first set of functions; and
in at least one second processing configuration, the computing circuitry is configured to compute the output data according to a respective second set of functions, the respective second set of functions being different from the first set of functions;
wherein the set of circuits is configurable to read data from and write data into the data memory banks via the interconnect network as a function of configuration data stored in the control unit.

### Claim 9 (depends on 8)

The device of claim 8, wherein the data memory banks comprise buffering registers.

### Claim 10 (depends on 9)

The device of claim 9, wherein the buffering registers are double buffering registers.

### Claim 11 (depends on 8)

The device of claim 8, further comprising:
respective configurable read direct memory access controllers coupled to a first subset of the set of input terminals to receive a respective first subset of the input digital signals carrying a first subset of input data, wherein the configurable read direct memory access controllers are configured to control fetching of the first subset of input data from a memory; and
respective configurable write direct memory access controllers coupled to the set of output terminals for providing the output digital signals carrying output data, wherein the configurable write direct memory access controllers are configured to control storage of the output data into the memory.

### Claim 12 (depends on 11)

The device of claim 11, further comprising respective input buffer registers coupled to the configurable read direct memory access controllers and respective output buffer registers coupled to the configurable write direct memory access controllers.

### Claim 13 (depends on 8)

The device of claim 8, further comprising:
a read only memory (ROM) address generator circuit configured to control fetching of a second subset of input data from at least one read-only memory via a second subset of the input digital signals; and/or
a memory address generator circuit configured to control fetching of a third subset of input data from at least one local configurable memory via a third subset of the input digital signals.

### Claim 14 (depends on 8)

The device of claim 8, wherein the set of multiplier circuits comprises a first multiplier circuit, a second multiplier circuit, a third multiplier circuit and a fourth multiplier circuit, the set of adder-subtractor circuits comprises a first adder-subtractor circuit and a second adder-subtractor circuit, and the set of accumulator circuits comprises a first accumulator circuit and a second accumulator circuit, and wherein:
the first multiplier circuit receives as a first operand a first input signal of the set of respective input digital signals, and receives as a second operand a second input signal of the set of respective input digital signals;
the second multiplier circuit receives as a first operand a third input signal of the set of respective input digital signals, and receives as a second operand a signal selectable out of a fourth input signal and a fifth input signal of the set of respective input digital signals;
the third multiplier circuit receives as a first operand a signal selectable out of an output signal from the first multiplier circuit and the second input signal, and receives as a second operand a signal selectable out of a sixth input signal, a seventh input signal and the fifth input signal;
the fourth multiplier circuit receives as a first operand a signal selectable out of an output signal from the second multiplier circuit and the third input signal, and receives as a second operand a signal selectable out of the fifth input signal and the seventh input signal;
the first adder-subtractor circuit receives as a first operand a signal selectable out of the output signal from the first multiplier circuit, the second input signal and the output signal from the third multiplier circuit, and receives as a second operand a signal selectable out of the third input signal, the output signal from the second multiplier circuit and a null signal;
the second adder-subtractor circuit receives as a first operand a signal selectable out of the output signal from the third multiplier circuit and the output signal from the fourth multiplier circuit, and receives as a second operand a signal selectable out of the output signal from the fourth multiplier circuit, the output signal from the second multiplier circuit and a null signal;
the first accumulator circuit receives as input an output signal from the first adder-subtractor circuit;
the second accumulator circuit receives as input an output signal from the second adder-subtractor circuit; and
the first accumulator circuit is selectively activatable to provide a first output signal and the second accumulator circuit is selectively activatable to provide a second output signal.

### Claim 15 (depends on 14)

The device of claim 14, wherein the computing circuitry comprises a set of function circuits configured to compute non-linear functions.

### Claim 16 (depends on 15)

The device of claim 15, wherein the set of function circuits configured to compute non-linear functions comprises a first circuit configured to compute non-linear functions and a second circuit configured to compute non-linear functions, and wherein:
the first circuit configured to compute non-linear functions receives as input an output signal from the first accumulator circuit;
the second circuit configured to compute non-linear functions receives as input an output signal from the second accumulator circuit;
the first output signal is selectable between the output signal from the first accumulator circuit and the output signal from the first circuit configured to compute non-linear functions; and
the second output signal is selectable between the output signal from the second accumulator circuit and the output signal from the second circuit configured to compute non-linear functions.

### Claim 17

A system comprising:
a system interconnect;
a processing unit;
a device coupled to processing unit via the system interconnect, wherein the device comprises:
a set of data memory banks;
a control unit;
an interconnect network; and
a set of circuits, each circuit comprising:
a set of input terminals configured to receive a set of respective input digital signals carrying input data;
a set of output terminals configured to provide a set of respective output digital signals carrying output data; and
computing circuitry configured to produce the output data as a function of the input data, wherein the computing circuitry comprises:
a set of multiplier circuits;
a set of adder-subtractor circuits;
a set of accumulator circuits; and
a configurable interconnect network configured to selectively couple the multiplier circuits, the adder-subtractor circuits, the accumulator circuits, the input terminals and the output terminals in at least two processing configurations;
wherein:
in a first processing configuration, the computing circuitry is configured to compute the output data according to a first set of functions; and
in at least one second processing configuration, the computing circuitry is configured to compute the output data according to a respective second set of functions, the respective second set of functions being different from the first set of functions;
wherein the set of circuits is configurable to read data from and write data into the data memory banks via the interconnect network as a function of configuration data stored in the control unit; and
wherein the set of circuits are configurable in at least two processing configurations as a function of a control signal received from the processing unit.

### Claim 18 (depends on 17)

The system of claim 17, wherein the data memory banks comprise buffering registers.

### Claim 19 (depends on 18)

The system of claim 18, wherein the buffering registers are double buffering registers.

### Claim 20

A method of operating a circuit comprising a set of input terminals configured to receive a set of respective input digital signals carrying input data, a set of output terminals configured to provide a set of respective output digital signals carrying output data, and computing circuitry configured to produce the output data as a function of the input data, the computing circuitry comprising a set of multiplier circuits, a set of adder-subtractor circuits, a set of accumulator circuits, and a configurable interconnect network configured to selectively couple the multiplier circuits, the adder-subtractor circuits, the accumulator circuits, the input terminals and the output terminals in at least two processing configurations, the computing circuitry configured to compute the output data according to a first set of functions in a first processing configuration, and configured to compute the output data according to a respective second set of functions in at least one second processing configuration, the respective second set of functions being different from the first set of functions, the method comprising:
partitioning an operation time of the computing circuitry into at least first and second operation intervals;
operating the computing circuitry in the first processing configuration in the first operation intervals; and
operating the computing circuitry in the at least one second processing configuration in the second operation intervals.
