DRAM Word-Line Protection with Randomized Refresh for Row Hammer

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Dynamic random access memory (DRAM) systems face the row hammer security issue where memory cells interact electrically, causing unintended charge leakage in adjacent memory rows, which can be exploited by malicious operators to change content, leading to device malfunction.

Innovation Solution

A memory device with a protection circuit that includes a random number generator and counter to randomly select and protect vulnerable word lines by generating a random number based on the last refreshed and accessed word line addresses, ensuring the counter counts down within a predetermined activation limit to refresh adjacent word lines.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If DRAM systems perform periodic refresh cycles to maintain charge in capacitors, then data retention is improved, but adjacent word lines are vulnerable to row hammer attacks causing unintended charge leakage

Engineering Contradiction:
Improvedata retentionVSAvoidcharge leakage in adjacent word lines
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The protection circuit performs preliminary actions by refreshing adjacent word lines before they are actually attacked. The counter monitors activation counts of word lines, and when a threshold is reached, the circuit proactively refreshes adjacent word lines to prevent row hammer effects, rather than waiting for damage to occur.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The protection circuit implements feedback by continuously monitoring the activation count of word lines through the counter. When the activation count exceeds the threshold, the circuit generates a protection signal to refresh adjacent word lines. This closed-loop feedback mechanism ensures that protection actions are triggered based on actual usage patterns, preventing charge leakage while maintaining data retention.

Inventive Principle:
Principle #23Feedback

2Productivity

If the same word line is activated multiple times to access data, then data retrieval is improved, but row hammer effect is triggered causing charge leakage in adjacent word lines

Engineering Contradiction:
Improvedata access speedVSAvoidcharge leakage in adjacent word lines
Core Design Contradiction:
ProductivityVSObject-generated harmful factors

Solution Approach 1:

The protection circuit converts the harmful row hammer effect into a beneficial protection mechanism. By monitoring activation counts and using the counter to trigger refresh operations on adjacent word lines, the circuit transforms the vulnerability caused by repeated activations into a protective feature that prevents charge leakage while maintaining normal data access operations.

Inventive Principle:
Principle #22Blessing in disguise (Convert harm into benefit)

Solution Approach 2:

The circuit performs preliminary protection by refreshing adjacent word lines before they are attacked. The counter monitors activation patterns, and when the threshold is approached, the protection circuit proactively refreshes adjacent word lines to prevent row hammer effects, rather than waiting for damage to occur.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If all word lines are refreshed during each refresh cycle, then data integrity is improved, but memory access time and energy consumption increase

Engineering Contradiction:
Improvedata integrityVSAvoidmemory access time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The protection circuit applies local quality by selectively refreshing only adjacent word lines that are vulnerable to row hammer attacks, rather than refreshing all word lines uniformly. This targeted approach maintains data integrity for protected word lines while reducing the overall time and energy consumption associated with comprehensive refresh operations.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The circuit performs partial action by refreshing only the necessary adjacent word lines that are at risk of row hammer effects, rather than performing excessive full refresh operations on all word lines. This partial refresh strategy maintains data integrity for critical word lines while optimizing memory access time and energy consumption.

Inventive Principle:
Principle #16Partial or excessive action

4Reliability

If a protection mechanism is added to prevent row hammer attacks, then security is improved, but device complexity increases

Engineering Contradiction:
Improvesecurity against row hammer attacksVSAvoidprotection circuit structure
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The protection circuit achieves universality by integrating multiple functions into a single circuit structure. The counter serves both as an activation count monitor and as a trigger for protection operations. The circuit combines monitoring, decision-making, and execution functions in one unified structure, reducing overall device complexity while maintaining security against row hammer attacks.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The protection circuit implements self-service by automatically monitoring activation counts and triggering protection operations without external intervention. The counter continuously tracks word line activations, and when the threshold is reached, the circuit autonomously generates protection signals to refresh adjacent word lines, eliminating the need for complex external control mechanisms.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS12354641B2Memory devices selecting and protecting a possible attacked word line based on the previous refreshed word lines and the relevant methods
Publication Date: 2025.07.08 NAN YA TECH
  • US12354641B2 patent drawing
  • US12354641B2 patent drawing
  • US12354641B2 patent drawing

AI summary

A memory device and a method for protecting the same are provided. The memory device includes a controller configured to refresh a first word line and a first protected word line during a first refresh cycle in response to a refresh signal, a random number generator configured to receive an address of the first word line and an address of the first protected word line to generate a first number, a counter electrically coupled to the random number generator. The counter is configured to receive the first number as an initial value of the counter, and configured to be turned on in response to the refresh signal. The controller is configured to obtain an address of a second accessed word line being accessed when the counter counts down to zero, and refresh a second protected word line, adjacent to the second accessed word line, during a second refresh cycle.