Memory ECC Codeword Design With Extra Parity Bit Protection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing error correction code (ECC) schemes, such as Hamming codes, have limited error correction capabilities, particularly when single or two-bit errors occur in unprotected locations, leading to erroneous correction operations and potential data loss in memory devices.

Innovation Solution

The implementation of a modified Hamming code (266, 10, 4) that adds an extra parity bit to protect both ECC bits and user data, allowing for the detection and correction of single-bit errors and the detection of three-bit errors, ensuring accurate error correction operations across all locations within the ECC bits or data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional Hamming code (265, 9, 3) is used for error correction, then the device complexity is lower, but the reliability is insufficient because it cannot correctly handle single or two-bit errors in unprotected locations

Engineering Contradiction:
Improveerror correction capabilityVSAvoidECC code structure
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the error protection by introducing an additional parity bit that specifically protects the ECC bits, while the original Hamming code protects the user data. This segmentation allows different parts of the code to handle different types of errors independently, improving overall reliability without completely redesigning the ECC structure.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent adds another dimension to the error correction capability by extending the Hamming code from (265, 9, 3) to (266, 10, 4). This dimensional extension adds one more parity bit that operates in a different dimension of error detection, enabling the system to detect and correct errors that the original code could not handle.

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

2Reliability

If traditional Hamming code is used, then the manufacturing precision requirements are lower, but erroneous correction operations occur when single or two-bit errors happen in unprotected locations

Engineering Contradiction:
Improveaccuracy of error correctionVSAvoidimplementation complexity
Core Design Contradiction:
ReliabilityVSEase of manufacture

Solution Approach 1:

The patent performs preliminary error detection by using the additional parity bit to identify whether an error has occurred in the ECC bits or user data before attempting correction. This preliminary action prevents erroneous correction operations by ensuring that correction is only applied when confidently indicated by the syndrome analysis.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements a feedback mechanism where the syndrome calculation and parity bit work together to provide information about the location and nature of errors. This feedback loop allows the system to make informed decisions about whether to correct errors or declare them uncorrectable, improving the accuracy of error correction operations.

Inventive Principle:
Principle #23Feedback

3Quantity of substance

If traditional Hamming code (265, 9, 3) is used, then the data storage capacity is higher, but the memory lifetime is reduced due to incorrect error correction operations

Engineering Contradiction:
Improvedata storage capacityVSAvoidmemory lifetime
Core Design Contradiction:
Quantity of substanceVSDuration of action of stationary object

Solution Approach 1:

The patent provides beforehand cushioning against incorrect error correction by adding the extra parity bit that creates a safety margin. This additional bit acts as a cushion that absorbs the impact of potential errors in unprotected locations, preventing them from propagating and causing data loss that would reduce memory lifetime.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

Solution Approach 2:

The patent sacrifices one additional bit of storage capacity (extending from 265 to 266 total bits) to gain significant improvements in error correction reliability. This small cost in storage capacity is a worthwhile trade-off to prevent data loss and extend memory operational lifetime.

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

Data Source

PatentUS10901837B2Error correction code (ECC) operations in memory
Publication Date: 2021.01.26 MICRON TECHNOLOGY INC
  • US10901837B2 patent drawing
  • US10901837B2 patent drawing
  • US10901837B2 patent drawing

AI summary

The present disclosure includes apparatuses and methods for ECC operation associated with memory. One example apparatus comprises a controller configured to perform an error correction code (ECC) operation on a codeword stored in the memory, wherein the codeword includes a first number of ECC bits and the first number of ECC bits are generated based on an encoding matrix, wherein each row of the encoding matrix has an odd number of bits having a binary value of 1.