Memory Controller ECC Decoding for Chip and Multi-Symbol Errors

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing memory systems face inefficiencies in error correction, particularly in identifying and correcting various types of errors in memory modules, which can lead to data loss and system instability.

Innovation Solution

A memory controller with an error correction circuit that includes an ECC decoder and a CPU, capable of generating syndromes and decoding modes to selectively correct chip errors and symbol errors using parity check matrices, enabling efficient error correction across multiple data chips and symbols.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional error correction methods are used in memory systems, then the system can detect and correct simple errors, but it cannot efficiently correct multiple types of errors (chip errors and multi-symbol errors) simultaneously

Engineering Contradiction:
Improveerror correction capabilityVSAvoiddecoding complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The error correction system is segmented into two distinct decoding modes: a first decoding mode for correcting chip errors using a first check matrix, and a second decoding mode for correcting multi-symbol errors using a second check matrix. This segmentation allows the system to handle different error types with specialized algorithms, improving correction capability without overwhelming complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system changes the parameter of the check matrix based on the error type detected. When a chip error is detected, the first check matrix is used; when multi-symbol errors are detected, the second check matrix is used. This parameter change enables the system to adapt to different error conditions and apply the most effective correction method for each case.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If a single error correction algorithm is used for all error types, then the device complexity is low, but the correction accuracy and efficiency for different error types deteriorates

Engineering Contradiction:
Improveerror detection accuracyVSAvoiddecoding structure complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The decoding structure is made dynamic by implementing a controller that switches between different decoding algorithms based on the detected error type. The system dynamically selects the first decoding algorithm for chip errors and the second decoding algorithm for multi-symbol errors, allowing high precision error correction without requiring a permanently complex structure for all possible error types.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The error correction system is designed with multi-functionality to handle both chip errors and multi-symbol errors through a unified architecture. The controller can invoke different decoding algorithms as needed, making the system universal in its error correction capability while avoiding the need for separate dedicated correction systems for each error type.

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

3Productivity

If multiple decoding algorithms are implemented to handle different error types, then the error correction efficiency improves, but the processing time and computational overhead increases

Engineering Contradiction:
Improveerror correction efficiencyVSAvoiddecoding time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The system performs preliminary error type classification before applying the specific decoding algorithm. By first identifying whether the error is a chip error or a multi-symbol error, the controller can immediately select the appropriate decoding mode, avoiding unnecessary computational steps and reducing overall decoding time while maintaining high correction efficiency.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system extracts and handles the most critical error identification step separately from the detailed correction process. By first determining the error type and selecting the appropriate check matrix and decoding algorithm, the system separates the decision-making process from the execution process, reducing computational overhead and improving correction efficiency.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS11463110B2Memory controllers and memory systems including the same
Publication Date: 2022.10.04 SAMSUNG ELECTRONICS CO LTD
  • US11463110B2 patent drawing
  • US11463110B2 patent drawing
  • US11463110B2 patent drawing

AI summary

A memory controller includes an error correction circuit and a central processing unit (CPU) to control the error correction circuit. The error correction circuit includes an error correction code (ECC) decoder and a memory to store a parity check matrix. The ECC decoder performs an ECC decoding on a codeword read from the memory module to: (i) generate a first syndrome and a second syndrome, (ii) generate a decoding mode flag associated with a type of errors in the codeword based on the second syndrome and a decision syndrome, (iii) operate in one of a first decoding mode and a second decoding mode based on the decoding mode flag, and (iv) selectively correct one of a chip error associated with one of the data chips and one or more symbol errors in the codeword.