ARMv5TE instruction set simulator design and implementation

Author
SongGuangZhao
Advisor
LuoKeLu
School
University of Electronic Science and Technology
Major
Computer System Architecture
Classification
TP368.1 Microprocessor
Degree
Master's thesis
Year
2011
Downloads
48
Citations
1

Request the full text

Abstract

Along with the rapid development of information technology, embedded system’s application is getting more and more widespread and covering from the traditional communications to consumer electronics and industrial areas, almost everywhere. Embedded system’s renewal is getting quicker and quicker, this set a higher request to the development kit. In traditional hardware and software co-development model, the software design and the hardware development divert mutually, it is unable to carry on software’s debugging and testing without hardware, hardware system can not achieve the corresponding functions without software. Software’s debugging is also frequently affected by the hardware disturbance exceptionally. This means that hardware development may become the bottleneck of the whole system development. It is a an effective way to solve this difficult problemthat develops the embedded system in the simulation platform. Using simulation software to simulate the actual operation of embedded systems. Software development and systems integration ahead of time carry on the simulation platform, before the real goal board manufacture completes completes the system model confirmation, avoids the software and hardware development waiting for mutually that has the important meaning regarding the enhancement development efficiency and the quality. Instruction set simulator is a core components of software simulation platform for embedded, has the decisive function to the simulation platform’s performance.The software simulator’s research started from the 1960s, may divide the set of instructions simulator into two kinds: the function simulator and the machine-made simulator, according to the simulation precise degree. The function simulator take gains the correct movement result as a goal, has neglected the instruction execute concrete flow. Based on realizes the strategy difference, may also divide into the compiled instructions set simulator and the translation instructions set simulator. Compiled instruction set simulator running faster, but only for static simulation program. ARM processor supports both ARM and Thumb instruction set, and a variety of interrupt mode, therefore can only use the explanation simulator to carry on the simulation to it. In-depth study of the target processor is realizes simulator’s foundation, ARMv5TE architecture’s register structure, operation mode, addressing mode, ARM and Thumb instruction set’s binary encoding format, etc. is the content which needs to study and to analyze.Designed and has realized a explanation function simulator for ARMv5TE instructions set, has used a new kind of decoding algorithm to raise the simulation efficiency according to ARM instruction set encoding characteristics. U-boot and arm-linux has been tested on the simulator under the simulation platform’s other module’s coordination.The simulator is designed for the chip with independent intellectual property, using the modularized program structure, with a targeted, efficient simulation, easy to expand and so on.

Table of contents

Abstract 4-5 ABSTRACT 5-9 The first chapter 9-12 1.1 project background 9 1.2 research status 9-10 1.3 topics sources 10-11 1.4 chapters arranged 11-12 Chapter 2 Instruction Set Simulator related technologies 12-22 2.1 software simulation technology 12-17 2.1.1 based on event -driven simulation technology 14-16 2.1.2 behavior -based circuit simulation technology 16-17 2.2 embedded system simulation 17-18 2.2.1 traditional embedded systems development approach 17 2.2.2 Embedded system simulation purpose and meaning 17-18 2.3 instruction set simulation technology 18-21 2.3.1 Instruction Set Simulator classification 18-19 2.3.2 interpreted instruction set simulator 19 2.3.3 compiled instruction set simulator 19-20 2.3.4 Comparison of two kinds of simulation strategy 20-21 2.3.5 interpreted advantage 21 2.4 Summary 21-22 Chapter ARMv5TE architecture 22-53 3.1 ARM Processors 22 3.2 ARMv5TE architecture 22-23 3.3 ARM processor mode 23-24 3.4 ARM register structure 24-28 3.4.1 General Registers 25-27 3.4.2 Program Status Register 27-28 3.5 ARM instruction set 28-50 3.5.1 Data processing instructions 30-38 3.5.2 Load / Store instruction 38-44 3.5.3 Program Status Registers processing instruction 44-45 3.5.4 jump instruction 45-47 3.5.5 coprocessor instruction 47-49 3.5.6 Exception generated instruction 49-50 3.6 Thumb instruction set 50-51 3.7 ARM addressing 51-52 3.8 Chapter Summary 52-53 Chapter instruction set simulator design and implementation 53-74 4.1 simulation platform architecture 53-54 4.2 instruction set simulator overall design 54-55 4.3 critical data structures 55-57 4.4 instruction pipeline simulation 57-58 4.5 emulation commands run 58-64 4.6 Thumb instruction emulation 64-65 4.7 abort simulation 65-72 4.7.1 emulator response to an exception 67-68 4.7.2 for specific types of exception handling 68-72 4.8 peripherals simulation 72-73 4.9 Chapter Summary 73-74 Chapter instruction set simulator test 74-79 5.1 build cross-development environment 74-75 5.2 compile U-boot 75 5.3 port of the Linux kernel 75-77 5.4 simulation software operating results 77-78 5.5 Chapter Summary 78-79 Chapter Summary and Outlook 79-81 6.1 This thesis summarizes 79-80 6.2 insufficient and Prospects 80-81 Thanks 81-82 References 82-84 Master of results achieved during the attack 84-85

Related dissertations

  1. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  2. The Study of Remote Video Monitor System Baced on ARM
    GuoZuo ·Hebei University of Technology ·2012 ·Master's thesis
  3. Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
    JinPing ·Central South University ·2013 ·Master's thesis
  4. Video Surveillance System Based on Embedded Technology Research
  5. Design of Video Monitoring System Based on the Embedded
  6. The Design of Embedded Network Video Surveillance System Based on ARM9
  7. Research and implementation of remote monitor system of ship based on the technology of the Internet of things
  8. Design of Video Surveillance Software Based on Ti Dm6446Processor
    YuanWei ·Zhejiang University of Technology ·2013 ·Master's thesis
  9. Data Acquisition System of Cavern Based on Embedded Web Server
  10. Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
    LiuDaoLin ·Dalian Polytechnic University ·2008 ·Master's thesis
  11. Research on the Indoor Air Monitoring System Based on Embedded Linux
  12. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  13. Automatic Switcher Based on Embedded System Design and Implementation of Test Platform
  14. Research on Meteorological Data Acquisition and Processing System
    ZhaoSheng ·Wuhan University of Technology ·2013 ·Master's thesis
  15. The Research of the Design and Application for Embedded Remote Terminal Unit
    XiaRui ·Northeastern University ·2013 ·Master's thesis
  16. Design and Implementation of Magnetic Card Detection System Based on Embedded System
  17. Design of distributed control system based on embedded platform
    JieZhouKai ·Xi'an Optics and Fine Mechanics ·2010 ·Master's thesis
  18. Design and Implementation of Car Embedded Systems to Multimedia Intelligent Terminal
    LiShun ·Northeastern University ·2012 ·Master's thesis
  19. The Research of CANopen Protocol Based on Embedded Systems
  20. The Research and Design of Smart Home System Based on Zigbee Technology
    ZhangZhiDong ·Liaoning Normal University ·2013 ·Master's thesis