Compute-in-Memory MAC Array With Low Bit-Toggling Control

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional computer systems are inefficient for data processing in machine learning applications due to excessive data transfers between memory and processors, leading to high power consumption and slow compute times.

Innovation Solution

The Compute-in-Memory (CiM) system performs compute operations directly within a memory array, reducing data transfer by computing MAC values on input signals using an array of macros and a control circuit, which minimizes bit toggling and thereby decreases power consumption while maintaining high-speed computation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Use of energy by moving object

If data is processed using conventional computer hardware with separate memory and processors, then data storage capacity is sufficient, but power consumption increases and compute time slows due to excessive data transfers between memory and processors

Engineering Contradiction:
Improvepower consumptionVSAvoiddata transfer architecture
Core Design Contradiction:
Use of energy by moving objectVSDevice complexity

Solution Approach 1:

The patent merges memory and processing functions into a unified compute-in-memory architecture where MAC operations are performed directly within the memory array. This integration eliminates the need for separate memory and processor components, reducing data transfer overhead and power consumption while maintaining sufficient storage capacity.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent transitions from a traditional von Neumann architecture (separate memory and processor dimensions) to an in-memory computing architecture where computation occurs within the memory dimension itself. This dimensional shift allows MAC operations to be performed at the location of data storage, eliminating data movement between separate components.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Productivity

If data is transferred frequently between memory and processors for processing, then computation can be performed, but compute time increases due to transfer overhead

Engineering Contradiction:
Improvecomputation speedVSAvoidcompute time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent performs computation operations directly on data while it resides in the memory array, eliminating the need to first transfer data to a separate processor. This preliminary action of computing in-place prevents the time loss associated with data transfer overhead while maintaining high computation speed.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces control circuits as intermediaries that manage MAC operations within the memory array. These control circuits enable direct computation on stored data without requiring physical data movement to external processors, thereby reducing compute time while maintaining productivity.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Loss of energy

If bit toggling is minimized in the Compute-in-Memory system, then power consumption decreases, but the ability to process diverse data patterns may be limited

Engineering Contradiction:
Improvepower consumptionVSAvoiddata processing capability
Core Design Contradiction:
Loss of energyVSAdaptability or versatility

Solution Approach 1:

The patent applies local quality by enabling selective MAC operations only at specific memory locations and time cycles where computation is actually needed. This localized approach minimizes unnecessary bit toggling and power consumption while maintaining the ability to process diverse data patterns through targeted computation rather than universal processing.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent implements periodic action through time-multiplexed MAC operations where computation is performed in discrete cycles rather than continuously. This periodic approach allows the system to minimize bit toggling by activating computation only when needed, reducing power consumption while maintaining versatility through scheduled processing of different data patterns.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS20230161557A1Compute-in-memory devices and methods of operating the same
Publication Date: 2023.05.25 TAIWAN SEMICONDUCTOR MANUFACTURING CO LTD
  • US20230161557A1 patent drawing
  • US20230161557A1 patent drawing
  • US20230161557A1 patent drawing

AI summary

An integrated circuit includes a first logic gate configured to receive a first input signal and a second input signal, and generate a first control signal based on a first bit of first input signal and a first bit of the second input signal obtained in a current cycle. The integrated circuit includes a first backup storage component configured to store a second bit of the first input signal and a second bit of the second input signal obtained in a previous cycle. The integrated circuit includes a plurality of first macros each configured to selectively compute, based on the first control signal, a first multiply-accumulate (MAC) value for the first bit of the first input signal and the first bit of the second input signal.