64-bit Mips-based Embedded System Dynamic Simulation Technology Research
- Author
- LiuMing
- Advisor
- CaiQiXian
- School
- Guangxi University of Technology
- Major
- Control Theory and Control Engineering
- Classification
- TP368.1 Microprocessor
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 50
- Citations
- 2
Abstract
The instruction set simulator (Instruction Set Simulator, ISS) are used in a computer simulation of a computer program is running on software tools, it is an important tool for computer architecture research and SoC hardware and software co-design. After decades of development, has become an essential part in the design process of embedded processor instruction set simulator. With continuous innovation and improvement of the processor hardware, instruction set simulator has been unable to adapt to the needs of the current hardware. Over the past decade, people focused on 32 simulator 64 simulator small, as many simulators are based on a 32-bit emulator, performance and flexibility are not very good play out of the needs of the current hardware, so the use of new technology to develop a new simulator of great significance. With the increasing application of the 64-bit processor, the processor simulation field is bound to face new challenges, such as the description of what language, how to achieve parallel processing are problems. MIPS embedded simulator-based 64-bit dynamic translation technology must not only meet the needs of 64 MIPS embedded simulator, but also fully compatible with 32-bit MIPS embedded simulator. Therefore, based on the study of of 64 MIPS embedded systems dynamic modeling and simulation technology is of great significance to the development of the MIPS embedded systems, enhance its performance. The main work of this paper are: first build newlib cross compiler faster compilation, To facilitate cross compiler transplant, and increase the support for the MIPS64 instruction set, based newlib MIPS-elf-* cross compiler; achieve MIPS32 and MIPS64 instruction set simulator compatible analog processor MIPS instruction other than the floating point instruction, including arithmetic, load and store instructions, the branch instruction and the coprocessor related instructions. In order to improve the decoding speed, the simulator instruction decoding process mainly uses a multi-level indexing technology, instead of using the traditional code generator. In addition, because the MIPS32 instruction set is a subset of MIPS64 instruction set, the simulator C class template, so use the same set of code during compilation, compile both MIPS32 and MIPS64 instruction set simulator, thus greatly improving the reusability of the code; Third, in order to compare the performance of the instruction set simulation technology, this paper implements interpreted mode and not refine the dynamic compilation mode. Not refine the dynamic compilation mode paging technology Cache storage instruction to be executed. Finally, asm language to write a lot of verification procedures to ensure the correctness of the instruction set simulation. This technology is the structure of the machine or operating system is not dependent on the host machine, as long as the host machine supports the C language can be. Experimental results show that the instruction set simulation techniques can be used in this thesis a more accurate simulation of MIPS64 instruction set, and have high simulation speed.
Table of contents
Abstract 4-5
Abstract 5-7
directory 7-9
Chapter 1 Introduction 9-22 <br / > 1.1 Research 9-10
1.2 Embedded System Introduction 10-13
1.2.1 Definition of embedded systems 10-11
1.2.2 The characteristics of embedded systems 11
1.2.3 Embedded system microprocessor 11-12
1.2.4 processor word 12 < br /> 1.2.5 embedded operating system 12-13
1.3 Software Simulator 13-16
1.3.1 Simulator Development Overview 13 - 14
1.3.2 software simulator classification 14-15
1.3.3 software simulator of the importance 15-16
1.4 Hardware Description Language 16-18
1.5 transaction-level system modeling 18-20
1.5.1 Transaction Level Modeling Method 19-20
1.5.2 SystemC transaction-level Modeling 20
1.6 This paper studies the content description 20-22
Chapter 2 Instruction Set Simulator 22-28
2.1 instruction set simulation on Classification 22-25
2.1.1 interpreted simulation 23
2.1.2 static compiled simulation 23-24
2.1.3 Dynamic translate analog 24-25
2.2 existing instruction set simulation technology introduced 25-26
2.2.1 IS-CS technique 25-26
2.2.2 JIT-CSS technology 26
2.3 based on 64-bit instruction set simulator 26-27
2.4 Summary 27-28
Chapter 3 embedded microprocessor MIPS 28-31
3.1 MIPS processor development 28
3.2 MIPS registers introduced 28-29 <br / > 3.2.1 General Registers 29
3.2.2 Special registers 29
3.3 MIPS Instruction Set Introduction 29-30
3.4 Summary 30-31
Chapter 4 cross-compiler build 31-35
4.1 generate the target binary tools 31-32
4.2 compiler to generate static 32-34
4.2.1 compile gmp 32
4.2.2 compile mpfr package 32-33
4.2.3 generate static gcc 33-34
4.3 using a static compiler tool to compile the embedded library 34
4.4 build cross compiler tool chain 34
4.5 Chapter Summary 34-35
Chapter 5 multi-level indexing technology 35-39
5.1 MIPS instruction format 35-36
5.2 instruction decoding 36 - 38
5.3 instructions to achieve 38
5.4 Summary 38-39
Chapter 6 MIPS instruction set simulator compliant implementation 39-45 < br /> 6.1 Simulator Structure Description 39-40
6.2 processor modeling 40-42
6.3 simulator compliant implementation 42-44 < br /> 6.4 Chapter Summary 44-45
Chapter 7 is not refined dynamic instruction set simulator 45-51
7.1 SimSoc runtime environment 45 - 46
7.2 interpretive instruction set simulator 46-47
7.3 not refined dynamic instruction set simulator 47-50
7.3.1 Mode Description 47-48
7.3.2 subclass object creation 48-49
7.3.3 Establishment of cached pages 49-50
7.4 Chapter Summary 50-51
verification procedures in Chapter 8 and the experimental results 51-55
8.1 validation process 51-52
8.2 Experimental results 52-54
8.3 Chapter Summary 54-55
Chapter 9 Conclusions 55-57
References 57-60
published papers and participation in scientific research situation described 60-61
1. published during the master's degree thesis 60
2. obtained during the master's degree research 60-61
Thanks 61
Related dissertations
- Design and Implementation of TMS320C64x Instruction Set Simulator
- Chip Research Network Development Verification Platform
- Design of ARMv4 Instruction Set Simulation Platform
- The Realization and Optimizationg for Garfield ISS on Cycle Level
- Research of Reconfigurable Cycle Accurate Simulation Platform for Embedded Processor
- Design and Implementation of Reasoning Machine in Expert System for Embedded Meter Design
- The Research about History Database in Process Industry
- Research on a ISS-based Simulation Model for Programmable Experiment System
- Based nML instruction set simulator automatically generates Technology Study
- Hardware/Software Co-verification Solution Based on FPGA and ISS
- ARMv5TE instruction set simulator design and implementation
- The Realization and Optimiaztion for PowerPC Embedded System Simulator
- Embedded System Microprocessor Simulator Design and Implementation
- TTA -based modeling and simulation framework ESL
- Research and Implementation of Simulation for Hardware Based on V850E/MS1 Processor
- Design of Instruction Set Simulator and Integrated Development Environment of Configurable Processor Based on TTA
- Design and Implementation of Multi-Target Instruction Set Simulator