浙江大学硕士学位论文 基于FPGA的EPA协议栈研究与开发 Abstract At present,the realization of EPA stack is based on ARM embedded processors and embedded operating system such as pC/OS-I al e many problems existing in the sotl'ware implementation,such as the precision of clock synchronization is not high enough,munication schedule performance is not fully exceed,still the stability ofthe protocol stack needs to be strengthened, chip is a good way to solve these ,chip-designing often implements the function of pletes the development and validation of prototype chip on FPGA first. Based on an in-depth study of the principle of EPA standard and its hardware realization method,this paper proposes a FPGA—based realization method for EPA protocol main achievements and innovations are listed as follows: development board for the EPA protocol stack is uses the ATMEL AT91 R40008 microcontroiler and ALTERA Cyclone II FPGA as main for the Ethemet card AX88796L based on this platform is developed. y口synchronization algorithm is pensation algorithm based on the weighted least-squares algorithm is algorithm adopts the pensation algorithm to adjust the time drift between yrP synchronizations,and the weighted least—squares algorithm is introduced tO calculate the pensate results show that the algorithm has greatly improved the synchronization accuracy of盯只and the accuracy reaches l us. munication schedule algorithm is solve the problems of large memory footprint and low lookup efficiency existing in the soRware implementation method for munication schedule algorithm,a hardware implementation method based on FPGA is method adopts a strategy,in which messages are stored intensively munication schedule lists afe constructed lookup scheme of munication schedule lists based Ⅱ 浙江大学硕士学位论文基于FPGA的EPA协议栈研究与开发 on parallel processing is