摘要: 针对多参量数据采集系统中单核处理器难以达到数据同步获取及实时处理的问题,提出一种基于NiosII
双核处理器的多参量数据并行采集及核间通信解决方案。在数据采集系统的FPGA 片内构建NiosII 双核处理器
系统,处理器1 对输入信号数据进行数模转换及预处理,处理器2 负责采集数据的显示及上位机的数据通信,利用
Scatter-Gather 直接存储器访问两级数据缓存的通信机制,建立核间的高速数据传输通道,实现双核处理器之间数
据的同步与交换。将该解决方案应用于空气质量在线监测系统中,结果表明,其核间传输速度高达496 MB / s,满
足多参量数据同步获取及并行协同处理的需求。
关键词:
NiosII 软核,
片上双核,
多参量,
并行采集,
协同处理,
核间通信
Abstract: For a single core processor is difficult to achieve data synchronization acquisition and real-time processing in the multiple parameter data acquisition system,this paper gives a solution for the multi-parameter data parallel acquisition and inter-processor communications of dual-core processor based on NiosII. The dual-core processor system is built in the FPGA chip,and CPU1 is in charge of digital-analog conversion and preprocesses for the input signal,while CPU2 is responsible for the display of collected data and communications with PC. The high-speed data transmission channel is established between the cores with the communication mechanism of Scatter-Gather Direct Memory Access(SG-DMA) to two level data cache to realize the data exchange and synchronization. The solution is applied to air quality on-line monitoring system,and the results show that the transmission speed between nuclear reaches 496 MB / s,which meets the demands of multiple parameter data synchronous acquisition and parallel processing.
Key words:
NiosII soft core,
dual-core on chip,
multi-parameter,
parallel acquisition,
co-processing,
inter-core communication
中图分类号:
侯志伟,安丽霞,包理群,王海涌. 片上双核数据并行采集及核间通信研究[J]. 计算机工程.
HOU Zhiwei,AN Lixia,BAO Liqun,WANG Haiyong. Research on Data Parallel Acquisition of Dual-core on Chip and Inter-core Communication[J]. Computer Engineering.