DSP

SRIO高速互联

2019-07-13 19:27发布


关键词: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