# US 2010/0169404 A1 · Flexible accumulator in digital signal processing circuitry

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

- Number: US 2010/0169404 A1
- Document ID: US20100169404A1
- Status: Published application
- Kind: A1
- Application number: 12/683,686
- Filed: 2010-01-07
- Published: 2010-07-01
- Earliest claimed: 2004-02-20
- Assignees: Altera Corporation
- Inventors: Leon Zheng; Martin Langhammer; Nitin Prasad; Greg Starr; Chiao Kai Hwang; Kumara Tharmalingam
- Web page: https://patentgrep.com/patent/US20100169404A1

## CPC

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

## Abstract

A multiplier-accumulator (MAC) block can be programmed to operate in one or more modes. When the MAC block implements at least one multiply-and-accumulate operation, the accumulator value can be zeroed without introducing clock latency or initialized in one clock cycle. To zero the accumulator value, the most significant bits (MSBs) of data representing zero can be input to the MAC block and sent directly to the add-subtract-accumulate unit. Alternatively, dedicated configuration bits can be set to clear the contents of a pipeline register for input to the add-subtract-accumulate unit.

## Claims

### Claim 1

A multiplier-accumulator block operative to zero or initialize an accumulator value with minimal clock latency comprising:
a first multiplier having a first input operative to receive a first input signal, a second input operative to receive a second input signal, and an output;
a second multiplier having a first input operative to receive a third input signal, a second input operative to receive a fourth input signal, and an output;
an accumulator having a first input operative to receive the output of the first multiplier, a second input operative to receive the output of the second multiplier, a third input operative to receive a feedback output, and an output, wherein the feedback output is set to zero; and
a register block having an input operative to receive the output of the accumulator and an output.

### Claim 2 (depends on 1)

The multiplier-accumulator block of claim 1 wherein the second multiplier applies a multiply operation on the third input signal and the fourth input signal, wherein a result of the multiply operation is sent to the output.

### Claim 3 (depends on 1)

The multiplier-accumulator block of claim 1 wherein the first input signal and the second input signal are concatenated in a predetermined order and sent directly to the output of the first multiplier.

### Claim 4 (depends on 1)

The multiplier-accumulator block of claim 1 wherein the first input signal and the second input signal are both set to zero.

### Claim 5 (depends on 4)

The multiplier-accumulator block of claim 4 wherein the accumulator:
concatenates the feedback output to the output of the first multiplier to generate the accumulator value; and
adds the output of the second multiplier to the accumulator value.

### Claim 6 (depends on 4)

The multiplier-accumulator block of claim 4 wherein the accumulator:
concatenates the feedback output to the output of the first multiplier to generate the accumulator value; and
subtracts the output of the second multiplier from the accumulator value.

### Claim 7 (depends on 1)

The multiplier-accumulator block of claim 1 wherein:
the first input signal and the second signal are set to values such that the output of the first multiplier comprises a first predetermined number of most significant bits of the accumulator value; and
the third input signal and the fourth input signal are set to values such that the output of the second multiplier comprises a second predetermined number of least significant bits of the accumulator.

### Claim 8 (depends on 7)

The multiplier-accumulator block of claim 7 wherein the feedback output has a number of bits equal to the second predetermined number.

### Claim 9 (depends on 7)

The multiplier-accumulator block of claim 7 wherein the accumulator:
concatenates the feedback output to the output of the first multiplier to generate a concatenated value; and
adds the output of the second multiplier to the concatenated value to generate the accumulator value.

### Claim 10 (depends on 1)

A programmable logic resource comprising the multiplier-accumulator block of claim 1.

### Claim 11 (depends on 10)

A digital processing system comprising:
processing circuitry;
a memory coupled to the processing circuitry; and
a programmable logic resource as defined in claim 10 coupled to the processing circuitry and the memory.

### Claim 12 (depends on 10)

A printed circuit board on which is mounted a programmable logic resource as defined in claim 10.

### Claim 13 (depends on 12)

The printed circuit board defined in claim 12 further comprising:
a memory mounted on the printed circuit board and coupled to the programmable logic resource.

### Claim 14 (depends on 13)

The printed circuit board defined in claim 13 further comprising:
processing circuitry mounted on the printed circuit board and coupled to the programmable logic resource.
