In-Memory Matrix Multiplication Using Non-Volatile Memory Cells

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing artificial neural networks (ANNs) face challenges in large-scale integration due to the need for additional circuitry for mathematical operations like convolution and matrix multiplication, which increases footprint and cost.

Innovation Solution

The implementation of in-memory multiplication using non-volatile memory (NVM) cells, where a gate voltage is ramped to perform multiplication operations directly within the memory, allowing for concurrent computation of matrix multiplication results.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If additional circuitry is used for matrix multiplication operations, then computation capability is improved, but device footprint and cost increase

Engineering Contradiction:
Improvecomputation capabilityVSAvoiddevice footprint
Core Design Contradiction:
ProductivityVSArea of stationary object

Solution Approach 1:

The patent merges the memory storage function with the computation function by implementing matrix multiplication directly within the memory array. The memory cells store input data and perform multiplication operations using their inherent electrical characteristics, eliminating the need for separate processing circuitry and reducing overall device footprint.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The memory array is designed to serve multiple functions: it acts as both the storage medium for input data and the processing unit for matrix multiplication. This multi-functionality allows the same hardware structure to perform both data retention and computational tasks, reducing the need for dedicated computation circuits.

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

2Productivity

If additional circuitry is used for matrix multiplication operations, then computation capability is improved, but manufacturing cost increases

Engineering Contradiction:
Improvecomputation capabilityVSAvoidmanufacturing cost
Core Design Contradiction:
ProductivityVSEase of manufacture

Solution Approach 1:

By combining storage and computation in the same memory array structure, the patent reduces the total component count and interconnect requirements. This simplification leads to lower manufacturing costs while maintaining computation capability through in-memory processing.

Inventive Principle:
Principle #5Merging (Combining)

3Adaptability or versatility

If memory cells are used for both storage and computation, then device integration is improved, but cell complexity increases

Engineering Contradiction:
Improvedevice integrationVSAvoidcell complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The memory cells perform computation using their own stored data and inherent electrical properties without requiring external control circuitry. The multiplication operation is executed by the memory cells themselves through voltage division and current flow, eliminating the need for additional control logic and reducing overall system complexity.

Inventive Principle:
Principle #25Self-service

Applied Scientific Principles

This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.

Function Achieved in This Case

This approach enables efficient and concurrent performance of matrix multiplication operations within a single integrated circuit, reducing the need for external processing and lowering costs while enhancing parallelism and power efficiency.

Implementation Method 1

A state of the NVM cell is related to a multiplication product of an input multiplicand and a multiplier stored as a threshold voltage of the NVM cell

Methodology Applied
Scientific EffectThreshold voltage storage:

Implementation Method 2

An input circuit coupled to a gate terminal of the non-volatile memory cell is configured to ramp a gate voltage applied to the gate terminal at a ramp rate representing a multiplicand value

Methodology Applied
Scientific EffectVoltage ramping:

Implementation Method 3

A state of the NVM cell is related to a multiplication product of an input multiplicand and a multiplier stored as a threshold voltage of the NVM cell

Methodology Applied
Scientific EffectThreshold comparison:

Data Source

PatentUS10692570B2Neural network matrix multiplication in memory cells
Publication Date: 2020.06.23 SANDISK TECHNOLOGIES LLC
  • US10692570B2 patent drawing
  • US10692570B2 patent drawing
  • US10692570B2 patent drawing

AI summary

Various examples for accelerating multiplication operations are presented, which can be employed in neural network operations, among other applications. In one example, a circuit comprises a non-volatile memory cell, and an input circuit coupled to a gate terminal of the non-volatile memory cell. The input circuit is configured to ramp a control voltage applied to the gate terminal at a ramp rate representing a multiplicand value. An output circuit coupled to an output terminal of the non-volatile memory cell and is configured to generate an output pulse based on the control voltage satisfying a threshold voltage of the non-volatile memory cell, where the output pulse has a duration comprising the multiplicand value multiplied by a multiplier value represented by the threshold voltage.