Research on Code Compression Technique for Variable Length Instruction Encodings

Author
ZhouGongDai
Advisor
ShenHaiBin
School
Zhejiang University
Major
Circuits and Systems
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Master's thesis
Year
2008
Downloads
30
Citations
0

Request the full text

Abstract

With the development of embedded technology , embedded systems will be more widely used in all aspects of human life . Insufficient memory capacity in the field of embedded systems , software development technology is facing new challenges , and how to reduce the code size, and improve the efficiency of the code , and to become an active area of ??research , therefore , code compression technology is a key technology for future embedded development one . This paper begins with the embedded system , analyzes the characteristics of embedded systems and software applications , which leads to code compression problem . Based on the comparison and analysis of code compression and data compression obtained code metrics compressed . Then analyze the problem of variable-length encoding of code compression , including the three aspects of the problem caused by the code compressible range reduction and instruction boundary unknown . On this basis, we proposed a traditional dictionary - based compression scheme utilizes unused encoding space in the instruction set architecture to encode the codeword , and solve the problems caused due to the variable-length instruction word . In this paper, we design the codewords coding scheme for extracting pipeline structure and branching table (BAT) specific design details are detailed account . In order to verify the correctness of the design , we design cycle accurate simulation for CR16C pipeline and compression method designed four programs on the the MiBench benchmark test program and a popular open source application software gzip compression experiments and a compression ratio of 85.1% for comparison , respectively, to the BAT size limit of 512, 1024 and 2048 entries , and calculate the total cost of the time needed to search within the cycle BAT , and the experimental results were analysis and summary.

Table of contents

Abstract 3-4 ABSTRACT 4-7 Chapter 1 Introduction 7 to 14 the research 1.1 Background 7-9 the the 1.1.1 embedded systems development status 7-8 1.1.2 embedded systems 1.1.3 embedded software characteristics and trends 8-9 1.2 code compression 9-14 1.2.1 Basic concept 10-12 1.2.2 code compression characteristics 12 1.2.3 compression metrics 12-14 Chapter 2 code compression technology 14-26 2.1 code compression research background 14-15 2.2 compression technology Research 15-20 2.3 extended instruction set technology 20-26 Chapter 3, based on the variable-length instruction encoding dictionary compression method 26-46 3.1 RISC and CISC 26 3.2 long instruction word and variable length instruction word 26-28 3.3 dictionary compression 28-38 3.3.1 dictionary shrink knowledge 28-30 3.3.2 instruction repetitive nature 30-34 the instruction 3.3.3 program repetitive research 34-38 3.4 code compression for variable-length instruction set challenges 38-41 3.4.1 code compression range to reduce 39-40 3.4.2 instruction boundary can not be informed of the issues brought 40-41 3.5 compression scheme for variable-length instruction encoding 41-46 3.5.1 instruction compression mathematical description of the problem 41-42 3.5.2 dictionary design and coding of the codeword 42-44 3.5.3 branch address table (BAT) processing Jump 44-46 Chapter 4 of the decompression hardware design and verification systems 46-54 4.1 solution of the compression hardware design 46-50 4.1.1 decompression pipeline architecture design 46-47 4.1.2 dictionary storage structure design 47-50 4.2 verification system 50-54 4.2.1 PLI the instruction simulator introduced 51-53 4.2.2 system simulation 53-54 the nbsp Chapter 5 Experimental results and summarize Looking; 54-60 5.1 Experimental results 54-57 5.1.1 compression ratio 54-56 5.1.2 Analysis of 56-57 5.2 Summary and Outlook 57-60 5.2.1 study concluded 57-58 5.2.2 Job Outlook 58-60 the References 60-63 studied papers published by the Master of the period 63-64 Acknowledgements 64

Related dissertations

  1. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  2. Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
    GuoJian ·Central South University ·2013 ·Master's thesis
  3. The Research and Design of Embedded Graphic Remote Monitor Terminal
    DengBoWen ·Harbin Engineering University ·2013 ·Master's thesis
  4. Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
    ZhangYanYan ·Dalian Polytechnic University ·2011 ·Master's thesis
  5. The Design and Implementation of Integrated Data Acquisiton Instrument Hardware Platform for Gas Station
  6. The Research for the Engraving Machine Control System Based on ARM and FPGA
    FanJianFeng ·Xi'an University of Engineering ·2012 ·Master's thesis
  7. Design and Implementation of Control System for Stabilized Platform Based on Embedded System
    SunXiLong ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. Study on the Control System of Lower Limbs Rehabilitative and Fitness Robot
    YangKe ·Hefei University of Technology ·2013 ·Master's thesis
  9. The Research of Embedded Web Sensor Node
    HeShuangWang ·Hebei University of Technology ·2012 ·Master's thesis
  10. The Research of Embedded Image Processing Technology Based on ARM
    WangXueBin ·Hebei University of Technology ·2013 ·Master's thesis
  11. The Research and Realization of Target Tracking Algorithms on Embedded Platform
  12. The Core Algorithm Research and System Implementation of Embedded Image Information Processing System
    LiXiang ·Zhejiang University ·2012 ·Doctoral dissertation
  13. Development of embedded network fingerprint attendance system
    GaoHongChao ·Heilongjiang University ·2013 ·Master's thesis
  14. A Drowning Features Recognition System Based on AIS
    GuoChangSheng ·Donghua University ·2014 ·Master's thesis
  15. Design and Implementation of Automated GUI Testing Framework Based on Android
  16. Research and design of secure data terminal based on Trusted Computing
  17. The Research and Design of High Performance BWDSP Processor Instruction Cache
    HongXingYong ·Hefei University of Technology ·2013 ·Doctoral dissertation
  18. Design and implementation of the computer room monitoring system
  19. Design of Remote Mobile Video Monitoring System
  20. The Design and Implementation of Greenhouse Unattended Monitoring System
    WangBeiBei ·Chengdu University of Technology ·2013 ·Master's thesis