DRAM Data Checking via Compressed Bit Comparison
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for checking data accuracy in Dynamic Random Access Memory (DRAM) are inefficient, particularly due to high workload and reduced detection efficiency when comparing written and read data directly, and fail to determine if read data is entirely incorrect.
Innovation Solution
A method and device that compresses both written and read data, comparing the compressed data to determine accuracy, and further extracts and compares original bit data from both to improve accuracy and efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If direct comparison of written and read data is performed, then data checking accuracy is maintained, but testing workload increases and detection efficiency decreases
Solution Approach 1:
The patent extracts only the necessary check bits from the complete data for comparison, rather than comparing all data bits. This selective extraction maintains error detection capability while significantly reducing the comparison workload and improving testing efficiency.
Solution Approach 2:
The patent performs partial comparison by only comparing specific check bits rather than all data bits. This partial action approach is sufficient to detect errors while avoiding the excessive workload of complete data comparison, thus improving testing efficiency without sacrificing accuracy.
2Productivity
If compressed data comparison is used, then testing efficiency improves, but ability to detect entirely incorrect read data is reduced
Solution Approach 1:
The patent uses check bits as an intermediary element for data verification. These check bits are generated from the data and used to detect errors without requiring comparison of the entire data set, thus maintaining detection reliability while improving efficiency.
Solution Approach 2:
The patent implements a feedback mechanism where check bits are compared between written and read data to provide verification information. This feedback allows the system to detect errors and determine whether read data is correct or entirely incorrect, maintaining reliability while using only compressed check bit comparison.
3Measurement precision
If all data bits are compared, then complete verification is achieved, but time consumption increases
Solution Approach 1:
The patent extracts only the essential check bits from the complete data for comparison purposes. This extraction achieves sufficient verification completeness for error detection while dramatically reducing the time required for data checking compared to comparing all data bits.
Solution Approach 2:
The patent performs partial comparison of only check bits rather than all data bits. This partial action provides adequate verification for detecting errors and determining data correctness, while significantly reducing the time consumption associated with complete data comparison.
Data Source
AI summary
A method, device for checking data, an electronic device and a storage medium are provided. The method includes operations as follows. A memory array is read to obtain read data, and the read data is compressed to obtain first compressed data. The first compressed data is compared with second compressed data, the second compressed data being obtained by compressing written data corresponding to the read data. In responsive to that the first compressed data is consistent with the second compressed data, whether data of a predetermined bit in the read data is consistent with pre-stored original bit data is detected, to determine whether the read data is correct. It is determined that the read data is correct if the data of the predetermined bit is consistent with the pre-stored original bit data, otherwise it is determined that the read data is incorrect.


