基于FPGA的高速接口中多指针弹性缓冲器设计
发布时间:2018-10-10 10:13
【摘要】:弹性缓冲技术广泛应用于高速接口的接收端,通过同步输入输出的数据、补偿时钟偏差来保证数据的正确传输。而传统弹性缓冲器通过写指针跳跃和断点保存来添加特定字符(SKP)。这种方法容易带来复杂的异步控制电路,产生数据接收紊乱等状况。另外,高速接口对于这种单指针读写的弹性缓冲器有很高的频率要求,容易产生复杂的时序问题。本论文通过分析弹性缓冲技术的工作原理和方法,提出了多指针弹性缓冲器设计方法。它通过四个读写指针寻址完成数据的输入和输出,并将添加、删除操作分开在不同的时钟域(写指针寻址完成SKP删除,读指针寻址完成SKP添加),来避免复杂异步控制电路的出现。本文所做的工作如下(1)首先介绍了传统弹性缓冲器的工作原理和工作区域,分析了传统弹性缓冲器在添加和删除SKP时读写指针的操作方法。并针对此方法带来的时序问题,提出了一种新的多指针弹性缓冲器。(2)然后以USB3.0协议为标准,详细说明了多指针弹性缓冲器的工作原理及读写指针的操作方法。多指针弹性缓冲器工作时,首先利用输入控制单元改变输入数据中SKP对的排序,输出控制单元改变输出的数据;其次在阈值检测单元中检测弹性缓冲器中的有效数据量是否达到添加或删除的阈值,发出有效指令到读写指针控制单元;最后通过控制四个读写指针寻址来添加和删除数据中的SKP,维持弹性缓冲器的半满状态。(3)最后,本文通过仿真软件Quartus和Modelism对多指针弹性缓冲器做了时序仿真,并且将程序下载到FPGA开发板中,用逻辑分析仪观察波形。实验结果表明所设计的弹性缓冲器可正确实现SKP的添加和删除功能,且时钟频率能够满足USB3.0的协议要求。
[Abstract]:Elastic buffer technology is widely used in the receiver of high speed interface. By synchronizing the input and output data, the clock deviation is compensated to ensure the correct transmission of the data. Traditional elastic buffers add a specific character (SKP). By writing pointer hopping and breakpoint saving This method can easily lead to complex asynchronous control circuit, resulting in data reception disorder and so on. In addition, the high speed interface has high frequency requirement for this kind of elastic buffer for single pointer reading and writing, and it is easy to produce complex timing problems. In this paper, the principle and method of elastic buffer are analyzed, and the design method of multi-pointer elastic buffer is put forward. It accomplishes the input and output of data by addressing four read and write pointers, and adds, deletes operations in different clock fields (write pointer addressing completes SKP deletion, Read pointer addressing completes SKP addition) to avoid complex asynchronous control circuits. The work done in this paper is as follows: (1) the working principle and working area of the traditional elastic buffer are introduced, and the operation method of the traditional elastic buffer when adding and deleting SKP is analyzed. A new multi-pointer elastic buffer is proposed. (2) based on the USB3.0 protocol, the working principle of the multi-pointer elastic buffer and the operation method of reading and writing pointers are explained in detail. When the multi-pointer elastic buffer works, the input control unit is used to change the sort of the SKP pair in the input data, and the output control unit changes the output data. Secondly, in the threshold detection unit, it detects whether the effective data in the elastic buffer reaches the added or deleted threshold, and sends out the effective instruction to the read / write pointer control unit. Finally, the SKP, in the data is added and deleted by controlling four read-write pointer addressing to maintain the half-full state of the elastic buffer. (3) finally, the simulation software Quartus and Modelism are used to simulate the timing of the multi-pointer elastic buffer. And download the program to the FPGA development board, using the logic analyzer to observe the waveform. Experimental results show that the designed elastic buffer can correctly add and delete SKP, and the clock frequency can meet the requirements of USB3.0 protocol.
【学位授予单位】:安徽大学
【学位级别】:硕士
【学位授予年份】:2017
【分类号】:TP334.7;TN791
本文编号:2261391
[Abstract]:Elastic buffer technology is widely used in the receiver of high speed interface. By synchronizing the input and output data, the clock deviation is compensated to ensure the correct transmission of the data. Traditional elastic buffers add a specific character (SKP). By writing pointer hopping and breakpoint saving This method can easily lead to complex asynchronous control circuit, resulting in data reception disorder and so on. In addition, the high speed interface has high frequency requirement for this kind of elastic buffer for single pointer reading and writing, and it is easy to produce complex timing problems. In this paper, the principle and method of elastic buffer are analyzed, and the design method of multi-pointer elastic buffer is put forward. It accomplishes the input and output of data by addressing four read and write pointers, and adds, deletes operations in different clock fields (write pointer addressing completes SKP deletion, Read pointer addressing completes SKP addition) to avoid complex asynchronous control circuits. The work done in this paper is as follows: (1) the working principle and working area of the traditional elastic buffer are introduced, and the operation method of the traditional elastic buffer when adding and deleting SKP is analyzed. A new multi-pointer elastic buffer is proposed. (2) based on the USB3.0 protocol, the working principle of the multi-pointer elastic buffer and the operation method of reading and writing pointers are explained in detail. When the multi-pointer elastic buffer works, the input control unit is used to change the sort of the SKP pair in the input data, and the output control unit changes the output data. Secondly, in the threshold detection unit, it detects whether the effective data in the elastic buffer reaches the added or deleted threshold, and sends out the effective instruction to the read / write pointer control unit. Finally, the SKP, in the data is added and deleted by controlling four read-write pointer addressing to maintain the half-full state of the elastic buffer. (3) finally, the simulation software Quartus and Modelism are used to simulate the timing of the multi-pointer elastic buffer. And download the program to the FPGA development board, using the logic analyzer to observe the waveform. Experimental results show that the designed elastic buffer can correctly add and delete SKP, and the clock frequency can meet the requirements of USB3.0 protocol.
【学位授予单位】:安徽大学
【学位级别】:硕士
【学位授予年份】:2017
【分类号】:TP334.7;TN791
【相似文献】
相关期刊论文 前1条
1 陈乃塘;;从PCIe探索弹性缓冲器真义[J];电子测试;2005年10期
相关硕士学位论文 前4条
1 吕苗;USB3.0中指针暂停式弹性缓冲器的设计[D];安徽大学;2016年
2 程国林;基于FPGA的高速接口中多指针弹性缓冲器设计[D];安徽大学;2017年
3 姜长仁;PCI Express单路与四路PCS层测试及验证[D];辽宁大学;2014年
4 陈致远;高速USB误码率的测试及研究[D];复旦大学;2009年
,本文编号:2261391
本文链接:https://www.wllwen.com/kejilunwen/dianzigongchenglunwen/2261391.html