PCIe学习笔记(35)--- TL (1)

本文深入探讨了PCI Express (PCIe) 技术中流量控制机制的核心概念,包括虚拟通道(VC)的独立缓冲区维护、基于信用的机制、不同类型的事务处理以及数据链路层的状态机操作等关键细节。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

chapter 5: tlp elements (details of tlp)

chapter 6: flow control


___________________________________

digest (end to end CRC, ECRC)

HDR + DATA + DIGEST =  TLP


seq num +  TLP + CRC : DLL

STP + DLL + END : PL

___________________________________


1. 

flow-control buffers are maintained separately ( VC各自有各自的FLOW CONTROL BUFFER)

pcie supports up to 8 Virtual Channels


2.

credit-based mechanism

initialization stage & run-time stage (using Flow Control DLLPs to updates) (初始阶段与运行时阶段)


3.

VC flow control buffer category:

posted transactions: memory writes and messages

non-posted transactions: memory reads, configuration reads and writes, and io reads and writes

completions: read and write completions


each category is separated into header and data portions


PH, PD, NPH, NPD, CPLH, CPLD (VC BUFFER的分类)


4.

link up signal from physical layer to data link layer (physical layer link training completed) (LINK UP信号)


5.

DLCMSM: data link control and management state machine (DLCMSM状态机,及各状态的跳转条件与各状态时的行为动作)

DL_Inactive --> DL_Init (FC_Init1, FC_Init2) --> DL_Active


reset  -->  DL_Inactive (action: DL_Down signal to both DLL and TL)  --> DL_Init sub-state (condition: phy link up)


FC_Init1 (action: sequence of 3 InitFC1)

FC_Init2 (action: sequence of InitFC2, confirm FC initialization has succeeded at the sender, DL_up to TL)




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值