收藏 分享(赏)

SRIO协议解析.doc

上传人:精品资料 文档编号:10190773 上传时间:2019-10-18 格式:DOC 页数:7 大小:442.93KB
下载 相关 举报
SRIO协议解析.doc_第1页
第1页 / 共7页
SRIO协议解析.doc_第2页
第2页 / 共7页
SRIO协议解析.doc_第3页
第3页 / 共7页
SRIO协议解析.doc_第4页
第4页 / 共7页
SRIO协议解析.doc_第5页
第5页 / 共7页
点击查看更多>>
资源描述

1、Serial RapidIO协议解析1. 物理层特性1.1 Two transmitters(short run and long run) and a single receiver are specified for each of three baudrates, 1.25, 2.50, and 3.125 GBaud.1.2 The short run transmitter should be used mainly for chip-to-chip connections on either the same printed circuit board or across a si

2、ngle connector.1.3 The long run transmitter specifications use larger voltage swings that are capable of driving signals across backplanes. This allows a user to drive signals across two connectors and a backplane.1.4 The most common equalization techniques that can be used Pre-emphasis on the trans

3、mitter A passive high pass filter network placed at the receiver. This is often referred to as passive equalization. The use of active circuits in the receiver. This is often referred to as adaptive equalization.2. 信号定义Signal pin descriptions for a RapidIO 1x/4x LP-Serial port. The interface is defi

4、ned either as a single- or four-lane, full duplex, point-to-point interface using differential signaling. A single-lane implementation consists of 4 wires and a four-lane implementation consists of 16 wires.3. Electrical Specifications3.1 Short Run Transmitter Specifications2.5 GBaud、3.125 GBaud特性与

5、1.25GBaud Short Run Transmitter AC Timing Specifications基本相同,区别在于:2.5 GBaud UI 400ps3.125 GBaud UI 320ps3.2 Long Run Transmitter Specifications2.5 GBaud、3.125 GBaud特性与 1.25GBaud Long Run Transmitter AC Timing Specifications基本相同,区别在于:2.5 GBaud UI 400ps3.125 GBaud UI 320ps3.3 Receiver Specifications2.

6、5 GBaud、3.125 GBaud 特性与 1.25GBaud Receiver Specifications基本相同,区别在于:2.5 GBaud UI 400ps3.125 GBaud UI 320ps4. 10G级互连技术比较协议类型 软件实现TCP/IP 协议栈的以太网4x PCI Express4x SRIO 备注软件开销 高 中 低 SRIO 协议栈简单,一般都由硬件实现,软件开销很小硬件纠错重传 不支持 支持 支持 传输模式 消息 DMA DMA,消息 拓扑结构 任意 PCI树 任意 SRIO支持直接点对点或通过交换器件实现的各种拓扑结构直接点对点对等互连支持 不支持 支持

7、SRIO互连双方可对等的发起传输。传输距离 长 中 中 SRIO针对嵌入式设备内部互连,传输距离一般小于 1米数据包最大有效载荷长度1500字节 4096字节 256字节 嵌入式通信系统对实时性要求高,SRIO小包传输可减少传输时延打包效率 (以传输256字节数据为例)79% (TCP包) 82% 9296% 打包效率是有效载荷长度与总包长的比率。SRIO 支持多种高效包格式。5. 帧结构H e a d e rA C K I D R S V D P R I O T T F T y p e D e s t _ A d d r S r c _ A d d r L o g i _ I n f P a

8、 y l o a d C R CT r a n s p o r t & L o g i c a l f i e l d s C R C5 b i t 3 b i t 2 b i t 2 b i t 4 b i t 1 o r 2 B y t e 1 o r 2 B y t e 2 1 0 B y t e 0 2 5 6 B y t e 2 B y t e ACKID:向 Packet 发送端响应 Packet 接收确认信息; RSVD:保留域; PRIO:Packet 优先级; TT:器件 ID 长度; Ftype:Logi_Inf 的格式类型; Dest_Addr:目的器件 ID 号; Sr

9、c_Addr:源器件 ID 号; Logi_Inf:逻辑层信息,包括数据长度、数据地址、邮箱号等; Payload:数据净核; CRC:采用多项式 X16+X12+X5+1 生成 16bit CRC 码;6. 协议结构RapidIO 协议定义了 3 个层:逻辑层、传输层和物理层。7.1 逻辑层逻辑层定义了操作协议和相应的包格式。RapidIO 支持的逻辑层业务主要是:直接IO/DMA (Direct IO/Direct Memory Access)和消息传递( Message Passing) 。 直接 IO/DMA直接 IO/DMA 模式的前提是主设备知道被访问端的存储器映射。主设备可以直接

10、读写从设备的存储器。直接 IO/DMA 在被访问端的功能往往完全由硬件实现,被访问的器件无任何软件负担。对上层应用来说,发起直接 IO/DMA 传输主要需提供以下参数:目地器件 ID、数据长度、数据在目地器件存储器中的地址。直接 IO/DMA 模式又可进一步分为以下几种传输格式:NWRITE: 写操作,不要求接收端响应。 NWRITE_R: 带响应的 NWRITE(NWRITE with Response) ,要求接收端响应。 SWRITE:流写(Stream Write) ,数据长度必须是 8 字节的整数倍,不要求接收端响应。 NREAD: 读操作。 消息传递消息传递(Message Pas

11、sing)模式则类似于以太网的传输方式,它不要求主设备知道被访问设备的存储器状况。数据在被访问设备中的位置则由邮箱号(类似于以太网协议中的端口号)确定。从设备根据接收到的包的邮箱号把数据保存到对应的缓冲区,这一过程无法完全由硬件实现,而需要软件协助。对上层应用来说,发起消息传递主要需提供以下参数:目地器件 ID、数据长度、邮箱号。7.2 传输层RapidIO 是基于包交换的互连技术,传输层定义了包交换的路由和寻址机制。RapidIO 网络主要由两种器件,终端器件(End Point)和交换器件(Switch)组成。终端器件是数据包的源或目的地,不同的终端器件以器件 ID 来区分。RapidIO

12、 支持 8 bits 或 16 bits 器件 ID,因此一个 RapidIO 网络最多可容纳 256 或 65536 个终端器件。与以太网类似,RapidIO 也支持广播或组播,每个终端器件除了独有的器件 ID 外,还可配置广播或组播 ID。交换器件根据包的目地器件 ID 进行包的转发,交换器件本身没有器件 ID。RapidIO 的互连拓扑结构非常灵活,除了通过交换器件外,两个终端器件也可直接互连。7.3 物理层RapidIO 1.x 协议定义了 1x/4x SRIO 协议,具体参照 1-3 节。7. 错误检测和恢复机制SRIO 协议采用错误检测和重发机制对发送数据进行保护和恢复,重传纠错的

13、功能由物理层完成。协议规定,每个数据包的传输需得到接收端的确认,并在发送端为每个传输的数据包保留备份,直至收到一个数据包接收确认或发送端口确定该数据包遇到不可恢复的错误。协议可检测以下 4 种错误: An idle sequence error A control symbol error A packet error A time-out waiting for an acknowledgment control symbol8.1 Idle sequence error空闲码由 A、K、R 字符组成,输入端检测到无效的字符或有效字符但不是 A、K 、R字符时,进入 Error-stoppe

14、d recovery process。8.2 Control symbol error协议可检测以下 2 种 symbol error: An uncorrupted control symbol that violates the link protocol A corrupted control symbolLink protocol violations include the following: Unexpected packet-accepted, packet-retry, or packet-not-accepted control symbol Packet acknowle

15、dgment control symbol with an unexpected packet_ackID value Link time-out while waiting for an acknowledgment control symbolInput ports detect the following types of control symbol corruption. A control symbol containing invalid characters or valid but non-data characters A control symbol with an in

16、correct CRC value8.3 Packet ErrorsInput ports detect the following types of packet corruption Packet with an unexpected ackID value Packet with an incorrect CRC value Packet containing invalid characters or valid non-data characters Packet that overruns defined boundary such as the max payload.8.4 Time-out waiting等待确认信号的链接超时作为违反链接协议的情况处理,参照 8.2 节。8. 参考标准 RapidIOTM Interconnect Specification Part 6: 1x/4x LP-Serial Physical Layer Specification Rev. 1.3 串行 RapidIO: 高性能嵌入式互连技术 (TI forum) RapidIOTM Interconnect Specification Part 6: 1x/4x LP-Serial Physical Layer Specification Rev. 2.0

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 企业管理 > 管理学资料

本站链接:文库   一言   我酷   合作


客服QQ:2549714901微博号:道客多多官方知乎号:道客多多

经营许可证编号: 粤ICP备2021046453号世界地图

道客多多©版权所有2020-2025营业执照举报