# US 2021/0173617 A1 · Logarithmic Addition-Accumulator Circuitry, Processing Pipeline including Same, and Methods of Operation

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

- Number: US 2021/0173617 A1
- Document ID: US20210173617A1
- Status: Published application
- Kind: A1
- Application number: 17/092,175
- Filed: 2020-11-06
- Published: 2021-06-10
- Earliest claimed: 2019-12-04
- Assignees: Flex Logix Technologies, Inc.
- Applicants: Flex Logix Technologies, Inc.
- Inventors: Frederick A. Ware; Cheng C. Wang
- Web page: https://patentgrep.com/patent/US20210173617A1

## CPC

- G06F 7/485: Adding; Subtracting {(G06F7/4833, G06F7/4836 take precedence)}
- G06F 7/4833: {Logarithmic number system}
- G06F 7/5057: {using table look-up; using programmable logic arrays (G06F7/509 takes precedence)}
- G06F 7/5235: {using indirect methods, e.g. quarter square method, via logarithmic domain}
- G06F 7/5443: {Sum of products (for applications thereof, see the relevant places, e.g. G06F17/10, H03H17/00)}
- H03M 7/24: Conversion to or from floating-point codes
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

An integrated circuit including a plurality of logarithmic addition-accumulator circuits, connected in series, to, in operation, perform logarithmic addition and accumulate operations, wherein each logarithmic addition-accumulator circuit includes: (i) a logarithmic addition circuit to add a first input data and a filter weight data, each having the logarithmic data format, and to generate and output first sum data having a logarithmic data format, and (ii) an accumulator, coupled to the logarithmic addition circuit of the associated logarithmic addition-accumulator circuit, to add a second input data and the first sum data output by the associated logarithmic addition circuit to generate first accumulation data. The integrated circuit may further include first data format conversion circuitry, coupled to the output of each logarithmic addition circuit, to convert the data format of the first sum data to a floating point data format wherein the accumulator may be a floating point type.

## Claims

### Claim 1

An integrated circuit comprising:
a plurality of logarithmic addition-accumulator circuits to, in operation, perform logarithmic addition and accumulate operations, wherein each logarithmic addition-accumulator circuit includes:
a logarithmic addition circuit to add a first input data, having a logarithmic data format, and a filter weight data, having the logarithmic data format, and to generate and output first sum data having a logarithmic data format, and
an accumulator, coupled to the logarithmic addition circuit of the associated logarithmic addition-accumulator circuit, to add a second input data and the first sum data output by the associated logarithmic addition circuit to generate first accumulation data; and
wherein, the plurality of logarithmic addition-accumulator circuits are connected in series.

### Claim 2 (depends on 1)

The integrated circuit of claim 1 further including:
first data format conversion circuitry, coupled to the output of each logarithmic addition circuit of each logarithmic addition circuit of the plurality of logarithmic addition-accumulator circuits, to convert the data format of the first sum data of each logarithmic addition circuit to a first floating point data format.

### Claim 3 (depends on 2)

The integrated circuit of claim 2 wherein:
the second input data includes a second floating point data format, and
the accumulator of each logarithmic addition-accumulator circuit of the plurality of logarithmic addition-accumulator circuits adds the second input data, having the second floating point data format, and the first sum data, having the first floating point data format, to generate the first accumulation data.

### Claim 4 (depends on 2)

The integrated circuit of claim 2 wherein:
the accumulator of each logarithmic addition-accumulator circuit of the plurality of logarithmic addition-accumulator circuits adds, in a floating point data format, (i) the first sum data output from the associated logarithmic addition circuit and (ii) the second input data.

### Claim 5 (depends on 2)

The integrated circuit of claim 2 further including:
second data format conversion circuitry, coupled to an input of each logarithmic addition-accumulator circuit of the plurality of logarithmic addition-accumulator circuits, to convert the first input data to a logarithmic data format.

### Claim 6 (depends on 5)

The integrated circuit of claim 5 wherein:
second data format conversion circuitry includes a look-up table to correlate initial first input data, having a first data format, to the first input data, having the logarithmic data format.

### Claim 7 (depends on 5)

The integrated circuit of claim 5 wherein:
second data format conversion circuitry includes a logic circuitry to convert initial input data, having a first data format, to the first input data, having the logarithmic data format.

### Claim 8 (depends on 2)

The integrated circuit of claim 2 further including:
third data format conversion circuitry, coupled to a first memory, to receive the filter weight from the first memory and convert the filter weight data to the logarithmic data format; and
a second memory, coupled the third conversion circuitry, to store the filter weight data having the logarithmic data format and responsively output the filter weight data to an associated logarithmic addition-accumulator circuit.

### Claim 9 (depends on 1)

The integrated circuit of claim 1 further including:
first data format conversion circuitry, coupled to the output of each logarithmic addition circuit of each logarithmic addition circuit of the plurality of logarithmic addition-accumulator circuits, to convert the data format of the first sum data of each logarithmic addition circuit to a first floating point data format or a fixed point data format; and
second data format conversion circuitry, coupled between memory and an input of each logarithmic addition-accumulator circuit of the plurality of logarithmic addition-accumulator circuits, to convert the first input data to a logarithmic data format and input the first input data to the logarithmic addition circuit of an associated logarithmic addition-accumulator circuit.

### Claim 10 (depends on 1)

The integrated circuit of claim 1 further including:
first data format conversion circuitry, coupled to the output of each logarithmic addition circuit of each logarithmic addition circuit of the plurality of logarithmic addition-accumulator circuits, to convert the data format of the first sum data of each logarithmic addition circuit to a first floating point data format or a fixed point data format;
second data format conversion circuitry, coupled between first memory and an input of each logarithmic addition-accumulator circuit of the plurality of logarithmic addition-accumulator circuits, to convert the first input data to a logarithmic data format and input the first input data to the logarithmic addition circuit of an associated logarithmic addition-accumulator circuit; and
third data format conversion circuitry, coupled between second memory and an input of each logarithmic addition-accumulator circuit of the plurality of logarithmic addition-accumulator circuits, to convert the filter weight data to the logarithmic data format.

### Claim 11

An integrated circuit comprising:
a logarithmic addition-accumulation execution pipeline, coupled to first and second memory, including a plurality of logarithmic addition-accumulator circuits to, in operation, perform logarithmic addition and accumulate operations, wherein each logarithmic addition-accumulator circuit includes:
a logarithmic addition circuit, coupled to the first memory, to add a first input data, having a logarithmic data format, and a filter weight data, having the logarithmic data format, and to generate and output first sum data having a logarithmic data format, and
an accumulator, coupled to the logarithmic addition circuit of the associated logarithmic addition-accumulator circuit, to add a second input data and the first sum data output by the associated logarithmic addition circuit to generate first accumulation data; and
wherein, the plurality of logarithmic addition-accumulator circuits of the logarithmic addition-accumulator execution pipeline, in operation, perform a plurality of logarithmic addition and accumulate operations, and the logarithmic addition-accumulator execution pipeline outputs processed data to the second memory.

### Claim 12 (depends on 11)

The integrated circuit of claim 11 wherein:
the plurality of logarithmic addition-accumulator circuits of the logarithmic addition-accumulator execution pipeline are connected in series to form a ring architecture and, in operation, perform a plurality of concatenated logarithmic addition and accumulate operations.

### Claim 13 (depends on 11)

The integrated circuit of claim 11 further including:
first data format conversion circuitry, coupled to the output of each logarithmic addition circuit of each logarithmic addition circuit of the plurality of logarithmic addition-accumulator circuits, to convert the data format of the first sum data of each logarithmic addition circuit to a first floating point data format.

### Claim 14 (depends on 13)

The integrated circuit of claim 13 wherein:
the second input data includes a second floating point data format; and
the accumulator of each logarithmic addition-accumulator circuit of the plurality of logarithmic addition-accumulator circuits adds the second input data, having the second floating point data format, and the first sum data, having the first floating point data format, to generate the first accumulation data.

### Claim 15 (depends on 13)

The integrated circuit of claim 13 wherein:
the accumulator of each logarithmic addition-accumulator circuit of the plurality of logarithmic addition-accumulator circuits adds, in a floating point data format, (i) the first sum data output from the associated logarithmic addition circuit and (ii) the second input data.

### Claim 16

A method of performing a plurality of logarithmic addition and accumulate operations, the method comprising:
receiving a plurality of filter weights having a logarithmic data format;
converting a plurality of first input data, having a first data format, to a plurality of first input data having the logarithmic data format, wherein the first data format is different from the logarithmic data format;
logarithmically adding each first input data, having the logarithmic data format, to an associated filter weight having the logarithmic data format to generate a first sum data;
converting each first sum data to first sum data having a floating point data format; and
adding, in the floating point data format, each first sum data, having the floating point data format, to an associated second input data, having the floating point data format to generate first accumulation data, having the floating point data format.

### Claim 17 (depends on 16)

The method of claim 16 wherein:
the first data format includes a floating point data format having a first precision; and
the first accumulation data includes a floating point data format having a second precision.

### Claim 18 (depends on 16)

The method of claim 16 wherein:
first sum data having a floating point data format includes a precision that is different from the first accumulation data.

### Claim 19 (depends on 16)

The method of claim 16 further including:
converting each filter weight of the plurality of filter weights from the logarithmic data format having a first precision to the logarithmic data format having a second precision.

### Claim 20 (depends on 16)

The method of claim 16 further including:
converting each filter weight of the plurality of filter weights from a second data format to the logarithmic data format wherein the second data format is different from the logarithmic data format.

### Claim 21 (depends on 20)

The method of claim 20 wherein:
the second data format is a floating point data format.
