A Trace-Capable Instruction Cache for Cost-Efficient Real-Time Program Trace Compression in SoC
Authors:
- 14 October 2010
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computers
- Vol. 60 (12) , 1665-1677
Abstract
This paper presents a novel approach to make the on-chip instruction cache of a SoC to function simultaneously as a regular instruction cache and a real-time program trace compressor, named trace-capable cache (TC-cache). It is accomplished by exploiting the dictionary feature of the instruction cache with a small support circuit attached to the side of the cache. Compared with related work, this work has the advantage of utilizing the existing instruction cache, which is indispensable in modern SoCs, and thus saves significant amount of hardware resource and power consumption. The TC-cache can be configured to work simultaneously as the instruction cache and the trace compressor, named the online mode, or exclusively as the trace compressor, named the bypass mode. The RTL implementation of a 4 KB trace-capable instruction cache, a 4 KB data cache, and an academic ARM processor core has been accomplished. The experiments show that the TC-cache achieves average compression ratio of 90 percent with a very small hardware overhead of 3,652 gates (1.1 percent). It takes only 0.2 percent additional system power for the online mode operation. In addition, the trace support circuit does not impair the global critical path. Therefore, the proposed approach is a highly feasible on-chip debugging/monitoring solution for SoCs, even for cost-sensitive ones such as consumer electronics. Furthermore, the same concept can be applied to the data cache to compress the data address trace as well.Keywords
This publication has 13 references indexed in Scilit:
- An embedded infrastructure of debug and trace interface for the DSP platform2008
- Block cache for embedded systems2008
- A Hardware Approach to Real-Time Program Trace Compression for Embedded ProcessorsIEEE Transactions on Circuits and Systems I: Regular Papers, 2007
- Enhanced 32-bit Microprocessor-based SoC for Energy Efficient MP3 Decoding in Portable Devices2007
- A Lossless Data Compression and Decompression Algorithm and Its Hardware ArchitectureIEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2006
- Debug support strategy for systems-on-chips with multiple processor coresIEEE Transactions on Computers, 2006
- Emerging on-ship debugging techniques for real-time embedded systemsComputing & Control Engineering Journal, 2000
- Application-specific memory management for embedded systems using software-controlled caches2000
- VLSI design for high-speed LZ-based data compressionIEE Proceedings - Circuits, Devices and Systems, 1999
- A universal algorithm for sequential data compressionIEEE Transactions on Information Theory, 1977