摘要
针对当今核物理实验领域对数据传输系统提出的高性能、高稳定性要求,完成了基于FPGA的万兆以太网TCP/IP传输系统的设计。文中主要工作在于精简优化传统TCP/IP协议栈,对TCP/IP协议栈模块自顶向下进行模块化设计,并调用10 Gbit Ethernet MAC与PHY的IP核配合使用,在FPGA内部实现基于IEEE 802.3的TCP/IP协议数据的接收、缓存、控制、发送等功能。此外还搭建了万兆以太网测试平台,对本设计的基本功能进行全面测试:完成了ARP协议报文的请求与应答、ICMP协议报文的请求与应答、客户端与服务器端之间的数据传输链路测试,且测试过程无数据包丢失。测试结果表明,该设计已基本满足高性能与高稳定性的要求,应用于核物理实验的读出平台前景优势明显。
In response to the high-performance and high-stability requirements of the current nuclear physics experiment field for data transmission systems,an FPGA-based 10 Gbit Ethernet TCP/IP transmission system is designed.The main purpose of this paper is to streamline and optimize the traditional TCP/IP protocol stack,modularize the TCP/IP protocol stack module from top to bottom,and call the IP cores of 10 Gbit Ethernet MAC(medium access control)and PHY(physical layer)and to use them coordinately.The functions of receiving,buffering,controlling and sending TCP/IP protocol data based on IEEE 802.3 are implemented within FPGA.In addition,a 10 Gbit Ethernet test platform is built to fully test the basic functions of the design.The test completes the request and response of ARP(address resolution protocol)messages,the request and response of ICMP(Internet control messages protocol)messages,and the data transmission and link test between the client and the server.No data packet loss occurs during the test.The test results show that the design has basically met the requirements of high-performance and high-stability,and the readout platform applied to the nuclear physics experiments has obvious advantages.
作者
宋海声
彭鹏
李先勤
赵承心
杨海波
孙文健
李承飞
SONG Haisheng;PENG Peng;LI Xianqin;ZHAO Chengxin;YANG Haibo;SUN Wenjian;LI Chengfei(College of Physics and Electronic Engineering,Northwest Normal University,Lanzhou 730070,China;Institute of Modern Physics,Chinese Academy of Sciences,Lanzhou 730000,China)
出处
《现代电子技术》
2022年第5期31-35,共5页
Modern Electronics Technique
基金
国家自然科学基金项目(11875304)
国家自然科学基金项目(11975292)。