当前位置:网站首页>4. PCIe interface timing
4. PCIe interface timing
2022-08-05 00:45:00 【jjinl】
In the previous article, I briefly introduced the IPcore interface.In general, the interface is as shown below
Data is received and sent through transmit TLP interface and Receive TLP interface.The timing of sending and receiving data only describes the relationship between these interfaces.Take the interface timing of PCIe x1 from the manual
Data sending
The picture above is the x4 interface. The 5G IP we use, the timing is similar to this, but the tx_val will be valid at intervals.The above timing
Before EP sends data, first send tx_req_vc0 high, indicating request to send, wait for tx_rdy_vc0 to be high to start sending, when tx_rdy_vc0 is high, place data on yx_data_vc0 on the rising edge of the next clock, and pull high tx_st_vc0 signal. tx_rdy_vc0 remains high until the last data of the TLP packet, so this tx_rdy_vc0 signal can be used as a read enable signal for non-pipeline fifo.
tx_end_vc0, indicating that the data line is the last data of TLP.
tx_ca_*h_vc0 and tx_ca_*d_vc0 must be checked before each request is sent, and the corresponding value will be decremented by one after the transmission is completed. These two types of flags indicate whether the upper port has resources to forward your sent data
The above picture is the timing of sending two data
The sending timing of the above picture is only the header, there is no data corresponding to tx_ca_*d_vc0 and there is no change
The last data sent in the above picture is not enough 64bit, at this time the dwen signal indicates that 63:32bit is valid
Burst mode, send two TLP packets, the req signal remains valid until the last TLP packet sends the rdy signal
Void the TLP packet, pull the tx_nlfy signal high at any time, void this TLP packet, no need to send the tx_end signal again
When the x4 in the above figure is downgraded to x1, the sequence diagram is the same as above. The x1 used in our project is the same as above.In this figure, when tx_val is high, the signal changes
Data reception
When a TLP data packet is sent, rx_st_vc0 will be pulled high, at this time the first data will appear on the data line, one data per clock, when rx_end_vc0 is high, it means that the data line islast data.If there is an ECRC error, rx_ecrc_err_vc0 will be pulled high at the last data moment; if there is a problem with the length of the TLP, rx_malf_tlp_vc0 will be pulled high
tlp receive data
Receive ECRC error
There is a problem with the TLP length
边栏推荐
- 软件测试面试题:软件都有多少种分类?
- Software testing interview questions: How many types of software are there?
- 软件测试面试题:测试生命周期,测试过程分为几个阶段,以及各阶段的含义及使用的方法?
- 软件测试面试题:网络七层协仪具体?
- 配置类总结
- 软件测试面试题:设计测试用例时应该考虑哪些方面,即不同的测试用例针对那些方面进行测试?
- Software testing interview questions: test life cycle, the test process is divided into several stages, and the meaning of each stage and the method used?
- CNI (Container Network Plugin)
- 2022多校第二场 K题 Link with Bracket Sequence I
- The method of freely controlling concurrency in the sync package in GO
猜你喜欢
随机推荐
oracle create user
Software Testing Interview Questions: What do you think about software process improvement? Is there something that needs improvement in the enterprise you have worked for? What do you expect the idea
GCC:头文件和库文件的路径
Software Testing Interview Questions: What's the Difference Between Manual Testing and Automated Testing?
Inter-process communication and inter-thread communication
JWT简单介绍
E - Distance Sequence (prefix and optimized dp
node uses redis
2022杭电多校第三场 K题 Taxi
CNI (Container Network Plugin)
B站7月榜单丨飞瓜数据B站UP主排行榜发布!
4. PCIe 接口时序
软件测试面试题:LoadRunner 分为哪三个模块?
C# const readonly static 关键字区别
Software Testing Interview Questions: What do test cases usually include?
Will domestic websites use Hong Kong servers be blocked?
软件基础的理论
PCIe Core Configuration
Opencv——视频跳帧处理
2022牛客多校训练第二场 J题 Link with Arithmetic Progression