AR# 38542

|

Design Assistant for PCI Express - How to Calculate the Latency of a Packet Presented on the TRN Interface

描述

How can I measure latency of my TLPs through the block?

Note: This Answer Record is a part of the Xilinx Solution Center for PCI Express(Xilinx Answer 34536).TheXilinx Solution Center for PCI Express is available to address all questions related to PCIe.Whether you are starting a new design with PCIe or troubleshooting a problem, use the Solution Center for PCIeto guide you to the right information.

解决方案

The latency through the TRN interface will depend on the following:

  • Traffic pattern
  • Streaming mode operation
  • Number of Lanes
  • Interface Frequency
  • Flow Control

For this reason, to get the most accurate latency numbers, it is best to simulate the core under your expected conditions and your core configuration. It is best to pull the following three signals into your simulation:

  • trn_tsof_n
  • Transceiver's TX DATA bus.
  • Transceiver's TX CHARISK bus

Measure the time between the assertion of trn_tsof_n and when the "Start TLP" Special Character is shown on the TXDATA of the transceiver. Usually, it will be on lane 0 or for an x8 link it can be on lane 0 or lane 4.The "Start TLP" Special Character is K27.7 = 0xFB.CHARISK will assert at this time indicating the 0xFB K character.

Revision History
7/30/2011 - Initial Release

链接问答记录

相关答复记录

Answer Number 问答标题 问题版本 已解决问题的版本
36049 Design Assistant for PCI Express - TRN User Application Interface Questions N/A N/A
AR# 38542
日期 12/15/2012
状态 Active
Type 综合文章
IP
People Also Viewed