Design and Implementation of a Multi-Channel and High Speed Uart Based on FPGA
- Author
- YuanZhiJun
- Advisor
- XuHongGuang
- School
- Harbin Institute of Technology
- Major
- Communication and Information System
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 165
- Citations
- 2
Abstract
In many fields such as communications, medical , industrial control , often encounter the need for a microcontroller with many peripheral devices to communicate with each other , general microcontroller with only one or two sets of serial communication interface , in this case , you need to use the multi- serial chip , frequently used in practical applications TL16C554 SP2338 , SP2358 and other extensions chips , but these extensions chips have certain limitations , such as only a maximum of 4 serial ports , serial slow rate , the baud rate can not be allowed to prepare , the more expensive shortcomings . Late eighties FPGAs , on the other hand , after 20 years of development , because of its user - programmable features , has gradually be accepted , and FPGA has lead the integrated circuit industry forward momentum . PLD to the development of a digital circuit , can greatly shorten the design time , reduce the PCB area , and improve the reliability of the system . The rapid development of PLD These advantages make the the PLD technology in the 1990s , but also greatly promoted the progress of EDA software and hardware description language (HDL) . Engineers can chip serial port expansion in the the FPGA software platform and hardware platform design . Using FPGA another advantage of the serial port expansion serial port expansion features is that you can make use of the remaining resources of the FPGA chip space to achieve , can also be integrated with other functional modules on an FPGA , so that cost savings , reducing PCB area , this advantage is unmatched by other programs . Based on the above considerations , we propose an FPGA-based multi - serial design , by calling the FPGA dual-port RAM kernel as a data cache can be implemented in an FPGA eight or more standard serial port, serial port between independent full duplex operation ; serial serial rate by the CPU write command to control up to 2Mbps ; from the overall analysis of the project , the module division , each module design simulation , comprehensive verification and post-simulation and other detailed analysis designed to ensure the reliability and practicality of the design .
Table of contents
Abstract 4-5
ABSTRACT 5-9
Chapter 1 Introduction 9-14
1.1 Background
the
status of 1.2 Multiport Serial scalable solutions analysis 9-13
1.2.1 write MCU control word extended 9-10
1.2.2 programmable serial port expansion chip TL16C554 extend 10-12
1.2.3 SP2338 serial port expansion chip extended
1.2.4 use of FPGA / CPLD serial port expansion 12-13
1.3 This paper studies the content 13-14
Chapter 2 FPGA technology and design overview 14-25
2.1 Introduction 14
2.2 FPGA About 14-16
2.3 FPGA structure and principle 16-18
2.3.1 the product term technology-based FPGA 16-17
2.3.2 FPGA-based look-up table (LUT) structure 17-18
2.4 state machine design skills 18-24
the
standard of 2.4.1 judgment FSM 19-20
2.4.2 FSM common design approach 20-23
2.4.3 The state machine design skills 23-24
2.5 FPGA design flow 24
2.6 This chapter Summary 24-25
Chapter 3 UART controller design 25-46
3.1 Introduction 25
3.2 RS-232 serial communication Profile 25-30
3.2.1 serial communication Overview 25-26
3.2.2 RS-232 protocol 26-28
3.2.3 RS-232 communication timing and UART 28-30
3.2.4 serial communication program 30
The
UART 3.3 single module of the FPGA to achieve 30-39
3.3.1 UART transmit module composition principle 30-31
3.3.2 programmable baud rate generator module 31-34
3.3.3 shift register module 34-36
3.3.4 bus selector module 36-37
3.3.5 counter module to achieve 37-39
3.4 UART receiver to achieve 39-44
3.5 UART overall implementation 44-45
3.6 This chapter Summary 45-46
Chapter 4 serial port expansion FPGA design to achieve 46-59
4.1 Introduction 46
4.2 overall system design Chart 46-47
the
the 4.3 data streaming control module design 47-48
4.4 dual-port RAM IP approved manufacturing 48-50
450 dual-port RAM port control module design 50-53
4.6 host interface control module design 53-56
4.7 bidirectional I / O bus port design 56-58
4.8 system XST synthesis report 58
4.9 This chapter Summary 58-59
Chapter 5 design logic verification and timing analysis 59-70
5.1 Introduction 59
5.2 logic design verification 59-63
5.2.1 simulation and verification Overview 59-60
5.2.2 Multiport Serial extension design features simulation 60-62
5.2.3 serial debug software debugging 62-63
5.3 design static timing (STA) analysis 63-69
5.3.1 STA analysis Introduction 63-65
5.3.2 STA timing path 65-66
5.3.3 STA 66-69
5.4 STA analysis results 69
5.5 This chapter Summary 69-70
concluded 70-71
the
References 71-74
Appendix 74-77
Acknowledgements 77
Related dissertations
- Research on Solutions Threeth-Order Magic Cube Robot Based on the AVR
- Research and Design of Sea Clutter Analog Signal Generation System Based on FPGA
- Research on group behavior of nonlinear decision model based on pressure field
- Modelling and Simulation of Organizational Structure Based on Total Relationship Flow Management Theorems
- The Effects of the Basic Medical Insurance for Urban Workers on the Patients’ Hospital Choice Behavior in Shenyang:a Study Based on Multi-Agent Modelling Simulation
- Research on the Effect of Income Difference on R&D Network Cooperative Evolution
- The Research on the Knowledge Transfer Model and Strategy of Transformation Bussiness
- A Study on Food Security of Central City
- The Simulation Research of Jiangsu Industrial Development Based on Regional Innovation System
- Research on Interaction between Modern Logistics Industry and Economic Development of Shaanxi Province
- Estimation of Hong Kong RMB Cash Stocks and Flows on Biomarker Method Modeling Research
- Research on Dynamic Pricing Strategy of Market Maker Based on Heterogeneous Agents Beliefs
- The Stability Study of Ecological Industrial Link Based on the Dynamic Evolution Game Theory
- The Research about the Dynamic Evolution of Group Decisions under the Network Environment
- 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
- Micro-Grid Operation Status Monitoring System Based on Multi-Agent
- Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA