Multi-Bit ECC Circuit Using Truncated Parity Matrix Logic

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing error correction codes (ECCs) for memory systems require significant logic resources to implement multi-bit error correction, which can be inefficient and resource-intensive, especially with emerging memory technologies like MRAM and ReRAM.

Innovation Solution

The use of a systematic check matrix to reduce the logic required for error correction by transforming the generation matrix into a systematic form, truncating rows with higher weights, and forming an error correction circuit based on the truncated parity matrix, thereby minimizing the number of logic gates needed for syndrome generation and error detection.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional error correction codes are used for multi-bit error correction, then error correction capability is improved, but logic resource consumption increases

Engineering Contradiction:
Improveerror correction capabilityVSAvoidlogic resource consumption
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts and removes redundant rows from the parity matrix, keeping only the essential rows needed for error correction. This extraction principle directly reduces logic resource consumption while preserving the core error correction capability for multi-bit errors.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent uses a simplified, truncated parity matrix that requires fewer logic gates and less hardware resources compared to traditional full parity matrices. This disposable approach sacrifices some matrix completeness but maintains adequate error correction functionality with reduced resource overhead.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

2Measurement precision

If full parity matrix is used for error correction, then correction accuracy is improved, but circuit complexity increases

Engineering Contradiction:
Improvecorrection accuracyVSAvoidcircuit complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent extracts the essential rows from the full parity matrix that are sufficient for achieving the required correction accuracy. By removing redundant rows, the circuit complexity is reduced while maintaining the ability to detect and correct multi-bit errors effectively.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies partial action by using a truncated version of the parity matrix rather than the complete matrix. This partial implementation provides sufficient correction accuracy for the intended application while significantly reducing the circuit complexity and resource requirements.

Inventive Principle:
Principle #16Partial or excessive action

3Device complexity

If systematic check matrix transformation is applied, then logic reduction is achieved, but transformation complexity increases

Engineering Contradiction:
Improvelogic gates countVSAvoidtransformation complexity
Core Design Contradiction:
Device complexityVSEase of manufacture

Solution Approach 1:

The patent performs the systematic transformation of the generator matrix into systematic form as a preliminary step during the code design phase. This preliminary action prepares the matrix in advance, allowing for subsequent row truncation and simplification without requiring complex transformations during actual error correction operations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent segments the parity matrix into essential and redundant rows after systematic transformation. This segmentation allows for the removal of unnecessary rows while preserving the structured form needed for efficient error correction, thereby reducing logic gates count while managing transformation complexity.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10949298B2System and method of reducing logic for multi-bit error correcting codes
Publication Date: 2021.03.16 TAIWAN SEMICONDUCTOR MANUFACTURING CO LTD
  • US10949298B2 patent drawing
  • US10949298B2 patent drawing
  • US10949298B2 patent drawing

AI summary

A method of generating an error correction circuit for correcting an error in a codeword read from a memory includes: constructing a G matrix; transforming the G matrix into a systematic form, the transformed G matrix composed of a P matrix and a H matrix; sorting rows of the P matrix according to row weights; determining the number of rows in the P matrix to be truncated in view of a correcting strength and the number of data bits; generating a truncated P matrix by truncating the sorted rows of the P matrix that have a first row weights and keeping the sorted rows of the P matrix that have a second row weights; and forming the error correction circuit according to the truncated P matrix to correct the error of the codeword; wherein the first row weights are greater than the second row weights.