The CPU logic simulation and instruction system running realization

Author
FuZuo
Advisor
XieWeiBo
School
Huaqiao University
Major
Applied Computer Technology
Classification
TP391.9 Computer simulation
Degree
Master's thesis
Year
2008
Downloads
68
Citations
0

Request the full text

Abstract

Facing the fleetly developing information system and technical invention, software engineers start to examine the merit of the software exploitation on simulation renewedly. Compiling the analog computer is a kind of the developmental software items, which incarnates the idea of maximizing investments. The software simulation technology widely applies at present in many research areas. Through simulating the computer hardware, providing the same programming interface as the one in the target machine, it can be used in supporting the research on architecture: revising the corresponding simulation module to adapt the change in hardware, move examples of the complex datum test, and may appraise the influence that the new hardware design creates to the computer system performance. The analog computer simulation platform has the important value to develop the CPU technology and the computer architecture research, as well as to develop the teaching experiments and the microcomputer system application. By carrying on the hardware design, the research and the experiment through the simulation platform, the development cycle is shorter, the price is low, the flexibility is better, and it has the better compatibility for the change in hardware. The practice proved that, by using the object-oriented technology and taking advantage of international advanced thoughts on the simulation platform, a high performance simulation system which has our own intellectual property rights might be developed. This article mainly aimed at the analog computer simulation technology to conduct the research. The major tasks done by the paper are summarized as follows:Firstly, a novel approach is proposed to deign and implement the prototype system of the analog computer in this paper. This system is an assembly molding machine which is realized depending on the embedded technology, has own virtual central processor (virtual CPU), instruction system, memory organization, register group, the stack and so on. It can simulate the actual movement process in the real computer, accepts instructions from the instruction system, and completes computation tasks or data processing tasks and so on. Its simplified instructions set, the succinct virtual central processor structure as well as merits of highly effective memory management mechanism and so on, cause it to be suitable for some platform in which resources is limited like the handset, personal digital assistant PDA and so on. Simultaneously the research has the practical significance for both developing application development research based on the CPU and the microcomputer system and enhancing the microcomputer education teaching and the experimental level.Secondly, assembler implementation based on the instructions set of this molding machine system has been designed and realized. As it turns out, the management of symbol information required by the assembler algorithms can be modeled in terms of abstract data types such as extendable arrays and hash table. And then, Finite State Machine (FSM) is used to carry on the modeling for the system. Simultaneously, in view of existent questions on the traditional FSM realization methods, a kind of FSM realization frame which is object-oriented and highly structural is proposed in this paper. It has realized the nimble multiplying mechanism, enhanced the system toughness and the maintainability. Besides, the dispatch algorithm that triggers the event transforms has been given.

Table of contents

Abstract 3-5 Abstract 5-10 Chapter Introduction 10-19 1.1 research background 10-14 1.1.1 Embedded Systems 1.1.2 Computer Simulation 10-13 1.1.3 the status of teaching laboratory equipment 13-14 the purpose and significance of the 1.2 research 14-15 1.3 relevant research results at home and abroad Summary 15-17 1.3.1 embedded development areas 15-16 the the 1.3.2 virtual CPU technology 16 1.3.3 the field of teaching laboratory equipment 16-17 1.4 This paper studies the content and structure 17-18 1.5 This article innovations 18-19 Chapter II-based embedded system development program 19-37 2.1 embedded theoretical overview 19-27 2.1.1 Embedded Systems 19-21 the 2.1.2 embedded operating system 21-23 2.1.3 Windows CE operating system 23-27 2.2 system design 27-28 2.2.1 system overall design ideas 27-28 2.2.2 system development platform designed 28 2.3 system implementations 28-36 2.3.1 target device platform XSBase255 29-30 the 2.3.2 kernel customization Tools Platform Builder 30-32 the 2.3.3 embedded applications program development tool for the EVC 32-34 2.3.4 Windows CE-based system development process 34-36 2.4 This chapter Summary 36-37 the Chapter model machine prototype system 37-57 3.1 Overview 37-38 3.2 model machine execution environments Profile 38-40 3.2.1 processor engine 38-39 3.2.2 Memory Management 39 3.2.3 Task Manager 39 3.2.4 Input / Output 39-40 3.3 model machine prototype system design and implementation 40-56 3.3.1 virtual memory 40-41 3.3.2 dynamic memory management 41-43 3.3.3 virtual register 43-44 3.3.4 command system structure 44-52 3.3.5 model machine system structure 52-53 3.3.6 Model Machine workflow 53-56 3.4 This chapter Summary 56-57 Design and Implementation of the Chapter assembler 57-97 4.1 compilation process analysis 57-58 4.2 assembler technology status 58-59 4.3 assembler overall design 59-62 4.4 assembler control algorithm design 62-63 4.5 data structure modeling 63-68 4.5.1 vector 63-64 4.5.2 Data Tree 64-65 4.5.3 dictionary 65-67 4.5.4 Summary of data structures 67-68 4.6 lexical analyzer module 68-72 4.6.1 features and output in the form 68-69 4.6.2 program design 69 4.6.3 structural design 69-71 4.6.4 lexical analysis algorithms 71-72 4.7 FSM finite state machine modeling 72-84 4.7.1 state transition diagram 72-73 4.7.2 formal formal set 73-74 4.7.3 FSM finite state machine theory outlined 74-80 4.7.4 FSM finite state machine-based system modeling 80-84 4.8 assembler implementations 84-96 4.8.1 overall framework 84-85 4.8.2 state transition diagram realization 85-86 4.8.3 implementation of finite state machines 86-92 4.8.4 lexical analyzer algorithm to achieve 92 4.8.5 first pass assembler 92-94 4.8.6 second pass assembler 94-96 4.9 This chapter Summary 96-97 text of Chapter Summary and Outlook 97-99 5.1 research work summarizes 97-98 5.2 Looking 98-99 the References 99-102 pursuing graduate completed during the papers 102-103 Acknowledgements 103

Related dissertations

  1. Research on Monitor System for Campus Energy Conservation Based on Internet of Things
    DengPeng ·Hunan University of Technology ·2013 ·Master's thesis
  2. Design and Application of the Distributed Monitoring System Based on Embedded Web
  3. Based on the Samsung2440Embedded Home Furnishing Design and Implementation of Intelligent Control System
  4. Research and Design of Intelligent Prosthetic Knee Ankle Coordinated Control System
    BaiJian ·Hebei University of Technology ·2013 ·Master's thesis
  5. Research of Hart Multiplexer and Its Software Design
  6. Research on Consumer Behavior of Health Products Based on Support Vector Machine
  7. The Research of XSS Detection and Defense Based Hash Tree Matching Model
    CaoWen ·Jiangxi Normal University ·2013 ·Master's thesis
  8. Design and Implementation of Remote Video Monitor System Based on Embedded Technology
    QiuGuangNeng ·Hunan University ·2013 ·Master's thesis
  9. Research and Application of Key Technology for Multimedia Player Based on Imbedded Linux System
  10. Research and Implementation of Intelligent Decision-making System in Business Simulation Game
  11. The Design and Implementation of Library Monitoring System
  12. The Research and Design of Embedded Network Video Surveillance Based on ARM
    GuoLin ·Central South University ·2013 ·Master's thesis
  13. Wireless Sensor Network Based Active Logistics Status Tracking System
  14. Study on indoor localization method based on radio frequency fingerprint
  15. Study and Research of HDCP System Based on FSM
    YuHe ·Wuhan University of Technology ·2013 ·Master's thesis
  16. Research and Application of Embedded Home Gateway Based on IPv6
    ZhongZheng ·WRI ·2012 ·Master's thesis
  17. Design and Implementation of the Power and Environment Monitoring System for Communication Equipment Room
  18. Motion Pattern Recognition and Control of Active Knee Prosthesis
    GengYanLi ·Hebei University of Technology ·2012 ·Doctoral dissertation
  19. Monitor Method Research for Information Flow of No-tillage Seeder
    YinYanZuo ·China Agricultural University ·2014 ·Doctoral dissertation
  20. The Concentrator Research on Power Consumption Data Acquisition System