Memory Interface Calibration for DDR Timing Skew and Duty Cycle

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Programmable integrated circuits face challenges in ensuring reliable data transfer due to varying lengths of circuit board traces, leading to mismatch between data and clock paths, which results in degraded setup and hold times, especially in high-speed memory interface circuitry using double data rate 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, with the ability to communicate with multiple memory ranks and adjust settings independently to satisfy all timing requirements.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If memory interface circuitry operates at high speeds using double data rate transfers, then data transfer rate is improved, but timing skew between data and clock paths causes degraded setup and hold times

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

Solution Approach 1:

The patent adjusts timing parameters by varying clock phase and data strobe timing to optimize setup and hold times. The system dynamically changes timing parameters to compensate for skew caused by high-speed operation, ensuring reliable data transfer at increased data rates.

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If circuit board trace lengths vary between different systems, then adaptability to diverse configurations is improved, but timing characteristics become unpredictable causing mismatch between data and clock paths

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

Solution Approach 1:

The patent performs preliminary calibration operations before normal data transfer to establish accurate timing windows. By pre-determining the timing characteristics through calibration sequences, the system compensates for variations in trace lengths and ensures predictable timing behavior across different configurations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system uses feedback from calibration operations to adjust timing parameters. By measuring actual timing characteristics during calibration and using this information to fine-tune clock and data strobe timing, the system achieves accurate synchronization despite variations in physical trace lengths.

Inventive Principle:
Principle #23Feedback

3Measurement precision

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

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

Solution Approach 1:

The patent uses oversampling to take more samples than the absolute minimum required, providing a statistical margin to confidently determine timing window edges. By analyzing multiple samples and using probability density functions, the system achieves high precision while managing calibration time through efficient statistical analysis.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS10332612B2Methods for memory interface calibration
Publication Date: 2019.06.25 ALTERA CORP
  • US10332612B2 patent drawing
  • US10332612B2 patent drawing
  • US10332612B2 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.