用户名: 密码: 验证码:
基于PCI总线控制卡的研究与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
目前,越来越多的电子设备需要由计算机来进行控制,而许多CPU和外部设备都会提供PCI总线的接口,PCI总线已经是计算机系统中应用最为广泛、最为通用的总线标准。因此,基于PCI总线控制卡及其驱动开发显得尤为重要。
     本论文主要研究利用PCI总线技术在设备控制领域的实现与应用的问题。本课题包括了基于FPGA技术的PCI总线控制器、PCI总线控制卡硬件电路、WDM驱动程序和应用软件的设计与实现。
     首先,本论文基于FPGA技术的高层次设计方法对PCI总线设备控制器的设计进行了研究,对PCI总线协议做了比较深刻的理解和分析。本论文以功能模块的设计和实现为线索,阐述了PCI总线控制器设计、仿真及综合验证的各个步骤。通过本论文的研究,完成了PCI总线控制器的设计,并且通过编写测试激励程序完成了总线控制器功能仿真,以及布局布线后的时序仿真,并设计了PCB实验板进行了测试,证明所实现的PCI目标控制器完成了要求的功能。
     然后,论文对设备驱动程序的设计及实现进行了研究。Windows是当今世界使用最为广泛的操作系统,开发这种操作系统下的设备驱动程序,具有很强的实用性和通用性。论文对Windows 2000操作系统内核结构以及WDM设备驱动程序的开发技术进行了分析和论述。之后,针对PCI总线控制卡的工作特点,给出了设备驱动程序的设计、调试、测试以及发布的过程。
     目前,本文介绍的基于PCI总线控制卡已经成功应用于ADAS遥测接收系统,经测试其性能完全满足应用的要求。
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.
引文
[1] 宋克柱,杨小军等. 基于 FPGA 的 PCI 接口设计.电子技术应用,2001 年第九期
    [2] 雷艳静,苗克坚等. 高速通信网卡中 pci 接口的研究与实现.计算机应用,2005 年 01 期
    [3] Tom Shanley ,Don Anderson. PCI 系统结构.电子工业出版社,2000 年,76-197
    [4] 李贵山,戚德虎 . PCI 局部总线开发者指南.西安电子科技大学出版社,1997 年,24-89
    [5] 徐志军,许光辉等. CPLD/FPGA 的开发与应用.电子工业出版社,2002 年第 7 期
    [6] Walter Oney.Programming the Microsoft Windows Driver Model.微软出版社,1999
    [7] 武安河.Windows 设备驱动程序开发指南.电子工业出版社,2004 年第 4 期
    [8] Barry B. Brey. Inter 微处理器结构、编程与接口.电子工业出版社,2004 年,56-128
    [9] 田小林. 基于 FPGA 的 PCI 总线接口设计. 今日电子,2004 年 06 期
    [10] 王成文,王沛奇.基于 FPGA 的 PCI 接口控制器状态机的分析.临沂师范学院学报,2003 年第 3 期
    [11] 刘滔.有线数字电视 PCI 接收卡的 WDM 内核视频流微驱动程序开发:[硕士学位论文].成都:电子科技大学,2004
    [12] 席振元,陈立伟等.基于 FPGA 的 PCI 目标接口控制器的设计与实现.计算机工程,2005 年第 3 期
    [13] Art Baker,Jerry Lozano(美),施诺译. Windows 2000 设备驱动程序设计指南[M]. 机械工业出版社,2001,57-96
    [14] Art Baker 著,科欣翻译组译,Windows NT 设备驱动程序设计指南,机械工业出版社. 1997,87-98
    [15] 董秀兰,刘文江. PCI 设备的 WDM 驱动程序设计. 仪器仪表用户,2003.9,10(6)
    [16] 张建新. Windows2000 内核结构的分析及驱动程序的编制. 计算机工程与应用,2002.10
    [17] Driver Develop Kit Document for 98/2000. Microsof,Inc,1999,67-89

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700