The Design and Implementation of an Interpretive Instruction Set Full System Simulator

Author
XiaoJun
Advisor
HuYingSong
School
Huazhong University of Science and Technology
Major
Applied Computer Technology
Classification
TP368.1 Microprocessor
Degree
Master's thesis
Year
2012
Downloads
8
Citations
0

Request the full text

Abstract

Along with widely application of embedded system, more and more functions areintegrated into these systems. What’s worse, the evolution period of these systems is alsobecoming shorter and shorter. And all of these cause the huge stress for the people whoare responsible to the design and development of embedded systems. Parallel of designand development of hardware and that of software is a must requirement, which havepushed a rapid improvement of the instruction set simulation which is also extensivelyused in the design and verification of new micro-architecture domain. So it is theoreticaland practical meaningful to do research to provide a fast interpretive instruction set fullsystem simulator.According to the advantage of flexibility and accurately and disadvantage of theinterpretive instruction set simulator, a simulator IISimulator based on interpretiveinstruction set simulation technique which is based on shared basic block cache technique,which sufficiently exploits the temporal and spatial locality of the execution ofapplications, is designed and also implemented. The shared basic block technique cachesthe decoded results of target machine instructions in basic block, when the next time thebasic block is going to be executed again the decoded results are directly used, whicheliminates the time-consuming fetch-decode phase appearing in the interpretive instructionset simulator. And shared memory pool is also introduced to reduce the overhead ofmemory management coming along with caching.During the experiments phase of IISimulator, we chose some representative testexperiment applications of the target machine for testing. With the statistic data ofsimulation speed of IISimulator running these tests under non-cache, instruction-cache andbasic-block-cache circumstances, we came to the conclusion of the superior of basic blockcache when compared to the other two. Experiments used to verify that the sharedmemory pool may improve the simulation speed of IISimulator were also taken out, andthe result shown it does. When compared the average simulation speed to other full systemsimulators such as skyeye and SimpleScalar, IISimulator win. All these experiment resultsindicated that the improvement that we made to interpretive instruction set simulationtechnique gives big payoff.

Table of contents

Summary 4-5 Abstract 5-8 1 Introduction 8-14 1.1 subject background and sources 8-9 1.2 domestic and foreign research status 9-13 1.3 This paper studies the content and organizational structure 13-14 2 instruction Set Simulator simulation technology 14 - 23 2.1 instruction set simulator theory 14-15 2.2 instruction set simulator classification 15-22 2.3 Summary 22-23 <br / > 3 block-level shared cache interpreted instruction set simulator design 23-37 3.1 emulator Overview 23 3.2 target machine instruction set instruction classification 23 -26 3.3 instruction model abstract interface 26-28 3.4 block-level cache table 28-32 3.5 decoding result of shared memory pool 32-34 3.6 emulator workflow 34-36 3.7 Summary 36-37 4 simulator to test experimental platform and performance analysis the overall structure of 37-58 4.1 IISimulator of 37-38 4.2 processor core state model 38-40 4.3 MMU model 40 - 43 4.4 Exception model 43-45 4.5 peripherals model 45-46 4.6 clock model 46-47 4.7 testing and performance analysis 47-57 4.8 summary 57-58 5 summary and Outlook 58-60 5.1 the main work 58-59 5.2 further research directions 59-60 Thanks 60-61 References 61-66 Appendix studying during the dissertation published directory 66

Related dissertations

  1. Design and Implementation of PowerPC Simulation System Based on Paravirtualized Memory
    ZhouChenFeng ·Zhejiang University ·2006 ·Master's thesis
  2. Research on Search Strategy in CMP NUCA and Performance Analysis
  3. Research on Monitoring and Controlling Computer Behavior Through Parallelized Virtual Machine
  4. Embedded System Microprocessor Simulator Design and Implementation
    ZhouBing ·Guangxi University of Technology ·2010 ·Master's thesis