Altera DisplayPort MegaCore Function Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Měřící nástroje Altera DisplayPort MegaCore Function. Altera DisplayPort MegaCore Function User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 195
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků

Shrnutí obsahu

Strany 1 - San Jose, CA 95134

DisplayPort IP Core User GuideSubscribeSend FeedbackUG-011312015.05.04101 Innovation DriveSan Jose, CA 95134www.altera.com

Strany 2 - Contents

Item DescriptionTypical Application • Interfaces within a PC or monitor• External display connections, includinginterfaces between a PC and monitor or

Strany 3

Figure 7-7: Reconfiguration Top Manager FSM for Arria 10 DevicesThis flow chart shows the reconfiguration FSM flow for Arria 10 transceivers. When the

Strany 4

Figure 7-8: RX, TX and TX Analog Reconfiguration Manager FSM for Arria 10 DevicesThis flow chart shows the reconfiguration flow for the RX, TX, and TX

Strany 5

DisplayPort API Reference82015.05.04UG-01131SubscribeSend FeedbackYou can use the DisplayPort IP core to instantiate sources and sinks. Source instant

Strany 6

The following figure shows a more detailed view of these operations. For a sink application, the userapplication must initialize the DPCD content and

Strany 7

Example 8-1: Typical Sink ISR Implementationbtc_dprx_aux_get_request (0,&cmd,&address,&length,data); btc_dprx_aux_handler(0,cmd,address,le

Strany 8

Available from ISR: YesInclude: < btc_dprx_syslib.h >Return: 0 = success, 1 = failParameters: • rx_idx—Sink instance index (0 - 3)• cmd—Pointer

Strany 9

Description: This function processes an AUX channel request issued by the connected DisplayPortsource.cmd and address are the command byte and the add

Strany 10 - Related Information

Description: This function transmits an AUX channel reply to the connected DisplayPort source.cmd is the reply command byte (refer to the DisplayPort

Strany 11 - About This IP Core

Return: 0 = success, 1 = failParameters: • rx_idx—Sink instance index (0 - 3)• wrcmd—0 = read, 1 = write• address—Address• length—Length (1 - 255)• da

Strany 12 - IP Core Verification

btc_dprx_hpd_getPrototype: int btc_dprx_hpd_get(BYTE rx_idx)Thread-safe: YesAvailable from ISR: YesInclude:<btc_dprx_syslib.h>Return: 0 = succes

Strany 13

About This IP Core22015.05.04UG-01131SubscribeSend FeedbackThis document describes the Altera® DisplayPort MegaCore® function, which provides support

Strany 14 - Getting Started

Related Information• btc_dprx_hpd_get on page 8-8• btc_dprx_hpd_set on page 8-9btc_dprx_hpd_setPrototype:void btc_dprx_hpd_set( BYTE rx_idx, int

Strany 15 - Simulating the Design

Return: 0 = success, 1 = failParameters: • rx_idx—Sink instance index (0 - 3)• rx_base_addr—RX base address• rx_irq_id—RX IRQ ID• rx_irq_num—RX IRQ nu

Strany 16

btc_dprx_syslib_initPrototype: int btc_dprx_syslib_init(void)Thread-safe: NoAvailable from ISR: NoInclude: < btc_dprx_syslib.h >Return: 0 = succ

Strany 17 - DisplayPort Source

btc_dptx_syslib API ReferenceThis section provides information about the DisplayPort source system library functions(btc_dptx_syslib), including:• C p

Strany 18 - Source Functional Description

btc_dptx_aux_i2c_writePrototype:int btc_dptx_aux_i2c_write( BYTE address, BYTE size, BYTE *data, BYTE mot)Thread-safe: NoAvailable

Strany 19 - Main Data Path

Return: • 0 = AUX_ACK replied• 1 = Source internal error• 2 = Reply timeout• 3 = AUX_NACK replied• 4 = AUX_DEFER replied• 5 = Invalid replyParameters

Strany 20 - Multiplexer

Related Informationbtc_dptx_aux_read on page 8-13btc_dptx_baseaddrPrototype: unsigned int btc_dptx_baseaddr(void)Thread-safe: YesAvailable from ISR: Y

Strany 21 - Source Parameters

Related Informationbtc_dptx_edid_read on page 8-16btc_dptx_edid_readPrototype: int btc_dptx_edid_read(BYTE *data)Thread-safe: NoAvailable from ISR: Ye

Strany 22 - Parameter Description

Parameters: • link_rate—Link rate (Gbps): 0 = 1.62; 1 = 2.70; 2 = 5.40• lane_count—1, 2, or 4• volt_swing—0, 1, 2, or 3• pre_emph—0, 1, 2, or 3• new_c

Strany 23 - Source Interfaces

btc_dptx_set_color_spacePrototype:int btc_dptx_set_color_space( BYTE format, BYTE bpc, BYTE range, BYTE colorimetry)Thread-safe: NoAv

Strany 24

Device Family SupportThe following table lists the link rate support offered by the DisplayPort IP core for each Altera devicefamily.Table 2-1: Link R

Strany 25

Description: Initializes the system library. Should be invoked as the first function in the libraryby main( ). Set the base address of TX or RX to BTC

Strany 26 - Port Direction Description

Description: This function handles test automation requests from the connected DisplayPortsink. You should invoke this function after the IP core sens

Strany 27 - Controller Interface

DisplayPort Source Register Map and DPCDLocations92015.05.04UG-01131SubscribeSend FeedbackDisplayPort source instantiations require an embedded contro

Strany 28 - Video Interface

Reset: 0×00000000Table 9-2: DPTX_TX_CONTROL BitsBit Bit Name Function31HPD_IRQ_ENEnables an IRQ issued to the Nios II processor on an HPD event:• 0 =

Strany 29 - TX Transceiver Interface

Bit Bit Name Function3:0TPCurrent training pattern:• 0000 = Normal video• 0001 = Training pattern 1• 0010 = Training pattern 2• 0011 = Training patter

Strany 30 - Secondary Stream Interface

Source MSA RegistersThe MSA registers are allocated at addresses:• 0×0020 through 0×002e for Stream 0• 0×0040 through 0×004e for Stream 1• 0×0060 thro

Strany 31

Table 9-6: DPTX0_MSA_HTOTAL BitsBit Bit Name Function31:16 Unused15:0 HTOTAL Main stream attribute HTOTALDPTX0_MSA_VTOTALAddress: 0×0023Direction: ROR

Strany 32 - Audio Interface

Table 9-9: DPTX0_MSA_HSW BitsBit Bit Name Function31:15 Unused14:0 HSW Main stream attribute horizontalsync widthDPTX0_MSA_HSTARTAddress: 0×0026Direct

Strany 33 - 31 29 28 25 2430 27 26 23 0

Table 9-12: DPTX0_MSA_VSP BitsBit Bit Name Function31:1 Unused0 VSP Main stream attribute verticalsync polarity• 0 = Positive• 1 = NegativeDPTX0_MSA_V

Strany 34 - MSA Interface

Table 9-15: DPTX0_MSA_VHEIGHT BitsBit Bit Name Function31:16 Unused15:0 VHEIGHT Main stream attributeVHEIGHTDPTX0_MSA_MISC0Address: 0×002cDirection: R

Strany 35 - Source Clock Tree

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;

Strany 36

Table 9-18: DPTX0_MSA_MISC1 BitsBit Bit Name Function31:7 Unused6 COLORIMETRY 0 = ITU-R BT601-51 = ITU-R BT709-55 DYNAMIC_RANGE 0 = VESA (from 0 to ma

Strany 37 - DisplayPort Sink

DPTX_PRE_VOLT1These ports drive the respective tx_analog_reconfig ports.Address: 0×0011Direction: RWReset: 0×00000000Table 9-20: DPTX_PRE_VOLT1 BitsBi

Strany 38 - Transceiver Management

Table 9-22: DPTX_PRE_VOLT3 BitsBit Bit Name Function31:4 Unused3:2PRE3Pre-emphasis output on lane 31:0VOLT3Voltage swing output on lane 3DPTX_RECONFIG

Strany 39

Table 9-24: DPTX_TIMESTAMP BitsBit Bit Name Function31:24 Unused 8’b0000000023:0TIMESTAMPFree-running counter value (1 tick equals 100 µs)Source Audio

Strany 40 - Sink Parameters

Bit Bit Name Function2:0CH_COUNTChannel count• 000 = 1 channel• 001 = 2 channels...• 111 = 8 channelsSource CRC RegistersThe CRC registers are allocat

Strany 41

Bit Bit Name Function15:0CRC_GInput video CRC for the greencomponentComputed video CRC blue component, DPTX0_CRC_B, bits.Address: 0×0032Direction: ROR

Strany 42 - Sink Interfaces

Bit Bit Name Function0 MST_ENEnable or disable MST• 1 = MST framing• 0 = SST framingWhen you assert VCPTAB_UPD_FORCE, the source forces the VC payload

Strany 43

Table 9-31: DPTX_MST_VCPTAB1 BitsBit Bit Name Function31:28 VCPSLOT15VC payload ID or slot 1527:24 VCPSLOT14VC payload ID or slot 1423:20 VCPSLOT13VC

Strany 44

DPTX_MST_VCPTAB3VC Payload ID TableAddress: 0×00a5Direction: RWReset: 0×00000000Table 9-33: DPTX_MST_VCPTAB3 BitsBit Bit Name Function31:28 VCPSLOT31V

Strany 45

Bit Bit Name Function11:8 VCPSLOT34VC payload ID or slot 347:4 VCPSLOT33VC payload ID or slot 333:0 VCPSLOT32VC payload ID or slot 32DPTX_MST_VCPTAB5V

Strany 46

Getting Started32015.05.04UG-01131SubscribeSend FeedbackThis chapter provides a general overview of the Altera IP core design flow to help you quickly

Strany 47

Table 9-36: DPTX_MST_VCPTAB6 BitsBit Bit Name Function31:28 VCPSLOT55VC payload ID or slot 5527:24 VCPSLOT54VC payload ID or slot 5423:20 VCPSLOT53VC

Strany 48 - Interface Port Type Clock

DPTX_MST_TAVG_TSTarget Average TimeslotsAddress: 0×00aaDirection: RWReset: 0×40404040Table 9-38: DPTX_MST_TAVG_TS BitsBit Bit Name Function31 Unused30

Strany 49

For transaction replies:1. Issue a transaction request.2. Wait for MSG_READY to be 1. Implement a timeout.3. Read the transaction reply’s total length

Strany 50 - Debugging Interface

DPTX_AUX_BYTE0AUX Transaction Byte 0 Register.Address: 0×0102Direction: RWReset: 0×00000000Table 9-41: DPTX_AUX_BYTE0 BitsBit Bit Name Function31:8 Un

Strany 51 - Bit Comments

Bit Bit Name Function7:0BYTETransaction length[3:0] for the next request, or data(2) receivedin the last reply (refer to the DisplayPort specification

Strany 52

Table 9-46: DPTX_AUX_BYTE5 BitsBit Bit Name Function31:8 Unused7:0BYTETransaction data(2) for the next request, or data(5) receivedin the last replyDP

Strany 53

Reset: 0×00000000Table 9-49: DPTX_AUX_BYTE8 BitsBit Bit Name Function31:8 Unused7:0 BYTE Transaction data(5) for the next request, or data(8) received

Strany 54 - Clocked Video Input Interface

Direction: RWReset: 0×00000000Table 9-52: DPTX_AUX_BYTE11 BitsBit Bit Name Function31:8 Unused7:0BYTETransaction data(8) for the next request, or data

Strany 55 - RX Transceiver Interface

DPTX_AUX_BYTE14AUX Transaction Byte 14 Register.Address: 0×0110Direction: RWReset: 0×00000000Table 9-55: DPTX_AUX_BYTE14 BitsBit Bit Name Function31:8

Strany 56

DPTX_AUX_BYTE17AUX Transaction Byte 17 Register.Address: 0×0113Direction: RWReset: 0×00000000Table 9-58: DPTX_AUX_BYTE17 BitsBit Bit Name Function31:8

Strany 57

• 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

Strany 58

Source-Supported DPCD LocationsThe following table describes the DPCD locations (or location groups) that are supported in DisplayPortsource instantia

Strany 59 - Bit Signal Comments

Location Name AddressPAYLOAD_ALLOCATE_START_TIME_SLOT 0×01C1PAYLOAD_ALLOCATE_TIME_SLOT_COUNT 0×01C2SINK_COUNT 0×0200DEVICE_SERVICE_IRQ_VECTOR 0×0201LA

Strany 60 - Sink Clock Tree

DisplayPort Sink Register Map and DPCDLocations102015.05.04UG-01131SubscribeSend FeedbackDisplayPort sink instantiations greatly benefit from and may

Strany 61 - Figure 5-11: Sink Clock Tree

Table 10-2: DPRX_RX_CONTROL BitsBit Bit Name Function31:30 Unused29LQA_ACTIVE• 0 = Link Quality Analysis not used• 1 = Link Quality Analysis in progre

Strany 62 - Subscribe

Table 10-3: DPRX_RX_CONTROL Bits (Non-Controller Mode)Bit Bit Name Function31:24 Unused23:16RX_LINK_RATEMain link rate expressed as multiples of 270 M

Strany 63 - FPGA Development Board

Bit Bit Name Function6SYM_LOCK20 = Symbol unlocked (lane 2)1 = Symbol locked (lane 2)5SYM_LOCK10 = Symbol unlocked (lane 1)1 = Symbol locked (lane 1)4

Strany 64

Bit Bit Name Function5SYM_LOCK10 = Symbol unlocked (lane 1)1 = Symbol locked (lane 1)4SYM_LOCK00 = Symbol unlocked (lane 0)1 = Symbol locked (lane 0)3

Strany 65 - Clock Recovery Core

Bit Bit Name Function23Unused22:21 PHY_SINK_TEST_LANE_SELSpecifies the lane that is being tested, when PHY_SINK_TEST_LANE_EN is 1,• 00 = Lane 0• 01 =

Strany 66

Bit Bit Name Function1:0CNTSELCount selection:• 00 = Disparity and illegal comma codes• 01 = Disparity• 10 = Illegal comma codes• 11 = ReservedDPRX_BE

Strany 67 - Clock Recovery Interface

Reset: 0×00000000Table 10-8: DPRX_BER_CNTI0 BitsBit Bit Name Function31 Unused30:16CNT1Symbol error counter for lane 115 Unused14:0CNT0Symbol error co

Strany 68

Related InformationDisplayPort IP Core Simulation Example on page 7-1The Altera DisplayPort simulation example allows you to evaluate the functionalit

Strany 69

DPRX0_MSA_MVIDAddress: 0×0020Direction: ROReset: 0×00000000Table 10-10: DPRX0_MSA_MVID BitsBit Bit Name Function31:24 Unused23:0MVIDMain stream attrib

Strany 70

Reset: 0×00000000Table 10-13: DPRX0_MSA_VTOTAL BitsBit Bit Name Function31:16 Unused15:0MVIDMain stream attribute VTOTALDPRX0_MSA_HSPMSA horizontal sy

Strany 71 - Video Input Port

Reset: 0×00000000Table 10-16: DPRX0_MSA_HSTART BitsBit Bit Name Function31:16 Unused15:0HSTARTMain stream attribute HSTARTDPRX0_MSA_VSTARTAddress: 0×0

Strany 72 - Transceiver and Clocking

Direction: ROReset: 0×00000000Table 10-19: DPRX0_MSA_VSW BitsBit Bit Name Function31:15 Unused14:0VSWMain stream attribute vertical synchronization wi

Strany 73 - Datapath Options

Table 10-22: DPRX0_MSA_MISC0 BitsBit Bit Name Function31:8 Unused7:0MISC0Main stream attribute MISC0DPRX0_MSA_MISC1Address: 0×002dDirection: ROReset:

Strany 74 - Standard PCS

Sink Audio RegistersThe audio registers are allocated at addresses:• 0×0030 through 0×003f for Stream 0• 0×0050 through 0×005f for Stream 1• 0×0070 th

Strany 75 - Required Hardware

Reset: 0×00000000Table 10-27: DPRX0_AUD_AIF0 BitsBit Bit Name Function31:8 Unused7:0AIFReceived audio InfoFrame byte 0 (refer to CEA-861-Especificatio

Strany 76

Direction: ROReset: 0×00000000Table 10-30: DPRX0_AUD_AIF3 BitsBit Bit Name Function31:8 Unused7:0AIFReceived audio InfoFrame byte 3 (refer to CEA-861-

Strany 77 - HSMC Connector J4A

Bit Bit Name Function29:20 Unused19:16 VCP_ID3VC payload ID for Stream 315:12 VCP_ID2VC payload ID for Stream 211:8 VCP_ID1VC payload ID for Stream 17

Strany 78 - HSMC Connector J4B

Address: 0×00a2Direction: RWReset: 0×00000000Table 10-34: DPRX_MST_VCPTAB0 BitsBit Bit Name Function31:28 VCPSLOT7VC payload ID or slot 727:24 VCPSLOT

Strany 79

DisplayPort Source42015.05.04UG-01131SubscribeSend FeedbackSource OverviewThe DisplayPort source has a scalable main link with 1, 2, or 4 lanes for a

Strany 80 - DP RX Connector J1

Bit Bit Name Function3:0 VCPSLOT8VC payload ID or slot 8DPRX_MST_VCPTAB2VC Payload ID TableAddress: 0×00a4Direction: RWReset: 0×00000000Table 10-36: D

Strany 81 - DP RX Connector J2

Bit Bit Name Function23:20 VCPSLOT29VC payload ID or slot 2919:16 VCPSLOT28VC payload ID or slot 2815:12 VCPSLOT27VC payload ID or slot 2711:8 VCPSLOT

Strany 82

Reset: 0×00000000Table 10-39: DPRX_MST_VCPTAB5 BitsBit Bit Name Function31:28 VCPSLOT47VC payload ID or slot 4727:24 VCPSLOT46VC payload ID or slot 46

Strany 83 - Design Walkthrough

DPRX_MST_VCPTAB7VC Payload ID TableAddress: 0×00a9Direction: RWReset: 0×00000000Table 10-41: DPRX_MST_VCPTAB7 BitsBit Bit Name Function31:28 VCPSLOT63

Strany 84 - Set Up the Hardware

The sink asserts the IRQ when AUX_IRQ_EN = 1 and MSG_READY = 1. To deassert IRQ, set AUX_IRQ_EN to 0or read from DPRX_AUX_COMMAND.Address: 0×0100Direc

Strany 85 - File Type File Description

Bit Bit Name Function30READY_TO_TX0 = Busy sending a reply or waiting for a request1 = Ready to send a reply29:2Unused1SRC_PWR_DETECT0 = Upstream powe

Strany 86 - Load, and Run the Software

Bit Bit Name Function7:0BYTETransaction address[15:8] received in the last request, or data(0)for the next replyDPRX_AUX_BYTE1AUX Transaction Byte 1 R

Strany 87 - View the Results

Table 10-48: DPRX_AUX_BYTE3 BitsBit Bit Name Function31:8 Unused7:0BYTETransaction data(0) received in the last request, or data(3) for thenext replyD

Strany 88

Reset: 0×00000000Table 10-51: DPRX_AUX_BYTE6 BitsBit Bit Name Function31:8 Unused7:0BYTETransaction data(3) received in the last request, or data(6) f

Strany 89

Direction: RWReset: 0×00000000Table 10-54: DPRX_AUX_BYTE9 BitsBit Bit Name Function31:8 Unused7:0BYTETransaction data(6) received in the last request,

Strany 90

Source Functional DescriptionThe DisplayPort source has a complete set of parameters for optimizing device resources.The DisplayPort source consists o

Strany 91

DPRX_AUX_BYTE12AUX Transaction Byte 12 Register.Address: 0×010fDirection: RWReset: 0×00000000Table 10-57: DPRX_AUX_BYTE12 BitsBit Bit Name Function31:

Strany 92

Bit Bit Name Function7:0BYTETransaction data(11) received in the last request, or data(14)for the next replyDPRX_AUX_BYTE15AUX Transaction Byte 15 Reg

Strany 93

Table 10-62: DPRX_AUX_BYTE17 BitsBit Bit Name Function31:8 Unused7:0BYTETransaction data(14) received in the last requestDPRX_AUX_BYTE18AUX Transactio

Strany 94

Address: 0×0117WO0×00000000Table 10-65: DPRX_AUX_I2C1 BitsBit Bit Name Function31:15 Unused14:8END_ADDRI2C slave end address7 Unused6:0START_ADDRI2C s

Strany 95

Bit Bit Name Function12HPD_IRQWriting this bit at 1 generates a 0.75-ms long HPD IRQ (low pulse).This bit is WO.To use this bit, HPD_EN must be 1.11HP

Strany 96

Location Name Address WithoutControllerWith ControllerEDP_CONFIGURATION_CAP0×000D — YesTRAINING_AUX_RD_INTERVAL0×000E — YesADAPTER_CAP0×000F — YesFAUX

Strany 97

Location Name Address WithoutControllerWith ControllerTRAINING_LANE0_1_SET20×010F — YesTRAINING_LANE2_3_SET20×0110 — YesMSTM_CTRL0×0111 — YesAUDIO_DEL

Strany 98

Location Name Address WithoutControllerWith ControllerTEST_REQUEST 0×0218— YesTEST_LINK_RATE 0×0219— YesTEST_LANE_COUNT0×0220 — YesTEST_PATTERN0×0221

Strany 99

Location Name Address WithoutControllerWith ControllerTEST_CRC_R_Cr0×0240 Yes —TEST_CRC_G_Y0×0242 Yes —TEST_CRC_B_Cb0×0244 Yes —TEST_SINK_MISC0×0246 Y

Strany 100 - Send Feedback

Location Name Address WithoutControllerWith ControllerIEEE_OUI0×0401 — YesIEEE_OUI0×0402 — YesDEVICE_IDENTIFICATION_STRING0×0403 — YesHARDWARE_REVISIO

Strany 101

Figure 4-3: DisplayPort Source Functional Block Diagram8B/10BEncoderMultiplexerFixed MSA(txN_msa)Avalon-MM(tx_mgmt)Bidirectional AUX DataAUX Debug Str

Strany 102 - DisplayPort API Reference

Location Name Address WithoutControllerWith ControllerLANE2_3_STATUS_ESI0×200D — YesLANE_ALIGN STATUS_UPDATED_ESI0×200E — YesSINK_STATUS_ESI0×200F — Y

Strany 103 - 2015.05.04

Additional InformationA2015.05.04UG-01131SubscribeSend FeedbackDocument Revision HistoryThe following table lists the revision history for this docume

Strany 104

Date Version ChangesDecember 2014 2014.12.15• Added information about multi-stream support (MST, 1 to 4 sourceand sink streams). You can access this f

Strany 105

Date Version Changes• Changed the value of the following source register bits:• 0×0000 - Bits RX_LINK_RATE• 0×0001 - Bits RX_LINK_RATE• 0×0002 - Bits

Strany 106

Date Version ChangesJune 2014 2014.06.30• Native PHY is removed from the IP core; included informationabout how to instantiate the PHY outside the Dis

Strany 107

Date Version ChangesNovember 2013 13.1 • Updated the source and sink register map information.• Added dual and quad pixel mode support.• Added support

Strany 108

ContentsDisplayPort IP Core Quick Reference... 1-1About This IP Core...

Strany 109

Packetizer PathThe packetizer path provides video data resampling and packetization, and consists of the following steps:1. The pixel steer block deci

Strany 110

Embedded DisplayPort (eDP) SupportThe DisplayPort IP core is compliant with eDP version 1.3. eDP is based on the VESA DisplayPortstandard. It has the

Strany 111

Parameter DescriptionPixel input mode Select the number of pixels per clock (single, dual, orquad symbol).• If you select dual pixels per clock, the p

Strany 112

Parameter Description16-bpc YCbCr 4:2:2 (32 bpp) Turn on to support 32 bpp encoding.Support MST Turn on to enable multi-stream support.Max stream coun

Strany 113

Table 4-3: Transceiver Management Interfacen is the number of TX lanes.Interface Port Type Clock Domain Port Direction Descriptionxcvr_mgmt_clkClock N

Strany 114

Table 4-4: Video Interfacev is the number of bits per color, p is the pixels per clock (1 = single, 2 = dual, and 4 = quad). N is the streamnumber; fo

Strany 115

Table 4-6: Secondary InterfaceN is the stream number; for example, tx_msa_conduit represents Stream 0, tx1_msa_conduit represents Stream1, and

Strany 116

Table 4-8: TX Transceiver Interfacen is the number of TX lanes, s is the number of symbols per clock.Note: Connect the DisplayPort signals to the Nati

Strany 117

AUX InterfaceThe IP core has three ports that control the serial data across the AUX channel:• Data input (tx_aux_in)• Data output (tx_aux_out)• Outpu

Strany 118

Figure 4-4: Video Input Data Format18 bpp to 48 bpp port width when txN_video_in port width is 48 (16 bpc, 1 pixel per clock)47 32 31 16 15 0txN_vid_d

Strany 119

Controller Interface...5-13AUX Int

Strany 120

reset (tx_digitalreset), analog reset (tx_analogreset), and PLL powerdown signals(tx_pll_powerdown) of the transceiver.Transceiver Reconfiguration Int

Strany 121

The txN_ss interface input data format corresponds to four, 15-nibble code words as specified by theDisplayPort version 1.2a specification section 2.2

Strany 122 - Locations

Figure 4-8: Typical Secondary Stream Packet000HB2000HB3000HB1000DB15DB10DB9DB8DB7DB14DB13DB12DB11DB6DB5DB4DB3DB2DB1HB0 DB0DB31DB26DB25DB24DB23DB30DB29

Strany 123 - Bit Bit Name Function

Table 4-10: Audio SignalsSignal CommentstxN_audio_clkAudio interface input clock.txN_audio_validAudio input data valid.txN_audio_muteWhen asserted, in

Strany 124 - DPTX_TX_STATUS

Bit Name Bit Position DescriptionSP Byte 3, bit 7 Sample present bit:1: Sample information is present and can be processed.0: Sample information is no

Strany 125 - Source MSA Registers

Bit Signal Comments79:64Vstart[15:0] Vertical active start from V-sync start in lines (V-sync width +Vertical back porch)63VSP V-sync polarity 0 = Act

Strany 126 - DPTX0_MSA_HSW

Figure 4-10: Source Clock TreeFront-EndAudio FIFOAudioEncoderSecondaryStreamEncoderFront-EndVideo FIFOAUXControllerControllerInterfaceSyncBack-EndEnco

Strany 127 - DPTX0_MSA_VSP

DisplayPort Sink52015.05.04UG-01131SubscribeSend FeedbackSink OverviewThe DisplayPort sink has a scalable main link with 1, 2, or 4 lanes for a total

Strany 128 - DPTX0_MSA_VHEIGHT

Figure 5-2: DisplayPort Sink Top-Level Block DiagramDisplayPort SinkDecoderrxN_ssrxN_ss_clkrxN_audiorxN_video_outrxN_vid_clkrxN_msa_conduitrxN_streamr

Strany 129 - DPTX0_MSA_COLOUR

Figure 5-3: DisplayPort Sink Functional Block DiagramVideo Output(rxN_video_out)20-Bit (Dual Symbol) or 40-Bit (Quad Symbol) Data from Transceiver(rx_

Strany 130 - DPTX_PRE_VOLT0

btc_dptx_syslib API Reference... 8-12btc_

Strany 131 - DPTX_PRE_VOLT3

Embedded DisplayPort (eDP) SupportThe DisplayPort IP core is compliant with eDP version 1.3. eDP is based on the VESA DisplayPortstandard. It has the

Strany 132 - Source Timestamp

Parameter DescriptionPixel output mode Select the number of pixels per clock (single, dual, orquad symbol).• If you select dual pixels per clock, the

Strany 133 - Source Audio Registers

Parameter Description16-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 decodi

Strany 134 - Source CRC Registers

Interface Port Type Clock Domain Port Direction Descriptionrx_mgmt AV-MM clkrx_mgmt_address[8:0]InputAvalon-MM interfacefor embeddedcontrollerrx_mgmt_

Strany 135 - Source MST Registers

Table 5-4: Video Interfacev is the number of bits per color, p is the pixels per clock (1 = single, 2 = dual, and 4 = quad), and N is the streamnumber

Strany 136 - DPTX_MST_VCPTAB1

Interface Port Type Clock Domain Port Direction Descriptionrx_aux Conduit aux_clkrx_aux_inInputAUX channel interfacerx_aux_outOutputrx_aux_oeOutputrx_

Strany 137 - DPTX_MST_VCPTAB2

Interface Port Type Clock Domain Port Direction DescriptionEDID(rx_edid)AV-MM aux_clkrx_edid_address[7:0]OutputAvalon-MM masterinterface to externalon

Strany 138 - DPTX_MST_VCPTAB4

Interface Signal Type Clock Domain Port Direction DescriptionMSA(rxN_msa_conduit)Conduitrx_ss_clk rxN_msa[216:0]Output Output for currentMSA parameter

Strany 139 - DPTX_MST_VCPTAB6

Table 5-9: RX Transceiver Interfacen is the number of RX lanes, s is the number of symbols per clock.Note: Connect the DisplayPort signals to the Nati

Strany 140 - DPTX_MST_VCPTAB7

Controller InterfaceThe controller interface allows you to control the sink from an external or on-chip controller, such as theNios II processor for d

Strany 141 - DPTX_AUX_CONTROL

DPTX_MST_VCPTAB0...9-15DPTX_MST_VCPTAB1...

Strany 142 - DPTX_AUX_CMD

Port Commentsrx_aux_debug_eopIndicates the message packet’s last byte. The last byte should be ignoredand is not part of the message.rx_aux_debug_errI

Strany 143 - DPTX_AUX_BYTE2

Bit Comments39:32 Lane 2 symbol n31:24 Lane 1 symbol n + 123:16 Lane 1 symbol n15:8 Lane 0 symbol n + 17:0 Lane 0 symbol n Table 5-12: rxN_stream_dat

Strany 144 - DPTX_AUX_BYTE5

Bit Comments7:0 Lane 0 symbol nWhen data is received, data is produced on lane 0, lanes 0 and 1, or on all four lanes according to howmany lanes are c

Strany 145 - DPTX_AUX_BYTE8

Figure 5-5: Video Output Data Format18 bpp to 48 bpp Port Width when rxN_video_out port width is 48 (16 bpc, 1 Pixel per Clock)47 32 31 16 15 0rxN_vid

Strany 146 - DPTX_AUX_BYTE11

Clocked Video Input InterfaceThe rxN_video_out interface may interface with a clocked video input (CVI). CVI accepts the followingvideo signals with a

Strany 147 - DPTX_AUX_BYTE13

assign vid_h_sync = rx_vid_h_sync;assign vid_de = rx_vid_valid;assign vid_v_sync = rx_vid_v_sync;RX Transceiver InterfaceThe transceiver or Native PHY

Strany 148 - DPTX_AUX_BYTE16

downstream Reed-Solomon decoder. The format differs for both header and payload, as shown in thefollowing figure.Figure 5-8: rxN_ss Input Data Format0

Strany 149 - DPTX_AUX_RESET

Figure 5-9: Typical Secondary Stream Packet000HB2000HB3000HB1000DB15DB10DB9DB8DB7DB14DB13DB12DB11DB6DB5DB4DB3DB2DB1HB0 DB0DB31DB26DB25DB24DB23DB30DB29

Strany 150 - Location Name Address

Figure 5-10: rxN_audio Data OutputAudio Sample PeriodrxN_audio_lpcm_datarx_ss_clkrxN_audio_validThe captured audio infoframe is available on the audio

Strany 151

Bit Signal Comments214:209vbid_vbid[5:0]VB-ID bit field:• vbid[0] - VerticalBlanking_Flag• vbid[1] - FieldID_Flag (for progressive video, this remains

Strany 152

DPRX0_MSA_HTOTAL...10-9DPRX0_MSA_VTOTAL...

Strany 153

Bit Signal Comments15:8msa_MISC0[7:0] The MISC0[7:1] and MISC1[7] fields indicate the colorencoding format. The color depth is indicated in MISC0[7:5]

Strany 154 - DPRX_RX_STATUS

Figure 5-11: Sink Clock TreeAudioDecoderBack-EndVideo FIFOAUXControllerControllerInterfaceDCFIFOFront-EndDecoderDCFIFODCFIFODCFIFOHSSIO0HSSIO1HSSIO2HS

Strany 155

DisplayPort IP Core Hardware Demonstration62015.05.04UG-01131SubscribeSend FeedbackThe Altera DisplayPort hardware demonstration evaluates the functio

Strany 156 - DPRX_BER_CONTROL

Figure 6-1: Hardware Demonstration OverviewDisplayPort IP Core(Source)ClockRecoveryDisplayPort IP Core (Sink)User LEDsRXTXBitec HSMCDisplayPortDaughte

Strany 157

Figure 6-2: Hardware Demonstration Block DiagramNios IIProcessorTransceiverReconfigurationRXTXDisplayPort IP Core BitecDisplayPort CoreQsys System (co

Strany 158 - Sink Bit-Error Counters

Arria V/Cyclone V/Stratix V/ FunctionUSER_LED[7:6]These LEDs indicate the RX link rate.• 00 = RBR• 01 = HBR• 10 = HBR2Tip: When creating your own desi

Strany 159 - Sink MSA Registers

The clock recovery core produces resynchronized video data together with the following clocks:• Recovered video pixel clock• Second clock with twice t

Strany 160 - DPRX0_MSA_VTOTAL

Table 6-2: Clock Recovery Core ParametersParameter Default Value DescriptionSYMBOLS_PER_CLOCK 4 Specifies the configuration of the DisplayPortRX trans

Strany 161 - DPRX0_MSA_HSTART

Table 6-3: Clock Recovery Interface SignalsInterface Port Type Clock Domain Port Direction Descriptioncontrol clock Clock N/A clk Input Control logic

Strany 162 - DPRX0_MSA_VSW

Interface Port Type Clock Domain Port Direction DescriptionRX link rate Conduitasynchronousrx_link_rate[1:0]Input DisplayPort RX link rate.• 00 = RBR

Strany 163 - DPRX0_MSA_MISC0

DPRX_AUX_BYTE15...10-30DPRX_AUX_BYTE16..

Strany 164 - DPRX0_VBID

Interface Port Type Clock Domain Port Direction DescriptionVideo Input Conduit vidin_clkvidin_clkInput Pixel clock.vidin_data(BPP*PIXELS_PER_CLOCK–1:0

Strany 165 - Sink Audio Registers

Interface Port Type Clock Domain Port Direction DescriptionVideo Output Conduit rec_clkrec_clk Output Reconstructed videoclock.rec_clk_x2 Output Recon

Strany 166 - DPRX0_AUD_AIF3

Figure 6-5: Video Input Port Timing Diagramvidin_datavidin_validvidin_solvidin_eolvidin_sofvidin_oefWhen the PIXELS_PER_CLOCK parameter is greater tha

Strany 167 - Sink MST Registers

Parameters Single Reference Clock SettingsDatapath OptionsEnable standard PCSOnNumber of data channels1, 2 or 4Note: If you select 1 or 2, you mustins

Strany 168 - DPRX_MST_VCPTAB0

TX PLL0Selected reference clock source0Selected clock network×1 or ×NNote: If you select ×1, you must instantiatethe PHY instance multiple times foral

Strany 169 - DPRX_MST_VCPTAB1

Required HardwareThe hardware demonstration requires the following hardware:• Altera FPGA kit (includes USB cable to connect the board to your PC); th

Strany 170 - DPRX_MST_VCPTAB2

Figure 6-7: HSMC Connector Schematic DiagramFigure 6-8: TI Redriver to DisplayPort Source Connector Schematic DiagramUG-011312015.05.04Required Hardwa

Strany 171 - DPRX_MST_VCPTAB5

Figure 6-9: DisplayPort Sink Connector to TI Redriver Schematic DiagramTable 6-5: Bitec DisplayPort Daughter Card SignalsThe following table describes

Strany 172 - DPRX_MST_VCPTAB6

Bitec DP Card Signal Bitec Card I/ODescriptionHSMC Connector J4AHSMA_RX_P[3..0], HSMA_RX_N[3..0] OutputRX Main Link lane[3..0] differential signals.Th

Strany 173 - Sink AUX Controller Interface

HSMC Connector J4BRX_SENSE_N OutputThe sink uses this to detect the source power.• 0=Source DisplayPort cable is not powered.• 1=Source DisplayPort ca

Strany 174 - DPRX_AUX_STATUS

DisplayPort IP Core Quick Reference12015.05.04UG-01131SubscribeSend FeedbackThis document describes the Altera® DisplayPort MegaCore®function, which p

Strany 175 - DPRX_AUX_BYTE0

HSMC Connector J4BAUX_RX_DRV_OUT InputRX AUX channel output.Use this signal if the external AUX driver/receiver(U3) is populated.TX_CAD, RX_SDA_DDC, R

Strany 176 - DPRX_AUX_BYTE3

DP RX Connector J1PWR_OUT OutputDP_PWR 3.3V @ 500mA for sink-side cable adapter.A standard DisplayPort cable must have no wire forthis pin.DP RX Conne

Strany 177 - DPRX_AUX_BYTE6

//*********************************************************// Program VOD Level 1 and Pre-emphasis Level 0 for lane 1// (DPCD addr=0×00104, data=0×01)

Strany 178 - DPRX_AUX_BYTE9

Example 6-2: Example Hardware SetupFigure 6-10: Example Hardware Setup Using FPGA Development Board, Bitec Daughter Card,and Cables.Related Informatio

Strany 179 - DPRX_AUX_BYTE11

Set Up the HardwareSet up the hardware using the following steps:1. Connect the Bitec daughter card to the FPGA development board.2. Connect the devel

Strany 180 - DPRX_AUX_BYTE14

Table 6-6: Hardware Demonstration FilesFiles are named with <prefix>_<name>.<extension> where <prefix> represents the device (

Strany 181 - DPRX_AUX_BYTE17

File Type File DescriptionQuartus II IPfilesbitec_reconfig_alt_<prefix>.qipbitec_clkrec_dist.qipbitec_clkrec.qipQuartus II IP files that list th

Strany 182 - DPRX_AUX_I2C1

Note: To find <USB cable number>, use the jtagconfig command.Note: Refer to the Nios II Software Build Tools Reference chapter in the Nios II So

Strany 183 - DPRX_AUX_HPD

Figure 6-12: MSA OutputThe Nios II AUX printout shows each message packet on a separate line.• The first field is the incremental timestamp in microse

Strany 184 - Sink-Supported DPCD Locations

DisplayPort IP Core Simulation Example72015.05.04UG-01131SubscribeSend FeedbackThe Altera DisplayPort simulation example allows you to evaluate the fu

Strany 185 - With Controller

Item DescriptionIP Core InformationCore Features• Conforms to the Video ElectronicsStandards Association (VESA) specifica‐tion version 1.2a• Scalable

Strany 186

Figure 7-1: Simulation Example Block Diagram for Arria 10 DevicesDisplayPort IP Core(a10_dp.qsys)Native PHY IP Core(gxb_tx.qsys)Transceiver PHY ResetC

Strany 187

Figure 7-2: Simulation Example Block Diagram for Arria V and Stratix V DevicesThe files are named <prefix>_<name>.<extension> where

Strany 188

Table 7-1: Simulation Example Files for Arria 10 DevicesFile Type File DescriptionSystem VerilogHDL designfilesa10_dp_harness.sv Top-level test harnes

Strany 189

File Type File DescriptionWaveform .dofilesall.do Waveform that shows a combination of all waveforms.reconfig.do Waveform that shows the signals invol

Strany 190 - 0×200F — Yes

File Type File Descriptionvga_driver.v VGA driver (generates a test image).IP Catalog files<prefix>_ dp.v IP Catalog variant for the DisplayPort

Strany 191 - Additional Information

This script executes the following commands:• Generate the simulation files for the DisplayPort, transceivers, and transceiver reconfiguration IPcores

Strany 192 - Date Version Changes

View the ResultsYou can view the results in the ModelSim GUI by loading various .do files in the Wave viewer.1. Launch the ModelSim GUI with the vsim

Strany 193

Figure 7-4: TX Reconfiguration WaveformIn the timing diagram below, tx_link_rate is set to 1 (HBR). When the core makes a request, thetx_reconfig_req

Strany 194

Figure 7-5: TX Analog Reconfiguration WaveformIn the timing diagram below, tx_vod and tx_emp are both set to 00. When the core makes a request,the tx_

Strany 195

Figure 7-6: RX Video WaveformThis timing diagram shows an example RX video waveform when interfacing to CVI. The rx_vid_eolsignal generates the h_sync

Komentáře k této Příručce

Žádné komentáře