摘要:

为满足日益复杂的应用需求、减轻CPU日益繁重的图形处理任务,促使图形处理器GPU产生、应用和不断发展。驱动软件作为GPU的重要组成部分,与GPU硬件的契合程度直接影响整个图形系统性能的发挥,出于各种原因高端GPU配套的图形驱动软件对外不公开或价格昂贵,对图形应用系统的开发带来不便。文中基于自研GPU芯片FPGA原型图形系统,讲述了VxWorks下GPU驱动软件的设计与实现,该驱动软件为用户提供3D处理和2D处理接口。其中3D处理实现完整的OpenGL1.3基本库及GLU、GLUT辅助库;2D处理使用VxWorks操作系统的WindML组件实现。较好实现了图形处理软件与硬件的配合,对自主GPU芯片应用开发意义重大。

下载地址

Files:

基于GPU FPGA芯片原型的VxWorks下驱动软件开发

Date 2018-10-17
File Size 1016.63 KB
Download 686

Abstract:

In order to meet the complicated application demand and reduce the increasingly graphic task on CPU, the Graphic Process Unit(GPU) has developed continually. The driver is an important part of GPU that affects the performance of whole system by cooperating with GPU hardware. It’s difficult to create graphic applications on GPU because the driver is not opened for many reasons. It introduces the design and implementation of self-design GPU driver based on VxWorks. The driver offers 3D operation and 2D operation. The 3D operation achieves OpenGL1.3 kernel library, GLU library and GLUT library. 2D operation is realized by WindML in VxWorks. The driver does well in the cooperation between graphic hardware and graphic software. It provides a useful reference for application on GPU chip.

摘要:

结合北京航空航天大学自动控制系开发的某大型工程飞行模拟器系统,介绍了一种基于嵌入式实时操作系统VxWorks和多处理机系统的仿真系统结构及其开发环境。首先介绍了VxWorks的特点。然后介绍了飞行仿真系统的总体结构及管理系统的主要功能。最后讨论了实时管理系统实现中的关键问题,包括多任务管理在不同开发环境下的实现以及分布式仿真系统的实时数据通讯等。

关键字:

VxWorks;飞行仿真; 实时系统;多任务;通讯

下载地址

Date 2018-10-17
File Size 320.64 KB
Download 540

摘要:

MPC8260芯片因其强大的通信处理能力和多种协议的支持而被广泛应用于通信和网络领域。以MPC8260微处理器为例,讨论在嵌入式系统中实现快速以太网通信的硬件设计方法,分析了VxWorks网络系统的结构,描述了基于VxWorks的以太网驱动程序的开发方法及其流程。对所有基于MUX(多路选择)机制下的VxWorks网络设备驱动程序开发者具有参考价值。

下载地址

Date 2018-10-16
File Size 446.76 KB
Download 585

MPC 8260 has been widely used in communication and network areas because of its powerful ability of communication processing and support to many protocols. Taken MPC8260 as an example, the hardware design of the fast Ethemet in embedded system is discussed and the architecture of network system in VxWorks is analyzed. Then the driver programming of Ethemet based on VxWorks is described in detail. It has a reference value for other network device driver developers.

任务调度就是基于某种规则约束,给一个任务集合中的每个任务分配开始和 结束时间。约束一般包括时间约束和资源约束。在一个时间共享(time-sharing) 的操作系统中,系统按照时间片一次轮流执行每个任务,从而制造出多个任务在 单个处理器上同时执行的假象。

Wind 内核调度默认使用基于优先级抢占式调度,但同时也允许使用轮转调 度。轮转调度的目的是使相同优先级的所有就绪任务共享 CPU。如果不使用轮 转调度,当多个相同优先级的任务需要共享处理器时,其中的一个任务可能会霸 占处理器,直到该任务完成或因其他原因放弃执行(例如等待一个信号量),从 而使得同优先级的其他任务得不到运行的机会。

下载地址

Date 2018-10-16
File Size 674.27 KB
Download 741

摘要:

为了满足系统各个任务对实时性的要求,需要实现各个任务的并行处理。针对VxWorks操作系统的多任务调度机制和任务通信方式进行了分析;采用基于时间片轮转调度实现多任务程序设计,可以动态改变各个任务期望运行的时间片;对各种通信方式和实现方法进行了比对,并给出了优化方案。上述设计方法实时性强,可靠性高,系统可扩展性良好,能够很好地满足工程需要。

下载地址

Date 2018-10-16
File Size 835.17 KB
Download 514

In order to meet the real-time demands of the multi-task of the system,the parallel processing for all kinds of tasks was required.Multi-task scheduling and task communication mechanism about VxWoks operating system were analyzed.The design of rotating schedule based on time slice was put in use on the multi-task programming,as well as,the time slice of the expectations of each task running could be dynamically changed.At the same time,most of the communication means and methods were compared,and the better optimization was given.The method could be satisfied the engineering requirments with good performance on real time characteristics,high reliability,and good expansibility.