摘要
RapidIO是一种高性能嵌入式系统互联技术.FPGA的SRIO控制器实现了RapidIO二代协议,在工程中经常需要得到其实际带宽性能以确定其是否满足应用需求.采用FPGA的嵌入式软核,配合FPGA内部硬件电路可搭建软硬件协同SOPC测试系统.该系统既具有硬件可裁剪、可定制、扩展性强的特点,又具备软件灵活性的特点.此系统在硬件层面设计了周期采样单元、周期配置接口、锁存接口、上传接口;软件层面具备采样参数配置、采样控制、采样数据分析、结果呈现功能.通过软硬件代码的编写和验证,表明此方法可实时监测接口的带宽及抖动性能指标.
Abstract
RapidIO is a high-performance embedded system interconnection technology.The RapidIO second-generation protocol has been implemented on the SRIO controller of FPGA,and its actual bandwidth performance often needs to be obtained in engineering to determine whether it meets application requirements.Using FPGA′s embedded soft core and combined with FPGA′s internal hardware circuits,the SOPC testing system which is the combination of software and hardware can be built.This system has the characteristics of hardware,such as tailorability,customization,and strong scalability,as well as the characteristic of flexibility of the software.In terms of the system hardware,a periodic sampling unit,periodic configuration interface,latch interface,and upload interface have been designed.In terms of the system software,the system has the functions of sampling parameter configuration,sampling control,sampling data analysis,and data presentation.By the complication and verification of software and hardware code,it is shown that the proposed method can monitor the performance indicators of bandwidth and jitter of the interface in real time.