linux程序接口实验,基于Linux的计算机接口实验系统的设计与实现—应用程序部分.doc...

基于Linux的计算机接口实验系统的设计与实现—应用程序部分

本科毕业设计

(2010届)

题 目学 院计算机学院专 业计算机科学与技术班 级学 号学生姓名指导教师完成日期

诚 信 承 诺

我谨在此承诺:本人所写的毕业论文《基于Linux的计算机接口实验系统的设计与实现—应用程序部分》均系本人独立完成,没有抄袭行为,凡涉及其他作者的观点和材料,均作了注释,若有不实,后果由本人承担。

承诺人(签名):

2010年 6 月 1 日

摘 要

目前国内大多数高等院校的计算机接口实验课都是在Windows或Dos环境下采用某种类型的试验仪进行的,而基于Linux环境的实验系统还不多见。Linux是一种日趋普及的操作系统,在Linux下开展接口实验是一种新的尝试。本文正是这种尝试的具体实现。

本毕业设计主要设计并实现一个基于Linux的计算机接口实验系统的应用程序部分,继而实现整个计算机接口实验。计算机接口实验系统主要包括PCI总线配置资源的获取、简单I/O端口实验、8255键盘扫描实验、8255数码LED实验和8253定时器/计数器实验。接口实验的应用程序部分是在驱动程序的基础上完成的,同时又验证了驱动程序的正确性。

每个接口实验都对应着一个线程类,通过调用驱动程序提供的接口函数,线程类。该实验系统较完整地实现了计算机接口实验在Linux环境下的图形界面演示,为学生提供了一个更好、更方便的实验平台,可以达到更好的实验效果。

关键词:计算机接口实验;Linux;PCI;Qt

ABSTRACT

Currently most of the university computer interface experimental system are used under Windows or Dos environment by using some type of experimental system. But an experimental system based on Linux environment is also unusual. Linux operating system is becoming more and more popular today, so it is a new try to perform the interface experiment based on Linux. The realization of this new try is researched here.

The main aim of this thesis is to design and realize applications of a self-developed computer interface experimental system based on Linux and then realize the whole computer interface experiment on the system. The computer interface experimental system consists of the configure resource obtaining of PCI Bus,simple I/O port test,8255 keyboard scan experiment,the displaying of 8255 digital LED light and 8253 timer/counter experiment. All experiments are accomplished on the ground of the drivers, so the experiments also validate the validity of the drivers.

Every interface experiment corresponds to a thread class. By calling the driver interface function to communicate, the thread class realizes the main functions of each experiment.

The system has a more complete realization of a computer interface experiment in the Linux environment with the graphical i

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值