Memory Interface Calibration for DDR Timing Skew Correction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Programmable integrated circuits face challenges in ensuring reliable data transfer due to variability in data and clock path timing characteristics, leading to potential skew and faulty operations, especially in high-speed memory interfaces with DDR transfers.

Innovation Solution

The memory interface circuitry is calibrated to determine valid timing windows and correct for duty cycle distortion by adjusting signal delays, ensuring accurate alignment of data and strobe signals with the system clock, and optimizing settings for multiple memory ranks to maintain reliable read and write operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If memory interface circuitry operates at high speed with DDR transfers, then data transfer rate is improved, but timing skew between data and clock paths increases causing faulty operations

Engineering Contradiction:
Improvedata transfer rateVSAvoidtiming accuracy
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The patent performs timing calibration before actual data transfer operations. The memory interface circuitry determines valid timing windows and adjusts delays in advance, ensuring that when high-speed DDR transfers occur, the timing parameters are already optimized for that specific hardware configuration, preventing skew-related failures during operation

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements dynamic timing adjustment by determining valid timing windows through calibration and using these windows to adaptively adjust delay parameters. The system can recalibrate timing parameters based on observed performance, allowing the interface to maintain reliability even as operating conditions change during high-speed operation

Inventive Principle:
Principle #15Dynamics

2Adaptability or versatility

If circuit board trace lengths vary between systems, then adaptability to different configurations is improved, but timing characteristics become unpredictable causing skew

Engineering Contradiction:
Improveconfiguration flexibilityVSAvoidtiming characteristic predictability
Core Design Contradiction:
Adaptability or versatilityVSMeasurement precision

Solution Approach 1:

The memory interface circuitry performs self-calibration by automatically determining its own valid timing windows through calibration operations. The system uses internal resources to measure its actual timing characteristics and adjusts its parameters without requiring external intervention or pre-known trace length information, making it adaptable to any board configuration

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent changes timing parameters dynamically based on measured performance. By determining valid timing windows through calibration and adjusting delay parameters accordingly, the system adapts to different trace lengths and board configurations, transforming a fixed-parameter design into one that automatically optimizes its timing characteristics for each specific installation

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If timing window edges are determined with high accuracy, then data transfer reliability is improved, but calibration time and complexity increase

Engineering Contradiction:
Improvetiming window accuracyVSAvoidcalibration time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The calibration process uses feedback from actual read and write operations to determine timing window edges. By monitoring whether operations succeed or fail and adjusting timing parameters based on this feedback, the system converges on accurate timing windows efficiently, balancing precision with calibration time

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent uses oversampling techniques during calibration, taking more measurements than the absolute minimum required. This excessive action provides more data points for determining timing window edges, improving accuracy while the systematic approach to processing these samples keeps calibration time manageable

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS9558849B1Methods for memory interface calibration
Publication Date: 2017.01.31 ALTERA CORP
  • US9558849B1 patent drawing
  • US9558849B1 patent drawing
  • US9558849B1 patent drawing

AI summary

Integrated circuits with memory interface circuitry may be provided. Prior to calibration, a number of samples may be determined by computing probability density function curves as a function of timing window edge asymmetry for different degrees of oversampling. During calibration, duty cycle distortion in data strobe signals may be corrected by selectively delaying the data strobe rising or falling edges. A data clock signal that is used for generating data signals may also suffer from duty cycle distortion. The rising and falling edges of the data clock signal may be selectively delayed to correct for duty cycle distortion. The data path through which the data signals are routed may be adjusted to equalize rising and falling transitions to minimize data path duty cycle distortion. Multi-rank calibration may be performed by calibrating to an intersection of successful settings that allow each memory rank to pass memory operation tests.