Or 128-bit avalon-st tx port – Altera IP Compiler for PCI Express User Manual
Page 101

Chapter 5: IP Core Interfaces
5–15
Avalon-ST Interface
August 2014
Altera Corporation
IP Compiler for PCI Express User Guide
64- or 128-Bit Avalon-ST TX Port
describes the signals that comprise the Avalon-ST TX Datapath.
Table 5–4. 64- or 128-Bit Avalon-ST TX Datapath (Part 1 of 3)
Signal
Width
Dir
Avalon-ST
Type
Description
tx_st_ready
1
O
ready
Indicates that the PCIe core is ready to accept data for
transmission. The core deasserts this signal to throttle
the data stream. In the hard IP implementation,
tx_st_ready
may be asserted during reset. The
application should wait at least 2 clock cycles after the
reset is released before issuing packets on the Avalon-ST
TX interface. The reset_status signal can also be used
to monitor when the IP core has come out of reset.
When tx_st_ready
tx_st_data
are registered (the typical case) Altera
recommends a readyLatency of 2 cycles to facilitate
timing closure; however, a readyLatency of 1 cycle is
possible.
To facilitate timing closure, Altera recommends that you
register both the tx_st_ready and tx_st_valid
signals. If no other delays are added to the ready-valid
latency, this corresponds to a readyLatency of 2.
tx_st_valid
1
I
valid
Clocks tx_st_data
tx_st_sop
and tx_st_eop
tx_st_ready
is asserted. When tx_st_ready
deasserts, this signal must deassert within 1, 2, or 3
clock cycles for soft IP implementation and within 1 or 2
clock cycles for hard IP
tx_st_valid
1
I
valid
implementation. When tx_st_ready
tx_st_data
is in mid-TLP, this signal must reassert
within 3 cycles for soft IP and 2 cycles for the hard IP
implementation. Refer to
the timing of this signal.
To facilitate timing closure, Altera recommends that you
register both the tx_st_ready and tx_st_valid
signals. If no other delays are added to the ready-valid
latency, this corresponds to a readyLatency of 2
tx_st_data
64,
128
I
data
Data for transmission.Transmit data bus. Refer to
for the mapping of TLP
packets to tx_st_data
for the
timing of this interface. When using a 64-bit Avalon-ST
bus, the width of tx_st_data is 64. When using 128-bit
Avalon-ST bus, the width of tx_st_data is 128. The
application layer must provide a properly formatted TLP
on the TX interface. The mapping of message TLPs is the
same as the mapping of transaction layer TLPs with 4
dword headers. The number of data cycles must be
correct for the length and address fields in the header.
Issuing a packet with an incorrect number of data cycles
results in the TX interface hanging and unable to accept
further requests.