ST-MRAM ECC Write Scheme Using Majority Bit Inversion

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Spin-torque magnetoresistive random access memory (ST-MRAM) faces challenges in scalability due to increasing variability in magnetic tunnel junction (MTJ) resistance and high switching currents, which limit its ability to maintain high density and fast write speeds, and the integration of error correction codes (ECC) further delays memory access.

Innovation Solution

A method and apparatus for reading and writing ST-MRAM that employs ECC, calculates error correction bits using either an even or odd number of data bits, inverts data bits based on majority detection, and stores inversion status bits to minimize write current pulses and reduce power consumption, thereby managing memory access delays in high-bandwidth systems.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If error correction codes (ECC) are integrated into ST-MRAM, then data integrity is improved, but memory access time increases

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

Solution Approach 1:

The patent performs ECC calculations and majority detection in advance during the write operation preparation phase, before the actual memory write occurs. This preliminary processing allows error correction to be ready beforehand, reducing the impact on memory access time while maintaining data integrity.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent integrates ECC operations into the existing memory access pipeline, allowing error correction calculations to proceed continuously alongside normal memory operations rather than as separate interrupting steps, thereby minimizing additional access time delays.

Inventive Principle:
Principle #20Continuity of useful action

2Speed

If write current pulse duration is reduced, then write speed is improved, but switching current requirements increase

Engineering Contradiction:
Improvewrite speedVSAvoidswitching current requirements
Core Design Contradiction:
SpeedVSPower

Solution Approach 1:

The patent employs majority detection and data inversion techniques that change the operational parameters of write operations. By detecting the majority state and inverting data when beneficial, the system optimizes current pulse characteristics, reducing the duration and magnitude of switching currents while maintaining effective writing speed.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The majority detection mechanism allows the memory system to automatically determine the optimal write strategy based on the current state of data bits, self-adjusting the current pulse parameters to minimize power consumption while achieving the required write speed.

Inventive Principle:
Principle #25Self-service

3Quantity of substance

If MTJ dimensions are decreased, then storage density is improved, but resistance variability increases

Engineering Contradiction:
Improvestorage densityVSAvoidresistance variability
Core Design Contradiction:
Quantity of substanceVSManufacturing precision

Solution Approach 1:

The patent implements majority detection that monitors the resistance states of multiple MTJ cells and uses this feedback information to determine the appropriate write operation. This feedback mechanism compensates for resistance variability by detecting the collective state rather than relying on individual cell resistance precision, enabling higher density with smaller MTJ dimensions.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

By changing from individual cell read/write operations to majority-based operations that consider multiple cells, the patent transforms the operational parameters to be more tolerant of resistance variability, allowing smaller MTJ dimensions and higher storage density without being constrained by manufacturing precision limitations.

Inventive Principle:
Principle #35Parameter changes

4Ease of operation

If select device current capacity is increased, then write capability is improved, but device complexity increases

Engineering Contradiction:
Improvewrite capabilityVSAvoidselect device complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent uses majority detection to determine whether a write operation is actually needed by comparing the new data with the existing majority state. This partial action approach avoids unnecessary write operations, reducing the current capacity requirements of select devices while maintaining full write capability when needed, thereby reducing device complexity.

Inventive Principle:
Principle #16Partial or excessive action

Applied Scientific Principles

This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.

Function Achieved in This Case

This approach reduces memory write operation time, minimizes power consumption, and enhances data integrity by efficiently managing write current pulses and error correction, thereby improving the scalability and performance of ST-MRAM.

Implementation Method 1

The angular momentum carried by the spin-polarized tunneling current causes reversal of the free layer

Methodology Applied
Scientific EffectSpin-torque transfer: Angular Momentum

Implementation Method 2

exhibits an electrical resistance that depends on the magnetic state of the device

Methodology Applied
Scientific EffectMagnetoresistance: Magnetoresistance

Data Source

PatentEP2671155B1Method of reading and writing to a spin torque magnetic random access memory with error correcting code
Publication Date: 2017.10.11 EVERSPIN TECHNOLOGIES INC
  • EP2671155B1 patent drawingFigure 1~2
  • EP2671155B1 patent drawingFigure 3~4
  • EP2671155B1 patent drawingFigure 5

AI summary

A method includes destructively reading bits of a spin torque magnetic random access memory, using error correcting code (ECC) for error correction, and storing inverted or non-inverted data in data-store latches. When a subsequent write operation changes the state of data-store latches, parity calculation and majority detection of the bits are initiated. A majority bit detection and potential inversion of write data minimizes the number of write current pulses. A subsequent write operation received within a specified time or before an original write operation is commenced will cause the majority detection operation to abort.