The Design of PCI Express Transmission Based on FPGA

Author
LiJingZhang
Advisor
ZhangLing
School
Chongqing University
Major
Signal and Information Processing
Classification
TP336 Bus channel
Degree
Master's thesis
Year
2012
Downloads
534
Citations
1

Request the full text

Abstract

As the third generation IO bus technology, PCI Express(PCIE) has a lot advantagesuch as high transmission bandwidth, new interconnect architecture, highly compliablefor PCI bus,etc and so been widely used in computer platform. In order to give full playto the advantages of PCIE bus, promote PCIE bus to be applied in embedded system,this article designes a PCIE data transmission system based on FPGA, provides a newlow cost solution for PCIE data transmission.This article employs the idea of top-down design to conduct the top-level design ofPCIE data transmission system and module division on the basis of in-depth studiesabout the PCIE protocol specification. Finally this study completes the RTL description,simulation and verification of PCIE data transmission system application layer, carriesout the analysis of the simulation results and tests the system practically. This articleincludes the following aspects:First of all, this article carries out in-depth studies about the PCIE protocol,alalyses the condition of PCIE native endpoint device implmention, selects thedevelopment platform, and then conducts the top-level design of PCIE datatransmission system and module division on the basis of in-depth understanding ofPCIE protocol.Secondly, this study configures the PCIE IP in Quartus II integrate developmentenvironment and introduces the interface of PCIE IP, and then employs Verilog HDL toRTL design of PCIE IP configuration module, support module of application layer, coremodule of application layer. The PCIE IP realizes function of PCIE protocol whichcommunicates with application layer through64bit Avalon-ST interface. PCIE IPconfiguration module realizes the sampling of PCIE IP configuration signals andconfiguration of PCIE error report capability register in configuration space throughLMI interface. The support module of application layer realizes receiving andtransmitting interface transformation, receiving interface buffer and MSI buffer. Thecore module of application layer realizes the data transmission function in Rc_slave andchaining DMA way. This article realizes the chaining DMA data transmission functionon the basis of DMA, reduces consumpustion of CPU resourcse, greattingly improvesthe efficiency of data transmission.Finally, it draws up simulation and tests for PCIE data transmission system. This article builds the testbench of system, which is used for function simulation of wholesystem. Compiles the whole design and uses the circuit been generated to configures theFPGA to verify the design time sequence. Run the test program on PC to test the systemin practical. Analyze the result of simulation and test.Through the thorough analysis of the simulation and test results of PCIE datatransmission system, it’s indicated that each module of IP core logic functions meetsrequirements of the design. System can exchange data with PC main memory inRc_slave and chaining DMA way, the DMA read speed archeives173MB/S and theDMA write speed archeives207MB/S.This design provides feasible and effectiveimplementations for PCIE data transmission using low cost FPGA, promotes the PCIEbus range of application and has good prospects.

Table of contents

Summary 3-4 ABSTRACT 4-8 1 Introduction 8-12 1.1 research background and significance 8-10 produce and features 1.1.1 PCI Express technology 8-9 1.1.2 research significance 1.2 domestic and foreign research status quo 9-10 10-11 1.3 papers structural arrangements 11-12 2 PCI Express protocol describes 12-38 2.1 PCI Express architecture Introduction 12-15 2.1.1 PCI Express bus topology 12-13 2.1.2 PCI Express bus protocol layering 13-14 2.1.3 PCIE bus Services introduced 14-15 2.2 PCI Express data transfer 15-23 2.2.1 PCI Express packet structure layers 15-19 2.2.2 PCI Express data transfer routing 19-22 2.2.3 transmission category , virtual channel and arbitration 22-23 2.3 PCI Express interrupt 23 - 27 2.3.1 message Signal Interrupt 24-25 2.3.2 virtual INTx signal interruption 25-27 2.4 PCI Express configuration 27 -32 2.4.1 PCIE configuration space 27-28 2.4.2 PCIE configuration access mechanism 28-32 2.5 reset , power management and electrical characteristics 32-36 2.5.1 reset 32-33 2.5.2 PCI Express power management 33-35 2.5.3 electrical Characteristics 35-36 2.6 Summary 36-38 3 overall system design 38-44 3.1 development platform introduces 38 -39 3.2 system design process 39-41 3.3 system top design 41-43 3.4 Summary 43-44 4 sub-module system design 44-68 4.1 PCIE IP module 44-51 4.1.1 PCIE IP structure and cases of 44-46 <br / > 4.1.2 PCIE IP interfaces 46-51 4.2 PCIE IP configuration module 51-53 4.2.1 configuration signal acquisition module design 51-52 4.2.2 LMI configuration module design 52-53 4.3 PCIE application layer auxiliary module 53-58 4.3.1 receiving port converter module design 54-55 4.3.2 receive buffer module design 55-56 4.3.3 send port converter module design 56-57 4.3.4 MSI interrupt buffer module design 57-58 4.4 PCIE application layer core module 58-66 4.4.1 Rc_slave module design 58-61 4.4.2 chain DMA module design 61-66 4.5 Summary 66-68 5 verification and testing 68-74 5.1 functional simulation 68-69 5.2 FPGA verification 69-71 5.3 actual test 71-73 5.4 Summary 73-74 <br / > 6 summary and Outlook 74-76 6.1 paper summarizes 74-75 6.2 Next job Outlook 75-76 Thanks 76-78 References 78-80 Appendix 80 published during the author 's master's degree thesis catalog 80 during the master's degree of participation issues and achievements 80

Related dissertations

  1. Design of Virtual Radio RF Front-end and PCIe Interface Based on FPGA
    QiuJian ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  2. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  3. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  4. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  5. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  6. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  7. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  8. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  9. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  10. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  11. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  12. The Design of Digital Ultrasonic Nondestructive Testing System
  13. Design and Implementation of High Speed Data Recorder Based on FPGA
  14. Design of the High-speed Data Acquisition System Based on USB Interface
    LiuYu ·Harbin Engineering University ·2013 ·Master's thesis
  15. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  16. Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
    XieJiaZu ·Tianjin Normal University ·2013 ·Master's thesis
  17. The Design and Research of PCI Data Acquisition Card Based on FPGA
  18. Usb Without Invasive Data Collection Technology Research
  19. Research on On-line Diameter Measurement System Based on FPGA
  20. Design of High Speed Data Acqusition and Storage System Based on FPGA
    QinJianJun ·Harbin Engineering University ·2013 ·Master's thesis