Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
User Guide
HDMI RX
Microsemi makes no warranty, representation, or guarantee regarding the information contained herein or the suitability of
its products and services for any particular purpose, nor does Microsemi assume any liability whatsoever arising out of the
application or use of any product or circuit. The products sold hereunder and any other products sold by Microsemi have
been subject to limited testing and should not be used in conjunction with mission-critical equipment or applications. Any
performance specifications are believed to be reliable but are not verified, and Buyer must conduct and complete all
performance and other testing of the products, alone and together with, or installed in, any end-products. Buyer shall not
Microsemi Headquarters
rely on any data and performance specifications or parameters provided by Microsemi. It is the Buyer’s responsibility to
One Enterprise, Aliso Viejo, independently determine suitability of any products and to test and verify the same. The information provided by Microsemi
CA 92656 USA hereunder is provided “as is, where is” and with all faults, and the entire risk associated with such information is entirely
Within the USA: +1 (800) 713-4113 with the Buyer. Microsemi does not grant, explicitly or implicitly, to any party any patent rights, licenses, or any other IP
Outside the USA: +1 (949) 380-6100 rights, whether with regard to such information itself or anything described by such information. Information provided in this
Sales: +1 (949) 380-6136 document is proprietary to Microsemi, and Microsemi reserves the right to make any changes to the information in this
Fax: +1 (949) 215-4996 document or to any products and services at any time without notice.
Email: sales.support@microsemi.com
www.microsemi.com
About Microsemi
©2019 Microsemi, a wholly owned Microsemi, a wholly owned subsidiary of Microchip Technology Inc. (Nasdaq: MCHP), offers a comprehensive portfolio of
subsidiary of Microchip Technology Inc. All semiconductor and system solutions for aerospace & defense, communications, data center and industrial markets.
rights reserved. Microsemi and the Products include high-performance and radiation-hardened analog mixed-signal integrated circuits, FPGAs, SoCs and
Microsemi logo are registered trademarks of ASICs; power management products; timing and synchronization devices and precise time solutions, setting the world's
Microsemi Corporation. All other trademarks standard for time; voice processing devices; RF solutions; discrete components; enterprise storage and communication
and service marks are the property of their solutions, security technologies and scalable anti-tamper products; Ethernet solutions; Power-over-Ethernet ICs and
midspans; as well as custom design capabilities and services. Learn more at www.microsemi.com.
respective owners.
1 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Revision 1.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
3 Hardware Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
3.1 Phase Aligner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.2 TMDS Decoder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.3 Channel to Channel De-skew . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.4 Display Data Channel (DDC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Microsemi Proprietary and Confidential UG0863 User Guide Revision 1.0 iii
Revision History
1 Revision History
The revision history describes the changes that were implemented in the document. The changes are
listed by revision, starting with the most current publication.
2 Introduction
Microsemi’s HDMI RX IP supports receiving video data according to the HDMI standard specification.
The following are the features for HDMI IP:
• Supports HDMI 2.0
• Supports 8-bits color depth
• Supports resolutions up to 1920x1080 at 60 Hz
• Detects Hot-Plug
• Supports Decoding Scheme – TMDS
• Supports Display Data Channel (DDC) and Enhanced Display Data Channel (E-DDC)
HDMI RX IP is specifically designed for PolarFire devices supporting HDMI 2.0 at resolutions of
1920x1080 up to 60 frames per second with maximum bandwidths up to 4.5 Gbps. RX IP supports Hot
Plug Detect (HPD) for monitoring power on/off and unplug/plug events to indicate communication
between HDMI source and HDMI sink. The HDMI Source uses the DDC to read the Sink’s Extended
Display Identification Data (EDID) to discover the Sink’s configuration and/or capabilities. The HDMI RX
IP has pre-programmed EDID that can be read by a HDMI source through standard I2C channel.
PolarFire device Transceiver is used along with RX IP to de-serialize serial data into 10-bit data. The
data channels in HDMI are allowed to have a considerable skew between them. The HDMI RX IP
removes the skew among the data channels by using FIFOs.
The IP converts the Transition Minimized Differential Signaling (TMDS) data received from HDMI source
through transceiver into 24-bit RGB pixel data and control signals. The 4 standard control tokens
specified in HDMI protocol are used to phase align the data during deserialization.
3 Hardware Implementation
RESET_N_I BIT_SLIP_R_O
LANE_R_RX_CLK_R BIT_SLIP_G_O
R_RX_CLK_I
LANE_R_RX_SLIP
LANE_R_RX_VAL BIT_SLIP_B_O
LANE_R R_RX_VALID_I
LANE_G_RX_SLIP LANE_R_RX_DATA[9:0]
DATA_R_I [9:0]
DATA_VALID_O
LANE_B_RX_SLIP
LANE_G_RX_CLK_R
G_RX_CLK_I
H_SYNC_O
LANE_CLK_RXD[P,N] XCVR LANE_2 LANE_G_RX_VAL
LANE_G
G_RX_VALID_I
LANE_G_RX_DATA[9:0] V_SYNC_O
LANE_R_RXD[P,N] DATA_G_I [9:0]
HDMI RX R_O[7:0]
LANE_G_RXD[P,N]
LANE_B_RX_CLK_R
B_RX_CLK_I
LANE_B_RX_VAL G_O[7:0]
LANE_B_RXD[P,N] LANE_3
LANE_B B_RX_VALID_I
LANE_B_RX_DATA[9:0]
DATA_B_I [9:0] B_O[7:0]
EDID_CLK_I
SCL_I
SDA_I SDA_O
HPD_I HPD_O
E
D PAD SDA
Y
BIBUF
HDMI RX consists of three stages. In the first stage, the phase aligner aligns the parallel data with
respect to control token boundaries using transceiver bit slip. In the second stage, TMDS decoder
converts the 10 bit encoded data into 8 bit video pixel data and 2 bit control signals.
In the third stage, the skew between the clocks of R,G and B lanes is removed using FIFOs.
Blue_vld
Green_vld
R_O [7:0]
G_O [7:0]
CHANNEL
TO
R [7:0] CHANNEL
DE‐SKEW B_O [7:0]
G [7:0]
DATA_R_I [ 9:0]
B [7:0]
DATA_G_I [ 9:0]
TMDS DECODER
DATA_B_I [ 9:0]
HSYNC_O
VSYNC_O
DATA_VALID_O
Red [7:0]
w_data
R_RX_CLK_I
w_clk
red_vld R_O [7:0]
green_vld
blue_vld
w_en FIFO r_data
r_en
B_RX_CLK_I
r_clk
Green [7:0]
w_data
G_RX_CLK_I
w_clk
w_en G_O [7:0]
FIFO r_data
r_en
r_clk
Blue [7:0]
w_data
w_en
r_en B_O [7:0]
FIFO r_data
w_clk
r_clk
4.1 Ports
The following table describes the input and output ports of HDMI RX IP.
SmartDesign testbench is created, and a canvas appears to the right of the Design Flow pane.
4. In the Libero SoC Catalog (View > Windows > Catalog), expand Solutions-Video, and drag the
HDMI RX IP core onto the SmartDesign testbench canvas.
Figure 6 • HDMI RX in Libero SoC Catalog
5. Select all the ports, right-click, and select Promote to Top Level, as shown in the following figure:
6. Click Generate Component from the SmartDesign tool bar, as shown in the following figure:
Figure 8 • Generate Component
7. On Stimulus Hierarchy tab, right-click HDMI_RX_TB testbench file, and click Open Interactively
from Simulate Pre-Synth Design.
The ModelSim tool appears with the test bench file loaded as shown in the following figure:
Figure 10 • ModelSim Tool with HDMI RX Testbench File
If the simulation is interrupted because of the runtime limit in the DO file, use the run -all command to
complete the simulation.
The following diagram shows the hsync and vsync outputs for corresponding control data inputs.
Figure 12 • Horizontal Sync and Vertical Sync Signals
Resource Usage
DFFs 514
4LUTs 710