Two-Stage MRAM Encoder for Compact Unary Code Conversion

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

MRAM cells exhibit process variations leading to overlapping resistance values for high and low states, causing read errors and inefficiencies due to large area occupation and high standby currents in conventional unary code encoders.

Innovation Solution

Implement a 7:1 decoder with logic gate input swapping to exploit the symmetric characteristic of unary codes, reducing the encoder area by 22% and standby currents by 15.3% through a 4-bit input-to-15-bit output gray code-to-unary code encoder.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional unary code encoders are used in MRAM, then encoding function is provided, but encoder area occupation is large and standby currents are high

Engineering Contradiction:
Improveencoding functionVSAvoidencoder area
Core Design Contradiction:
ReliabilityVSArea of stationary object

Solution Approach 1:

The encoder is divided into two stages: a first stage that receives and decodes a first input to produce a first output, and a second stage that converts the first input and a second input from a first coding system to a second coding system. This segmentation allows each stage to perform a specific function with optimized resource usage, reducing the overall encoder area while maintaining encoding capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transitions from a single-stage encoder design to a two-stage encoder architecture, adding a temporal and functional dimension to the encoding process. The first stage handles initial decoding and the second stage handles code conversion, effectively distributing the encoding workload across different operational dimensions rather than concentrating it in a single large block.

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

2Reliability

If conventional unary code encoders are used in MRAM, then encoding function is provided, but standby currents are high

Engineering Contradiction:
Improveencoding functionVSAvoidstandby current
Core Design Contradiction:
ReliabilityVSUse of energy by stationary object

Solution Approach 1:

The encoder is divided into two stages: a first stage that receives and decodes a first input to produce a first output, and a second stage that converts the first input and a second input from a first coding system to a second coding system. This segmentation allows each stage to perform a specific function with optimized resource usage, reducing the overall encoder area while maintaining encoding capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transitions from a single-stage encoder design to a two-stage encoder architecture, adding a temporal and functional dimension to the encoding process. The first stage handles initial decoding and the second stage handles code conversion, effectively distributing the encoding workload across different operational dimensions rather than concentrating it in a single large block.

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

3Ease of manufacture

If process variations are present in MRAM cells, then manufacturing is feasible, but resistance values overlap between high and low states causing read errors

Engineering Contradiction:
Improvemanufacturing feasibilityVSAvoidread accuracy
Core Design Contradiction:
Ease of manufactureVSReliability

Solution Approach 1:

The encoder implements compensation mechanisms that anticipate and counteract the effects of process variations before they cause read errors. By pre-calculating and applying correction factors based on expected variation ranges, the system cushions against the harmful effects of resistance value overlap, ensuring accurate reading despite manufacturing tolerances.

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

Solution Approach 2:

The encoder uses feedback mechanisms to detect and correct for process variations in real-time. By monitoring the resistance values and comparing them against expected ranges, the system can dynamically adjust its operation to compensate for variations, maintaining read accuracy even when manufacturing process deviations cause resistance overlap between high and low states.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12603662B2Encoder
Publication Date: 2026.04.14 TAIWAN SEMICONDUCTOR MANUFACTURING CO LTD
  • US12603662B2 patent drawing
  • US12603662B2 patent drawing
  • US12603662B2 patent drawing

AI summary

An encoding system may be provided. The encoding system may comprise a first stage and a second stage. The first stage may be configured to receive a first input, decode the first input, and produce a first output comprising the decoded first input. The second stage may be configured to receive a second input, receive the first output from the first stage, and convert the first input and the second input from a first coding system to a second coding system based on the second input and the first output. The second stage may produce a second output comprising the converted first input and the converted second input.