Accumulator Hardware Logic for Varying Bit-Width Convolution

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Convolutional neural networks require large hardware implementations for performing numerous multiplications of input values and filter weights, leading to significant area and power consumption, especially when bit-widths vary, resulting in inefficient use of resources.

Innovation Solution

The implementation of accumulator hardware logic with shifting and negation hardware in a feedback path allows for efficient accumulation and multiplication operations over multiple clock cycles, reducing hardware size and power consumption by performing operations on varying bit-widths and optimizing gate-level synthesis.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If dedicated hardware logic is used to perform large numbers of multiplications for convolutional neural networks, then the speed of operation is increased, but the hardware area and power consumption become significant

Engineering Contradiction:
Improvespeed of operationVSAvoidhardware area
Core Design Contradiction:
SpeedVSArea of stationary object

Solution Approach 1:

The patent segments the multiplication operation into two phases: a first phase using a first multiplier and a second phase using a second multiplier. This segmentation allows the hardware to perform multiplication operations across multiple clock cycles rather than requiring a single complex multiplier, thereby reducing the hardware area while maintaining computational speed.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent employs dynamic switching between different multipliers based on the bit-width requirements of the input values. The controller dynamically selects which multiplier to use (first or second) depending on the operational requirements, allowing the hardware to adapt its configuration and optimize the balance between speed and area utilization.

Inventive Principle:
Principle #15Dynamics

2Speed

If dedicated hardware logic is used to perform large numbers of multiplications for convolutional neural networks, then the speed of operation is increased, but power consumption becomes significant

Engineering Contradiction:
Improvespeed of operationVSAvoidpower consumption
Core Design Contradiction:
SpeedVSUse of energy by stationary object

Solution Approach 1:

The patent segments the multiplication operation into two phases: a first phase using a first multiplier and a second phase using a second multiplier. This segmentation allows the hardware to perform multiplication operations across multiple clock cycles rather than requiring a single complex multiplier, thereby reducing the hardware area while maintaining computational speed.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent employs dynamic switching between different multipliers based on the bit-width requirements of the input values. The controller dynamically selects which multiplier to use (first or second) depending on the operational requirements, allowing the hardware to adapt its configuration and optimize the balance between speed and area utilization.

Inventive Principle:
Principle #15Dynamics

3Device complexity

If fixed bit-width hardware is used for multiplication operations, then the hardware design is simplified, but it cannot efficiently handle varying bit-widths resulting in inefficient resource use

Engineering Contradiction:
Improvehardware design complexityVSAvoidhandling varying bit-widths
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The patent designs a universal multiplication hardware structure that can handle multiple bit-widths (e.g., 4-bit, 8-bit, 16-bit) using the same basic architecture with two multipliers. The controller manages the selection and configuration of multipliers based on the required bit-width, making the hardware versatile without requiring separate dedicated circuits for each bit-width scenario.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent employs dynamic switching between different multipliers based on the bit-width requirements of the input values. The controller dynamically selects which multiplier to use (first or second) depending on the operational requirements, allowing the hardware to adapt its configuration and optimize the balance between speed and area utilization.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS20230409287A1Accumulator hardware
Publication Date: 2023.12.21 IMAGINATION TECH LTD
  • US20230409287A1 patent drawing
  • US20230409287A1 patent drawing
  • US20230409287A1 patent drawing

AI summary

Accumulator hardware logic includes first and second addition logic units and a store. The first addition logic unit comprises a first input, a second input and an output, each of the first and second inputs arranged to receive an input value in each clock cycle. The second addition logic unit comprises a first input that is connected directly to the output of the first addition logic unit. It also comprises a second input and an output. The store is arranged to store a result output by the second addition logic unit. The accumulator hardware logic further comprises shifting hardware and/or negation hardware positioned in a feedback path between the store and the second input of the second addition logic unit. The shifting hardware is configured to perform a shift by a fixed number of bit positions in a fixed direction.