基于FPGA的千兆以太网接口应用研究与实现Applied research of Gigabit Ethernet interface and its implementation based on FPGA
吴长瑞,徐建清,蒋景红
摘要(Abstract):
为解决嵌入式领域中数据量大、速度高、实时性强等传输问题,提出FPGA和PHY芯片相结合的设计方案,用于实现UDP/IP协议。通过深入研究TCP/IP协议栈体系结构和工作原理,按照以太网的帧格式封包和解包,在FPGA中实现UDP/IP数据的正确发送和接收。在自主研发的硬件平台上验证了该方案的正确性和可靠性。由于使用FPGA实现UDP/IP协议,系统具有移植性高和易于集成等优点。
关键词(KeyWords): UDP/IP;协议栈;千兆以太网;现场可编程门阵列;帧格式;系统集成
基金项目(Foundation): 国家自然科学基金(11304343)~~
作者(Author): 吴长瑞,徐建清,蒋景红
DOI: 10.16652/j.issn.1004-373x.2018.09.001
参考文献(References):
- [1]崔鹤,刘云清,盛家进.基于FPGA的UDP/IP协议栈的研究与实现[J].长春理工大学学报(自然科学版),2014,37(2):133-137.CUI He,LIU Yunqing,SHENG Jiajin.Research and implementation of UDP/IP protocol stack based on FPGA[J].Journal of Changchun University of Science and Technology(natural science edition),2014,37(2):133-137.
- [2]史鹏腾.基于千兆网的FPGA多通道数据采集系统设计[J].电子科技,2015,28(2):123-126.SHI Pengteng.Design of multi-channel FPGA-based data acquisition system based on Gigabit Ethernet[J].Electronic technology,2015,28(2):123-126.
- [3]谢希仁.计算机网络[M].5版.北京:电子工业出版社,2005.XIE Xiren.Computer network[M].5th ed.Beijing:Electronic Industry Press,2005.
- [4]卡萨德·威尔斯.TCP/IP 24学时教程[M].王建华,译.北京:机械工业出版社,1999.WALES J C.TCP/IP 24 hours tutorial[M].WANG Jianhua,Translation.Beijing:Mechanical Industry Press,1999.
- [5]KOZIEROK C M.TCP/IP指南(卷一):底层核心协议[M].陈鸣,贾永兴,宋丽华,译.北京:人民邮电出版社,2008.KOZIEROK C M.TCP/IP guide(volume I):the underlying core protocol[M].CHEN Ming,JIA Yongxing,SONG Lihua,Translation.Beijing:People′s Posts and Telecommunications Press,2008.
- [6]徐鑫,曹奇英.基于Lw IP协议栈的UDP协议分析与优化[J].计算机应用与软件,2011,28(3):246-249.XU Xin,CAO Qiying.UDP protocol analysis and optimization based on Lw IP protocol stack[J].Computer applications and software,2011,28(3):246-249.
- [7]黄维超,刘桥,黄初华.基于FPGA的循环冗余校验并行实现[J].信息技术,2009,33(6):181-183.HUANG Weichao,LIU Qiao,HUANG Chuhua.Parallel implementation of cyclic redundancy checks based on FPGA[J].Information technology,2009,33(6):181-183.
- [8]叶懋,刘宇红,刘桥.CRC码的FPGA实现[J].重庆工学院学报(自然科学版),2007,21(3):85-87.YE Mao,LIU Yuhong,LIU Qiao.Implementation of CRC code based on FPGA[J].Journal of Chongqing Institute of Technology(natural science edition),2007,21(3):85-87.
- [9]严力.基于FPGA的以太网MAC协议的设计与实现[D].武汉:华中科技大学,2011.YAN Li.FPGA-based Ethernet MAC protocol design and implementation[D].Wuhan:Huazhong University of Science and Technology,2011.
- [10]Xilinx.Tri-mode Ethernet MAC v9.0[EB/OL].[2015-09-30].http://china.xilinx.com/support/documentation/ip_documentation/ru/tri-mode-ethernet-mac.html.
- [11]Xilinx.1 G/2.5 G Ethernet PCS/PMA or SGMII v15.1[EB/OL].[2015-11-18].http://www.xilinx.com/support/answers/54667.html.
- [12]Xilinx.Logi CORE IP tri-mode Ethernet MAC V5.1 user guide[EB/OL].[2015-07-28].http://www.xilinx.com/support/answers/33111.html.