SRIO高速互联

本文介绍了SRIO作为新一代高速互联技术在嵌入式系统中的应用,包括其特点、模式、Linux环境下的驱动配置以及硬件组成。详细探讨了RapidIO交换芯片的开发与应用,并通过实例展示了SRIO技术在具体硬件平台上的实现,如CommAgility AMC-2C87W3双DSP+FPGA板卡。


关键词:Rapidio, 嵌入式, linux


概述

SRIO是面向嵌入式系统开发提出的高可靠、高性能、基于包交换的新一代高速互联技术,已于2004年被国际标准化组织(ISO)和国际电工协会(IEC)批准为ISO/IECDIS18372标准。SRIO则是面向串行背板、DSP和相关串行数据平面连接应用的串行RapidIO接口


RapidIO互联主要通过RapidIO交换芯片实现,研制RapidIO交换芯片的厂商主要有Tundra公司、IDT公司和Redswitch公司等。Redswitch公司的产品及应用都较少,Tundra公司后并入IDT公司。IDT公司提供了多种高性能,低功耗的RapidIO交换芯片.


SRIO模式

DirectIO(读写内存)

Read/write operations directed to specificmemory address

Functional units:

– LSU (Load/Store Unit)

– MAU (Memory Access Unit)

Message Passing(消息交换)

Mailbox and Letter designators

Functional units:

– TXU (Message Transmit Unit)

– RXU (Message Receive Unit)

24 Interrupt outputs / 8Interrupt outputs

1 MB LSU transaction size with queuingcapability/ single 4 KB LSU transaction size

A Tx/Rx pair on a single device is called a“link”or “lane”


Linux Rapidio

srio 驱动抽象对象    Master Port,  Device,Switch, Network

Each of these componentsis mapped into a subsystem structure. The RapidIO subsystem uses thesestructures as the root handle for manipulating the hardware componentsabstracted by the structures.  

Riotools  quick setup:

1.      Load the RIO driver moduleusing modprobe rio.

2.      Verify the module hassuccessfully loaded using the lsmodcommand. The output shouldcontain references to the rio module.

3.      Ensure all your RIO devices areattached and powered on.

4.      Upload the host card firmwareto the driver and boot the attached devices (ignore anywarning or errormessages): rioboot –f

5.      Create a configuration file(/etc/rio/rio.cf) based on what is attached to your system: rioboot -w > /etc/rio/rio.cf.new

6.      Modify the new configurationfile (/etc/rio/rio.cf.new) to give your RTA's names and assign ports to them.Then rename the file as /etc/rio/rio.cf.

7.      Upload the changes to the driver:rioboot –u

8.      Create device nodes for theattached RTA's: riomkdev

9.      Your system now has a number ofdevice nodes (/dev/ttySR*) relating to the ports on the attached RTA's.

单板系统

CommAgilityAMC-2C87W3DSP+FPGA板卡

1)DSP,采用TI TCI6487多核DSP1.2GHz,每个DSP有两路1×RapidIO接口

2) XilinxVirtex-5 LX110T-2 FPGA,一路4×RapidIO接口

3)通过AMC接口扩展34×RapidIO接口

双DSP+FPGA板卡

Tsi578芯片是Tundra公司推出的RapidIO交换产品,后并入IDT公司,该芯片基于RapidIO 1.3规范,共有16路串行通道,可以灵活配置为8×416×1的端口工作方式,(同上)2.53.125Gbaud的传输速率。


参考

http://www.rapidio.org/whitepapers-presentations/

http://baike.baidu.com/subview/6192982/6281112.htm

http://linux-c6x.org/wiki/index.php/Serial_RapidIO  




FPGA SRIO(Serial RapidIO)互联测试是一个关键的过程,旨在验证通过SRIO协议连接的FPGA设备之间通信的稳定性和性能。以下是关于这一过程的一些重要信息: ### 一、简介 **串行RapidIO (SRIO)**是一种高性能互连技术,它专为嵌入式系统设计,支持高速点对点通信及多处理器系统的构建。利用这项技术可以将多个FPGA或者其他类型的处理单元高效地联接起来。 ### 二、测试目的 1. **功能性验证** - 确认两块或多块FPGA间的SRIO链路是否能够成功建立,并且数据包能否无误传输; 2. **性能评估** - 测量带宽利用率以及延迟等指标,保证实际应用环境下的效率满足需求; 3. **稳定性检查** - 长时间运行压力下观察是否存在丢帧或其他异常情况发生; 4. **兼容性检验** - 如果涉及不同厂商提供的硬件,则需要确保它们之间的良好协作。 ### 三、实施步骤 #### 准备工作 - 搭建实验平台:包括但不限于目标板卡的选择、电源配置、网络设置等前期准备事项。 #### 编程调试 - 开发相应的驱动程序或固件代码用于控制和管理SRIO端口的操作行为;编写测试应用程序来进行具体的发送接收任务模拟。 #### 数据采集分析 - 使用专业的工具如逻辑分析仪抓取总线上的信号波形并记录下来供后续研究;同时也要收集来自两端节点处的日志文件以便于故障排查。 --- 为了更好地理解和掌握有关FPGA SRIO互联的知识,您可以继续深入学习以下几个方面的问题:
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值