作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程

• 移动互联与通信技术 • 上一篇    下一篇

片上双核数据并行采集及核间通信研究

侯志伟1,安丽霞1,包理群2,王海涌1   

  1. (1. 兰州交通大学电子与信息工程学院,兰州730070; 2. 兰州工业学院电子信息工程学院,兰州730050)
  • 收稿日期:2014-05-04 出版日期:2015-05-15 发布日期:2015-05-15
  • 作者简介:侯志伟(1987 - ),男,硕士研究生,主研方向:智能信息处理,嵌入式开发;安丽霞,硕士研究生;包理群,副教授、硕士;王海涌, 副教授、博士。
  • 基金资助:
    甘肃省自然科学基金资助项目(1212RJZA055);甘肃省高等学校科研基金资助项目(2013A-127);兰州市科技计划基金资助 项目(2013-3-79);兰州交通大学科技支撑计划基金资助项目(ZC2014003)。

Research on Data Parallel Acquisition of Dual-core on Chip and Inter-core Communication

HOU Zhiwei  1,AN Lixia  1,BAO Liqun  2,WANG Haiyong  1   

  1. (1. College of Electronics and Information Engineering,Lanzhou Jiaotong University,Lanzhou 730070,China; 2. School of Electronics and Information Engineering,Lanzhou Institute of Technology,Lanzhou 730050,China)
  • Received:2014-05-04 Online:2015-05-15 Published:2015-05-15

摘要: 针对多参量数据采集系统中单核处理器难以达到数据同步获取及实时处理的问题,提出一种基于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

中图分类号: