ECC Circuit Self-Diagnosis for Incorrect Correction Detection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing error correction circuits in ECC technology fail to self-diagnose errors, leading to potential data corruption and compromised functional safety, especially in high-level applications.
Innovation Solution
A two-stage error correction code circuit system that includes a first error correction code circuit for data correction and a second error correction code circuit for self-diagnosis, with a comparison circuit to verify the correctness of the first circuit's output, ensuring functional safety by preventing incorrect data correction.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If ECC technology is used to correct data errors, then data reliability is improved, but the risk of incorrect correction increases without self-diagnosis capability
Solution Approach 1:
The patent implements a feedback mechanism where the second ECC circuit verifies the correction results produced by the first ECC circuit. The verification circuit generates verification check bits from the corrected data and compares them with expected values, providing feedback on whether the correction was successful or if the correction circuit itself has failed, thus preventing propagation of incorrect corrections
Solution Approach 2:
The patent introduces an intermediary verification mechanism between the data correction process and the final output. The second ECC circuit acts as an intermediary that independently verifies the correctness of corrections made by the first ECC circuit, serving as a mediator to detect and flag potential correction errors before they affect the final data output
2Device complexity
If a single ECC circuit is used for error correction, then device complexity is reduced, but the ability to detect correction failures is lost
Solution Approach 1:
The patent segments the error correction function into two distinct circuits: a first ECC circuit responsible for data correction and a second ECC circuit dedicated to verification. This segmentation allows each circuit to have specialized functions, with the first circuit focusing on correction and the second on detection, thereby achieving both correction capability and failure detection without excessive complexity in each individual component
Data Source
Figure 1~2
Figure 3~5
AI summary
An error correction code circuit includes a first error correction code circuit configured to generate correction data and a first correction check bit according to received source data and a source check bit corresponding to the received source data, a second error correction code circuit connected to the first error correction code circuit, and configured to, according to the correction data and at least one of the first correction check bit or the source check bit, determine whether the correction data is wrong and generate a second correction check bit, and a comparison circuit connected between the first error correction code circuit and the second error correction code circuit, and configured to compare the first correction check bit with the second correction check bit and determine whether the first correction check bit is wrong.