HDMI PHY Intel FPGA IP User Guide

ID 732147
Date 7/20/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

5.1. Architecture

Figure 4. HDMI RX PHY Architecture

The HDMI RX PHY performs the following main functions:

  • Allow software to switch the transceiver reference clock from the fr_clk to the rx_tmds_clk. RX PHY includes a free running fr_clk as reference clock 0 to handle the specific HDMI use case where no refclk to the transceiver due to the HDMI cable is not plugged in (refclk to the transceiver is coming from the HDMI RX connector). When input refclk of the transceiver is absent, power-up calibration might take long time to complete.
  • Reconfig Management block measures frequency of the incoming HDMI TMDS clock (rx_tmds_clk) to determine the received video pixel rate.
  • Reconfigure the RX transceivers according to the received video pixel rate.
  • Generate video clock (vid_clk) and link-speed clock (ls_clk) from rx_tmds_clk.
  • Recover serial HDMI data and output parallel HDMI RX data.

Software accesses the transceiver reconfiguration registers via the av_mm_control bus and the Avalon Bridge, which directs accesses for the corresponding address range to the transceiver reconfiguration registers. The Avalon Mux must be setup accordingly via the RX_RCFG_EN bit—Refer RX PHY Address Map.

Various other registers are provided for the software (refer RX PHY Address Map). These provide various statuses and controls, and some debug information to the controlling software.

The IOPLL takes the rx_tmds_clk and generates a reference clock for the RX transceiver’s CMU or CDR PLL as well as vid_clk and ls_clk which are connected to the HDMI RX core.

Oversampling operates on the RX side in case the data received is below the minimum data rate of the transceiver at 1 Gbps. For example, a video resolution with TMDS Bit Rates of 742.5 Mbps should configure the transceiver to operate at 5 times its data rate, which is 3.7125 Gb/s. The oversampling factor on the RX is set to 5 and so for data rates less than 1Gbps, the IOPLL produces a CMU or CDR reference clock of 5 x rx_tmds_clk frequency.

The frequency of ls_clk, is the TMDS data rate per lane per 20. Note that when oversampling is active, the transceiver data rate is 5 times higher than the TMDS data rate.

The vid_clk frequency depends also on the color depth:

vid_clk frequency = data rate per lane / color depth ratio

Table 8.  Color Depth Ratio
Bits per Color Color Depth Ratio
8 1.0
10 1.25
12 1.5
16 2.0