Mesochronous DDR Synchronization Circuit for Phase Drift Correction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
High-speed data transfer between a system on a chip (SoC) and external DDR SDRAM is challenging due to tight timing requirements and jitter issues, especially when clock signals are distributed to the periphery of the SoC, leading to difficulties in meeting clock and data strobe timing requirements.
Innovation Solution
A memory interface with a synchronization circuit that samples data using a data clock signal, synchronizes it with a clean clock signal, and tracks phase drift, allowing the output to be adjusted by one clock cycle if the phase drift reaches a certain value, thereby addressing the timing and jitter issues.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If clock signals are distributed to the periphery of the SoC for high-speed data transfer, then data transfer speed is improved, but timing requirements and jitter issues worsen
Solution Approach 1:
A synchronization circuit is introduced as an intermediary component between the distributed clock signals and the data path. This circuit receives multiple clock signals, synchronizes them to a reference clock, and generates synchronized data outputs, thereby mediating the timing conflicts caused by clock distribution to peripheral PHY blocks
Solution Approach 2:
The synchronization circuit continuously monitors phase drift between distributed clock signals and the reference clock, and dynamically adjusts sampling timing based on detected phase differences. This feedback mechanism compensates for timing variations and jitter, maintaining reliable data transfer at high speeds
2Adaptability or versatility
If clock signals are distributed to the periphery of the SoC, then device functionality is improved, but jitter issues worsen
Solution Approach 1:
The synchronization circuit acts as a mediator that isolates the jitter inherent in distributed clock signals from the data sampling process. By using a clean reference clock for the feedback mechanism and only using distributed clocks for initial signal capture, the circuit prevents jitter propagation to the synchronized data output
Solution Approach 2:
The synchronization circuit dynamically adjusts its operation based on real-time phase drift detection. The sampling timing is not fixed but continuously adapted to compensate for jitter variations, allowing the system to maintain functionality despite jitter in the distributed clock signals
3Measurement precision
If phase drift tracking is implemented to correct timing issues, then timing precision is improved, but device complexity worsens
Solution Approach 1:
A phase drift detection mechanism provides continuous feedback on timing deviations between distributed and reference clocks. This feedback enables precise timing corrections without requiring complex predictive algorithms, as the system reacts to actual measured phase differences rather than attempting to predict them
Solution Approach 2:
The synchronization circuit performs self-correction by automatically adjusting its sampling timing based on internally detected phase drift. The circuit monitors its own performance and makes real-time adjustments without external intervention, maintaining timing precision while minimizing the need for additional control infrastructure
Data Source
AI summary
A method for data synchronization is provided according to certain embodiments. The method comprises receiving data, a data clock signal, and a clean clock signal, sampling the data using the data clock signal, synchronizing the sampled data with the clean clock signal, and outputting the synchronized sampled data. The method also comprises tracking a phase drift between the data clock signal and the clean clock signal, and pulling in the output of the synchronized sampled data by one clock cycle of the clean clock signal if the tracked phase drift reaches a first value in a first direction.


