USB2.0 device controller IP soft core design
- Author
- LingHuaiQi
- Advisor
- ChenYong
- School
- University of Electronic Science and Technology
- Major
- Microelectronics and Solid State Electronics
- Classification
- TP334.7 Interface devices,plug-in
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 173
- Citations
- 3
Abstract
The universal serial bus (USB) is specified to be an industry standard used for data exchange among computers and peripherals. USB quickly takes the regnant status of peripheral interface field for its many advantages, for instance the high data transfer rate, a little resource, the capacity of multiple peripherals, the character of plug and play and so on. With USB technique widely applied, it is an inevitable trend that USB is integrated in SoC chips. Therefore, USB2.0 device controller IP soft core is achieved in this paper.This paper studied the working principle of USB and designed the IP soft core of universal serial bus, which are main parts of USB, based USB specification 2.0.From the point of view of a function device, this paper analyzes the USB system and physical and logical topology, USB protocol, USB data structure, and four transfer types of USB supplied, data toggle and error detection and recovery etc. At the same time it introduces UTMI.According to USB2.0 Device Controller feature, this thesis provides a design solution of USB2.0 Device Controller. This thesis divides the system into several sub-modules by the way of TOP-DOWN, then the design is implemented in Verilog HDL.Finally, the testbench and testing environment are set up and implements simulation in NC-Verilog. The design is synthesized and palced and layout by ISE6.3(Xilinx), then verified with the Xilinx Integrate System develop board. In this process a configured USB device correctly finishes the communication with host PC and USB.device are monitored and logged successfully by USBEX200 of USB2.0 Protocol Analyzer .The result of FPGA implementation indicates that this USB device controller can work very well at the specification frequency and has achieved the design target, it can be used into other USB devices and SOC application as a single module.
Table of contents
Abstract 4-5
ABSTRACT 5-9
first chapter 9-15
1.1 This paper studies the background and significance of the work
1.2 USB Technical Overview 9-12
1.2.1 USB background and significance 9-12
the 1.2.2 USB Studies Status and Trends 12
1.3 design ideas and means 12-13
1.4 thesis contents and chapter arrangement 13-15
Chapter II the USB2.0 protocol analysis and UTMI About 15-36
2.1 USB system described 15-17
2.1.1 USB System Overview 15-16
2.1.2 physical bus topology 16
2.1.3 logical bus topology 16-17
2.2 USB bus electrical characteristics 17
The
the 2.3 USB encoding methods and bit filling 17-18
2.4 USB communication structure 18-19
2.5 USB transfer two important concepts 19-20
2.5.1 device endpoint (Device Endpoint) 19-20
2.5.2 pipes (Pipe) 20
2.6 USB packets 20-26
2.6.1 USB packet domain format 21-23
2.6.2 USB packet format 23-26
2.7 USB transfer type 26-31
2.7.1 bulk transfer 27-28
2.7.2 Control Transmission 28-29
2.7.3 interrupt transmission 29-30
2.7.4 synchronous transmission 30-31
2.8 error detection and recovery 31-32
2.9 UTMI (USB Transceiver Macrocell Interface) 32-36
2.9.1 UTMI interface applications necessity 32-33
the 2.9.2 UTM structure and functions 33-34
2.9.3 UTMI signal description 34-36
Chapter USB2.0 device controller structure principle 36-41
3.1 USB2.0 device controller function description 36-37
3.2 USB2.0 device controller system block diagram 37-38
3.3 device controller the top pin definitions 38-41
USB 2.0 device controller logic design
Chapter 41-56
4.1 system design hierarchy divided 41-43
4.1.1 system design 41
system 4.1.2 hierarchy divided 41-43
4.2 UTMI interface module design 43-47
4.3 Packet processing unit 47-50
4.4 RAM control unit 50-51
4.5 Endpoint control unit 51-54
4.6 MCU interface 54-56
USB 2.0 device controller, verification, and implementation 56-72
5.1 USB2.0 device controller validation 56-58
5.1.1 system verification purpose and strategy 56
5.1.2 system testing program 56-58
5.2 system simulation module 58-64
5.3 system integrated 64-67
5.3.1 integrated concept 65-66
5.3.2 integrated constraint 66-67
5.4 FPGA implementation 67-68
5.5 system testing and validation 68-72
Chapter VI summarizes 72-74
Acknowledgements 74-75
the
References 75-77
read Shuo research during 77
Related dissertations
- Digital Circuit IP Soft Core Behavioral Design Method Research
- Design and Implementation of Reusable IP Core of SPI on Besis of Verilog HDL
- Research and Development of a Multifunctional IP Core Based on USB 2.0 Protocol
- Research and Design of Low-power WSN Node Based on SOC
- Design and Implementation of the Mobile Corporation Security Management Platform
- Research and Design of the Des Encryption Chip Based on Resource Optimization
- Design and implementation of serial communication interface based on FPGA and MCU
- Establishment and Verification of the Timing and Power Consumption Model for the Embedded SRAM Compiler
- Research and Design of32-bit and Five-stage Pipelined CPU Based on FPGA
- The Research and Design of RISC Microprocessor Soft Core
- The Design and Implementation of Embedded Flash Accelerator
- H.264/AVC Coding Chip FPGA Prototype Verification Platform Key Technologies Research
- JPEG Encoding Algorithm Optimization and Implementation Based on FPGA
- Flexibly Configurable H.264Video System Design Basing on Refined Accelerator
- Research and Application of Hardware Implementation of the Genetic Algorithm Based on FPGA
- Verification of AMBAIO System Based on SoC
- The Design and Reaserch of System-level Modeling and Simulation Platform for SoC
- Research of Automation of RTL Design and Verification for SoC Reset Technology
- The Design and Analysis of SoC Architecture Based on AXI Bus
- Design and Implementation of TV Chip HS2801FPGA Verification Platform