当前位置:网站首页>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: Please draw the seven-layer network structure diagram of OSI and the four-layer structure diagram of TCP/IP?
- Knowledge Points for Network Planning Designers' Morning Questions in November 2021 (Part 2)
- 仅3w报价B站up主竟带来1200w播放!品牌高性价比B站投放标杆!
- leetcode: 266. All Palindromic Permutations
- Pytorch使用和技巧
- Introduction to JVM class loading
- 2022 Nioke Multi-School Training Session 2 J Question Link with Arithmetic Progression
- ORA-00604 ORA-02429
- OPENWIFI实践1:下载并编译SDRPi的HDL源码
- 软件测试面试题:测试生命周期,测试过程分为几个阶段,以及各阶段的含义及使用的方法?
猜你喜欢

JWT简单介绍

Dynamic Programming/Knapsack Problem Summary/Summary - 01 Knapsack, Complete Knapsack

After the staged testing is complete, have you performed defect analysis?

4. PCIe 接口时序

5. PCIe official example
![[230] Execute command error after connecting to Redis MISCONF Redis is configured to save RDB snapshots](/img/fa/5bdc81b1ebfc22d31f42da34427f3e.png)
[230] Execute command error after connecting to Redis MISCONF Redis is configured to save RDB snapshots

JUC线程池(一): FutureTask使用

码率vs.分辨率,哪一个更重要?

QSunSync Qiniu cloud file synchronization tool, batch upload

软件基础的理论
随机推荐
torch.autograd.grad finds the second derivative
Lattice PCIe 学习 1
ora-00604 ora-02429
tensor.nozero(),面具,面具
GCC: compile-time library path and runtime library path
TinyMCE disable escape
ora-01105 ora-03175
软件测试面试题:关于自动化测试工具?
软件测试面试题:做好测试计划的关键是什么?
Software Testing Interview Questions: What is Software Testing?The purpose and principle of software testing?
[FreeRTOS] FreeRTOS and stm32 built-in stack occupancy
Software Testing Interview Questions: What's the Key to a Good Test Plan?
2022 Hangzhou Electric Power Multi-School Session 3 Question L Two Permutations
Software testing interview questions: What stages should a complete set of tests consist of?
Software testing interview questions: What are the strategies for system testing?
node uses redis
OPENWIFI实践1:下载并编译SDRPi的HDL源码
软件测试面试题:手工测试与自动测试有哪些区别?
Getting Started with Kubernetes Networking
leetcode: 266. All Palindromic Permutations