Neural Network Feature-Map Memory Mapping for SRAM Bank Conflicts

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The storage of feature maps in static random-access memory (SRAM) can lead to bank conflicts, limiting data transmission size per cycle and necessitating additional cycles for neural network operations.

Innovation Solution

A memory mapping method that shifts the position of data within the feature map based on neural network parameters, using techniques like padding and interval shifting, to optimize memory bandwidth utilization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If feature map is stored in linear address space in SRAM, then storage simplicity is improved, but bank conflicts occur limiting data transmission size

Engineering Contradiction:
Improvestorage simplicityVSAvoiddata transmission size
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The feature map data is segmented and distributed across different memory banks using a non-linear address mapping function. The mapping function divides the linear address space into segments that are strategically assigned to different banks, preventing simultaneous access conflicts while maintaining efficient data transmission capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transforms the one-dimensional linear address space into a multi-dimensional memory bank assignment space. By introducing additional mapping dimensions through the non-linear function, data can be accessed across multiple banks simultaneously, resolving the bank conflict limitation while preserving storage simplicity.

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

2Ease of manufacture

If feature map is stored in linear address space in SRAM, then storage simplicity is improved, but additional cycles are required for processing

Engineering Contradiction:
Improvestorage simplicityVSAvoidprocessing cycles
Core Design Contradiction:
Ease of manufactureVSLoss of time

Solution Approach 1:

The non-linear address mapping is pre-configured and established before data processing begins. By preliminarily organizing the feature map data according to the mapping function, the system eliminates the need for additional processing cycles during actual neural network operations, as data is already positioned for optimal parallel access across memory banks.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If data position is shifted based on memory bandwidth, then memory bandwidth utilization is improved, but memory access complexity increases

Engineering Contradiction:
Improvememory bandwidth utilizationVSAvoidmemory access complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent employs a non-linear mapping function that dynamically adjusts address parameters based on memory bandwidth requirements and kernel size. By changing the address mapping parameters according to operational conditions, the system optimizes bandwidth utilization while the function itself manages the complexity through mathematical transformation rather than complex control logic.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12461849B2Memory mapping method and apparatus
Publication Date: 2025.11.04 SAMSUNG ELECTRONICS CO LTD
  • US12461849B2 patent drawing
  • US12461849B2 patent drawing
  • US12461849B2 patent drawing

AI summary

A memory mapping method includes storing a feature map including a plurality of sets of data used for a neural network operation in a memory, shifting a position of a portion of the data included in the feature map that is stored in the memory based on a parameter of the neural network operation, and outputting data requested by the neural network operation from the feature map in which the position of the portion is shifted based on a memory bandwidth.