The FPGA Implementation and Research of the Embedded USB Device Processor
- Author
- LiXinBing
- Advisor
- LaiZongSheng
- School
- East China Normal University
- Major
- Microelectronics and Solid State Electronics
- Classification
- TN792 Digital-analog , digital to analog conversion circuit
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 391
- Citations
- 1
Abstract
USB(Universal Serial Bus) is specified to be an industry standard served as data-transmission between PC and all kinds of peripheral equipments. It has the merits of speediness, easy-configuration and setting, self-powered and hot attach & detach. USB version 1.1 supported two speeds, a full speed mode of 12 Mbits/s and a low speed mode of 1.5 Mbits/s, USB 2.0 even 480 Mbits/s. USB is much faster than UART. The USB transceiver is as cheap as RS232 line driver/receiver. So it brings about the development of the processor of USB device.A hardware implementation of the processor of USB device is presented in this thesis. It describes how to design its RTL hardware implementation, its FPGA prototype verification and ASIC research, including modeling, arithmetic simulation, RTL design, and its simulation and how to implement in FPGA. This design reaches the velocity of 48MHz, and the area of no more than 10K gates. Its fine quality guarantees satisfaction of Soc design.These works are presented in this dissertation:1) According to USB version 1.1, one hardware implementation is presented and every module is accomplished successfully. Two different modules that supervise data-transmission and bus enumeration respectively share the same packet-processing channels. The data-transmission module use FIFO as its data source or sink and the bus-enumeration module depends on ROM, which can be configured before synthesis.2) For data-transmission module, different endpoints are not assigned as individual FIFOs but a general FIFO and a general endpoint number register. It decreases the numbers of FIFO and leaves workload for other functions.3) The thesis makes a flexible system modeling through Lab View, a graphical programming language tool. Labview uses icons instead of lines of text to create applications. In contrast to text-based programminglanguages, Lab VIEW uses dataflow programming, where the flow of data determines execution. Users can input their own data and the modeling can produce output data, which can be compared with the simulation of RTL design.4) The thesis develops FPGA research on this embedded USB device processor mainly. The testing data is sent to FPGA board through serial ports. This processor reads the data and sends to PC host. Ni-VISA served as host will analyze data received from FPGA board.
Table of contents
The first chapter 11-14
§ 1.1 USB application and development 11-12
1.1.1 USB Application Overview 11
1.1. 2 USB device side chip classification 11-12
§ 1.2 Project Background Information 12-13
§ 1.3 The main research content and structure 13-14
Chapter II USB bus data transfer process overview 14-36
§ 2.1 USB System Description 14-16
2.1.1 USB bus topology 15-16
§ 2.2 USB physical layer describes 16-22
2.2.1 USB connection interface 16-18
2.2.2 USB data signal characteristics 18-21
2.2.3 USB bus speed labeling: 21-22
§ 2.3 USB bus data transfer protocol 22-31
2.3. 1 Universal USB packet domain 22-23
2.3.2 USB packet type 23-24
2.3.3 Cyclic Redundancy Check (CRC) 24 -25
2.3.4 performance function with the endpoint, pipe 25
2.3.5 USB transfer endpoint type 25-31
§ 2.4 USB descriptors and enumeration process 31-36
2.4.1 devices (device) descriptor 32-33
2.4.2 configurations (configuration) descriptors 33
2.4.3 Interface (interface) descriptor 33
2.4.4 endpoint (endpoint) descriptor 33-34
2.4.5 String (string) descriptor 34
2.4.6 SETUP packet 34-35
2.4.7 Enumeration 35-36
Chapter III processor USB bus device side RTL level implementation 36-55
§ 3.1 front-end digital IC design flow 36-37
§ 3.2 USB bus device side of the interface definition 37-39 <br / > 3.2.1 USB bus device end processor location 37-38
3.2.2 analog front-end processor and the USB interface, 38
3.2.3 Processor and Other module interface 38
3.2.4 processor system interface definition 38-39
§ 3.3 USB bus device side processor module division 39 - 40
§ 3.4 processor system-level modeling 40-41
§ 3.5 RTL various parts of the module-level implementation 41-55
3.5.1 string conversion module (RX) 41-42
3.5.2 packet parsing module (rxpacket) 42-45
3.5.3 Enumeration processing module (SetupData) 45-49
3.5.4 Data processing module 49-51
3.5.5 encrypted data packet module 51-52
3.5.6-serial conversion module 52
3.5.7 FIFO design 52-55
Chapter IV processor RTL design of FPGA prototyping 55-65
§ 4.1 overall block diagram of the processor Verify Download 55-56
§ 4.2 front-end analog conversion solutions 56-58
4.2.1 front-end analog converter chip introduced 56 - 57
4.2.2 front-end analog conversion achieve 57-58
§ 4.3 Virtex-Ⅱ FPGA development board Introduction 58-59
4.3.1 Virtex-Ⅱ clock management 58-59
§ 4.4 RS232 interface with the FPGA application to transfer data 59-62
4.4.1 RS232 Interface Description 59
4.4 .2 serial data transmission 59-60
4.4.3 UART serial data transmission module: 60-62
§ 4.5 USB software control 62 -63
4.5.1 Using VISA3.0 control USB devices 62-63
§ 4.6 overall verification program implementation 63-65
Chapter V USB bus device end processor ASIC implementation research 65-68
§ 5.1 USB device end processors comprehensive analysis 65-68
5.1.1 Design Compiler synthesis tool to use step 65
5.1.2 The process used in this paper library 65-66
5.1.3 Comprehensive constraints fill plus 66-67
5.1.4 processor's integrated reporting results 67-68
Chapter VI paper summarizes 68-70
§ 6.1 Thesis Summary 68
§ 6.2 of this treatment The outlook 68-69
§ 6.3 future direction of development 69-70
References 70-72
nbsp papers published during the master ; 72-73
Postscript 73
Related dissertations
- Design and Implementation of Space Camera Compression Unit for Remote Sensing Image
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Usb Without Invasive Data Collection Technology Research
- Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
- Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
- Grating Data Acquisition and Error Correction Technology
- CCD Data Acquisition System Implementation Based on FPGA
- Research of Data Acquistion System Based on FPGA
- Research on the Control System of Oil Flow Device Based on PLC
- HART Multiplexer Research and Hardware System Design
- Research and design of intelligent 3D pulse peak field strength tester
- Multi functional comprehensive test instrument based on Virtual Instrument Technology
- Embedded Fingerprint Identification System and Storage Technology
- Research on the Digital Broadband Electromagnetic Tomography System
- VxWorks Migration on VME Bus Embedded Controler
- Embedded Linux-based USB Encryption Driver Design
- Research and Implementation of Usbtmc Specification about Universal Test Instrument
- Research Communication Device and Communication Protocols Based on USB Interface
- Research and Implementation of Infrared Touch Screen Based on HID Class
- The Designand Realization of Embedded USB Mass Storage System