Design and Implementation of a Framework of Complete Machine Simulator for Embedded Systems

Author
KeHuaCheng
Advisor
ChenChun , BoJiaJun
School
Zhejiang University
Major
Computer Software and Theory
Classification
TP391.9 Computer simulation
Degree
Master's thesis
Year
2006
Downloads
312
Citations
9

Request the full text

Abstract

Complete machine simulator has been a significant tool for embedded system developers. This thesis describes a series of research on framework design of complete machine simulator. In the first part of this thesis, the design of component base application framework of complete machine simulator is discussed in detail, covering the following topics (i) architectural design of complete machine simulator; (ii) component model and interface specification customized for complete machine simulator. In the second part of this thesis, model-driven techniques and generative programming paradigm have been introduced to overcome several inherent drawbacks of traditional development model. As a result, the proposed framework reduces developing efforts and enhances maintainability in a system family approach. The research mentioned in this thesis has been implemented in SmartSIM simulator (codename: Wukong) developed by Embedded System R&D Center at Zhejiang University, which is capable to simulate instruction set architecture including ARM, MIPS and MCS8051, and their corresponding peripheral devices. Besides full-system simulation, build-in debugging mechanism and GDB remote debugging proxy are also enabled, which make SmartSIM (Wukong) a comprehensive virtual platform to run, debug and verify embedded system software.

Table of contents

1 Introduction 8-12 1.1 Introduction 8-9 1.2 full system simulator 9-11 1.3 embedded systems field full system simulator 1.4 of this paper structure 11-12 2 member Framework research in the field of 12-13 2.1 component-based software design 12-13 2.1.1 software component concept and characteristics 12-13 2.1.2 component interface 13 2.2 object-oriented software framework 13 2.2.1 concept 13 2.2.2 of the advantages of the use of the framework 13 3 Project Background 13-18 3.1.1 Project Profile 13-14 3.1.2 development course 14-17 3.1.3 project progress 17-18 4 framework design principles 18-21 4.1 software quality elements 18 4.2 efficiency 18-19 4.2.1 process efficiency 19 4.2.2 algorithm efficiency 19 4.2.3 to achieve efficiency 19 4.3 scalability 19-20 4.3.1 can be redirected 19-20 4.3.2 plug-in-based scalability 20 4.4 maintainability 20 4.5 of platform portability 20-21 5 frame design - static perspective 21-23 5.1 micronucleus the - plug Mode 21 5.2 system architecture 21-23 5.2.1 simulation environment subsystem 22 5.2.2 simulator aids subsystem 22 5.2.3 components warehouse subsystem 22 5.2.4 GDB remote debugging support subsystem 22-23 6 frame design - dynamic perspective 23-31 6.1 serial and parallel hybrid simulator model 23-25 6.1.1 serial analog 23-24 6.1.2 parallel simulation 24 6.1.3 mixed model 24-25 6.2 instruction set simulation 25-28 6.2.1 explain the implementation 25-26 6.2.2 threading code 26 6.2.3 translation-based approach 26-28 6.3 external device simulation mechanism 28-29 6.3.1 is based on the memory space mapping 28 6.3.2 virtual pin 28-29 6.4 user interaction mechanism 29-31 7 Wukong simulator component model 31-40 7.1 Overview 31 7.2 base interface 31-33 7.2.1 IBase unknown interface 31-32 7.2.2 IThreading multi-thread interface 32-33 7.3 virtual machine parts interface 33-36 7.3.1 IProcessorCore processor core interface 33-35 7.3.2 IMemorySystem memory system (generic) interface 35-36 7.3.3 IDevice peripherals (generic) interface 36 7.4 virtual machine auxiliary module interface 36-37 7.4.1 IBinaryLoader mapping loader interface 36-37 7.5 user interaction module interface 37 7.5.1 IObserver user interaction module interface 37 7.6 interface conversion relationship 37-38 7.7 Wukong registry 38-40 7.7.1 WUID 38 7.7.2 interface registry 38-39 7.7.3 module registry 39-40 8 development model improved overview 40-42 of 8.1 existing development model 40 8.2 model improvement ideas 40-41 8.3 improvement program outlined 41-42 9 model-driven, full-system simulator developed 42-48 9.1 model-driven development 42-43 9.1.1 concepts and processes 42-43 9.1.2 specific language 43 9.2 model-driven technology in instruction set simulator development 43-46 9.2.1 SmartISDL Overview 43-45 9.2.2 model-driven development process 45-46 9.3 simulator assembly of model-driven development 46-48 9.4 Summary 48 10 full-system simulator generation programming model 48-53 10.1 produce programming 48-50 10.1.1 concept 48-49 the 10.1.2 generative programming process 49 the 10.1.3 Techniques 49-50 10.2 full-system simulator domain feature modeling 50-51 10.3 field Design and Implementation 51-52 10.3.1 Component Library 51 the 10.3.2 implicitly limitations and Statute generate 51-52 10.4 Summary 52-53 11 Summary and Outlook 53-54 12 Appendix 54-56 12.1 wxWidgets cross-platform libraries About 54 12.2 C quickly commissioned (Fast Delegate) technology 54 12.3 project source code overview 54-56 the 12.3.1 directory structure Glance 54-55 the the 12.3.2 source code directory 55-56 13 References 56-58 Acknowledgements 58

Related dissertations

  1. Component Based Software Design of Copper Froth Flotation Image Monitoring System
    LiuHeng ·Central South University ·2013 ·Master's thesis
  2. Research on Model Driven Development of Business Process Software
  3. The Research and Implementation of Very Large Scale VOD Architecture and Service Strategy
  4. Research on the Common Framework for Execution-data Processing of Federated Simulation
  5. A Generative Domain Engineering Method Based on Agent Technology
    LiangHaiHua ·Zhejiang University ·2008 ·Doctoral dissertation
  6. Design and Implementation of Matrix Library Based on Generative Programming
    TianHai ·Dalian University of Technology ·2008 ·Master's thesis
  7. Research on Data-Driven Design Pattern with Application
    XuLou ·Jinan University ·2006 ·Master's thesis
  8. Component GIS map display module in the design and implementation
    GuoJing ·PLA Information Engineering University ·2002 ·Master's thesis
  9. The Implementation of Development Framework for Applications Based on MAS
    WangJia ·Tianjin University ·2007 ·Master's thesis
  10. Design and Implementation of Personal Banking 7x24 Services System
  11. Analysis Design and Implementation of Generator for Safety Management System Running on PDA
    ZhangJunXian ·Jiangxi Normal University ·2009 ·Master's thesis
  12. The Research and Implementation of Operation Components for Relational Database of Development Based on Domain Engineering
    CaoZuo ·Jiangxi Normal University ·2009 ·Master's thesis