A Hardware Approach to Real-Time Program Trace Compression for Embedded Processors
Authors:
- Shyh-Ming HuangSHShyh-Ming Huang
- Ing-Jer HuangIHIng-Jer Huang
- 12 March 2007
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Circuits and Systems I: Regular Papers
- Vol. 54 (3) , 530-543
Abstract
Collecting the program execution traces at full speed is essential to the analysis and debugging of real-time software behavior of a complex system. However, the generation rate and the size of real-time program traces are so huge such that real-time program tracing is often infeasible without proper hardware support. This paper presents a hardware approach to compress program execution traces in real time in order to reduce the trace size. The approach consists of three modularized phases: 1) branch/target filtering; 2) branch/target address encoding; 3) Lempel-Ziv (LZ)-based data compression. A synthesizable RTL code for the proposed hardware is constructed to analyze the hardware cost and speed and typical multimedia benchmarks are used to measure the compression results. The results show that our hardware is capable of real-time compression and achieving compression ratio of 454:1, far better than 5:1 achieved by typical existing hardware approaches. Furthermore, our modularized approach makes it possible to trade off between the hardware cost (typically from 1 to 50K gates) and the achievable compression ratio (typically from 5:1 to 454:1)Keywords
This publication has 15 references indexed in Scilit:
- Debug support strategy for systems-on-chips with multiple processor coresIEEE Transactions on Computers, 2006
- Debug Support, Calibration and Emulation for Multiple Processor and Powertrain Control SoCs2005
- Increasing the instruction fetch rate via block-structured instruction set architectures2002
- A retargetable embedded in-circuit emulation module for microprocessorsIEEE Design & Test of Computers, 2002
- Emerging on-ship debugging techniques for real-time embedded systemsComputing & Control Engineering Journal, 2000
- Extending value reuse to basic blocks with compiler supportIEEE Transactions on Computers, 2000
- VLSI design for high-speed LZ-based data compressionIEE Proceedings - Circuits, Devices and Systems, 1999
- A trace cache microarchitecture and evaluationIEEE Transactions on Computers, 1999
- Trace-driven memory simulationACM Computing Surveys, 1997
- Mache: no-loss trace compactionACM SIGMETRICS Performance Evaluation Review, 1989