计算机工程
計算機工程
계산궤공정
COMPUTER ENGINEERING
2015年
5期
83-88
,共6页
侯志伟%安丽霞%包理群%王海涌
侯誌偉%安麗霞%包理群%王海湧
후지위%안려하%포리군%왕해용
NiosII软核%片上双核%多参量%并行采集%协同处理%核间通信
NiosII軟覈%片上雙覈%多參量%併行採集%協同處理%覈間通信
NiosII연핵%편상쌍핵%다삼량%병행채집%협동처리%핵간통신
NiosII soft core%dual-core on chip%multi-parameter%parallel acquisition%co-processing%inter-core communication
针对多参量数据采集系统中单核处理器难以达到数据同步获取及实时处理的问题,提出一种基于NiosII双核处理器的多参量数据并行采集及核间通信解决方案。在数据采集系统的FPGA片内构建NiosII双核处理器系统,处理器1对输入信号数据进行数模转换及预处理,处理器2负责采集数据的显示及上位机的数据通信,利用Scatter-Gather直接存储器访问两级数据缓存的通信机制,建立核间的高速数据传输通道,实现双核处理器之间数据的同步与交换。将该解决方案应用于空气质量在线监测系统中,结果表明,其核间传输速度高达496 MB/s,满足多参量数据同步获取及并行协同处理的需求。
針對多參量數據採集繫統中單覈處理器難以達到數據同步穫取及實時處理的問題,提齣一種基于NiosII雙覈處理器的多參量數據併行採集及覈間通信解決方案。在數據採集繫統的FPGA片內構建NiosII雙覈處理器繫統,處理器1對輸入信號數據進行數模轉換及預處理,處理器2負責採集數據的顯示及上位機的數據通信,利用Scatter-Gather直接存儲器訪問兩級數據緩存的通信機製,建立覈間的高速數據傳輸通道,實現雙覈處理器之間數據的同步與交換。將該解決方案應用于空氣質量在線鑑測繫統中,結果錶明,其覈間傳輸速度高達496 MB/s,滿足多參量數據同步穫取及併行協同處理的需求。
침대다삼량수거채집계통중단핵처리기난이체도수거동보획취급실시처리적문제,제출일충기우NiosII쌍핵처리기적다삼량수거병행채집급핵간통신해결방안。재수거채집계통적FPGA편내구건NiosII쌍핵처리기계통,처리기1대수입신호수거진행수모전환급예처리,처리기2부책채집수거적현시급상위궤적수거통신,이용Scatter-Gather직접존저기방문량급수거완존적통신궤제,건립핵간적고속수거전수통도,실현쌍핵처리기지간수거적동보여교환。장해해결방안응용우공기질량재선감측계통중,결과표명,기핵간전수속도고체496 MB/s,만족다삼량수거동보획취급병행협동처리적수구。
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.