GTS AXI Streaming IP for PCI Express* Design Example User Guide
1.2.2.6. Transmit Flow Control
The PIO application transmits packets only when the link partner's receive buffer has sufficient capacity to accept the TLP. This buffer availability is communicated via the Transmit Flow Control Credit Interface of the DUT to the Transmit Flow Control module of the PIO block.
Transmit credits are initialized for each TLP category based on the initial credit values received from the link partner. When the link partner acknowledges receipt and returns credits, the corresponding credit limits are incremented accordingly.
Credit updates are transmitted by the DUT only for TLP categories whose credit limits have changed since the last update. The signal p<n>_ss_app_st_txcrdt_tvalid of the DUT is asserted only when the associated credit value in p<n>_ss_app_st_txcrdt_tdata has increased for a specific TLP category. The Transmit Flow Control module interfaces with the DUT’s credit signals to manage and maintain an accurate transmit credit tracking for efficient data flow.