SRAM Hard Error Detection Using Error Status Buffer

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional SRAM arrays face challenges in distinguishing between soft and hard errors, leading to inefficient error correction and potential functional damage in high-performance computing systems, where hard errors can only be detected at runtime and require system restarts, causing data loss and performance degradation.

Innovation Solution

Implementing a processing device with error status buffer (ESB) and array status register (ASR) to classify and correct hard errors by reallocating reusable entries, using write-read-compare logic to differentiate between soft and hard errors, and multiplexing corrected data to replace faulty SRAM entries, allowing for dynamic error correction and resource reuse.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional error detection techniques (parity bits or ECCs) are used in SRAM arrays, then errors can be detected, but hard errors cannot be distinguished from soft errors leading to ineffective correction attempts

Engineering Contradiction:
Improveerror detection capabilityVSAvoiderror classification accuracy
Core Design Contradiction:
ReliabilityVSMeasurement precision

Solution Approach 1:

The patent segments the error handling process into distinct phases: initial error detection using parity/ECC, followed by error classification (soft vs. hard), and then appropriate correction actions. The error status buffer segments the storage of error information, maintaining separate entries for different error types and their correction histories. This segmentation enables precise differentiation between soft and hard errors without conflating their distinct characteristics.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary classification mechanism between error detection and correction. The error status buffer acts as an intermediary structure that stores detailed error information, including correction attempt counts and error type classifications. This intermediary layer prevents direct, potentially harmful correction of hard errors by first classifying the error type through multiple read attempts and comparison operations.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If continuous re-writing is performed to correct errors in SRAM cells, then soft errors can be corrected, but hard errors persist and may deleteriously affect device functionality

Engineering Contradiction:
Improveerror correction efficiencyVSAvoiddevice functionality
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent performs preliminary classification actions before attempting correction. By conducting multiple read attempts and comparing results against the original written data, the system preliminarily determines whether an error is soft or hard before committing to a correction strategy. This preliminary action prevents futile and potentially harmful continuous re-writing of hard errors by identifying them early through the classification process.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements feedback mechanisms where the results of read operations are fed back to update the error status buffer. Each read attempt provides feedback about the error state, allowing the system to track correction attempts and adjust its strategy. When feedback indicates persistent errors despite multiple correction attempts, the system transitions from active correction to alternative handling, preventing deleterious effects of continuous re-writing.

Inventive Principle:
Principle #23Feedback

3Reliability

If redundant rows or columns are allocated to replace faulty SRAM cells, then hard errors can be corrected, but significant memory area is consumed

Engineering Contradiction:
Improvehard error correction capabilityVSAvoidmemory array area
Core Design Contradiction:
ReliabilityVSArea of stationary object

Solution Approach 1:

The patent implements dynamic error handling where the treatment of faulty cells changes based on their error classification and correction history. Rather than statically allocating redundant resources for all potential failures, the system dynamically adjusts its approach: soft errors are corrected in-place, hard errors are detected and marked, and only when necessary are replacement operations performed. This dynamic approach minimizes the need for permanent redundant allocations while maintaining correction capability.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the parameter of error handling from static redundancy allocation to dynamic classification-based management. By introducing parameters such as error type classification (soft/hard), correction attempt counts, and error status flags, the system adapts its correction strategy based on these parameters rather than relying on fixed redundant structures. This parameter-driven approach reduces the area overhead associated with traditional redundancy schemes.

Inventive Principle:
Principle #35Parameter changes

4Reliability

If the processing device is flushed and restarted to recover from hard errors, then faulty SRAM cells can be replaced, but significant work is lost and time is consumed

Engineering Contradiction:
Improveerror recovery capabilityVSAvoidsystem downtime
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent enables the memory system to self-diagnose and self-correct errors without requiring external intervention or system restart. The error status buffer and classification logic allow the system to automatically identify hard errors, mark affected cells, and redirect future accesses to valid data locations. This self-service capability eliminates the need for flushing and restarting the processing device, maintaining continuous operation and preventing work loss.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent performs preliminary error classification and marking actions before they would necessitate system restart. By detecting and classifying hard errors during normal operation and proactively managing them through the error status buffer, the system prevents error accumulation that would otherwise require system flush and restart. This preliminary management maintains system continuity and avoids time loss.

Inventive Principle:
Principle #10Preliminary action

5Manufacturing precision

If MBIST is used to detect hard errors during manufacturing, then some errors can be identified, but errors manifesting at runtime under specific environmental conditions cannot be detected

Engineering Contradiction:
Improveerror detection during fabricationVSAvoidruntime error detection adaptability
Core Design Contradiction:
Manufacturing precisionVSAdaptability or versatility

Solution Approach 1:

The patent transitions from static error detection (MBIST during manufacturing) to dynamic error detection that adapts to runtime conditions. The error status buffer and classification mechanism continuously monitor memory operations under actual operating conditions, including varying temperatures, voltages, and workloads. This dynamic approach detects errors that manifest only under specific runtime environmental conditions, which static MBIST cannot identify.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

While MBIST performs preliminary error detection during manufacturing, the patent adds a layer of preliminary runtime detection through the error status buffer. This buffer maintains error information from both manufacturing testing and operational use, allowing the system to identify patterns and conditions that trigger hard errors. The preliminary classification and tracking established during manufacturing is extended and adapted to runtime conditions, enabling detection of environment-specific failures.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9189326B2Detecting and correcting hard errors in a memory array
Publication Date: 2015.11.17 ADVANCED MICRO DEVICES INC
  • US9189326B2 patent drawing
  • US9189326B2 patent drawing
  • US9189326B2 patent drawing

AI summary

Hard errors in the memory array can be detected and corrected in real-time using reusable entries in an error status buffer. Data may be rewritten to a portion of a memory array and a register in response to a first error in data read from the portion of the memory array. The rewritten data may then be written from the register to an entry of an error status buffer in response to the rewritten data read from the register differing from the rewritten data read from the portion of the memory array.