Code Compression for Embedded Systems

Autor: Wei Jhih Wang, Chang Hong Lin, Jui-Chun Chen, Che-Wei Lin
Rok vydání: 2019
Předmět:
Zdroj: Embedded, Cyber-Physical, and IoT Systems ISBN: 9783030169480
DOI: 10.1007/978-3-030-16949-7_6
Popis: Embedded systems are constrained by the available memory, and code compression techniques address this issue by reducing the code size of application programs. The main challenge for the development of an effective code compression technique is to reduce the code size without affecting the overall system performance. Code compression traditionally works on fixed-sized blocks with its efficiency limited by their small size. A new methodology, branch block, which is a series of instructions between two consecutive possible branch targets, provides larger blocks for code compression. Moreover, dictionary-based code compression schemes are the most commonly used ones, because they can provide both good compression ratio and fast decompression. In this chapter, several branch-block based methods, as well as new dictionary-based code compression methods are presented. These methods can achieve a good compression ratio (CR) (the compressed code size divided by original code size), with little or no hardware overheads.
Databáze: OpenAIRE