TX-only Design
Contents
2
AN-883 | 2019.02.20
Send Feedback
This design uses the Bitec FMC daughter card to transmit the video output.
OC RAM Avalon-MM
Nios II Processor
SYSID Interconnect TX AUX Transaction
Debug FIFO Monitoring
Timer Avalon-MM
JTAG UART Source Interconnect
Clocked Video TX AUX Debug Management
Output II Stream
Test Pattern
Generator II Avalon-ST DisplayPort TX DisplayPort TX
Video with Sync Management Bridge
Video Signals
TX Sub-system (Platform Designer)
Core System (Platform Designer)
TX Reconfiguration
148.5 MHz
160 MHz
16 MHz
Locked
Reset Generator
Video PLL
Transceiver Native
PHY
TX PLL
TX PHY Top
Top
Related Information
• Intel Design Store
Provides the design files.
• DisplayPort Intel Arria 10 FPGA IP Design Example User Guide
Provides more information about the Intel Arria 10 design examples.
Intel Corporation. All rights reserved. Intel, the Intel logo, Altera, Arria, Cyclone, Enpirion, MAX, Nios, Quartus
and Stratix words and logos are trademarks of Intel Corporation or its subsidiaries in the U.S. and/or other
countries. Intel warrants performance of its FPGA and semiconductor products to current specifications in ISO
accordance with Intel's standard warranty, but reserves the right to make changes to any products and services 9001:2015
at any time without notice. Intel assumes no responsibility or liability arising out of the application or use of any Registered
information, product, or service described herein except as expressly agreed to in writing by Intel. Intel
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.
*Other names and brands may be claimed as the property of others.
1. Intel® Arria® 10 DisplayPort TX-only Design
AN-883 | 2019.02.20
Core System (Platform Designer) The core system consists of the Nios II processor and its necessary components,
DisplayPort TX core sub-system and the Video and Image Processing (VIP) FPGA
IPs.
This system provides the infrastructure to interconnect the Nios II processor with
the DisplayPort Intel FPGA IP core (TX instance) through Avalon Memory Mapped
(Avalon-MM) interface within a single Platform Designer system to ease the
software build flow.
This system consists of:
• CPU Sub-System
• TX Sub-System
• VIP FPGA IPs
TX PHY Top The TX PHY top level consists of the components related to the transmitter PHY
layer.
• Transceiver Native PHY(TX)—The transceiver block that receives 20-bit or
40-bit parallel data from the DisplayPort Intel FPGA IP core and serializes the
data before transmitting it. This block supports up to 8.1 Gbps (HBR3) data
rate with 4 channels.
Note: You must set the TX channel bonding mode to PMA and PCS
bonding and the PCS TX Channel bonding master parameter to 0
(default is auto).
• Transceiver PHY Reset Controller—The TX Reconfiguration Management
module triggers the reset input of this controller to generate the
corresponding analog and digital reset signals to the Transceiver Native PHY
block according to the reset sequencing.
• TX Reconfiguration Management—This block reconfigures and recalibrates the
Transceiver Native PHY and TX PLL blocks to transmit serial data in the
required data rates (RBR, HBR, HBR2, and HBR3).
• TX PLL—The transmitter PLL block provides a fast serial fast clock to the
Transceiver Native PHY block. For the DisplayPort Intel FPGA IP core design
example, Intel uses transmitter fractional PLL (FPLL).
Note: 8.1 Gbps is available only in the Intel Quartus® Prime Pro Edition
software.
4
1. Intel® Arria® 10 DisplayPort TX-only Design
AN-883 | 2019.02.20
TX PLL Refclock tx_pll_refclk 135 MHz TX PLL reference clock, that is divisible by the
transceiver for all DisplayPort data rates (1.62 Gbps, 2.7
Gbps, and 5.4 Gbps).
Note: The reference clock source of the TX PLL refclock is
located at the HSSI refclk pin.
TX Transceiver Clockout gxb_tx_clkout TX clock recovered from the transceiver, and the frequency
varies depending on the data rate and symbols per clock.
4 (quad) 40.5
4 (quad) 62.5
4 (quad) 135
Management Clock tx_rcfg_mgmt_clk A free running 100 MHz clock for both Avalon-MM interfaces
for reconfiguration and PHY reset controller for transceiver
reset sequence.
Component Required
Frequency
(MHz)
16 MHz Clock clk_16 16 MHz clock used to encode and decode auxiliary channel in
the DisplayPort Intel FPGA source and sink IP cores.
Calibration Clock dp_tx_clk_cal A 50 MHz calibration clock input that must be synchronous to
the Transceiver Reconfiguration module's clock. This clock is
used in the DisplayPort Intel FPGA IP core's reconfiguration
logic.
continued...
5
1. Intel® Arria® 10 DisplayPort TX-only Design
AN-883 | 2019.02.20
TX Video Clock tx_vid_clk Recovered video clock from the PCR module that reflects the
actual video clock frequency.
Used when DisplayPort source's TX_SUPPORT_IM_ENABLE =
0.
CVO Video Clock tx_vid_clk Fixed video clock generated by the video PLL (148.5 MHz) to
the DisplayPort Intel FPGA source.
VIP Clock vip_clk 160 MHz clock generated by the video PLL.
refclk1_p Input 1 100 MHz clock source used as IOPLL reference clock and
Avalon-MM management clock
fmca_gbtclk_m2c_p Input 1 135 MHz dedicated transceiver reference clock from FMC
port A
6
1. Intel® Arria® 10 DisplayPort TX-only Design
AN-883 | 2019.02.20
Hardware
• Intel Arria 10 GX FPGA Development Kit (10AX115S2F45I1SG)
• Bitec FMC daughter card revision 5.0 or later
• DisplayPort sink (monitor)
• DisplayPort cables
Software
• Intel Quartus Prime (for hardware testing)
The .par file contains includes pre-compiled .sof and .elf files that you can run to
test the design.
1. Unzip the Additional_Files.zip file from the A10_DP_TX_FMC_PRO.par file,
and move the Script and Software folder to the main project directory.
2. Launch the Intel Quartus Prime Pro Edition software and open <project
directory>/quartus/top.qpf.
Note: Bitec DisplayPort FMC daughter card revision 10 has schematic changes
compared to revisions 8 and earlier. Revision 8 has lane reversal and
polarity inversion at TX. To support all revisions, the design example top
level RTL file at <project directory>/rtl/top.v file include a local
parameter for you to select the FMC revision.
localparam BITEC_DP_CARD_REV = 0;
// 1 = rev.9 or later
Related Information
Intel Design Store
Provides the design files.
7
1. Intel® Arria® 10 DisplayPort TX-only Design
AN-883 | 2019.02.20
By default, the ELF file is generated when you generate the dynamic design example.
Note: In some cases, you need to regenerate the ELF file if you modify the software file or
modify and regenerate the dp_core.qsys file. Regenerating the dp_core.qsys file
updates the .sopcinfo file, which requires you to regenerate the ELF file.
Bitec FMC
daughter card
USB to
computer
Power supply
8
1. Intel® Arria® 10 DisplayPort TX-only Design
AN-883 | 2019.02.20
1. Install the Bitec FMC daughter card at the FMC port A on the Intel Arria 10
development kit.
2. Connect the DisplayPort TX connector on the Bitec FMC daughter card to a video
analyzer or DisplayPort sink device such as a monitor.
3. Ensure all switches on the development board are in default position.
4. Power up and connect the development board to your PC using a micro USB cable.
5. Download the .sof file into the FPGA device using Intel Quartus Prime
Programmer.
6. Push the Reset button on the Intel Arria 10 development kit.
7. The DisplayPort sink device displays the video.
Note: The hardware setup below uses ASUS MG28UQ monitor with Bitec FMC daughter card revision 8 connected to
Intel Arria 10 FPGA development kit. The monitor runs 4Kp60 color bar video generated by the Video and
Image Processing Intel FPGA IPs.
This feature is a part of the DisplayPort TX-only design example. To display the (MSA
of the DisplayPort TX core, type ‘S’ on the keyboard while in the Nios II terminal. The
TX stream MSA values will appear on the Nios II terminal.
9
1. Intel® Arria® 10 DisplayPort TX-only Design
AN-883 | 2019.02.20
This feature is also a part of the DisplayPort TX-only design example. To display the
auxiliary channel transaction on the Nios II terminal, set the BITEC_AUX_DEBUG flag
in the config.h file in the project folder to 1.
#define BITEC_AUX_DEBUG 1 // Set to 1 to enable AUX CH traffic monitoring
Rebuild the Nios II software and download the ELF image into the FPGA.
1.5. Creating the TX-only Design with Bitec FMC Daughter Card
You can create the DisplayPort TX-only design by making certain software and
hardware modifications to the already provided DisplayPort SST parallel loopback with
PCR design example.
1. Instantiate the DisplayPort Intel FPGA IP and specify the parameters as listed
below.
10
1. Intel® Arria® 10 DisplayPort TX-only Design
AN-883 | 2019.02.20
Table 6.
Parameters Value Description
Maximum video output color depth (Source) 10 bpc This design supports GPU and monitors up to a
maximum of 10 bit-per-color depth.
Maximum link rate 5.4 Gbps The bandwidth requirement for 4Kp60 and 10
bpc video stream through serial link:
Maximum lane count 4 • Active video resolution = 3840 × 2160
pixels/frame
• Total resolution (including reduced blanking)
= 4000 × 2222 pixels/frame
• Refresh rate = 60 Hz or 60 frames per
second
• Bits per pixel = 10 bpc × 3 colors = 30 bits
per pixel
• Total bandwidth = (4000 × 2222) pixel/
frame × 60 frame/s × 30 bits/pixel =
15.9984 Gbits/s
With 8b/10b encoding scheme, the actual
bandwidth required = 15.9984 × 10/8 =
19.998 Gbps. With 4 lanes at 5.4 Gbps, the
aggregated bandwidth of 21.6 Gbps is sufficient
to support the 4K video stream at 60 Hz
refresh rate.
Symbol output mode (Source) Quad Symbol mode affects the transceiver parallel
bus width and the DisplayPort IP core clock
Symbol input mode (Sink) frequency. The DisplayPort IP core synchronizes
with the transceiver parallel clock. The parallel
clock frequency is link rate/transceiver parallel
bus width.
Frequency for HBR2 (5.4 Gbps) is 5400/20 or
270 MHz for dual (20 bits) and 5400/40 or 135
MHz for quad (40 bits) mode.
Pixel input mode (Source) Quad Pixel mode affects the video clock frequency
and video port width of the IP core.
Pixel output mode (Sink) For 4Kp60 video stream, the bandwidth
requirement is 4000 × 2222 × 60 pixel/s =
533280000 pixels/s. Because of the high
bandwidth requirement, the design requires
dual or quad pixel mode for timing closure.
• Single (1 pixel/clock) 533.28 MHz
• Dual (2 pixels/clock) 266.64 MHz
• Quad (4 pixels/clock) 133.32 MHz
Enable AUX debug stream On Enable AUX source traffic output to Avalon-ST
port
DisplayPort SST Parallel Loopback With PCR On Enable Pixel Clock Recovery in the design.
Remove the RX sub-system, RX PHY top. Pixel Clock Recovery (PCR), and Transceiver
Arbiter components (in gray), as shown in the diagram below. These blocks are not
needed for the TX-only design.
11
1. Intel® Arria® 10 DisplayPort TX-only Design
AN-883 | 2019.02.20
Top
Audio Data
1.5.3. Instantiating Video and Image Processing (VIP) Intel FPGA IPs
After generating the design, instantiate the relevant Video and Image Processing FPGA
IPs.
1. Instantiate the Clocked Video Output (CVO) II and Test Pattern Generator (TPG) II
Intel FPGA IPs and specify the parameters as listed in the table below.
Note: The Test Pattern Generator (TPG) II Intel FPGA IP generates video stream
that displays color bars video pattern. The Clocked Video Output II Intel
FPGA IP converts the Avalon-ST video format received from the TPG II Intel
FPGA IP to standard clocked video format.
Table 7. Clocked Video Output (CVO) II and Test Pattern Generator (TPG) II
Parameter Settings
FPGA IP Parameters Value
12
1. Intel® Arria® 10 DisplayPort TX-only Design
AN-883 | 2019.02.20
2. Connect the CVO II and TPG II Intel FPGA IP instances in the Platform Designer.
Dout
Din
Main Clock
Main Reset
Clocked Video
13
1. Intel® Arria® 10 DisplayPort TX-only Design
AN-883 | 2019.02.20
Note: The CVO II and TPG II Intel FPGA IPs share the reset input from the reset
generator output.
3. Ensure the CVO II FPGA IP signals are exported out from Platform Designer and
connected to the signals in the DisplayPort TX sub-system as shown below.
Vid_v_sync Tx_vid_v_sync
Vid_h_sync Tx_vid_h_sync
Tx_vid_clk Vid_datavalid Tx_vid_de Tx_vid_clk
Vid_data Tx_vid_data
Note: The CVO II and TPG II Intel FPGA IPs share the reset input from the reset
generator output.
outclk_0 (default) 160 MHz output clock that acts as the main clock for CVO II
and TPG II FPGA IP instances.
outclk_1 (default) 16 MHz output clock for DisplayPort Source 1 Mbps AUX
channel interface.
outclk_2 (user-generated) 148.5 MHz output clock for DisplayPort TX and CVO II video
clocks.
Note: The 148.5 MHz clock frequency supports the native
4K or UHD resolution video output. Other video
formats may run at different clock frequency.
1. Before you make the connection, in the Platform Designer turn on the Shared
Reconfiguration Interface parameter in the Transceiver Native PHY block to
allow for single Avalon-MM slave interface for dynamic reconfiguration of all
channels.
2. Update the transceiver signal width as shown below in the design top-level and
the tx_phy_top.v files.
14
1. Intel® Arria® 10 DisplayPort TX-only Design
AN-883 | 2019.02.20
gxb_tx_rcfg_write Input 1
gxb_tx_rcfg_read Input 1
gxb_tx_rcfg_address Input 12
gxb_tx_rcfg_writedata Input 32
gxb_tx_rcfg_readdata Input 32
gxb_tx_rcfg_waitrequest Input 1
3. Make a direct connection from the Bitec Reconfig block to the TX transceiver block
in the tx_phy_top.v file as shown in the diagram below..
Tx_rcfg_writedata
Tx_rcfg_address
Tx_rcfg_write
Bitec_reconfig_alt_a10
Tx_rcfg_read
Tx_rcfg_readdata
Tx_rcfg_waitrequest
Tx_rcfg_cal_busy
Gxb_tx_rcfg_writedata
Gxb_tx_rcfg_address
Gxb_tx_rcfg_write
Gxb_tx_rcfg_read
Gxb_tx
Gxb_tx_rcfg_readdata
Gxb_tx_rcfg_waitrequest
_
Gxb_tx_rcfg_cal_busy
Tx_phy_top
15
1. Intel® Arria® 10 DisplayPort TX-only Design
AN-883 | 2019.02.20
1. First, modify the software's config.h file. Navigate to the design example folder
and change the values of the following parameter settings in the file.
2. Next, for debugging purposes, modify the debug.c file located in the software/
dp_demo folder. Open the debug.c file and remove the void
bitec_dp_dump_sink_msa() and void bitec_dp_dump_sink_config()
functions.
Note: Any modifications you make in the debug.c script will be overwritten each
time you rebuild the software. To prevent this, place a copy of the debug.c
file in the main software folder before you modify.
16