Research and Implementation of the control card based on PCI bus

Author
ZhangYang
Advisor
ZhongHongSheng
School
University of Electronic Science and Technology
Major
Circuits and Systems
Classification
TM571.6 Special controller
Degree
Master's thesis
Year
2006
Downloads
296
Citations
4

Request the full text

Abstract

On now, computer controls more and more electronic devices. Almost all of the CPU and peripheral equipments offer PCI bus interface, because that PCI bus has been the most extensive and the most universal bus standard in computer system. Therefore, the work is valuable on developing PCI control device and its driver.This paper mainly studied the realization and application of device control system using the PCI bus. The thesis includes the design and implementation of PCI bus controller which based on FPGA technology , hard circuit , WDM Driver in Win2000 and application soft.At first,this dissertation researches the design and implementation of PCI bus controller, based on FPGA technology and using the high-level design method. The PCI Local Bus Specification is also analysed comprehensively. The whole work is described with Verilog HDL and implemented by FPGA. This dissertation is clued by the design and implementation of function module, and it expatiates on the subject of PCI bus controller, which involves all processes of design, simulation, synthesis and test.In this research, the design of PCI bus target controller is mainly discussed. Its premise is PCI Bus Specification and its sticking point is to analysis the function and architecture of PCI Bus Controller. This dissertation finishes the design of PCI Bus Controller, and it has also completed the function simulation of this module as well as timing simulation and a PCB card for test which prove it rightness at last.Then, this dissertation researches the design and implementation of PCI device driver. Windows is widely used on the world,it’s applied and universal to develop the device drivers for the operation systems. So,the kernel architecture of the Windows 2000 OS and the way of developing a WDM driver will be researched in this dissertation. At last, the process of how to code, debug, test and release the driver for PCI bus control card will be put forward.At present,the PCI bus controller card has beening successfully used in the syetem for ADAS romote receiving,and satisfies the need.

Table of contents

Summary 4-5 ABSTRACT 5-9 chapter the introduction the background 9-12 1.1 topics and sources 1.2 PCI bus interface modules Research 9-10 1.3 papers related key technologies 10 1.4 The main work 10-11 < br /> 1.5 paper structure arrangements 11-12 second PCI bus technology research 12-21 2.1 PCI bus characteristics 12-13 2.2 PCI bus architecture 13-14 2.3 PCI bus signals and commands described the 14-16 2.3.1 PCI bus signals 14-15 2.3.2 PCI bus command the 15-16 2.4 PCI bus addressing 16-18 2.4.1 I / O address space 16 - 17 2.4.2 memory address space the 17 2.4.3 configuration space 17-18 2.5 PCI bus transfer and control mechanisms 18-21 2.5.1 PCI transfer mechanism 18-19 2.5.2 PCI transmission control mechanism 19-21 Chapter basic knowledge of device driver development 21-29 3.1 X86 protected mode 22-23 3.2 WINDOWS 2000 driver kernel services 23-24 3.3 WINDOWS 2000 driver type nbsp 24-26 3.4 kernel mode driver properties; 26-29 fourth chapter. device controller design and implementation of FPGA-based PCI 29-49 4.1 PCI bus interface controller features 29 4.2 PCI bus from overall device controller design 29-31 4.2.1 Functional description are found; 29-30 4.2.2 Interface Definition 30-31 4.2.3 internal structure to achieve 31 4.3 PCI bus from the various functional blocks of the device controller achieve 31-39 4.3.1 PCI bus configuration and multiplexer output module 31-35 4.3.2 address decoding module 35-37 4.3.3 Parity module 37-38 4.3.4 retry counter module 38 4.3.5 PCI bus data sampling module 38-39 4.3.6 PCI interface module PCI bus output Design 39 4.4 from the target state machine design mode 39-42 4.4.1 The state machine interface the signal defined 40 4.4.2 state machine to achieve 40-42 4.5 of user logic design 42-43 4.6 PCI bus interface controller simulation 43-48 4.6.1 simulation platform and method selection 43 4.6.2 benchmark 43-44 4.6.3 benchmark results the comprehensive 44-48 4.7 PCI bus interface controller 48-49 Chapter V PCI device driver development 49-66 5.1 driver development tools 49 5.2 WDM driver model 49-51 5.3 important data structure 51-54 < br /> 5.3.1 I / O request packet 51-53 5.3.2 I / O stack 53-54 5.4 PCI function driver module 54 -63 5.4.1 driver initialization the 54-56 5.4.2 driver routine to achieve 56-59 5.4.3 hardware the realization of access communications between 59-63 5.5 applications and drivers 63-64 5.6 driver installation 64-66 <br / > Chapter 6 PCI bus control card production software and hardware debugging the 66-75 6.1 PCI bus control card production and hardware debugging 66-69 6.1.1 the PCI bus control the card basic functions 66-67 6.1.2 PCI board design considerations 67-68 6.1.3 FPGA chip. configuration 68-69 <br / > 6.1.4 board testing and installation are found; 69 6.2 driver debugging the 69-72 6.2.1 debugging tools 69-71 6.2 .2 driver debugging encountered a problem and deal with the 71-72 6.3 device drivers and board Joint Test 72-75 6.3.1 test content 72-73 6.3.2 testing process and WIN32 test application 73-75 Chapter VII of the paper summarizes 75-77 Acknowledgements 77 -78 Reference 78-79 Appendix PCI test card 79-80 of participation in the project and writing papers 80

Related dissertations

  1. 5D film motion experience platform motion control card design
  2. Design of X-ray Pulsar Navigation Simulation System Hardware
  3. Design of DTV TS Interface Card Based on PCI-E Bus
    ZhangXiaoPei ·Tianjin University ·2012 ·Master's thesis
  4. Research and Development of High-speed Data Acquisition Card Based on PCI Bus and Dual Port Buffer
    XiongZuo ·Central China Normal University ·2006 ·Master's thesis
  5. Study on Stochastic Resonance Theory on Faint Signal Detection Based on DSP
    KangJuan ·Zhejiang University ·2004 ·Master's thesis
  6. PCI bus device controller design and implementation
    HanBing ·Northwestern Polytechnical University ·2002 ·Master's thesis
  7. Data Acquisition and Image Processing System of High Resolution Imaging Sonar
    LiZuo ·Harbin Engineering University ·2007 ·Master's thesis
  8. The Research on Interface of CMM Grating Signal Acquisition & Processing System
    GuoYanPing ·Tianjin University ·2005 ·Master's thesis
  9. Application of digital signal processor circuit design research
  10. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  11. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  12. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  13. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  14. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  15. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  16. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  17. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  18. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  19. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  20. The Design of Digital Ultrasonic Nondestructive Testing System