beautypg.com

Altera Arria V GZ Avalon-ST User Manual

Page 60

background image

Packet

TLP

Data1

pcie_data_byte7, pcie_data_byte6, pcie_data_byte5, pcie_data_byte4

Data2

pcie_data_byte11, pcie_data_byte10, pcie_data_byte9, pcie_data_byte8

Data

pcie_data_byte<4n+3>, pcie_data_byte<4n+2>, pcie_data_byte<4n+1>, pcie_data_

byte

The following figure illustrates the mapping of Avalon-ST RX packets to PCI Express TLPs for a three

dword header with non-qword aligned addresses with a 64-bit bus. In this example, the byte address is

unaligned and ends with 0x4, causing the first data to correspond to

rx_st_data[63:32]

.

Note: The Avalon-ST protocol, as defined in Avalon Interface Specifications, is big endian, while the Hard

IP for PCI Express packs symbols into words in little endian format. Consequently, you cannot use

the standard data format adapters available in Qsys.

Figure 5-3: 64-Bit Avalon-ST rx_st_data Cycle Definition for 3-Dword Header TLPs with Non-Qword

Aligned Address

pld_clk

rx_st_data[63:32]

rx_st_data[31:0]

rx_st_sop

rx_st_eop

rx_st_be[7:4]

rx_st_be[3:0]

Header1

Data0

Data2

Header0

Header2

Data1

F

F

F

The following figure illustrates the mapping of Avalon-ST RX packets to PCI Express TLPs for a three

dword header with qword aligned addresses. Note that the byte enables indicate the first byte of data is

not valid and the last dword of data has a single valid byte.

5-8

Data Alignment and Timing for the 64‑Bit Avalon‑ST RX Interface

UG-01127_avst

2014.12.15

Altera Corporation

Interfaces and Signal Descriptions

Send Feedback

This manual is related to the following products: