Design of USB Device Interface IP Core Based on FPGA
- Author
- LiJie
- Advisor
- HeWei
- School
- Chongqing University
- Major
- Signal and Information Processing
- Classification
- TP334.7 Interface devices,plug-in
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 411
- Citations
- 4
Abstract
Universal serial bus puts forward by seven corporations (Intel, Compaq, Microsoft, IBM, NEC, Northern telecom) which are led by the Intel. It is cost lowly, fast and easily expandable. USB is one of the most pervasive bus standards nowadays in electronic products. But in the design of the electronic products, using the USB interface is not facilitation and the cost-effective is low. Now, SOPC (System on a Programmable Chip) greatly increases the high cost effectiveness of electronic products owing to the development of EDA. Therefore, this paper designed a USB device interface IP core which can be used in the SOPC system.This paper mainly discusses the research and design of USB device interface IP core. This paper uses the top-down design method after study the USB protocol deeply. It reduces the complexity of the design and makes the structure of the whole design clearly. At the same time, the speed of the IP core is fast by using the hardware description language in the design. This paper mainly contains the following aspects:1) This paper presents the USB device interface IP core design ideas as well as the module division according by researching the way of data transmission and communication protocol standards of the USB system. These functional modules are: physical layer module, UTMI module, controller module, FIFO module, memory interface module and protocol layer interface module. In these modules, the physical layer module, controller module and protocol layer interface module are the most important ones.2) At the same time, making detailed design for each functional module by Verilog HDL hardware description language. The physical layer module is used to separate the clock and data. The controller module completes the enumeration work and data transmission according the use of the dedicated controller design method. The protocol layer module uses the finite state machine design method to achieve success in complex of USB protocol, including the pack and unpack of data.3) This paper simulates the USB device interface IP core by the professional software (QuartusⅡand ModelSim SE). In the system simulation, the paper tests the control endpoint, IN and OUT endpoint. According to analyze the data, validity of the data transmission is proved. Then this paper validates the USB device interface IP core by the FPGA hardware verification. During the hardware verification, the USB host and the device interface accomplish the USB data communication and get the USB data by USB HOUND.Experimental results show that this USB device interface IP core can be used in the SOPC system as an independent IP module and it facilitate the use of the electronic products in the USB interface.
Table of contents
Abstract 3-4
ABSTRACT 4-9
1 Introduction 9-13
1.1 Background topics 9-10
1.1.1 the USB the emergence and development 9-10
1.1.2 IP nuclear Introduction 10
1.2 research status 10-11
1.3 topics sense 11-12
main content
1.4 papers and chapters 12-13
2 USB protocol analysis 13-28
2.1 USB architecture 13-15
2.1.1 USB topology 13-14
2.1.2 endpoint and channel 14
2.1.3 USB system hierarchy 14-15
USB 2.2 physical characteristics 15-18
2.2.1 physical interface 15-16
2.2.2 NRZI encoding / decoding and bit filled 16-18
2.3 USB data transmission 18-22
2.3.1 Control Transmission 19-20
2.3.2 synchronous transmission 20-21
2.3.3 interrupt transmission 21
2.3.4 bulk transfer 21-22
2.4 USB communication protocol standards 22-27
2.4.1 packet types and structures 22-23
2.4.2 Sync field 23
2.4.3 packet identifier field 23-25
2.4.4 Address field 25-26
2.4.5 port number field 26
2.4.6 frame number field 26
2.4.7 data fields 26
2.4.8 cyclic redundancy check field 26-27
2.5 Summary 27-28
3 USB device interface design 28-57
3.1 USB device interface overall design 28-29
3.2 physical layer design 29-33
3.2.1 receiver module 30-32
3.2.2 transmit module 32-33
3.3 protocol layer design 33-44
the
the 3.3.1 package split module 34-35
the
the 3.3.2 pack assembly module 35-37
3.3.3 USB protocol engine module 37-42
3.3.4 IDMA module 42-43
3.3.5 CRC module 43-44
3.4 UTMI module 44-46
3.5 memory and memory interface module 46-49
3.6 FIFO module 49-51
3.7 controller module 51-56
3.7.1 controller basic function 51-54
3.7.2 dedicated controller design 54-56
3.8 Summary 56-57
USB device interface IP core simulation and FPGA validation 57-70
4.1 system simulation 57-62
4.1.1 Testbench establish 57-58
4.1.2 Control endpoint test 58-60
4.1.3 IN endpoint test 60-61
4.1.4 OUT endpoint test 61-62
4.2 FPGA verification 62-69
4.2.1 FPGA implementation 62-65
4.2.2 FPGA verification system composed 65-66
4.2.3 verification process 66-69
4.3 Summary 69-70
5 Summary and Outlook 70-71
Acknowledgements 71-72
the
References 72-74
Appendix 74
the papers directory published by A. of study for a degree during 74
Related dissertations
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Usb Without Invasive Data Collection Technology Research
- Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
- CCD Data Acquisition System Implementation Based on FPGA
- Research of Data Acquistion System Based on FPGA
- FPGA Auto the Doffing Car Control System Design
- Design and Experiment of a Motion Control System Based on FPGA
- Electronics Design and Algorithm Implementation of Polarization Grating Sensor for Navigation
- Multi functional comprehensive test instrument based on Virtual Instrument Technology
- FPGA-based Fast Image Processing System
- Design and Implementation of the FPGA Image Reconstruction System Based on Compressed Sensing
- The IP Core Implement and Improvement of Image Compression Algorithm
- Design of Multimedia Platform Based on FPGA
- Design and Implementation of NCC Accelerator Based Real-time Target Tracking System
- Research and Design of the Des Encryption Chip Based on Resource Optimization
- The Design of Disk Array Storage System Based on FPGA
- Research on the System for File Storage Media Conversion Processing
- Research and Implementation of FPGA-based Cloud Storage Security Systems
- Design and Implementation of the IP Core of AVI Encoding and SD Card Controller Based on SoPC