Device Family Support................................................................................................................................2-2
IP Core Verification.....................................................................................................................................2-2
Performance and Resource Utilization.....................................................................................................2-2
Installing and Licensing IP Cores..............................................................................................................3-1
OpenCore Plus IP Evaluation........................................................................................................ 3-1
Specifying IP Core Parameters and Options............................................................................................3-2
Simulating the Design................................................................................................................................. 3-2
Simulating with the ModelSim Simulator....................................................................................3-3
Compiling the Full Design and Programming the FPGA......................................................................3-3
Copy the Simulation Files to Your Working Directory..............................................................7-3
Generate the IP Simulation Files and Scripts, and Compile and Simulate..............................7-6
View the Results...............................................................................................................................7-8
DisplayPort API Reference................................................................................. 8-1
Using the Library......................................................................................................................................... 8-1
btc_dprx_syslib API Reference..................................................................................................................8-3
DisplayPort Source Register Map and DPCD Locations................................... 9-1
Source General Registers.............................................................................................................................9-1
DisplayPort Sink Register Map and DPCD Locations.....................................10-1
Sink General Registers...............................................................................................................................10-1
This document describes the Altera® DisplayPort MegaCore®function, which provides support for nextgeneration video display interface technology.
The DisplayPort IP core is part of the MegaCore IP Library, which is distributed with the Quartus® II
software and is downloadable from the Altera website at www.altera.com.
Note:
For system requirements and installation instructions, refer to the Altera Software Installation and
Licensing Manual.
2015 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, ENPIRION, MAX, MEGACORE, NIOS, QUARTUS and STRATIX words and logos are
trademarks of Altera Corporation and registered in the U.S. Patent and Trademark Office and in other countries. All other words and logos identified as
trademarks or service marks are the property of their respective holders as described at www.altera.com/common/legal.html. Altera warrants performance
of its semiconductor products to current specifications in accordance with Altera's standard warranty, but reserves the right to make changes to any
products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use of any information,
product, or service described herein except as expressly agreed to in writing by Altera. Altera customers are advised to obtain the latest version of device
specifications before relying on any published information and before placing orders for products or services.
ISO
9001:2008
Registered
1-2
DisplayPort IP Core Quick Reference
ItemDescription
UG-01131
2015.05.04
IP Core Information
Core Features
• Conforms to the Video Electronics
Standards Association (VESA) specifica‐
tion version 1.2a
• Scalable main data link
• 1, 2, or 4 lane operation
• 1.62, 2.7, and 5.4 gigabits per second
(Gbps) per lane with an embedded
clock
• Color support
• RGB 18, 24, 30, 36, or 48 bits per pixel
(bpp) color depths
• YCbCr 4:4:4 24, 30, 36, or 48 bpp color
depths
• YCbCr 4:2:2 16, 20, 24, or 32 bpp color
depths
• 40-bit (quad symbol) and 20-bit (dual
symbol) transceiver data interface
• Support for 1, 2, or 4 parallel pixels per
clock
• Multi-stream support (MST)
• 4Kp60 resolution support
• Source
• Embedded controller AUX channel
operation
• Accepts standard H-sync/V-sync/data
enable RGB and YCbCr input video
formats
• Supports audio and video streams
• Sink
• Finite state machine (FSM) or
embedded controller AUX channel
operation
• Produces a proprietary video output
• Auxiliary channel for 2-way communica‐
tion (link and device management)
• Hot plug detect (HPD)
• Sink announces its presence
• Sink requests the source’s attention
• AC coupling and low EMI
Altera Corporation
DisplayPort IP Core Quick Reference
Send Feedback
UG-01131
2015.05.04
DisplayPort IP Core Quick Reference
ItemDescription
Typical Application• Interfaces within a PC or monitor
• External display connections, including
interfaces between a PC and monitor or
projector, between a PC and TV, or
between a device such as a DVD player
and TV display
Device Family SupportArria® 10 (preliminary), Arria V GX, Arria V
GZ, Cyclone® V, and Stratix® V FPGA
devices.
Refer to the What’s New in Altera IP page of
the Altera website for detailed information.
Design Tools• IP Catalog in the Quartus II software for
IP design instantiation and compilation
• TimeQuest timing analyzer in the
Quartus II software for timing analysis
• ModelSim-Altera software for design
simulation
1-3
Related Information
What’s New in Altera IP
DisplayPort IP Core Quick Reference
Send Feedback
Altera Corporation
2015.05.04
Source
Lane 0 Data (1.62, 2.7, or 5.4 Gbps)
Lane 1 Data (1.62, 2.7, or 5.4 Gbps)
Lane 2 Data (1.62, 2.7, or 5.4 Gbps)
Lane 3 Data (1.62, 2.7, or 5.4 Gbps)
AUX Channel (1 Mbps)
Hot Plug Detect
Sink
www.altera.com
101 Innovation Drive, San Jose, CA 95134
About This IP Core
2
UG-01131
Subscribe
Send Feedback
This document describes the Altera® DisplayPort MegaCore® function, which provides support for nextgeneration video display interface technology. The Video Electronics Standards Association (VESA)
defines the DisplayPort standard as an open digital communications interface for use in internal
connections such as:
• Interfaces within a PC or monitor
• External display connections, including interfaces between a PC and monitor or projector, between a
PC and TV, or between a device such as a DVD player and TV display
The Altera DisplayPort source has a scalable main link with 1, 2, or 4 lanes for a total up to 21.6 Gbps
bandwidth. A bidirectional AUX channel with 1 Mbps Manchester encoding provides side-band
communication. The sink uses a hot plug detect (HPD) signal to announce its presence, and the source
uses the same signal to initiate link configuration.
Figure 2-1: DisplayPort Source and Sink Communication
The main link has three selectable data rates: 1.62, 2.7, and 5.4 Gbps.
2015 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, ENPIRION, MAX, MEGACORE, NIOS, QUARTUS and STRATIX words and logos are
trademarks of Altera Corporation and registered in the U.S. Patent and Trademark Office and in other countries. All other words and logos identified as
trademarks or service marks are the property of their respective holders as described at www.altera.com/common/legal.html. Altera warrants performance
of its semiconductor products to current specifications in accordance with Altera's standard warranty, but reserves the right to make changes to any
products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use of any information,
product, or service described herein except as expressly agreed to in writing by Altera. Altera customers are advised to obtain the latest version of device
specifications before relying on any published information and before placing orders for products or services.
ISO
9001:2008
Registered
2-2
Device Family Support
Device Family Support
The following table lists the link rate support offered by the DisplayPort IP core for each Altera device
family.
Before releasing a publicly available version of the DisplayPort IP core, Altera runs a comprehensive
verification suite in the current version of the Quartus® II software. These tests use standalone methods
and the Qsys system integration tool to create the instance files. These files are tested in simulation and
hardware to confirm functionality. Altera tests and verifies the DisplayPort IP core in hardware for
different platforms and environments.
The DisplayPort IP core has been tested at VESA Plugtest events and passes the Unigraf DisplayPort Link
Layer CTS tests.
Performance and Resource Utilization
This section contains tables showing IP core variation size and performance examples.
The following table lists the resources and expected performance for selected variations. The results were
obtained using the Quartus II software v15.0 for the following devices:
• Arria V (5AGXFB3H4F40C5)
• Cyclone V (5CGTFD9E5F35C7)
• Stratix V (5SGXEA7K2F40C2)
• Arria 10 (10AX115S2F45I2SGES)
Altera Corporation
About This IP Core
Send Feedback
UG-01131
2015.05.04
Performance and Resource Utilization
Table 2-2: DisplayPort IP Core FPGA Resource Utilization
The table below shows the resource information for Arria V and Cyclone V devices using M10K; Arria 10 and
Stratix V devices using M20K. The resources were obtained using the following parameter settings:
• Mode = duplex
• Maximum lane count = 4 lanes
• Maximum video input color depth = 24 bits per pixel (bpp)
• Pixel input mode = 1 pixel per clock
2-3
DeviceStreamsDirection
RX
TX
Arria 10
Single
stream
(SST)
RX
SST
TX
Arria V
GX
MST
RX
(2
streams)
TX
RX
Cyclone
V GX
SST
TX
Symbol per
Clock
ALMs
Logic RegistersMemory
PrimarySecondaryBitsM10K or
Dual7,0879,5801,00116,57630
Quad9,95711,1211,15331,42430
Dual16,07510,20546527,42427
Quad29,07513,60564639,77640
Dual7,1769,4321,01516,57630
Quad9,88110,7931,22131,42430
Dual16,34010,21349927,42427
Quad29,25813,56871539,77640
Dual13,33715,9011,65030,33652
Quad20,91319,5511,95257,47252
Dual31,79020,09587947,68054
Quad58,33327,4331,35765,47280
Dual7,1379,4461,03516,57630
Quad9,81710,8861,22931,42430
Dual16,34310,15760427,42427
Quad29,32613,53782539,77640
M20K
Stratix
V GX
Related Information
Fitter Resources Reports
More information about Quartus II resource utilization reporting.
About This IP Core
Send Feedback
RX
Dual7,0069,56996615,55228
Quad9,96711,0871,06530,40028
SST
Dual16,34010,21349927,42427
TX
Quad29,25813,56871539,77640
Altera Corporation
2015.05.04
acds
quartus - Contains the Quartus II software
ip - Contains the Altera IP Library and third-party IP cores
altera - Contains the Altera IP Library source code
<IP core name> - Contains the IP core source files
www.altera.com
101 Innovation Drive, San Jose, CA 95134
Getting Started
3
UG-01131
Subscribe
Send Feedback
This chapter provides a general overview of the Altera IP core design flow to help you quickly get started
with the DisplayPort IP core. The IP core is installed as part of the Quartus II installation process. You can
select and parameterize any Altera IP core from the library. Altera provides an integrated parameter
editor that allows you to customize the DisplayPort IP core to support a wide variety of applications. The
parameter editor guides you through the setting of parameter values and selection of optional ports.
Installing and Licensing IP Cores
The Altera IP Library provides many useful IP core functions for your production use without purchasing
an additional license. Some Altera MegaCore IP functions require that you purchase a separate license for
production use. However, the OpenCore® feature allows evaluation of any Altera IP core in simulation
and compilation in the Quartus II software. After you are satisfied with functionality and perfformance,
visit the Self Service Licensing Center to obtain a license number for any Altera product.
Figure 3-1: IP Core Installation Path
Note:
The default IP installation directory on Windows is <drive>:\altera\<version number>; on Linux it is
<home directory>/altera/ <version number>.
Related Information
• Altera Licensing Site
• Altera Software Installation and Licensing Manual
OpenCore Plus IP Evaluation
Altera's free OpenCore Plus feature allows you to evaluate licensed MegaCore IP cores in simulation and
hardware before purchase. You need only purchase a license for MegaCore IP cores if you decide to take
your design to production. OpenCore Plus supports the following evaluations:
2015 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, ENPIRION, MAX, MEGACORE, NIOS, QUARTUS and STRATIX words and logos are
trademarks of Altera Corporation and registered in the U.S. Patent and Trademark Office and in other countries. All other words and logos identified as
trademarks or service marks are the property of their respective holders as described at www.altera.com/common/legal.html. Altera warrants performance
of its semiconductor products to current specifications in accordance with Altera's standard warranty, but reserves the right to make changes to any
products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use of any information,
product, or service described herein except as expressly agreed to in writing by Altera. Altera customers are advised to obtain the latest version of device
specifications before relying on any published information and before placing orders for products or services.
ISO
9001:2008
Registered
3-2
Specifying IP Core Parameters and Options
• Simulate the behavior of a licensed IP core in your system.
• Verify the functionality, size, and speed of the IP core quickly and easily.
• Generate time-limited device programming files for designs that include IP cores.
• Program a device with your IP core and verify your design in hardware.
OpenCore Plus evaluation supports the following two operation modes:
• Untethered—run the design containing the licensed IP for a limited time.
• Tethered—run the design containing the licensed IP for a longer time or indefinitely. This requires a
connection between your board and the host computer.
Note: All IP cores that use OpenCore Plus time out simultaneously when any IP core in the design times
out.
Specifying IP Core Parameters and Options
Follow these steps to specify the DisplayPort IP core parameters and options.
1. Create a Quartus II project using the New Project Wizard available from the File menu.
4. Specify a top-level name for your custom IP variation. This name identifies the IP core variation files
in your project. If prompted, also specify the targeted Altera device family and output file HDL
preference. Click OK.
5. Specify parameters and options in the DisplayPort parameter editor:
UG-01131
2015.05.04
• Optionally select preset parameter values. Presets specify all initial parameter values for specific
applications (where provided).
• Specify parameters defining the IP core functionality, port configurations, and device-specific
features.
• Specify options for generation of a timing netlist, simulation model, testbench, or example design
(where applicable).
• Specify options for processing the IP core files in other EDA tools.
6. Click Generate to generate the IP core and supporting files, including simulation models.
7. Click Close when file generation completes.
8. Click Finish.
9. If you generate the DisplayPort IP core instance in a Quartus II project, you are prompted to add
Quartus II IP File (.qip) and Quartus II Simulation IP File (.sip) to the current Quartus II project.
Simulating the Design
You can simulate your DisplayPort IP core variation using the simulation model that the Quartus II
software generates. The simulation model files are generated in vendor-specific subdirectories of your
project directory. The DisplayPort IP core includes a simulation example.
The following sections teach you how to simulate the generated DisplayPort IP core variation with the
generated simulation model.
Altera Corporation
Getting Started
Send Feedback
UG-01131
2015.05.04
Related Information
DisplayPort IP Core Simulation Example on page 7-1
The Altera DisplayPort simulation example allows you to evaluate the functionality of the DisplayPort IP
Core and provides a starting point for you to create your own simulation. This example targets the
ModelSim SE simulator.
Simulating with the ModelSim Simulator
To simulate using the Mentor Graphics ModelSim simulator, perform the following steps:
1. Start the ModelSim simulator.
2. In ModelSim, change directory to the project simulation directory <variation>_sim/mentor.
3. Type the following commands to set up the required libraries and compile the generated simulation
model:
do msim_setup.tcl
ld
run -all
Simulating with the ModelSim Simulator
3-3
Compiling the Full Design and Programming the FPGA
You can use the Start Compilation command on the Processing menu in the Quartus II software to
compile your design. After successfully compiling your design, program the targeted Altera device with
the Programmer and verify the design in hardware.
Related Information
• Quartus II Incremental Compilation for Hierarchical and Team-Based Design
Provides more information about compiling the design.
• Quartus II Programmer
Provides more information about programming the device.
Getting Started
Send Feedback
Altera Corporation
2015.05.04
Source
Lane 0 Data (1.62, 2.7, or 5.4 Gbps)
Lane 1 Data (1.62, 2.7, or 5.4 Gbps)
Lane 2 Data (1.62, 2.7, or 5.4 Gbps)
Lane 3 Data (1.62, 2.7, or 5.4 Gbps)
AUX Channel (1 Mbps)
Hot Plug Detect
Sink
www.altera.com
101 Innovation Drive, San Jose, CA 95134
DisplayPort Source
4
UG-01131
Subscribe
Source Overview
The DisplayPort source has a scalable main link with 1, 2, or 4 lanes for a total up to 21.6 Gbps bandwidth.
A bidirectional AUX channel with 1 Mbps Manchester encoding provides side-band communication.
Figure 4-1: DisplayPort Source
The main link has three selectable data rates: 1.62, 2.7, and 5.4 Gbps. The source device sets the lane count
and link rate combination (referred to as the policy) according to the sink’s capabilities and required
video bandwidth. The IP core transmits the video and audio streams on the main link with embedded
clocking.
Send Feedback
The IP core transmits data in a scrambled ANSI 8B/10B format. The data transmission includes
redundancy for error detection. The secondary data stream, such as an audio stream, uses a ReedSolomon encoder for error correction.
The AUX channel is an AC-coupled differential pair for bidirectional communication. The signaling is a
self-clocked Manchester encoding at 1 Mbps. As in the 100-T Ethernet protocol, the encoder uses a
preceding synchronization pattern in each 16-byte maximum packet.
The AUX channel uses a master-slave hierarchy in which the source (master) initiates all communication.
2015 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, ENPIRION, MAX, MEGACORE, NIOS, QUARTUS and STRATIX words and logos are
trademarks of Altera Corporation and registered in the U.S. Patent and Trademark Office and in other countries. All other words and logos identified as
trademarks or service marks are the property of their respective holders as described at www.altera.com/common/legal.html. Altera warrants performance
of its semiconductor products to current specifications in accordance with Altera's standard warranty, but reserves the right to make changes to any
products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use of any information,
product, or service described herein except as expressly agreed to in writing by Altera. Altera customers are advised to obtain the latest version of device
specifications before relying on any published information and before placing orders for products or services.
ISO
9001:2008
Registered
DisplayPort Source
Encoder
txN_video_in
txN_vid_clk
txN_audio
txN_audio_clk
tx_aux
aux_clk
txN_ss
tx_ss_clk
txN_msa_conduit
tx_aux_debug
tx_xcvr_interface
Video Input
Video Clock
Audio Input
Audio Clock
AUX Interface
AUX Clock
Secondary Stream
(Avalon-ST Interface)
MSA Input
AUX Debug Stream
(Avalon-ST Interface
TX Transceiver Interface
Transceiver Management
tx_analog_reconfig
Controller Interface
tx_mgmt_interruptInterrupt
xcvr_mgmt_clkTransceiver Management Clock
tx_reconfigTX Reconfiguration
tx_mgmt
clk
Avalon-MM Interface
Avalon-MM Interface Clock
TX Analog Reconfiguration
clk_calCalibration Clock
4-2
Source Functional Description
Source Functional Description
The DisplayPort source has a complete set of parameters for optimizing device resources.
The DisplayPort source consists of a DisplayPort encoder block, a transceiver management block, and a
controller interface block with an Avalon-MM interface for connecting with an embedded controller such
as a Nios II processor. You configure the ports using an RTL wrapper instantiation or by implementing
the IP core as a Qsys component.
The source accepts a standard H-sync, V-sync, and data enable video stream for encoding. The IP core
latches and processes the video data before processing it using the txN_video_in input. N represents the
stream number: tx_video_in (Stream 0), tx1_video_in (Stream 1), tx2_video_in (Stream 2), and
tx3_video_in (Stream 3).
The video data width supports 6 to 16 bits per color (bpc) and is user selectable. If you set the Pixel input
mode option to Dual or Quad, the video input can accept two or four pixels per clock, thereby extending
the pixel clock rate capability.
Main Data Path
The main data path consists of the packetizer, measurement, and blank generator paths. The IP core
multiplexes data from these three paths and outputs it through an 8B/10B encoder.
Send Feedback
Altera Corporation
4-4
Packetizer Path
Packetizer Path
The packetizer path provides video data resampling and packetization, and consists of the following steps:
1. The pixel steer block decimates the data to the requested lane count (1, 2, or 4).
2. The DCFIFO crosses the data into the main link clock domain (tx_ss_clk, generated by the
transceiver), which can be 270, 135, 81, 67.5, or 40.5 MHz depending on the actual main link rate
requested and the symbols per clock.
3. The gearbox resamples the video data according to the specified color depth. You can optimize the
gearbox by implementing fewer color depths. For example, you can reduce the resources required to
implement the system by supporting only the color depths you need instead of the complete set of
color depths specified in the DisplayPort specification.
4. The IP core packetizes the re-sampled data. The DisplayPort specification requires data to be sent in a
transfer unit (TU), which can be 32 to 64 link symbols long. To reduce complexity, the DisplayPort
source uses a fixed 64-symbol TU. The specification also requires that the video data be evenly distrib‐
uted within the TUs composing a full active video line. A throttle function distributes the data and
regulates it to ensure that the TUs leaving the IP core are evenly packed.
Note: A minimal DisplayPort system should support both 6 and 8 bpc. The VESA DisplayPort specifica‐
The packetizer punctuates the outgoing 16-bit data stream with the correct packet comma codes.
Internally, the packetizer uses a symbol and a TU counter to ensure that it respects the TU boundaries.
UG-01131
2015.05.04
tion requires support for a mandatory VGA fail-safe mode (640 x 480 at 6 bpc).
Measurement Path
The measurement path determines the video geometry required for the DisplayPort main stream
attributes (MSA), which are sent once every vertical blanking interval. Optionally, the IP core can import
a fixed MSA data parameter from an external port, removing the measurement logic. This feature is useful
for embedded systems that only use known resolutions and synchronous pixel clocks.
Blank Generator Path
The blank generator path determines when to send the blank start comma codes with their corresponding
video data packets. This path can operate in enhanced or standard framing mode.
Multiplexer
The IP core multiplexes the packetized data, MSA data, and blank generator data into a single stream. The
combined data goes through 8B/10B encoding and is available as a 20-bit double-rate or a 40-bit quadrate DisplayPort encoded video port. The 20- or 40-bit port connects directly to the Altera high-speed
output transceiver.
During training periods, the source can send the DisplayPort clock recovery and symbol lock test patterns
(training pattern 1, training pattern 2, and training pattern 3, respectively), upon receiving the request
from downstream DisplayPort sink.
The source also implements an AUX channel controller, which you access using an embedded controller.
The embedded controller acts as an Avalon-MM master and sends read/write commands to the
Avalon-MM slave interface. The IP core clocks the AUX channel using a 16 MHz clock input (aux_clk).
Related Information
Controller Interface on page 4-11
Altera Corporation
DisplayPort Source
Send Feedback
UG-01131
2015.05.04
Embedded DisplayPort (eDP) Support
The DisplayPort IP core is compliant with eDP version 1.3. eDP is based on the VESA DisplayPort
standard. It has the same electrical interface and can share the same video port on the controller. The
DisplayPort IP core supports:
• Full (normal) link training—default
• Fast link training—mandatory eDP feature
Source Parameters
You set parameters for the source using the DisplayPort parameter editor.
Table 4-1: Source Parameters
ParameterDescription
Device familySelect the targeted device family—Arria 10, Arria V
Embedded DisplayPort (eDP) Support
GX, Arria V GZ, Cyclone V, or Stratix V—matches
the project device family.
4-5
Support DisplayPort sourceTurn on to enable DisplayPort source.
Maximum video input color depthSelect the video input interface port bits per color.
Determines top-level video input port width (for
example, 6 bpc = 18 bpp, 16 bpc = 48 bpp).
TX maximum link rateSelect the the maximum link rate. 5.4 Gbps, 2.7
Gbps, 1.62 Gbps.
Note: Cyclone V devices do not support 5.4
Gbps.
Maximum lane countSelect the maximum lanes desired (1, 2, or 4).
Symbol output modeSpecify how many symbols are transferred during
each clock cycle: dual or quad symbol, or TX
transceiver data width: dual (20 bits) or quad (40
bits).
Dual symbol mode saves logic resource but requires
the core to run at twice the clock frequency of quad
symbol mode. If timing closure is a problem in the
device, you should consider using quad symbol
mode.
DisplayPort Source
Send Feedback
Altera Corporation
4-6
Source Parameters
ParameterDescription
Pixel input modeSelect the number of pixels per clock (single, dual, or
quad symbol).
• If you select dual pixels per clock, the pixel clock
is ½ of the full rate clock and the video port
becomes two times wider.
• If you select four pixels per clock, the pixel clock
is ¼ of the full rate clock and the video port
becomes four times wider.
Scrambler seed valueSpecify the initial seed for the scrambler block. Use
16’hFFFF for normal DP and 16’hFFFE for eDP.
Enable AUX debug streamTurn on to send source AUX traffic output to an
Avalon-ST port.
Import fixed MSATurn on to enable the source to accept a fixed MSA
value from an external port.
UG-01131
2015.05.04
Support CTS test automationTurn on to support CTS test automation.
Support secondary data channelTurn on to enable secondary data.
Support audio data channelTurn on to enable audio packet encoding.
Note: To use this parameter, you must turn on
the Support secondary data channel
parameter.
Number of audio data channelsSpecify the number of audio channels supported.
6-bpc RGB or YCbCr 4:4:4 (18 bpp)Turn on to support 18 bpp encoding.
8-bpc RGB or YCbCr 4:4:4 (24 bpp)Turn on to support 24 bpp encoding.
10-bpc RGB or YCbCr 4:4:4 (30 bpp)Turn on to support 30 bpp encoding.
12-bpc RGB or YCbCr 4:4:4 (36 bpp)Turn on to support 36 bpp encoding.
16-bpc RGB or YCbCr 4:4:4 (48 bpp)Turn on to support 48 bpp decoding.
8-bpc YCbCr 4:2:2 (16 bpp)Turn on to support 16 bpp encoding.
10-bpc YCbCr 4:2:2 (20 bpp)Turn on to support 20 bpp encoding.
12-bpc YCbCr 4:2:2 (24 bpp)Turn on to support 24 bpp encoding.
Altera Corporation
DisplayPort Source
Send Feedback
UG-01131
2015.05.04
16-bpc YCbCr 4:2:2 (32 bpp)Turn on to support 32 bpp encoding.
Support MSTTurn on to enable multi-stream support.
Max stream countSelect the maximum amount of streams supported
Source Interfaces
The following tables list the source’s port interfaces. Your instantiation contains only the interfaces that
you have enabled.
A 50-MHz calibration
clock input. This clock
must be synchronous
to the clock used for
the Transceiver
Reconfiguration block
(xvcr_mgmt_clk),
external to the Display‐
Port sink.
ConduitN/Atx_pll_powerdownOutputPLL power down for
Conduitxcvr_mgmt_
TX transceiver
clk
interface
ConduitN/Atx_analogreset[n–
ConduitN/Atx_cal_busy[n–1:0]InputCalibration in
ConduitN/Atx_pll_lockedInputPLL locked signal
Domain
PortDirectionDescription
tx_parallel_
data[n*s*10–1:0]
tx_digitalreset[n–
1:0]
1:0]
out
OutputParallel data for TX
transceiver
TX transceiver
OutputResets the digital TX
portion of TX
transceiver
OutputResets the analog TX
portion of TX
transceiver
progress signal from
TX transceiver
from TX transceiver
Controller Interface
The controller interface allows you to control the source from an external or on-chip controller, such as
the Nios II processor. The controller can control the DisplayPort link parameters and the AUX channel
controller.
The AUX channel controller interface works with a simple serial-port-type peripheral that operates in a
polled mode. Because the DisplayPort AUX protocol is a master-slave interface, the DisplayPort source
(the master) starts a transaction by sending a request and then waits for a reply from the attached sink.
The controller interface includes a single interrupt source. The interrupt notifies the controller of an HPD
signal state change. Your system can interrogate the DP_TX_STATUS register to determine the cause of the
interrupt. Writing to the DP_TX_STATUS register clears the pending interrupt event.
Related Information
• Multiplexer on page 4-4
• DisplayPort Source Register Map and DPCD Locations on page 9-1
DisplayPort source instantiations require an embedded controller (Nios II processor or another
controller) to act as the policy maker.
DisplayPort Source
Altera Corporation
Send Feedback
4-12
AUX Interface
AUX Interface
The IP core has three ports that control the serial data across the AUX channel:
• Data input (tx_aux_in)
• Data output (tx_aux_out)
• Output enable (tx_aux_oe). The output enable port controls the direction of data across the bidirec‐
tional link.
These ports are clocked by the source’s 16 MHz clock (aux_clk). The AUX channel’s physical layer is a
bidirectional 2.5 V SSTL Class II interface.
The source’s AUX controller allows you to capture all bytes sent from and received by the AUX channel,
which is useful for debugging. The IP core provides a standard stream interface that you can use to drive
an Avalon-ST FIFO component directly.
Table 4-9: Source AUX Debug Interface Ports
PortComments
UG-01131
2015.05.04
tx_aux_debug_data[31:0]
tx_aux_debug_valid
tx_aux_debug_sop
tx_aux_debug_eop
tx_aux_debug_err
tx_aux_debug_cha
Related Information
AN 522: Implementing Bus LVDS Interface in Supported Altera Device Families
Video Interface
The core sends video to be encoded through the txN_video_in interface, which provides a standard Hsync and V-sync input with support for interlaced or progressive video. You specify the data input width
via a parameter. The same input port transfers RGB and YCbCr data in either 4:4:4 or 4:2:2 color format.
Data is most-significant bit aligned and formatted for 4:4:4.
The source AUX debug interface inserts a 1 µs timestamp counter in bits
[31:8]; bits [7:0] represent the byte received or transmitted.
Qualifies valid stream data.
Indicates the message packet’s first byte.
Indicates the message packet’s last byte. The last byte should be ignored
and is not part of the message.
Indicates if the IP core detects an error in the current byte.
Indicates the direction of the current byte. 1 = byte transmitted by the
source, 0 = byte received from the sink.
Altera Corporation
DisplayPort Source
Send Feedback
47323116150
txN_vid_data[47:0]
18 bpp RGB
24 bpp RGB/YCBCr444 (8 bpc)
30 bpp RGB/YCBCr444 (10 bpc)
36 bpp RGB/YCBCr444 (12 bpc)
48 bpp RGB/YCBCr444 (16 bpc)
n/2-10n - 1n/2txN_vid_data[n - 1:0]
71484724230
txN_vid_data[95:0]
9572
Pixel 3Pixel 2Pixel 1Pixel 0
UG-01131
2015.05.04
TX Transceiver Interface
Figure 4-4: Video Input Data Format
18 bpp to 48 bpp port width when txN_video_in port width is 48 (16 bpc, 1 pixel per clock)
The following figure shows the sub-sampled 4:2:2 color format for a video port width of n. The mostsignificant half of the video port always transfers the Y component while the least-significant half of the
video port transfers the alternate Cr or Cb component. If the Y/Cb/Cr component widths are less than
n/2, they must be most-significant bit aligned with respect to the n and n/2-1 boundaries.
Figure 4-5: Sub-Sampled 4:2:2 Color Format Video Port
4-13
If you set the Pixel input mode option to Dual or Quad, the IP core sends two or four pixels in parallel,
respectively. To support video resolutions with horizontal active, front porch or back porch of a length
not divisible by 2 or 4, the following signals are widened:
• Horizontal and vertical syncs
• Data enable
The following figure shows the pixel data order from least significant bits to most significant bits.
Figure 4-6: Video Input Data Alignment
For RGB 18 bpp when txN_video_in port width is 96 (8 bpc, 4 pixels per clock)
TX Transceiver Interface
The transceiver or Native PHY IP core instance is no longer instantiated within the DisplayPort IP core.
The DisplayPort IP uses a soft 8B/10B encoder. This interface provides TX encoded video data
(tx_parallel_data) in either dual symbol (20-bit) or quad symbol (40-bit) mode and drives the digital
DisplayPort Source
Send Feedback
Altera Corporation
4-14
Transceiver Reconfiguration Interface
reset (tx_digitalreset), analog reset (tx_analogreset), and PLL powerdown signals
(tx_pll_powerdown) of the transceiver.
Transceiver Reconfiguration Interface
You can reconfigure the transceiver to accept single reference clock. The single reference clock is a 135MHz clock for all bit rates: RBR, HBR, and HBR2.
• During run-time, you can reconfigure the transceiver to operate in either one of the bit rate by
changing TX CMU PLL divide ratio.
When the IP core makes a request, the tx_reconfig_req port goes high. The user logic asserts
tx_reconfig_ack and then reconfigures the transceiver. During reconfiguration, the user logic holds
tx_reconfig_busy high. The user logic drives it low when reconfiguration completes.
Note: The transceiver requires a reconfiguration controller. Reset the transceiver to a default state upon
power-up.
Related Information
• AN 645: Dynamic Reconfiguration of PMA Controls in Stratix V Devices
Provides more information about using the Transceiver Reconfiguration Controller to reconfigure the
Stratix V Physical Media Attachment (PMA) controls dynamically.
• Altera Transceiver PHY IP Core User Guide
Provides more information about how to reconfigure the transceiver for 28-nm devices.
• AN 676: Using the Transceiver Reconfiguration Controller for Dynamic Reconfiguration in
Arria V and Cyclone V Devices
Provides more information about using the Transceiver Reconfiguration Controller to reconfigure the
Arria V Physical Media Attachment (PMA) controls dynamically.
• AN 678: High-Speed Link Tuning Using Signal Conditioning Circuitry
Provides more information about link tuning.
• Arria 10 Transceiver PHY User Guide
Provides more information about how to reconfigure the transceiver for Arria 10 devices.
UG-01131
2015.05.04
Transceiver Analog Reconfiguration Interface
The tx_analog_reconfig interface uses the tx_vod and tx_emp transceiver management control ports.
You must map these ports for the device you are using. To change these values, the core drives
tx_analog_reconfig_req high. Then, the user logic sets tx_analog_reconfig_ack high to acknowledge
and drives tx_analog_reconfig_busy high during reconfiguration. When reconfiguration completes,
the user logic drives tx_analog_reconfig_busy low.
Secondary Stream Interface
You can transmit the secondary stream data over the DisplayPort main link through the secondary stream
(txN_ss) interface. This interface uses handshaking and back pressure to control packet delivery.
Internally, the core uses a FIFO to store packets until a slot becomes available on the main link. If the
FIFO fills up, the secondary stream interface stops accepting packets and applies back pressure. The
packet must be available at the time of sending because the txN_ss port does not support forward
pressure.
Altera Corporation
DisplayPort Source
Send Feedback
Loading...
+ 165 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.