一种提高FPGA片间通信稳定性的校验协议研究

池林辉, 钱芸生, 籍宇豪

池林辉, 钱芸生, 籍宇豪. 一种提高FPGA片间通信稳定性的校验协议研究[J]. 红外技术, 2020, 42(11): 1022-1027.
引用本文: 池林辉, 钱芸生, 籍宇豪. 一种提高FPGA片间通信稳定性的校验协议研究[J]. 红外技术, 2020, 42(11): 1022-1027.
CHI Linhui, QIAN Yunsheng, JI Yuhao. Verification Protocol for Improving Communication Stability Between FPGAs[J]. Infrared Technology , 2020, 42(11): 1022-1027.
Citation: CHI Linhui, QIAN Yunsheng, JI Yuhao. Verification Protocol for Improving Communication Stability Between FPGAs[J]. Infrared Technology , 2020, 42(11): 1022-1027.

一种提高FPGA片间通信稳定性的校验协议研究

基金项目: 

省部级基金项目 61424120504162412001

详细信息
    作者简介:

    池林辉(1996-),男,硕士研究生,主要从事光电成像科研工作。E-mail:chilinhui6@163.com

    通讯作者:

    钱芸生(1968-),男,教授,博士生导师。主要从事光电测试、图像处理和仿真等工作。E-mail:yshqian@mail.njust.edu.cn

  • 中图分类号: TN223

Verification Protocol for Improving Communication Stability Between FPGAs

  • 摘要: 随着FPGA(Field Programmable Gate Array)在大型系统中得到越来越广泛的应用,单片FPGA往往难以胜任全部工作,多片FPGA之间进行高速稳定通信成为了该领域的一个研究热点。为此设计了一种基于低压差分信号(low voltage differential signal,LVDS)可用于FPGA片间高速稳定通信的校验协议,该协议在常规LVDS通信的基础上进行多轮多路校验,以提高传输可靠性。基于该协议,搭建了一套由两片Xilinx 7系列FPGA构成的9通道LVDS通信测试系统。其中1个通道用于同步时钟,另外8通道用于校验和通信。经过长时间高低温测试,在保证单路传输速率达1.2 Gb/s的情况下,相对于常规LVDS通信,误码率大大降低。
    Abstract: As field-programmable gate arrays(FPGAs) become increasingly used in large-scale systems, it is often difficult for a single-chip FPGA to perform all the tasks required. High-speed and stable communication between multiple FPGAs has become a focus of research in this field. For this purpose, a verification protocol based on low-voltage differential signaling (LVDS) that can be used for high-speed and stable communication between FPGA chips was designed. This protocol performs multiple rounds of multipath verification based on conventional LVDS communication to improve transmission reliability. Based on this protocol, a nine-channel LVDS communication test system consisting of two Xilinx 7 series FPGAs was built. One channel was used to synchronize the clock, and the other eight channels were used for checksum communication. After a long period of high- and low-temperature tests, the bit error rate was greatly reduced compared with conventional LVDS communications while ensuring a single transmission rate of 1.2 Gb/s.
  • 图  1   片间通信测试系统组成框图

    Figure  1.   Block diagram of inter-chip communication test system

    图  2   硬件测试平台

    Figure  2.   Hardware test bench

    图  3   差分信号波形图

    Figure  3.   Differential signal waveform diagram

    图  4   通信原理框图

    Figure  4.   Communication schematic

    图  5   数据对齐流程图

    Figure  5.   Flowchart of data alignment

    图  6   信号在时间域抖动特性

    Figure  6.   Signal jitter characteristics in the time domain

    图  7   Bit位对齐时序图

    Figure  7.   Timing diagram of bit alignment

    图  8   Byte位对齐时序图

    Figure  8.   Timing diagram of Byte alignment

    图  9   双向校验示意图

    Figure  9.   Schematic diagram of two-way verification

    图  10   闭环校验示意图

    Figure  10.   Closed-loop verification diagram

    图  11   通信测试数据传输方案

    Figure  11.   Transmission plan of communication test data

    图  12   A7端ChipScope在线测试图

    Figure  12.   ChipScope online test chart of A7

    表  1   不同温度下FPGA片间通信误码率测试结果

    Table  1   Test results of bit error rate of FPGA inter-chip communication at different temperatures

    Temperature/℃ -30 -20 -10 0 10 20 30 40 50
    Bit error rate 0 0 0 0 0 0 0 0 0
    下载: 导出CSV
  • [1]

    FANG J, DAI S. Design of multi-channel intelligent transmitter based on HART protocol[J]. Microcomputer & Its Applications, 2011, 30(20): 23-25. http://en.cnki.com.cn/Article_en/CJFDTOTAL-WXJY201120011.htm

    [2]

    HOU Q L, XU K J, FANG M, et al. A DSP-based signal processing methd and system for CMF[J]. Measurement Journal of the International Measurement Confederation, 2013, 46(7): 2184-2192. DOI: 10.1016/j.measurement.2013.03.010

    [3] 易敏, 苏淑靖.基于LVDS的高可靠性数据传输设计[J].微电子学与计算机, 2014(9): 131-134. http://d.wanfangdata.com.cn/Periodical/wdzxyjsj201409030

    YI Min, SU Shujing. High Reliability of Data Transmission Design Based on LVDS[J]. Microelectronics & Computer, 2014(9): 131-134. http://d.wanfangdata.com.cn/Periodical/wdzxyjsj201409030

    [4] 冯晓东, 杨可.一种基于LVDS接口的高速并行数据传输系统设计与实现[J].数字技术与应用, 2013(6): 64-65. http://d.wanfangdata.com.cn/Periodical/szjsyyy201306046

    FENG Xiaodong, YANG Ke. The Design and implementation of one high speed parallel data transfer system based on LVDS[J]. Digital Technology & Application, 2013(6): 64-65. http://d.wanfangdata.com.cn/Periodical/szjsyyy201306046

    [5]

    Alkafi A, Imran R, Islam M. Development of FSM based Running Disparity Controlled 8b/10b Encoder/Decoder with Fast Error Detection Mechanism[J]. HCTL Open IJTIR, 2013(2): 2321-1814. http://opendepot.org/2121

    [6]

    Tseng S.H, Liao Y L. Monolithic power splitter for differential signal[P]. [2011-4-29]. U.S. Patent 13, 097, 072.

    [7] 袁文燕, 郑玥, 宋宇飞, 等. FPGA片间万兆可靠通信的设计与实现[J].电视技术, 2014(1): 43-46. http://www.cqvip.com/QK/91997X/20141/48290713.html

    YUAN Wenyan, ZHENG Yue, SONG Yufei, et al. Design and Implementation of 10- Gbit/s Reliable Intra- FPGA Communication[J]. Video Engineering, 2014(1): 43-46. http://www.cqvip.com/QK/91997X/20141/48290713.html

    [8]

    Xilinx. 7 Series FPGAs Select lO Resources User Guide[Z]. America: Xilinx Inc, 2018.

    [9]

    WONG A C, Borrelli C J, Jones L, et al. Transceiver for providing a clock signal[P]. [2013-8-8]. U.S. Patent 13, 962, 468.

    [10] 王建东.基于FPGA的高速串行数据采集及恢复技术研究[D].成都: 电子科技大学, 2017.

    WANG Jiandong. Research On High Speed Serial Data Acuisition And Recovery Technology Based On FPGA[D]. Chengdu: School of Microelectronics & Solid State Electronics, 2017.

    [11]

    Xilinx. 7 Series FPGAs GTX/GTH Transceivers User Guide[Z]. America: Xilinx Inc, 2018.

    [12]

    Wirthlin MJ, Takai H. Harding. A soft error rate estimations of the Kintex-7 FPGA within the ATLAS Liquid Argon (LAr) Calorimeter[J]. Journal of Instrumentation, 2014, 9(1): 1-8. http://adsabs.harvard.edu/abs/2014JInst...9C1025W

    [13]

    Herrera-Alzu I, Lopez-Vallejo M. Design Techniques for Xilinx Virtex FPGA Configuration Memory Scrubbers[J]. IEEE Transactions on Nuclear Science, 2013, 60(1): 376-385. DOI: 10.1109/TNS.2012.2231881

    [14]

    Xilinx. Vivado Design Suite 7 Series FPGA and Zynq-7000 All Programmable SoC Libraries Guide[Z]. America: Xilinx Inc, 2017.

图(12)  /  表(1)
计量
  • 文章访问数:  324
  • HTML全文浏览量:  67
  • PDF下载量:  29
  • 被引次数: 0
出版历程
  • 收稿日期:  2020-07-02
  • 修回日期:  2020-11-01
  • 刊出日期:  2020-11-19

目录

    /

    返回文章
    返回
    x 关闭 永久关闭

    尊敬的专家、作者、读者:

    端午节期间因系统维护,《红外技术》网站(hwjs.nvir.cn)将于2024年6月7日20:00-6月10日关闭。关闭期间,您将暂时无法访问《红外技术》网站和登录投审稿系统,给您带来不便敬请谅解!

    预计6月11日正常恢复《红外技术》网站及投审稿系统的服务。您如有任何问题,可发送邮件至编辑部邮箱(irtek@china.com)与我们联系。

    感谢您对本刊的支持!

    《红外技术》编辑部

    2024年6月6日