摘 要:本文所设计的位同步系统是使用单片机进行实时控制现场可编程门阵列(FPGA)进行同步的,在此设计中,本文主要做了以下内容: 1、单片机实时控制FPGA完成实时频率跟踪测量和自动锁相。 2、在FPGA内部,设计有以下两部分: 全数字锁相环(DPLL),主要包括数控振荡器、鉴相器、可控模N分频器。 LED动态扫描电路、FPGA和单片机的数据接口,以完成两者之间的数据传递。 3、设计辅助电路:键盘、LED显示、信号源等。 4、整体测试表明:系统可以实现10Hz到1MHz的信号同步,键盘及显示电路工作正常。 关键字:单片机、电子设计自动化(EDA)、Verilog HDL、数字锁相环 According To The MCU And FPGA The Bit Synchronous Signal Withdraw ABSTRACT:This text for designing the synchronous system is an usage MCU to control the Fileld Programmable Gate Array(FPGA) really.This design primarily completes missions as below. The MCU complete solid hour measure frequency follow with auto lock the phase. In the FPGA inner part ,the design have below two parts: The Digital Phase Locked Loop(DPLL),primarly include Digital Controled Oscillatory,Pahse Detector,N Divider. The LED Dynamicly scan and display circuit,Interface circuit between MCU and FPGA. Design assistant electric circuit:The keyboard,LED shows,signal source etc. 4、The whole test enunciation:the system can realize 10Hz to 1MHz signal is synchronous,keyboard electric circuit and manifestation electric circuit work is normal. KEYWORDS:MCU EDA Verilog HDL DPLL引 言