SlideShare a Scribd company logo
Introduction
High-Definition Multimedia Interface (HDMI) is an audio/video (A/V) trans-
mission protocol, which is omnipresent in consumer electronics, personal
computing, and mobile products. Modern-day requirements of big screen
resolutions, 3D, and multi-channel/multi-stream audio have pushed display
devices to use a completely digital, high-speed transmission media, requiring a
multi-layered protocol like HDMI.
HDMI 2.0 is the next generation of the popular audio/video high-definition
standard and it is the successor to the current HDMI 1.4a/b specifications.
The oncoming rise of 4K Ultra HD is the reason behind the entry of HDMI 2.0
into the market. Since 4K Ultra HD is four times the resolution of 1080p, the
current HD standard, there is a need for more throughput to handle large
amounts of data. Some of the key features of the HDMI 2.0 specification
include scrambling, character error detection, and dynamic auto lip-sync.
Functional Overview
HDMI is a high-speed, serial, digital signaling system that is designed to
transmit large amounts of digital data over a long cable length with very
high fidelity and reliability. To achieve these goals, HDMI utilizes transition
minimized differential signaling (TMDS), which is optimized for robust digital
data transmission. HDMI 2.0 incorporates scrambling and TMDS encoding of
digital data to reduce electromagnetic interference (EMI) and radio frequency
interference (RFI).
Some of the HDMI key features include 4Kx2K frames, TMDS encoding, scram-
bling, error character detection, BT.2020 colorimetry support, multi-channel
audio, 3D audio, multi-stream audio extension, dynamic auto lip-sync, color
depth, pixel encoding, HDCP, and 3D/3D dual view.
HDMI 2.0 Design and Verification Challenges
Ashish Kumar Sharma, Himanshu Mittal, Maninder Singh, STMicroelectronics, and Rohit Mishra
and Jagvinder Yadav, Cadence
HDMI designs face challenges with respect to run time and memory consumption due to the huge
size of HDMI frames. Scrambling adds more complexity and designs face synchronization and
timing challenges. Similar challenges are faced during the functional verification of systems-on-
chip (SoCs) including HDMI interfaces. These challenges can be addressed using HDMI verification
IP (VIP).
Contents
Introduction..................................1
Functional Overview.....................1
HDMI Block Diagram.....................4
HDMI 2.0 Design Challenges ........4
HDMI 2.0 Verification Challenges..5
HDMI 2.0 Verification IP ...............5
Conclusion ...................................6
Further Information......................7
4Kx2K frames (Ultra HD Video)
4Kx2K frame support allows HDMI to transfer extremely high (4X greater than 1080p) video resolutions. Also
termed as 4K ultra high definition (HD), 4Kx2K frames support 3840 pixels x 2160 lines as well as 4096 pixels x
2160 lines of video. There are several methods of 4Kx2K frame support:
•	 Transfer lower 4K x 2K resolution is achieved by cutting the frame rate to 24Hz (less than half of current frame
rate of 60Hz) and maintaining the current bandwidth of 340MHz.
•	 Transfer full 4K x 2K resolution at 60Hz by using 4:2:0 pixel encoding and 4k2k60 8-bit video resolution at
300MHz.
•	 Transfer full 4K x 2K resolution at 60Hz, at a TMDS clock equal to 600MHz and a data rate equal to 6Gb/s.
TMDS encoding
TMDS encoding is achieved by the transmitting device by reducing the number of transitions between ones and
zeros. While encoding the signal, the transmitting device keeps track of whether and what type of transition
reduction or minimization has been done. The receiving device decodes the data using the same mechanism and
recreates the original digital signal. TMDS encoding thus ensures proper reception of the signal by clearly demar-
cating the beginning and end of each byte.
Scrambling
In HDMI 2.0, scrambling of the digital data is done prior to the TMDS encoding. A linear feedback shift register
(LFSR) is set to a pre-defined seed value for each of the three TMDS channels. The digital data is then scrambled
using specific bits of the LFSR for the respective channel. Each of the three LFSRs is then incremented to its next
state. This process is repeated for every character/pixel being transmitted and is periodically reset once per frame.
Character error detection
Character error detection provides a mechanism for the receiver devices (e.g., SINK) to report the number of
character errors detected. It maintains “error counters” to store number of character errors detected for each
channel. A transmitting device periodically samples the error counters to sense the link quality and make adjust-
ments to the outbound data so as to keep the link error to a minimum.
BT.2020 colorimetry support
The specification proposes optional supports for ITU-R BT.2020 for pixel encodings with 10 or more bits per color
component.
Multi-channel audio
The 22.2 multi-channel audio ensures extremely good sound quality and generates sound impressions with much
closer natural sound than 5.1, 6.1, and 7.1 multi-channel audio formats, which are used in current digital sound
broadcast. Primary channels for 5.1, 6.1, and 7.1 audio formats lie in the middle layer, while the 22.2 multi-channel
audio format allocates channels in front of, to the sides, and in back of the listener. This allows motion of sound
images in forward and backward directions.
3D audio
The specification proposes an audio system where speakers can be placed anywhere in 3D space. 3D audio uses
the channel layouts defined in ITU-R BS.2159-4 (Type B 10.2ch), SMPTE 2036-2 (22.2ch), and IEC 62574 (30.2ch).
3D audio also includes the down-mixed audio streams defined in these standards, provided that the down-mixed
audio stream includes nine or more audio channels.
Multi-stream audio extension
This specification defines a mechanism to concurrently transmit two, three, or four audio streams with the same
sample-per-frame rate when supporting multi-view video streaming (e.g., dual-view gaming with different audio
for each view) or single-view video streaming (e.g., multilingual support).
www.cadence.com 2
HDMI 2.0 Design and Verification Challenges
Dynamic auto lip-sync
A dynamic auto lip-sync (DALS) feature enables synchronization of audio and video in receiver devices that are
capable of dynamically modifying their latency. Receiver devices (SINK) declare their latency information for audio
and video in the extended display identification data (EDID) field. Transmitting devices (SOURCE) choose the best
synchronization mechanism for rendered audio and video data based on the EDID latency field. The HDMI 2.0 DALS
feature allows SINK devices to announce their latency information at any point in transmission so that the SOURCE
devices are aware of the correct latency.
Color depth
Most of today’s consumer electronics devices support rich color capabilities and require a greater precision of color
depth to avoid artifacts such as banding and contouring. HDMI supports deep color modes of 24 bits, 30 bits,
36 bits, and 48 bits. Deep color mode allocation essentially means better picture quality with a large number of
shades of colors.
Pixel encoding
To support the pixel encoding requirements employed by most current-generation consumer electronics devices,
HDMI supports pixel encodings of type RGB 4:4:4, YCbCr 4:4:4, and YCbCr 4:2:2. In addition to the existing
HDMI1.4 pixel-encoding types, HDMI 2.0 also supports YCbCr 4:2:0 pixel encoding.
HDCP
High-bandwidth Digital Content Protection (HDCP) is an encryption mechanism that is used for protection of digital
data across the transmitting and receiving devices. The process of authentication and key exchange makes sure that
the receiver is authorized to receive digitally protected content.
3D/3D dual view
3D video format support was introduced in HDMI1.4b. 3D video formats carry twice as many video pixels at twice
the frequency of a 2D video frame. HDMI supports both progressive and interlaced formats with different layouts
like frame packing, top and bottom (over/under), side-by-side, half/full, etc.
In addition to 3D video formats, HDMI 2.0 supports 3D dual view. 3D dual view signaling combines two 2D video
signals of the same video format type in in a single 3D video format.
www.cadence.com 3
HDMI 2.0 Design and Verification Challenges
HDMI Block Diagram
Figure 1 shows a block diagram of an HDMI transmitter (SOURCE) and a receiving device (SINK) with high-level
functional building blocks.
Video Configuration
(Frame Format, Color Depth,
Pixel Encoding)
Audio Configuration
(Channel Allocation, Sample
Frequency)
Source Device
Frame
Packing
Module
HDCP
Encryption
Module
HDMI Link (TMDS Channel Interface)
TMDS
Encoder
Scrambler
Video Data LFSR
Sink Device
Frame
Unpacking
Module
Original Video Data
(Sent to Display)
LFSR
De-Scrambler
TMDS
Decoder
HDCP
Decryption
Module
Figure 1: Block diagram of an HDMI transmitter (SOURCE) and a receiving device (SINK)
HDMI 2.0 Design Challenges
HDMI 2.0 has several features that pose different design challenges, including a redesign of the DUT blocks and
changes to the state machine.
A re-design of the blocks within the DUT posed the following issues:
•	 A legacy video encoder originally synthesized at 300MHz (HDMI1.4b) needed to be synthesized at 600MHz
(HDMI2.0) to support new functionality. The combinational path needed a re-design to achieve timing closure at
600MHz.
•	 Dense combinational logic blocks needed to be pipelined, including an impacted path from the video input stage
to TMDS encoder block.
•	 Due to new timing constraints, several blocks need to be re-designed or re-timed, plus misalignment of control
logic between the video sink and video data.
•	 Sink VIP helped validate the frequency requirement, providing the ability to track the expected output.
www.cadence.com 4
HDMI 2.0 Design and Verification Challenges
The state machine was extended and changed to support the following features:
•	 New state “scrambling_enb” in legacy-design state machine to support scrambling for EMI/RFI reduction at
TMDS bit rate of lesser then or greater than 3.4Gb/s.
•	 Dynamic nature of 8-bit unscrambled control period and LFSR functionality.
•	 Scrambling using the linear feedback shift register (LFSR). The LFSR state advances by eight cycles per TMDS
character, adding more complexity to the 600MHz design. The LFSR logic in the source DUT was verified
effectively by validating the data decoded by the sink VIP on all the three channels.
•	 At the source side, all video data and data islands are scrambled.
•	 On the sink side (VIP), scrambled video pixels and data islands are extracted, decoded, and unscrambled correctly
without losing the LFSR synchronization.
•	 To support CTS testing feature, specification proposes to send SSCP every one or more horizontal lines.
•	 VIP also supports complex CTS testing requirements laid down by the HDMI2.0 specification:
–
– Capable of handling one SSCP per one or more horizontal lines.
–
– Re-initialize its LFSRs for all three data channels, whenever it determines that it has received unscrambled
control characters simultaneously on all the data channels. This features helps in speeding up the verification
of the DUT from the CTS testing perspective.
HDMI 2.0 Verification Challenges
HDMI protocol verification complexity is increasing exponentially with every protocol iteration from HDMI 1.3x
and 1.4x, to 2.0, due to the addition of new frame formats, packet types, encryption, encoding, scrambling, etc.
Apart from the protocol complexity, video verification mandates huge video frames, complex data structures with
multiple layers, and handling multiple streams, all the time ensuring that there is no loss of data and synchroni-
zation between the streams. Encoding, scrambling, and encryption of the digital data makes it even more complex
for the VIP to generate and process it at such high speeds.
Development of VIP for such complex protocols is extremely challenging considering that users are looking
to minimize test run time and memory consumption impact, and are looking at using different platforms and
languages for doing verification at the block, sub-system, and SoC levels.
To make sure that the design is properly verified, all the supported video formats must be checked with all the
possible configuration settings, such as frame rate, pixel encoding, color depth, etc. In addition, verification of the
design should cover all audio formats supported with appropriate configuration settings (channel allocation, audio
sample frequency, etc.).
HDMI 2.0 Verification IP
Silicon design houses are constantly looking to reduce the time to market for their products. Extremely aggressive
timelines and limited resource allocation requires them to have highly adaptable test and verification environments
for their SoCs. This essentially means plug-and-play verification components, which are generic in design and
configurable for different environments (e.g., platforms, languages, capabilities, etc.).
To cater to the requirements of a vast majority of silicon design houses, a highly flexible, scalable, and proven
VIP development methodology is adopted. The methodology is carefully architected so that the developers have
enough flexibility to add desired VIP-specific capabilities (e.g., protocol checkers, scoreboards or data checkers),
and at the same time keep watch on the memory footprint and CPU run times.
To be able to thoroughly verify the DUT, the VIP must be robust and at the same time provide enough flexibility
and configurability to the user, so as to cover both the typical and corner-case scenarios. Some of the features for
HDMI VIP include:
•	 Static configuration parameters—Constant across different set of frames (e.g., SOURCE/SINK device type,
physical addresses).
•	 Dynamic configuration parameters—May change across frames (e.g., video format, color depth, scrambling
enable/disable).
www.cadence.com 5
HDMI 2.0 Design and Verification Challenges
•	 Customizable frame formats—Due to the huge frame sizes (hence large run times), there has been a growing
demand for customizable frame formats to be supported by VIP. Custom frame sizes help users to verify the basic
functionality using smaller frames in less simulation cycles. HDMI VIP supports non-standard frame formats to
enable users to run simulations with smaller frames.
•	 User-controllable options—Provides a robust and wide range of user-controllable options without sacrificing the
run time performance and memory consumption.
•	 Configuration-level, packet-level, and field-level error-injection capabilities.
•	 Frame boundary detection—For both 2D as well as 3D frames by the receiver VIP.
•	 Detection and automatic switching—Between scrambled and unscrambled modes by receiver VIP while
maintaining LFSR synchronization across frames.
•	 On-the-fly data-integrity and signal-integrity checkers, as well as compliance test suite (CTS) checkers—VIP
allows the creation of different CTS test scenarios for all mandatory protocol features (frame formats, audio
formats, etc.) as defined by the HDMI specification.
•	 100% coverage—Most of the VIP users rely on the coverage being reported by the VIP. Cover points for a wide
range of test scenarios are supported to achieve 100% coverage with respect to the user’s verification plan.
Figure 2 shows a testbench configuration with the VIP configured as a source connected with a sink DUT.
Static Configuration:
source_device_type = Tuner
sink_device_type = TV
SOURCE_VIP
Frame Generator
and Random
Exerciser
SINK_DUT
Dynamic Configuration:
// protocol config
video format = F720x480P60Hz
pixel_encoding = [RGB,YCbCr444]
color_depth = [B24,B30,B36]
audio_type = ONE_BIT_AUDIO
sample_frequency = F32K
// VIP config
scrambling_enable = ON
enable_scoreboarding = OFF
inject_packet_error = RANDOM
Figure 2. VIP configured as HDMI source for sink DUT
Conclusion
HDMI designs face challenges with respect to run time and memory consumption due to the huge size of HDMI
frames. Scrambling adds more complexity and designs face synchronization and timing challenges. Similar
challenges are faced during the HDMI verification. These challenges can be addressed using HDMI VIP with the
following capabilities:
•	 Non-standard features that allow the verification of a large number of scenarios with less simulation time and
memory consumption.
•	 Layered and scalable architecture of HDMI VIP provides a smooth and timely migration from the IP-level verifi-
cation environment to the SoC-level verification environment.
•	 Reusability of tests across simulation and acceleration environments.
•	 Use of HDMI VIP to reduce the overall verification effort.
www.cadence.com 6
HDMI 2.0 Design and Verification Challenges
Further Information
1.	Speed Design of Ultra HD Displays with Cadence HDMI 2.0 Verification IP:
www.cadence.com/cadence/newsroom/features/Pages/HDMI2_0.aspx
2.	HDMI Forum—HDMI 2.0 Overview:
www.hdmi.org/manufacturer/hdmi_2_0/index.aspx
Cadence Design Systems enables global electronic design innovation and plays an essential role in the
creation of today’s electronics. Customers use Cadence software, hardware, IP, and expertise to design
and verify today’s mobile, cloud and connectivity applications. www.cadence.com www.cadence.com
© 2013 Cadence Design Systems, Inc. All rights reserved. Cadence and the Cadence logo are registered trademarks of Cadence Design Systems, Inc.
1332 09/13 SA/DM/PDF
HDMI 2.0 Design and Verification Challenges

More Related Content

Similar to White_Paper-Simulation_VIP-HDMI-ST-pdf.pdf

Similar to White_Paper-Simulation_VIP-HDMI-ST-pdf.pdf (20)

GPU - HD Video White Paper
GPU - HD Video White PaperGPU - HD Video White Paper
GPU - HD Video White Paper
 
Beginning of dtv
Beginning of dtvBeginning of dtv
Beginning of dtv
 
Mips track a
Mips   track aMips   track a
Mips track a
 
36-arris-hmc3021
36-arris-hmc302136-arris-hmc3021
36-arris-hmc3021
 
Hdmi
HdmiHdmi
Hdmi
 
HDMI
HDMIHDMI
HDMI
 
Hdmi
Hdmi Hdmi
Hdmi
 
HDMI
HDMIHDMI
HDMI
 
H263.ppt
H263.pptH263.ppt
H263.ppt
 
H264 final
H264 finalH264 final
H264 final
 
SurfRider/AMC™ - Modular DSP Resource Board
SurfRider/AMC™ - Modular DSP Resource BoardSurfRider/AMC™ - Modular DSP Resource Board
SurfRider/AMC™ - Modular DSP Resource Board
 
Video Compression Technology
Video Compression TechnologyVideo Compression Technology
Video Compression Technology
 
Surf Communication Solutions - Surf Rider Amc
Surf Communication Solutions - Surf Rider AmcSurf Communication Solutions - Surf Rider Amc
Surf Communication Solutions - Surf Rider Amc
 
Applications - embedded systems
Applications - embedded systemsApplications - embedded systems
Applications - embedded systems
 
Presentazione Broadcast H.265 & H.264 Sematron Italia - Maggio 2016
Presentazione Broadcast H.265 & H.264 Sematron Italia  - Maggio 2016Presentazione Broadcast H.265 & H.264 Sematron Italia  - Maggio 2016
Presentazione Broadcast H.265 & H.264 Sematron Italia - Maggio 2016
 
STREAMING and BROADCASTING CHEAT SHEET
STREAMING and BROADCASTING CHEAT SHEETSTREAMING and BROADCASTING CHEAT SHEET
STREAMING and BROADCASTING CHEAT SHEET
 
09a video compstream_intro_trd_23-nov-2005v0_2
09a video compstream_intro_trd_23-nov-2005v0_209a video compstream_intro_trd_23-nov-2005v0_2
09a video compstream_intro_trd_23-nov-2005v0_2
 
My Profile
My ProfileMy Profile
My Profile
 
S ti5202
S ti5202S ti5202
S ti5202
 
HDMI
HDMIHDMI
HDMI
 

Recently uploaded

Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Thierry Lestable
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform EngineeringJemma Hussein Allen
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaRTTS
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsExpeed Software
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...Product School
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Product School
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Alison B. Lowndes
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupCatarinaPereira64715
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Product School
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...Product School
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesBhaskar Mitra
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsVlad Stirbu
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor TurskyiFwdays
 

Recently uploaded (20)

Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 

White_Paper-Simulation_VIP-HDMI-ST-pdf.pdf

  • 1. Introduction High-Definition Multimedia Interface (HDMI) is an audio/video (A/V) trans- mission protocol, which is omnipresent in consumer electronics, personal computing, and mobile products. Modern-day requirements of big screen resolutions, 3D, and multi-channel/multi-stream audio have pushed display devices to use a completely digital, high-speed transmission media, requiring a multi-layered protocol like HDMI. HDMI 2.0 is the next generation of the popular audio/video high-definition standard and it is the successor to the current HDMI 1.4a/b specifications. The oncoming rise of 4K Ultra HD is the reason behind the entry of HDMI 2.0 into the market. Since 4K Ultra HD is four times the resolution of 1080p, the current HD standard, there is a need for more throughput to handle large amounts of data. Some of the key features of the HDMI 2.0 specification include scrambling, character error detection, and dynamic auto lip-sync. Functional Overview HDMI is a high-speed, serial, digital signaling system that is designed to transmit large amounts of digital data over a long cable length with very high fidelity and reliability. To achieve these goals, HDMI utilizes transition minimized differential signaling (TMDS), which is optimized for robust digital data transmission. HDMI 2.0 incorporates scrambling and TMDS encoding of digital data to reduce electromagnetic interference (EMI) and radio frequency interference (RFI). Some of the HDMI key features include 4Kx2K frames, TMDS encoding, scram- bling, error character detection, BT.2020 colorimetry support, multi-channel audio, 3D audio, multi-stream audio extension, dynamic auto lip-sync, color depth, pixel encoding, HDCP, and 3D/3D dual view. HDMI 2.0 Design and Verification Challenges Ashish Kumar Sharma, Himanshu Mittal, Maninder Singh, STMicroelectronics, and Rohit Mishra and Jagvinder Yadav, Cadence HDMI designs face challenges with respect to run time and memory consumption due to the huge size of HDMI frames. Scrambling adds more complexity and designs face synchronization and timing challenges. Similar challenges are faced during the functional verification of systems-on- chip (SoCs) including HDMI interfaces. These challenges can be addressed using HDMI verification IP (VIP). Contents Introduction..................................1 Functional Overview.....................1 HDMI Block Diagram.....................4 HDMI 2.0 Design Challenges ........4 HDMI 2.0 Verification Challenges..5 HDMI 2.0 Verification IP ...............5 Conclusion ...................................6 Further Information......................7
  • 2. 4Kx2K frames (Ultra HD Video) 4Kx2K frame support allows HDMI to transfer extremely high (4X greater than 1080p) video resolutions. Also termed as 4K ultra high definition (HD), 4Kx2K frames support 3840 pixels x 2160 lines as well as 4096 pixels x 2160 lines of video. There are several methods of 4Kx2K frame support: • Transfer lower 4K x 2K resolution is achieved by cutting the frame rate to 24Hz (less than half of current frame rate of 60Hz) and maintaining the current bandwidth of 340MHz. • Transfer full 4K x 2K resolution at 60Hz by using 4:2:0 pixel encoding and 4k2k60 8-bit video resolution at 300MHz. • Transfer full 4K x 2K resolution at 60Hz, at a TMDS clock equal to 600MHz and a data rate equal to 6Gb/s. TMDS encoding TMDS encoding is achieved by the transmitting device by reducing the number of transitions between ones and zeros. While encoding the signal, the transmitting device keeps track of whether and what type of transition reduction or minimization has been done. The receiving device decodes the data using the same mechanism and recreates the original digital signal. TMDS encoding thus ensures proper reception of the signal by clearly demar- cating the beginning and end of each byte. Scrambling In HDMI 2.0, scrambling of the digital data is done prior to the TMDS encoding. A linear feedback shift register (LFSR) is set to a pre-defined seed value for each of the three TMDS channels. The digital data is then scrambled using specific bits of the LFSR for the respective channel. Each of the three LFSRs is then incremented to its next state. This process is repeated for every character/pixel being transmitted and is periodically reset once per frame. Character error detection Character error detection provides a mechanism for the receiver devices (e.g., SINK) to report the number of character errors detected. It maintains “error counters” to store number of character errors detected for each channel. A transmitting device periodically samples the error counters to sense the link quality and make adjust- ments to the outbound data so as to keep the link error to a minimum. BT.2020 colorimetry support The specification proposes optional supports for ITU-R BT.2020 for pixel encodings with 10 or more bits per color component. Multi-channel audio The 22.2 multi-channel audio ensures extremely good sound quality and generates sound impressions with much closer natural sound than 5.1, 6.1, and 7.1 multi-channel audio formats, which are used in current digital sound broadcast. Primary channels for 5.1, 6.1, and 7.1 audio formats lie in the middle layer, while the 22.2 multi-channel audio format allocates channels in front of, to the sides, and in back of the listener. This allows motion of sound images in forward and backward directions. 3D audio The specification proposes an audio system where speakers can be placed anywhere in 3D space. 3D audio uses the channel layouts defined in ITU-R BS.2159-4 (Type B 10.2ch), SMPTE 2036-2 (22.2ch), and IEC 62574 (30.2ch). 3D audio also includes the down-mixed audio streams defined in these standards, provided that the down-mixed audio stream includes nine or more audio channels. Multi-stream audio extension This specification defines a mechanism to concurrently transmit two, three, or four audio streams with the same sample-per-frame rate when supporting multi-view video streaming (e.g., dual-view gaming with different audio for each view) or single-view video streaming (e.g., multilingual support). www.cadence.com 2 HDMI 2.0 Design and Verification Challenges
  • 3. Dynamic auto lip-sync A dynamic auto lip-sync (DALS) feature enables synchronization of audio and video in receiver devices that are capable of dynamically modifying their latency. Receiver devices (SINK) declare their latency information for audio and video in the extended display identification data (EDID) field. Transmitting devices (SOURCE) choose the best synchronization mechanism for rendered audio and video data based on the EDID latency field. The HDMI 2.0 DALS feature allows SINK devices to announce their latency information at any point in transmission so that the SOURCE devices are aware of the correct latency. Color depth Most of today’s consumer electronics devices support rich color capabilities and require a greater precision of color depth to avoid artifacts such as banding and contouring. HDMI supports deep color modes of 24 bits, 30 bits, 36 bits, and 48 bits. Deep color mode allocation essentially means better picture quality with a large number of shades of colors. Pixel encoding To support the pixel encoding requirements employed by most current-generation consumer electronics devices, HDMI supports pixel encodings of type RGB 4:4:4, YCbCr 4:4:4, and YCbCr 4:2:2. In addition to the existing HDMI1.4 pixel-encoding types, HDMI 2.0 also supports YCbCr 4:2:0 pixel encoding. HDCP High-bandwidth Digital Content Protection (HDCP) is an encryption mechanism that is used for protection of digital data across the transmitting and receiving devices. The process of authentication and key exchange makes sure that the receiver is authorized to receive digitally protected content. 3D/3D dual view 3D video format support was introduced in HDMI1.4b. 3D video formats carry twice as many video pixels at twice the frequency of a 2D video frame. HDMI supports both progressive and interlaced formats with different layouts like frame packing, top and bottom (over/under), side-by-side, half/full, etc. In addition to 3D video formats, HDMI 2.0 supports 3D dual view. 3D dual view signaling combines two 2D video signals of the same video format type in in a single 3D video format. www.cadence.com 3 HDMI 2.0 Design and Verification Challenges
  • 4. HDMI Block Diagram Figure 1 shows a block diagram of an HDMI transmitter (SOURCE) and a receiving device (SINK) with high-level functional building blocks. Video Configuration (Frame Format, Color Depth, Pixel Encoding) Audio Configuration (Channel Allocation, Sample Frequency) Source Device Frame Packing Module HDCP Encryption Module HDMI Link (TMDS Channel Interface) TMDS Encoder Scrambler Video Data LFSR Sink Device Frame Unpacking Module Original Video Data (Sent to Display) LFSR De-Scrambler TMDS Decoder HDCP Decryption Module Figure 1: Block diagram of an HDMI transmitter (SOURCE) and a receiving device (SINK) HDMI 2.0 Design Challenges HDMI 2.0 has several features that pose different design challenges, including a redesign of the DUT blocks and changes to the state machine. A re-design of the blocks within the DUT posed the following issues: • A legacy video encoder originally synthesized at 300MHz (HDMI1.4b) needed to be synthesized at 600MHz (HDMI2.0) to support new functionality. The combinational path needed a re-design to achieve timing closure at 600MHz. • Dense combinational logic blocks needed to be pipelined, including an impacted path from the video input stage to TMDS encoder block. • Due to new timing constraints, several blocks need to be re-designed or re-timed, plus misalignment of control logic between the video sink and video data. • Sink VIP helped validate the frequency requirement, providing the ability to track the expected output. www.cadence.com 4 HDMI 2.0 Design and Verification Challenges
  • 5. The state machine was extended and changed to support the following features: • New state “scrambling_enb” in legacy-design state machine to support scrambling for EMI/RFI reduction at TMDS bit rate of lesser then or greater than 3.4Gb/s. • Dynamic nature of 8-bit unscrambled control period and LFSR functionality. • Scrambling using the linear feedback shift register (LFSR). The LFSR state advances by eight cycles per TMDS character, adding more complexity to the 600MHz design. The LFSR logic in the source DUT was verified effectively by validating the data decoded by the sink VIP on all the three channels. • At the source side, all video data and data islands are scrambled. • On the sink side (VIP), scrambled video pixels and data islands are extracted, decoded, and unscrambled correctly without losing the LFSR synchronization. • To support CTS testing feature, specification proposes to send SSCP every one or more horizontal lines. • VIP also supports complex CTS testing requirements laid down by the HDMI2.0 specification: – – Capable of handling one SSCP per one or more horizontal lines. – – Re-initialize its LFSRs for all three data channels, whenever it determines that it has received unscrambled control characters simultaneously on all the data channels. This features helps in speeding up the verification of the DUT from the CTS testing perspective. HDMI 2.0 Verification Challenges HDMI protocol verification complexity is increasing exponentially with every protocol iteration from HDMI 1.3x and 1.4x, to 2.0, due to the addition of new frame formats, packet types, encryption, encoding, scrambling, etc. Apart from the protocol complexity, video verification mandates huge video frames, complex data structures with multiple layers, and handling multiple streams, all the time ensuring that there is no loss of data and synchroni- zation between the streams. Encoding, scrambling, and encryption of the digital data makes it even more complex for the VIP to generate and process it at such high speeds. Development of VIP for such complex protocols is extremely challenging considering that users are looking to minimize test run time and memory consumption impact, and are looking at using different platforms and languages for doing verification at the block, sub-system, and SoC levels. To make sure that the design is properly verified, all the supported video formats must be checked with all the possible configuration settings, such as frame rate, pixel encoding, color depth, etc. In addition, verification of the design should cover all audio formats supported with appropriate configuration settings (channel allocation, audio sample frequency, etc.). HDMI 2.0 Verification IP Silicon design houses are constantly looking to reduce the time to market for their products. Extremely aggressive timelines and limited resource allocation requires them to have highly adaptable test and verification environments for their SoCs. This essentially means plug-and-play verification components, which are generic in design and configurable for different environments (e.g., platforms, languages, capabilities, etc.). To cater to the requirements of a vast majority of silicon design houses, a highly flexible, scalable, and proven VIP development methodology is adopted. The methodology is carefully architected so that the developers have enough flexibility to add desired VIP-specific capabilities (e.g., protocol checkers, scoreboards or data checkers), and at the same time keep watch on the memory footprint and CPU run times. To be able to thoroughly verify the DUT, the VIP must be robust and at the same time provide enough flexibility and configurability to the user, so as to cover both the typical and corner-case scenarios. Some of the features for HDMI VIP include: • Static configuration parameters—Constant across different set of frames (e.g., SOURCE/SINK device type, physical addresses). • Dynamic configuration parameters—May change across frames (e.g., video format, color depth, scrambling enable/disable). www.cadence.com 5 HDMI 2.0 Design and Verification Challenges
  • 6. • Customizable frame formats—Due to the huge frame sizes (hence large run times), there has been a growing demand for customizable frame formats to be supported by VIP. Custom frame sizes help users to verify the basic functionality using smaller frames in less simulation cycles. HDMI VIP supports non-standard frame formats to enable users to run simulations with smaller frames. • User-controllable options—Provides a robust and wide range of user-controllable options without sacrificing the run time performance and memory consumption. • Configuration-level, packet-level, and field-level error-injection capabilities. • Frame boundary detection—For both 2D as well as 3D frames by the receiver VIP. • Detection and automatic switching—Between scrambled and unscrambled modes by receiver VIP while maintaining LFSR synchronization across frames. • On-the-fly data-integrity and signal-integrity checkers, as well as compliance test suite (CTS) checkers—VIP allows the creation of different CTS test scenarios for all mandatory protocol features (frame formats, audio formats, etc.) as defined by the HDMI specification. • 100% coverage—Most of the VIP users rely on the coverage being reported by the VIP. Cover points for a wide range of test scenarios are supported to achieve 100% coverage with respect to the user’s verification plan. Figure 2 shows a testbench configuration with the VIP configured as a source connected with a sink DUT. Static Configuration: source_device_type = Tuner sink_device_type = TV SOURCE_VIP Frame Generator and Random Exerciser SINK_DUT Dynamic Configuration: // protocol config video format = F720x480P60Hz pixel_encoding = [RGB,YCbCr444] color_depth = [B24,B30,B36] audio_type = ONE_BIT_AUDIO sample_frequency = F32K // VIP config scrambling_enable = ON enable_scoreboarding = OFF inject_packet_error = RANDOM Figure 2. VIP configured as HDMI source for sink DUT Conclusion HDMI designs face challenges with respect to run time and memory consumption due to the huge size of HDMI frames. Scrambling adds more complexity and designs face synchronization and timing challenges. Similar challenges are faced during the HDMI verification. These challenges can be addressed using HDMI VIP with the following capabilities: • Non-standard features that allow the verification of a large number of scenarios with less simulation time and memory consumption. • Layered and scalable architecture of HDMI VIP provides a smooth and timely migration from the IP-level verifi- cation environment to the SoC-level verification environment. • Reusability of tests across simulation and acceleration environments. • Use of HDMI VIP to reduce the overall verification effort. www.cadence.com 6 HDMI 2.0 Design and Verification Challenges
  • 7. Further Information 1. Speed Design of Ultra HD Displays with Cadence HDMI 2.0 Verification IP: www.cadence.com/cadence/newsroom/features/Pages/HDMI2_0.aspx 2. HDMI Forum—HDMI 2.0 Overview: www.hdmi.org/manufacturer/hdmi_2_0/index.aspx Cadence Design Systems enables global electronic design innovation and plays an essential role in the creation of today’s electronics. Customers use Cadence software, hardware, IP, and expertise to design and verify today’s mobile, cloud and connectivity applications. www.cadence.com www.cadence.com © 2013 Cadence Design Systems, Inc. All rights reserved. Cadence and the Cadence logo are registered trademarks of Cadence Design Systems, Inc. 1332 09/13 SA/DM/PDF HDMI 2.0 Design and Verification Challenges