液晶与显示, 2017, 32 (8): 607, 网络出版: 2017-11-21  

以太网数传系统在FPGA上的实现

Realization of Ethernet data transmission system on FPGA
作者单位
1 中国科学院 长春光学精密机械与物理研究所, 吉林 长春 130033
2 电子科技大学 通信与信息工程学院, 四川 成都 611731
摘要
在含有FPGA的数字信号处理电路和控制电路中, 为了实现将原始AD采样数据或中间处理结果数据的导出, 供后续分析处理使用, 从数据传输的稳定性、系统实现的简易性、价格低廉等角度出发, 研究设计了基于FPGA TSE IP核的嵌入式百兆以太网数据传输系统。首先, 详细分析了以NiosII CPU软核处理器为核心的以太网数传系统的SOPC各模块的硬件设计, 主要包括以TES IP核为主的以太网MAC, 采用乒乓缓存方式保证数据的连续不间断传输, 以及通过接收客户端指令来控制数传的开始和暂停; 然后, 利用MicroC/OS-II嵌入式实时操作系统的多任务方式, 基于Niche stack TCP/IP协议栈, 完成了系统的软件设计, 并给出了软件程序流程; 最后, 通过传输并接收特定的数据, 验证了系统数据传输的速率和准确性。结果表明在传输速率达到51 Mbps时, 系统稳定可靠。
Abstract
In digital signal processing or control circuit based on FPGA, in order to export original sampling data or intermediate processing result data for analyzing and processing later, from the view of stabile transmission, easy realization and low cost, a 100 Mbps Embedded Ethernet data transmission system based on FPGA TSE IP core is designed. First, the paper introduces the hardware design thought in SOPC with the main processor NiosII CPU, mainly including the Ethernet MAC designing based on TSE IP core. Uninterrupted data transmission during all transmit time is guaranteed by Pingpang RAM mechanism and a method of controlling data start and stop transmitting is also designed. Then, using MicroC/OS-II real-time operating system of multi task mode, and based on Niche stack TCP/IP protocol, the software design of the system is realized. Also, the software program flow chart which details the software work flow of the system is given. Finally, by transferring designated data, a verification method of rate and stability during data transmission is provided. The test result shows that the system is stable and reliable in data transmission when the rate is up to 51 Mbps.

贲广利, 王永成, 徐东东, 郑佳宁, 吴铮. 以太网数传系统在FPGA上的实现[J]. 液晶与显示, 2017, 32(8): 607. BEN Guang-li, WANG Yong-cheng, XU Dong-dong, ZHENG Jia-ning, WU Zheng. Realization of Ethernet data transmission system on FPGA[J]. Chinese Journal of Liquid Crystals and Displays, 2017, 32(8): 607.

关于本站 Cookie 的使用提示

中国光学期刊网使用基于 cookie 的技术来更好地为您提供各项服务,点击此处了解我们的隐私策略。 如您需继续使用本网站,请您授权我们使用本地 cookie 来保存部分信息。
全站搜索
您最值得信赖的光电行业旗舰网络服务平台!