资源描述:
《微电子学毕业设计(论文)-uart接口设计及fpga验证》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、四川大学本科毕业论文 UART接口设计及FPGA验证UART接口设计及FPGA验证TheDesignofUARTInterfaceandFPGAVerification专业:微电子一班学生:指导教师:摘要:随着电子技术的发展,以及数据传送的需要,通用异步接收/发送器(UART)已成为MCU、CPU、DSP等的基本配置,应用广泛。UART数据通过串行输入、输出,不同装置间通信不需要传送时钟信号,避免了同步传送的时序处理问题,数据线引脚较少,避免了信号间的相互干扰,是未来数据传送的发展方向。本文主要讨论如何应用VerilogHD
2、L语言,基于FPGA器件实现可复用的UARTIPCore。通过修改配置文件,用户可以根据需要设置相应的参数,以实现相应功能的UART器件。本设计模块主要包括UART发送器、接收器、波特率发生器,以及总线接口控制逻辑。设计通过Xilinx公司的Spartan-3系列器件XC3S400FPGA进行功能验证。关键词:UART、IP核、发送器、接收器、波特率发生器、VerilogHDLAbstract:Withthedevelopmentofelectronictechnology,astheneedofdatatransmitter,the
3、UniversalAsynchronousReceiver/Transmitter(UART)nowisthebasiccomponentofMCU,CPU,DSP,etc.Byseriesdatainput/output,thereisnoneedtosendclocksignalwhencommunicationbetweendifferentequipments,avoidingtimingsynchronousproblem,andthedatapinisonlyone,avoidthedisturbamongthesigna
4、lsinparallelcommunication.So,seriesdatatransmittingisthedevelopmentdirectioninfuture.ThispaperfocusesonhowtouseVerilogHDLtocarryoutreusableUARTIPCore,basedonFPGA.Bymodifyingtheconfigurationdocuments,theusercandesigndifferentUARTcomponent.Thedesignismadeupofthesemodules,
5、suchasTransmitter,Receiver,Bade_rategenerator,andtheBusinterfacemasteringlogic.Whenvalidatingthedesign,weuseXC3S400FPGAofXilinxCO.,LTD’sSpartan-3spectrum.KeyWords:UART,IPCore,Transmitter,Receiver,VerilogHDLiii四川大学本科毕业论文 UART接口设计及FPGA验证目录第一章引言……………………………………………………………
6、………1第二章UART的协议……...................................................................................22.1异步通信…………………………………………………………22.2串行通信的过程及通信协议…………………………………….32.2.1串并转换与设备同步………………………………………….32.2.2串行通信协议…………………………………………………32.3UART的典型应用……………………………………………….52.4UART的时钟控制……
7、………………………………………….62.5UART的数据采样……………………………………………….6第三章UART的硬件设计…………………………………………………….73.1UART总体构架………………………………………………….73.1.1UART结构…………………………………………………...73.1.2UART的帧格式………………………………………….…...73.1.3UART的设计规格……………………………………………83.2串行数据发送模块……………………………………………113.2.1发送顶层模块………………………………
8、……………...113.2.2取数控制………………………………………………..…123.2.3发送状态机………………………………………………...133.2.4EDA工具验证………………………………………………143.3