The Design of Universal Asynchronous Receiver Transmitter Based on FPGA
- Author
- HanMing
- Advisor
- HuangYao
- School
- Dalian Maritime University
- Major
- Information and Communication Engineering
- Classification
- TN859 Other
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 624
- Citations
- 6
Abstract
Universal Asynchronous Receiver Transmitter(UART) is a serial communication interface which can support short distance and long distance data transmission simultaneously,it is widely applied to data exchange between a microcomputer and peripherals.Such as 8251、NS8250 and NS16550 are commonly used UART chips,but the disadvantage of these specialized serial interface chips is transmitting data relatively slow.Therefore,they can’t be used in high-speed data transmission.The more important is that they are non-portable,which certainly will increase the complexity of interfacial link,and decrease stability and validity of the whole system when these chips are used to process the communication between PC machine and FPGA chips.According to the characteristics of the UART and the portability advantage of FPGA designs,this paper puts forward an embedded UART design method based on FPGA chips.The design method includes description form of FSM and design approach of Top-Down.It’s good to take advantage of VHDL to program the slave module and top module of UART,and then integrate them into the interior of FPGA chip.In this case it improves not only the disadvantage of the traditional UART chips but also makes the whole system more compact and more reliable.The UART of this paper supports standard RS-232C transport protocol.The main of the design includes transmitter module,receiver module,line control and interrupt arbitration module,modem control module and two independent data buffer FIFO module.On this paper,the UART design has variable baud rate,the length of data frame and odd-even checking mode.Moreover,it has interrupt source,interrupt priority level and the ability of anti-interference and self checking.Additionally,it also can fulfill duplex communication for the separate transmitter data buffer and receiver data buffer.Besides these features,the most important is using the IP multiplex technique to design the data buffer FIFO and adopting two selectable data buffer mode.In this way, it can not only support the low speed data transmission but also the high speed data transmission.Therefore,it can achieve the maximization of the resource utilization.During the concrete course of the design,first to synthesize and optimize and then simulate and verify,at last download and implement each functional module via the Synplify Pro、Models-im facility and the integrate software development environment of the ISE.Every result declares that the UART designed in this paper reached the demand of expected design goals.
Table of contents
Abstract 5-6
Abstract 6-10
Chapter 1 Introduction 10-17
1.1 research background and significance 10-11
1.2 research the status quo, and related technical overview 11-15
1.2.1 UART chip research situation 11-12
1.2.2 FPGA characteristics and development trends 12-15
1.3 The main research methodology and research 15
1.4 In this thesis, the content structure 15-17
Chapter 2 Universal Asynchronous Receiver Transmitter The theoretical basis 17-24
2.1 serial communication 17-21
2.1.1 serial asynchronous communication 17-19
2.1.2 serial synchronous communication 19-21
2.2 UART communication standards 21-24
Chapter 3 UART module is designed 24-54
3.1 UART modules, the basic principles of 24-34
3.1.1 UART design requirements 24
3.1.2 UART internal registers structure 24-26
3.1.3 UART internal registers definition is 26-34
3.2 the UART functional modules designed 34-54
3.2.1 transmit module 35-38
3.2.2 receiver module 38-42
3.2.3 Baud Rate Generator module 42-43
3.2.4 line control and interrupt arbitration module 43-47
3.2.5 data buffer FIFO module 47-51
3.2.6 Modem Control Module 51-52
3.2.7 loop self-test selector 52-53
3.2.8 pulse synchronization circuit design 53-54
Chapter 4 UART integrated optimization and simulation 54-70
4.1 VHDL language integrated optimization 54-58
4.1.1 integrated optimization process 54-55
4.1.2 synthesizable VHDL programming 55-58
4.2 UART module simulation 58-70
4.2.1 transmit module simulation 61-62
4.2.2 receiver module simulation 62-63
4.2.3 line control and simulation of interrupt arbitration module 63-65
4.2.4 synchronization circuit simulation 65
4.2.5 FIFO module simulation 65-66
4.2.6 UART loop self-test simulation 66-69
4.2.7 UART module is implemented in hardware 69-70
Chapter 5 Conclusion 70-72
References 72-74
Appendix A 74-75
Appendix B 75-76
Appendix C 76-77
thank 77-78
graduate resume 78
Related dissertations
- The research and design of CAN bus controller based on FPGA
- Chaotic Encryption System Research Based on FPGA
- Design and Realization of the Ethernet and UART Data Transmit System Based on FPGA
- Exploitation and Applacation of EDA Experiment System
- Study on Monitoring and Analyzing of Multichannel Power-Frequency Electric Field Based on FPGA
- Research and Implemention of Telemetry Cable Communication Based on FPGA
- Design and Implementation of FPGA cells in the target detection system of the infrared video
- The Realization of Intel82 Components in Multisim Software Platform Using VHDL
- ADSL PCI modem and function modules design and implementation
- Design of the Hardware Unit Based-On FPGA of Characteristic Analysis on Induction Motors
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
- Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
- Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
- Research of Dual Chanel High Speed Data Acquisition Card
- Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
- The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
- Design of Remote Strain Measurement System Based on FGPA