节点文献

嵌入式软件仿真开发平台的设计与实现

【作者】 陈实

【导师】 桑楠;

【作者基本信息】 电子科技大学 , 计算机应用技术, 2007, 硕士

【摘要】 随着嵌入式系统的深入发展,对开发工具提出了更高的要求。在传统软硬件协同开发模式中,软件和硬件开发相互牵制,硬件干扰引起的异常行为严重影响软件的调试和测试,延误开发进度,致使软件质量难以保证。仿真开发是摆脱困境的一条有效途径。利用仿真技术模拟嵌入式硬件系统的真实运行,使软件开发和系统集成在虚拟平台上进行,在硬件原型制造前就完成系统模型验证和运行行为分析,避免软硬件开发相互等待,从而提高开发效率,降低风险和成本。在嵌入式软件仿真开发平台的实现中,主要涉及以下几项关键技术:基于构件技术的软件系统具有很高的重用性,可以在构造硬件平台的仿真系统时引入;Eclipse的插件机制是组装仿真系统的有效工具;软件仿真技术也是实现仿真平台的关键,包括基于事件驱动和基于电路两种仿真方式。在参考现有嵌入式开发平台和技术成果的基础上,本文提出嵌入式软件仿真开发平台的设计思路和实现技术。仿真开发平台采用构件化设计思想,构建于Eclipse的插件机制上,由一组维护运行的管理工具和仿真构件组成,它们以对象的形式进行交互,通过事件驱动模拟硬件环境的运行行为。针对硬件部件的物理特性和仿真环境下的特殊要求,平台给出简洁的仿真构件模型,由构件的外部属性接口、功能属性接口和仿真控制属性接口组成,按照构件模型实现的仿真构件接口标准、功能明确、易于扩展。平台提供一组管理工具支持用户对仿真构件的操作。其中,构件库管理器是浏览查询构件的窗口,运行环境配置器是搭建仿真目标板的平台,运行环境管理器则是维护仿真环境正常运行的管理者,虚拟逻辑分析仪可供用户查看仿真构件运行时的引脚信号,而基于GDB的调试器则实现了嵌入式系统的“交叉调试”功能。在上述研究基础上,本课题已实现了一个嵌入式软件仿真开发平台。该平台支持从构件库中选取需要的仿真构件,以可视化图形编辑的方式构造仿真目标硬件环境;加载目标码的仿真运行环境启动后,各仿真构件能在应用软件逻辑的控制下协调运行,从而支持嵌入式系统软件的调试和测试验证。系统具有较高的仿真度,良好的扩展性,提供图形化的配置管理,并且仿真运行达到周期精确。

【Abstract】 Along with the in-depth development of embedded system, a higher requirement to the development tools has been raised. In the traditional software and hardware cooperative development mode, the software development and hardware development contains each other. The unconventional activities caused by the hardware interfere have seriously effected the commission and test of software, which make the quality of software being hard to be guaranteed with the delay in development process. Simulation development is an effective method to break away from the mess. Simulation technology shall be utilized to simulate the real running of embedded hardware system to enable the software development and system integration implemented on a virtual stage, so as to complete the system model verification and running activity analysis before the manufacture of hardware prototype, avoiding the mutual wait between the software development and hardware development, in order to improve the development efficiency and lower the risks and costs.There are several key technologies in implementing the simulation platform for embedded software development. Firstly, since the component technology can provide software with great reusablity, it shall be introduced into the construction of simulation system for hardware platform. Secondly, the good expansibility of the simulation system is supported by the plug-in mechanism of Eclipse platform. Thirdly, the system simulation technology is also a key to implement the simulation platform, which includes two modes: the event-driven simulation and the circuit simulation.Refering the existing embedded development platform and technological achievements, this dissertation submits the design and realization of the simulation platform for embedded software development. This platform is designed based on component technology and built on the plug-in mechanism of Eclipse. It is constituted with simulation components and a set of management tools. The modules of this platform interact in the form of object and simulate the real running of hardware environment through event-driven.Subject to the physical characteristic of hardware, a simplified simulation component model is given. Its structure is constituted with the exterior characteristic interface, physical performance interface and simulate control interface. The simulation component conforms to this component model standard has standard interface, clear function and good expansibility. The platform provides a set of management tools to operate simulation components. Among which, the component library manager is the window to browse and inquiry components; the environment allocator is the platform to build the simulative target board; the environment manager is the tool to maintain the running of simulation environment; the virtual logical analyzer and the debugger are the tools to test and verify the embedded software.Based on the above study, a simulation platform for embedded software development has realized. After the start-up of simulation running environment with loaded object code, each simulation component shall harmonious run under the logic control of application software. The system has highly simulation degree as well as excellent expansibility, and it provides graphical interfaces for configuring. Especially, it’s a cycle-accurate simulation platform.

  • 【分类号】TP311.52
  • 【被引频次】12
  • 【下载频次】438
节点文献中: 

本文链接的文献网络图示:

本文的引文网络