摘要
为了实现对多路高速光信号采集,利用FPGA设计基于PCIe总线的数据采集系统;对PCIe总线低速Slave通道与高速DMA通道的关键算法进行了研究;首先,介绍了数据采集卡的硬件构成及基本工作原理,提出了PCIe总线算法需要解决的数据传输问题;然后,分析数据采集卡PCIe总线低速Slave通道和高速DMA通道原理以及实现的关键算法;通过Modelsim和SignalTap工具分别对数据传输算法进行功能验证和在线仿真;最后,将设计数据采集卡互联PCIe上位机进行实际测试;实验结果表明,本设计PCIe总线采用X4接口模式,数据传输系统的数据上传峰值速率为615.38 MB/s,可以满足稳定可靠、高带宽、模块化等要求。
In order to achieve multi-channel high-speed optical signal acquisition,a data acquisition system based on PCIe bus is established and its applied algorithms such as low-speed Slave channel and high-speed DMA channel are investigated.First,based on hardware structure and basic operating principle of data acquisition card,the algorithms of data transmission problems for PCIe bus are presented.Then,the principles and algorithms of low-speed Slave channel and high-speed DMA channel are analyzed.Function simulation and online simulation of the data transmission algorithm is successfully fulfilled with Modelsim and SignalTap.Finally,plug the data acquisition card into PC for the actual test.Experimental results indicate that the data acquisition system's peak bandwidth based on PCIe bus with X4 mode is 615.38 MB/s.It can satisfy the system requirements of strong stabilization,high bandwidth,as well as modularization.
出处
《计算机测量与控制》
2016年第3期252-254,266,共4页
Computer Measurement &Control
基金
北京市属高等学校创新团队建设与教师职业发展计划项目(IDHT20130518)
教育部长江学者和创新团队发展计划(IRT1212)
北京市教委科研计划项目(KM201511232006)