数据传输一直是影响嵌入式视频系统实时处理能力的关键环节.随着视频应用的多路化和高清化,混合多处理器结构已成为嵌入式视频处理系统的主要发展趋势,异构处理器之间数据的高效传输对系统性能的影响变得比以前更加突出.文中针对FPGA+DSP异构视频处理系统中的数据传输问题,在分析处理器结构和视频数据格式特征的基础上,提出了一种基于高速串行接口SRIO(Serial Rapid I/O)的数据高效传输方法.该方法分别以FPGA、DSP作为系统的传输、处理核心,在FPGA处理器上采用视频三分量数据重组方法并使用包头信息较小的SRIO流写事务SWRITE(Streaming Write),简化视频传输格式的同时提高了SRIO视频数据包的传输效率;在DSP处理器上通过预定义接收端数据存储单元和采用简洁的SRIO门铃事务(DOORBELL)应答机制,节约了DSP在传输过程中的时间开销.实验结果表明,文中设计的SRIO高效传输方法在占用较少的FPGA资源的条件下传输速度达理论值的81%以上.
Data transmission is a critical part of an embedded video system for its real-time processing ability.With the development of digital video processing applications,in order to alleviate the requirement of large amounts of data transmission(take multi-channel,high-definition video for example),multi-processor technique will become more popular in the future.In this paper,we proposed a novel high-efficiency data transmission method based on Serial Rapid I/O(SRIO)for FPGA+DSP video processing system.Considering the heterogeneous processor structure and video data format,we made FPGA as a core unit of transmission and DSP as for processing.Specially,we reorganized the video transmission sequence after separating the three components of video data and applied a lightweight SRIO streaming write transaction(SWRITE)which has minimal header overhead to increase data throughput.To reduce the DSP transmission time,the video data was directly stored in the predefined DSP storage unit and a simple DOORBELL transaction was used as a notification message.The experimental results show that our method can save lots of FPGA resources,and at the same time the transmission rate can achieve 81% of the SRIO theoretical value,which overcomes most of existing methods.