Memory Interface Calibration for DDR Timing and Duty Cycle Skew

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Programmable integrated circuits face challenges in ensuring reliable data transfer due to mismatch between data and clock paths, leading to degraded setup and hold times, especially in high-speed memory interface circuitry with DDR transfers.

Innovation Solution

The memory interface circuitry is calibrated using oversampling techniques to determine accurate timing windows, adjust duty cycle distortion, and align edges to ensure reliable data transfer, and can communicate with multiple memory ranks by determining a suitable range of timing settings that satisfy all ranks.

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 degrades setup and hold times

Engineering Contradiction:
Improvedata transfer rateVSAvoidsetup and hold times
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The patent adjusts timing parameters by varying clock frequency and data rate during calibration to determine optimal setup and hold times. This involves changing operating parameters to find the best timing margins that satisfy both high-speed operation and reliability requirements.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent performs calibration operations before normal memory operation to pre-determine timing windows and skew values. This preliminary action measures actual timing characteristics and configures the memory interface accordingly, ensuring reliable setup and hold times are established before high-speed DDR transfers begin.

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

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

Engineering Contradiction:
Improveconfiguration flexibilityVSAvoidtiming characteristics
Core Design Contradiction:
Adaptability or versatilityVSMeasurement precision

Solution Approach 1:

The patent implements a feedback mechanism where the memory interface measures actual timing characteristics during calibration and uses these measurements to adjust timing windows and skew compensation values. This closed-loop approach adapts to varying trace lengths and ensures accurate timing despite configuration differences.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent makes timing windows and skew values dynamic rather than fixed. The calibration process determines optimal values based on actual system characteristics, allowing the timing parameters to adapt to different circuit board configurations and trace lengths while maintaining measurement precision.

Inventive Principle:
Principle #15Dynamics

3Measurement precision

If oversampling techniques are used to improve timing window edge accuracy, then measurement precision is improved, but calibration time increases

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

Solution Approach 1:

The patent uses oversampling during calibration to achieve high measurement precision for timing window edges, accepting the temporary increase in calibration time as a one-time cost. The excessive sampling action ensures accurate timing characterization that benefits all subsequent high-speed operations.

Inventive Principle:
Principle #16Partial or excessive action

4Reliability

If duty cycle distortion is reduced through separate rising/falling delay adjustment, then signal quality is improved, but device complexity increases

Engineering Contradiction:
Improvesignal qualityVSAvoiddelay adjustment circuitry
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies different delay adjustments to rising and falling edges independently, treating each edge transition with localized optimization. This allows separate control of positive and negative edge timing to reduce duty cycle distortion while using targeted circuitry only where needed for each edge type.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS9911506B1Methods for memory interface calibration
Publication Date: 2018.03.06 ALTERA CORP
  • US9911506B1 patent drawing
  • US9911506B1 patent drawing
  • US9911506B1 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.