当前位置:网站首页>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
边栏推荐
- After the staged testing is complete, have you performed defect analysis?
- Software test interview questions: BIOS, Fat, IDE, Sata, SCSI, Ntfs windows NT?
- 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?
- 【FreeRTOS】FreeRTOS与stm32内置堆栈的占用情况
- TinyMCE disable escape
- 二叉树[全解](C语言)
- Software Testing Interview Questions: What's the Difference Between Manual Testing and Automated Testing?
- JUC线程池(一): FutureTask使用
- ORA-00604 ORA-02429
- SV 类的虚方法 多态
猜你喜欢
Theory of Software Fundamentals
4. PCIe 接口时序
Kubernetes 网络入门
金九银十面试跳槽季;你准备好了吗?
node uses redis
Dynamic Programming/Knapsack Problem Summary/Summary - 01 Knapsack, Complete Knapsack
活动推荐 | 快手StreamLake品牌发布会,8月10日一起见证!
倒计时1天!8月2日—4日与你聊聊开源与就业那些事!
MongoDB搭建及基础操作
If capturable=False, state_steps should not be CUDA tensors
随机推荐
tiup telemetry
3. pcie.v file
软件测试面试题:负载测试、容量测试、强度测试的区别?
2022 The Third J Question Journey
僵尸进程和孤儿进程
SV 类的虚方法 多态
[idea] idea configures sql formatting
ora-00604 ora-02429
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
4. PCIe 接口时序
NMS原理及其代码实现
Binary tree [full solution] (C language)
JWT简单介绍
E - Distance Sequence (prefix and optimized dp
2022多校第二场 K题 Link with Bracket Sequence I
如何用 Solidity 创建一个“Hello World”智能合约
Software testing interview questions: Please draw the seven-layer network structure diagram of OSI and the four-layer structure diagram of TCP/IP?
软件测试面试题:软件验收测试的合格通过准则?
Software testing interview questions: What are the three modules of LoadRunner?
动态规划/背包问题总结/小结——01背包、完全背包