SRIO协议解析.docx

上传人:rrsccc 文档编号:9849983 上传时间:2021-03-30 格式:DOCX 页数:8 大小:16.34KB
返回 下载 相关 举报
SRIO协议解析.docx_第1页
第1页 / 共8页
SRIO协议解析.docx_第2页
第2页 / 共8页
SRIO协议解析.docx_第3页
第3页 / 共8页
SRIO协议解析.docx_第4页
第4页 / 共8页
亲,该文档总共8页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

《SRIO协议解析.docx》由会员分享,可在线阅读,更多相关《SRIO协议解析.docx(8页珍藏版)》请在三一文库上搜索。

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

2、 single connector.1.3The long run transmitter specifications use larger voltage swings that are capable ofdriving signals across backplanes. This allows a user to drive signals across twoconnectors and a backplane.1.4The most common equalization techniques that can be used?Pre-emphasis on the transm

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

4、 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.1Short Run Transmitter Specifications2.5 GBaud、3.125 GBaud特性与1.25GB

5、aud Short Run Transmitter AC Timing Specifications基本相同,区别在于:2.5 GBaud UI 400ps3.125 GBaud UI 320ps3.2Long 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.3Receiver Specifications2.5 GBaud、

6、3.125 GBaud特性与1.25GBaud Receiver Specifications基本相同,区别在于:2.5 GBaud UI 400ps3.125 GBaud UI 320ps5.帧结构ACKID:向Packet发送端响应Packet接收确认信息;RSVD:保留域;PRIO:Packet优先级;TT:器件ID长度;Ftype:Logi_Inf的格式类型;Dest_Addr:目的器件ID号;Src_Addr:源器件ID号;Logi_Inf:逻辑层信息,包括数据长度、数据地址、邮箱号等;Payload:数据净核;CRC:采用多项式X16+X12+X5+1生成16bit CRC码;6.

7、协议结构RapidIO协议定义了3个层:逻辑层、传输层和物理层。7.1逻辑层逻辑层定义了操作协议和相应的包格式。RapidIO支持的逻辑层业务主要是:直接IO/DMA (Direct IO/Direct Memory Access)和消息传递(Message Passing)。直接IO/DMA直接IO/DMA模式的前提是主设备知道被访问端的存储器映射。主设备可以直接读写从设备的存储器。直接IO/DMA在被访问端的功能往往完全由硬件实现,被访问的器件无任何软件负担。对上层应用来说,发起直接IO/DMA传输主要需提供以下参数:目地器件ID、数据长度、数据在目地器件存储器中的地址。直接IO/DMA模

8、式又可进一步分为以下几种传输格式:NWRITE: 写操作,不要求接收端响应。NWRITE_R: 带响应的NWRITE(NWRITE with Response),要求接收端响应。SWRITE:流写(Stream Write),数据长度必须是8字节的整数倍,不要求接收端响应。NREAD: 读操作。消息传递消息传递(Message Passing)模式则类似于以太网的传输方式,它不要求主设备知道被访问设备的存储器状况。数据在被访问设备中的位置则由邮箱号(类似于以太网协议中的端口号)确定。从设备根据接收到的包的邮箱号把数据保存到对应的缓冲区,这一过程无法完全由硬件实现,而需要软件协助。对上层应用来说

9、,发起消息传递主要需提供以下参数:目地器件ID、数据长度、邮箱号。7.2传输层RapidIO是基于包交换的互连技术,传输层定义了包交换的路由和寻址机制。RapidIO网络主要由两种器件,终端器件(End Point)和交换器件(Switch)组成。终端器件是数据包的源或目的地,不同的终端器件以器件ID来区分。RapidIO支持8 bits 或16 bits器件ID,因此一个RapidIO网络最多可容纳256或65536个终端器件。与以太网类似,RapidIO也支持广播或组播,每个终端器件除了独有的器件ID外,还可配置广播或组播ID。交换器件根据包的目地器件ID进行包的转发,交换器件本身没有器件

10、ID。RapidIO的互连拓扑结构非常灵活,除了通过交换器件外,两个终端器件也可直接互连。7.3物理层RapidIO 1.x 协议定义了1x/4x SRIO协议,具体参照1-3节。7.错误检测和恢复机制SRIO协议采用错误检测和重发机制对发送数据进行保护和恢复,重传纠错的功能由物理层完成。协议规定,每个数据包的传输需得到接收端的确认,并在发送端为每个传输的数据包保留备份,直至收到一个数据包接收确认或发送端口确定该数据包遇到不可恢复的错误。协议可检测以下4种错误:An idle sequence error A control symbol error A packet error A time

11、-out waiting for an acknowledgment control symbol8.1Idle sequence error空闲码由A、K、R字符组成,输入端检测到无效的字符或有效字符但不是A、K、R 字符时,进入Error-stopped recovery process。8.2Control symbol error协议可检测以下2种symbol error:An uncorrupted control symbol that violates the link protocol A corrupted control symbolLink protocol violat

12、ions include the following:?Unexpected packet-accepted, packet-retry, or packet-not-accepted controlsymbol?Packet acknowledgment control symbol with an unexpected packet_ackIDvalue?Link time-out while waiting for an acknowledgment control symbolInput ports detect the following types of control symbo

13、l corruption.? A control symbol containing invalid characters or valid but non-data characters ? A control symbol with an incorrect CRC value8.3Packet ErrorsInput ports detect the following types of packet corruption?Packet with an unexpected ackID value?Packet with an incorrect CRC value?Packet con

14、taining invalid characters or valid non-data characters?Packet that overruns defined boundary such as the max payload.8.4Time-out waiting等待确认信号的链接超时作为违反链接协议的情况处理,参照8.2节。8.参考标准RapidIOTM Interconnect Specification Part 6: 1x/4x LP-Serial Physical LayerSpecification Rev. 1.3串行RapidIO: 高性能嵌入式互连技术(TI forum)RapidIOTM Interconnect Specification Part 6: 1x/4x LP-Serial Physical LayerSpecification Rev. 2.0

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

当前位置:首页 > 社会民生


经营许可证编号:宁ICP备18001539号-1