Memory Macro BIST for Fault Detection in Compute-in-Memory

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Performing Built-In Self-Test (BIST) in Compute in Memory (CIM) macros is challenging due to the complexity of CIM operations and the need for efficient energy consumption.

Innovation Solution

A BIST circuit is designed to perform BIST on CIM macros by generating input vectors and weights, performing MAC operations, and comparing output data with expected signatures to identify faults.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If discrete logic circuits are used to implement MAC operations, then the CIM can perform deep learning computations, but the energy consumption increases and circuit implementation becomes large

Engineering Contradiction:
ImproveCIM functionalityVSAvoidenergy consumption
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The patent merges the storage function and compute function into a single integrated memory macro. Weight values are stored in memory cells that also perform MAC operations with input vectors, eliminating the need for separate discrete logic circuits. This integration reduces overall circuit area and energy consumption while maintaining deep learning computational capabilities.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The memory cells in the CIM macro serve multiple functions: they store weight values, perform multiplication with input vectors, accumulate results, and participate in built-in self-test operations. This multi-functionality eliminates the need for dedicated compute circuits, reducing energy consumption and circuit complexity while achieving versatile deep learning operations.

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

2Adaptability or versatility

If discrete logic circuits are used to implement MAC operations, then the CIM can perform deep learning computations, but the circuit implementation becomes large

Engineering Contradiction:
ImproveCIM functionalityVSAvoidcircuit implementation
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent merges the storage function and compute function into a single integrated memory macro. Weight values are stored in memory cells that also perform MAC operations with input vectors, eliminating the need for separate discrete logic circuits. This integration reduces overall circuit area and energy consumption while maintaining deep learning computational capabilities.

Inventive Principle:
Principle #5Merging (Combining)

3Reliability

If BIST is performed in CIM macros, then fault identification is achieved, but the complexity of CIM operations makes BIST difficult

Engineering Contradiction:
Improvefault identificationVSAvoidBIST complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The CIM macro performs built-in self-test operations using its own integrated resources. Test patterns are generated within the macro, MAC operations are executed using the same compute units, and results are compared using the memory cells themselves. This self-service approach eliminates the need for external test equipment and simplifies the BIST process while maintaining reliable fault identification.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The memory cells in the CIM macro serve multiple functions: they store weight values, perform multiplication with input vectors, accumulate results, and participate in built-in self-test operations. This multi-functionality eliminates the need for dedicated compute circuits, reducing energy consumption and circuit complexity while achieving versatile deep learning operations.

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

Data Source

PatentUS20250292855A1Conducting built-in self-test of memory macro
Publication Date: 2025.09.18 TAIWAN SEMICONDUCTOR MANUFACTURING CO LTD
  • US20250292855A1 patent drawing
  • US20250292855A1 patent drawing
  • US20250292855A1 patent drawing

AI summary

Performing a built-in self-test (BIST) on a memory macro includes generating a plurality of input vectors such that at least one input vector of the plurality of input vectors is transmitted to the memory macro in each of a plurality of cycles, receiving in each of the plurality of cycles, an output data from the memory macro. The output data is generated by the memory macro in response to processing the at least one input vector. The BIST also includes comparing the output data in each of the plurality of cycles with a signature value and determining whether the memory macro is normal or faulty based upon the comparison.