HDMI/DVI Video Interface

Related Products

Reference Design LogoDVI (Digital Visual Interface) and HDMI (High-Definition Multimedia Interface) have emerged as the dominant standards for connecting digital display devices like a PC monitor and HDTV. DVI only carries uncompressed video data, whereas HDMI can transfer both uncompressed digital video and multi-channel audio over a single cable. Developed specifically to address the unique requirements of the consumer electronics market, HDMI offers additional enhancements including the support of the YCbCr color space format, and the universal remote control capability through Consumer Electronics Control (CEC) protocol. HDMI-enabled display devices are backward-compatible with DVI-based PCs so users can display the PC contents on their HDTV.

DVI is a video interface standard created by the Digital Display Working Group (DDWG) to replace the legacy analog VGA connector standard. It is designed for carrying uncompressed digital video data to a display. This reference design focuses on DVI-D mode. DVI handles a single-link bandwidth up to 165 MHz and thus supports UXGA and HDTV with resolutions up to 1600 x 1200 at 60 Hz. Higher resolutions can be supported with reduced blanking periods or with a dual-link connection.

HDMI is an industry-supported, all-digital audio/video interface for transmitting both uncompressed digital video and multi-channel audio over a single connector and cable that replaces various cables behind the home entertainment center. HDMI can carry eight channels of 192 kHz, 24-bit uncompressed audio, or any flavor of compressed audio format such as Dolby or DTS. HDMI has the capacity to support existing high-definition video formats such as 720p, 1080i, and 1080p. Because HDMI is electrically compatible with the DVI signal, no signal conversion is required, nor is there a loss of video quality when a DVI-to-HDMI adapter is used.

Reference Designs

Two separate reference designs are implemented for demonstration:

  1. features the HDMI interface
  2. features the DVI interface

Both reference designs have been validated using the LatticeECP3 Video Protocol Board and HDMI Mezzanine Card. The reference design consists of the HDMI Transmitter and Receiver cores which are compatible with both HDMI and DVI physical layer protocols. You can use this design to evaluate the SERDES-based HDMI/DVI physical layer solution for your specific application.

HDMI Loopback Demonstration

In the loopback demonstration, the incoming HDMI signal is split into the video and data components and looped back through the output. In addition to this various maipulations are possible on both the data as well as the video.


  • SERDES-based DVI and HDMI interface supports data rate up to 1.65 Gbps
  • Shared TMDS Encoder and Decoder for both DVI and HDMI data
  • Supports arbitrary HSYNC/VSYNC polarity
  • PCS Embedded Word Alignment and FPGA FIFO-based Channel Alignment
  • Multi-Channel Alignment exceeds the inter-channel skew requirements of DVI and HDMI specifications
  • Emulated Extended Display Identification Data (EDID) support for DVI

Jump to

Block Diagram

HDMI/DVI Video Interface HDMI Loopback Demonstration

Performance and Size

Device Family Tested Devices* Module Name Design Size Performance Revision
LatticeECP3™ 1 LFE3-95EA-7FN1156C hdmi_reciever 1006 LUTs 164 MHz 1.3
hdmi_transmitter 433 LUTs >165 MHz

1. Performance and utilization characteristics are generated using LFE3-95EA-7FN1156C with Lattice Diamond 3.1 design software.

* May work in other devices as well.

Note: The performance and design sizes shown above are estimates only. The actual results may vary depending upon the chosen parameters, timing constraints, and device implementation. See the design's documentation for details. All coding and design work was done on a PC platform unless noted otherwise.


Quick Reference
Technical Resources
Select All
LatticeECP3 Video Protocol Board - Revision C - User's Guide
EB52 01.3 10/4/2012 PDF 4.8 MB
HDMI/DVI Loopback Demo User's Guide
UG36 1.0 5/22/2013 PDF 2.2 MB
HDMI Mezzanine Card User's Guide
EB55 1.1 9/24/2012 PDF 1.9 MB
Select All
HDMI/DVI Video Interface Reference Design - Source Code
RD1097 1.5 4/1/2015 ZIP 6.8 MB
HDMI/DVI Video Interface Reference Design
FPGA-RD-02139 1.6 2/5/2021 PDF 1.5 MB

*By clicking on the "Notify Me of Changes" button, you agree to receive notifications on changes to the document(s) you selected.