UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 67676

LogiCORE Video PHY Controller v2.0 - How are the HDMI GT Reference clocks selected in the Video PHY GUI passed to the Driver in Vivado SDK?

Description

How are the HDMI GT Reference clocks selected in the Video PHY GUI passed to Driver in Vivado SDK?

Solution

The values for the reference clock selection are passed to the Vivado SDK Driver for initialization of the Video PHY Controller through constraints in the xparameters.h file.

This applies for the HDMI RX Reference Clock, the HDMI TX Reference Clock and the HDMI DRU Reference Clock.

The Video PHY then looks up these values using the XVphy_LookupConfig() function.

It then uses these constants to Initialize the Video PHY Controller in the XVphy_HdmiInitialize() function.

The parameters are:

  • #define XPAR_VID_PHY_CONTROLLER_0_TX_REFCLK_SEL 1
  • #define XPAR_VID_PHY_CONTROLLER_0_RX_REFCLK_SEL 0
  • #define XPAR_VID_PHY_CONTROLLER_0_NIDRU_REFCLK_SEL 3

Note: VID_PHY_CONTROLLER_0 will change based on the component name used in the Vivado Block Design.


If you want to override these values, make the changes between the XVphy_LookupConfig() and XVphy_HdmiInitialize() functions in your main() function.

Linked Answer Records

Master Answer Records

AR# 67676
Date Created 08/05/2016
Last Updated 08/18/2016
Status Active
Type General Article
IP
  • Video PHY Controller
  • HDMI