Research on Error Detection and Error Control for Bus Communication
- Author
- LiuZhiWen
- Advisor
- GaoMingLun
- School
- Hefei University of Technology
- Major
- Microelectronics and Solid State Electronics
- Classification
- TN919 Data communication
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 106
- Citations
- 2
Abstract
During data communication, communication error always occurs due to noise. So it is necessary to build the error detection and error controlling methods to keep the system reliable. The thesis focuses on error detection and error control methods for bus communication. Error control theory for USB (Universal Serial Bus) and PCI (Peripheral Component Interconnect) bus are presented first, the design of error detection and error controlling methods are discussed second.Error control theory for USB communication includes two aspects: error detecting, error correcting codes and error control methods. PID (Packet identifier), NRZI (No Return to Zero Inverter) and CRC (Cyclic Redundancy Code) are discussed in error detecting and error correcting codes circuits design. USB error control methods focus on host control state machine and device control state machine. PCI error control methods mainly focus on the parity check theory and the design of parity check circuit in PCI chip.Finally a USB device controller architectural and FPGA design flow are introduced in the thesis. The structure and function module partition of USB device controller are presented first. The RTL verification and gate level verification are discussed second. The synthesis of USB device controller is introduced next. The synthesis of RAM in the FPGA is discussed in detail lastly.
Table of contents
First chapter 13-21
1.1 basic concepts of communication 13
the 1.2 bus communication as well as error control technology 13-14
1.3 error control the the way classification the way 14-16
1.3.1 retransmission feedback 14-15
1.3.2 Forward error correction mode 15
1.3. 3 mixed error correction mode 15-16
1.4 error control mathematical model 16
1.5 error control coding principle and error correction capability 16-20 <br / > 1.5.1 Basic concept 16-17
1.5.2 several simple error detection code 17-20
1.6 This article the chapters arrangements and main content 20-21
Chapter II bus communication error detection and handling mechanism the computer 21-38 Basic Statistics on
2.1 bus 21-24
2.1. 1 Bus Type 21-23
2.1.2 buses, composed 23-24
2.2 Universal Serial Bus (USB) bus error detection and handling mechanism 24 -34
2.2.1 USB Protocol Introduction 25-29
2.2.1.1 USB physical and logical bus topology 25-26
2.2.1.2 USB data Transfer Manager 26-29
2.2.1.3 USB communication process 29
2.2.2.USB bus error detection and handling mechanism 29-34
2.2.2.1.USB host bus error detection and handling mechanism 30-33
2.2.2.2.USB bus equipment end error detection and processing mechanism 33-34
2.3 PCI bus error detection and handling mechanism 34-37
2.3.1 PCI bus signals described 34-36
2.3.2 PCI bus parity checking mechanism 36 -37
2.4 Summary the the 37-38
Chapter bus communication error detection and handling mechanisms to achieve 38-61
3.1 USB bus error detection and the realization of the handling mechanism 38-57
3.1.1 USB protocol error control 38-43
3.1.1.1 Control Transmission 38-40 < br /> 3.1.1.2 bulk transfer 40-42
3.1.1.3 interrupt transmission nbsp 42
3.1.1.4 when transmission; 42-43
3.1.2 error detection encoding realize Overview 43-57
3.1.2.1 USB NRZI encoding and bit filled achieve 43-46
3.1.2.1.1 USB the NRZI encoding technology to achieve 43-45
3.1.2.1.2 USB encoding bit-stuffing techniques to achieve 45-46
3.1.2.2 USB packet SYNC and EOP detection 46-47
3.1.2.3 package identifier error detection achieved 47-48
3.1.2.4 data switch (dat atoggle) and retry seized The wrong way to achieve the 48-51
3.1.2.4.1 marked by establishing initialization 48-49
3.1.2.4.2 the success data Affairs 49 the
3.1.2.4.3 damage or not accept the data the the ACK handshake damaged in 49-50
3.1.2.4.4 50-51
3.1.2.5 Cyclic Redundancy Check (CRC) error detection achieved 51-57
3.1.2.5.1 Cyclic Redundancy Check (CRC) principle 51-53
3.1. 2.5.2 General CRC checksum achieve the 53-54
cyclic redundancy check (CRC) to achieve 3.1.2.5.3 USB device controller 54-57
3.2 PCI bus parity theory and realize 57-60
3.3 Summary 60-61
Chapter universal serial bus device controller design 61-82
4.1 FPGA design flow overview 61-62
4.1.1 Design input 61
4.1.2 functional simulation 61 <br / > 4.1.3 logic synthesis and optimization the 61-62
4.1.4 placement and routing 62
4.1.5 device test 62
4.2 USB Device controller design 62-69
4.2.1 Overview USB device controller 62-63
4.2.2 USB device controller characteristics 63-64 the
a 4.2.3 USB256R external signals defined 64-66
4.2.4 memory organization the control endpoint nbsp 66
4.2.5 USB256R; 66-67
the control transfer design nbsp 4.2.6 USB256R; 67-69
4.3 USB device controller validation the 69-73
4.4 USB device controller 73-81
4.4.1 integrated real 73-74
4.4.2 synthesis tools use 74
4.4.3 USB256R RAM in 74-79
4.4.3.1 FPGA RAM to achieve the three forms 75-76
4.4.3.2 FPGA in three of RAM generated 76-78
4.4.3.3 USB256R RAM comprehensive implementation the comprehensive results nbsp 78-79
4.4.4 USB256R,; 79-81
4.5 USB256R placement and routing are found; 81
4.6 summarizes 81-82
Chapter Summary and Outlook 82-83
5.1 summarizes 82
5.2 Looking 82-83
Reference 83-85
Related dissertations
- Design of RS-485 bus communication system based on the distributed multi
- IP Core Research of USB Controller
- Software Design of a Motion Controller Based on DSP
- Research on Fly-By-Light Flight Control System Based on USB
- Design and Research of automatic monitoring and control system based on virtual instrument
- 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
- 5D film motion experience platform motion control card 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