targets/decklink_mini_4k: Generate exact video clocks - #764
Open
enjoy-digital wants to merge 1 commit into
Open
Conversation
The 100MHz input cannot generate the requested 148.5MHz, 594MHz and 200MHz clocks simultaneously with the 7-series PLL. Vivado consequently selected 147.5MHz, 590MHz and 196.667MHz, leaving HDMI outside its nominal timing and the IDELAY reference inconsistent with its 200MHz setting. Use the clock-capable 24MHz input and an MMCM for the system, DDR3 and optional HDMI domains. Use the 100MHz input with one auxiliary PLL for exact 200MHz IDELAY and 150MHz SATA reference clocks. Resolve the non-dedicated clock route override from the generated auxiliary PLL input signal instead of hard-coded net names, and declare the two independent clock trees asynchronous.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Problem
The previous CRG requested 148.5MHz, 594MHz and 200MHz outputs from one integer S7 PLL driven at 100MHz. That combination cannot produce the required clocks exactly, so Vivado selected:
Besides moving the HDMI timing away from the requested 1080p60 mode, the 196.667MHz IDELAY clock did not match the
IDELAYE2200MHz reference-frequency setting.The 24MHz input permits an exact MMCM configuration with a 49.5 multiplier and output dividers of 8 and 2. The 100MHz input permits exact 200MHz and 150MHz auxiliary PLL outputs.
Validation
--build --no-compile.--with-video-framebuffer --build --no-compile.Hardware validation of the HDMI output is still requested in #763.
Related to #763.