Software and Hardware Co-design and Application of PCI Interface Module Based on FPGA

Author
FanXiaoHu
Advisor
YangBo
School
University of Jinan
Major
Computer System Architecture
Classification
TP334.7 Interface devices,plug-in
Degree
Master's thesis
Year
2011
Downloads
123
Citations
0

Request the full text

Abstract

As the semiconductor technology development proceeds, application of computer goes hand in hand with the embedded products into every aspects of human, in both common businesses and lives. The digital epoch has dominated the mainstream of the whole society.The PC(IPeripheral Component Interconnect)Bus, works as an independent local bus, with which synchronous the high-performance processors. With its high performance, low cost and good compatibility in structural advantages, PCI Bus has won the widespread application. Take video capture mentioned in this article as an instance, there are large amount of data that required to be transmitted real-time, for which the general purpose chips are not exactly competent for this job. At the same time, taking the demand for intellectual property rights into consideration, we have to compile required function to download the program logic into FPGA chip to implement this goal.This research contents included in this article contains the following aspects:(1)First and foremost, systematically carry out module partition, interface signal and pin definition from the system requirement analysis. Taking a hardware and software collaborative design method, use Verilog HDL( Verilog Hardware Description Language) to implement this PCI interface module functions with logic based on FPGA, and finally completed the simulation, validation and test. The whole PCI interface module can be divided into those following modules: bus arbitration module, IO BusMaster modules containing the DMA(Direct Memory Access), parity generation module, command - address decode module and the parity generate module. The stability of cross-clock-domain data communication between PCI interface module and other application function modules is realized through the asynchronous FIFO buffers. Implement of the PCI interface module have those features of flexible configuration, convenient modification, and easy customization.(2)In the design phrase, using hardware and software co-design method because the traditional design methodology isolated the software module and hardware phrase, co-design methodology make the implementation of hardware and software development in parallel, and able to adjust the design specification in timely manner, which shortened the design cycle,and capable to evaluate the feasibility at an earlier time.(3)In the later session of the paper shows the application of PCI interface module. The application is based on PCI bus, for multi-channel video capture card for security monitoring video collection purpose. Design the PCI interface module according to the specific application requirements in accordance with the premise of PCI standard specification. A multi-channel audio and video collection signal through the PCI bus transfers to the host, which adapted to continuous blocks data in DMA transmission, and convenient extended to adapt more channels. This scheme has been passed the test and verification, and has successfully conducted tape-out. The chip is in volume production now.This design of PCI interface module meets PCI specification, which take a hardware/software co-design methodology and implemented in Verilog HDL. The design has been taped out, results show that the PCI interface module is compatible with the PCI2.2 specification, and the module is flexible and successful design.

Table of contents

Summary 7-9 ABSTRACT 9-11 first chapter research background and significance of the 11-17 1.1 topics 11-13 1.2 related work at home and abroad and Research 13-15 the 1.2.1 computer interface bus 13-14 1.2.2 PCI bus interface solution 14-15 1.2.3 hardware and software co-design are found; 15 the 1.3 major work and chapters arrangements 15-17 1.3.1 The main work of this paper sections of in 1.3.2 this article 15-16 arrangements 16-17 Chapter II hardware and software co-design 2.1 17-23 traditional design flow 17-19 2.2 hardware and software co-design process 19 2.3 hardware and software co-design to achieve 19-21 2.4 soft hardware co-design advantages 21-23 Chapter hardware logic module design the 23-52 3.1 overall system architecture and modules divided 23-25 3.2 signal and data format defined with synergistic interaction interface 25-33 3.2.1 DMA transfer control 28-29 3.2.2 PCI interface module read writes 29-31 3.2.3 PCI interface module state machine the 31-32 3.2.4 Configuration Space 32-33 3.3 PCI the module implementation 33-42 3.3.1 the arbitration module Arbiter 34-36 3.3.2 parity the module ParGen 36-37 <br / > 3.3.3 local bus master mode module BusMaster 37-38 3.3.4 audio local bus master the mode module I2SMaster 38-39 3.3.5 I 2C bus chip module to configure the Primary 39-40 3.3.6 PCI mode function module PCI Slave 40-42 3.4 PCI master device to read and write state machine 42-45 3.5 asynchronous FIFO module 45-48 3.5.1 metastable 46 3.5.2 metastable generation 46-47 < br /> 3.5.3 Gray code the 47-48 3.5.4 asynchronous FIFO module 48 3.6 clock and pin needs 48-49 3.7 system focus 49-52 Chapter PCI interface module to achieve results and 52-60 4.1 overall function integration and test 52 - 56 4.1.1 PCI startup configuration process 53-55 4.1.2 PCI interrupt response 55-56 4.1.3 PCI interrupt decoding 56 4.2 hardware and software co-verification 56-57 4.3 product applications 57-60 Chapter Summary and Outlook 60-64 5.1 work summarizes 60-61 5.2 Looking ahead 61-64 Reference 64-68 Acknowledgements 68 - 70 Appendix 70 papers published during the school 70 two, to participate in the project during the school 70 during the school awards 70

Related dissertations

  1. Study on FPGA-based Embedded Frame Grabber
    WuLiFang ·University of North ·2014 ·Master's thesis
  2. Research and Design of the Des Encryption Chip Based on Resource Optimization
  3. Research and Design of32-bit and Five-stage Pipelined CPU Based on FPGA
    MiHaiXiao ·Hebei University of Technology ·2012 ·Master's thesis
  4. The Research and Design of RISC Microprocessor Soft Core
    ZhuShuangBing ·Hubei University ·2013 ·Master's thesis
  5. JPEG Encoding Algorithm Optimization and Implementation Based on FPGA
    ZhaoWei ·Wuhan University of Technology ·2013 ·Master's thesis
  6. Design of High Speed Low Power 32 Bit RISC System for Portable Streaming Media
    XieYuChen ·Nanchang University ·2007 ·Master's thesis
  7. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  8. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  9. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  10. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  11. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  12. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  13. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  14. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  15. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  16. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  17. The Design of Digital Ultrasonic Nondestructive Testing System
  18. Design and Implementation of High Speed Data Recorder Based on FPGA
  19. Design of the High-speed Data Acquisition System Based on USB Interface
    LiuYu ·Harbin Engineering University ·2013 ·Master's thesis
  20. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis