Caches and Predictors for Real-Time, Unobtrusive, and Cost-Effective Program Tracing in Embedded Systems

被引:11
作者
Milenkovic, Aleksandar [1 ]
Uzelac, Vladimir [1 ]
Milenkovic, Milena [2 ]
Burtscher, Martin [3 ]
机构
[1] Univ Alabama, Dept Elect & Comp Engn, Huntsville, AL 35899 USA
[2] IBM Corp, Madison, AL 35757 USA
[3] Univ Texas Austin, ICES, Austin, TX 78712 USA
基金
美国国家科学基金会;
关键词
Compression technologies; real time and embedded systems; testing and debugging; tracing;
D O I
10.1109/TC.2010.146
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The increasing complexity of modern embedded computer systems makes software development and system verification the most critical steps in system development. To expedite verification and program debugging, chip manufacturers increasingly consider hardware infrastructure for program debugging and tracing, including logic to capture and filter traces, buffers to store traces, and a trace port through which the trace is read by the debug tools. In this paper, we introduce a new approach to capture and compress program execution traces in hardware. The proposed trace compressor encompasses two cost-effective structures, a stream descriptor cache, and a last stream predictor. Information about the program flow is translated into a sequence of hit and miss events in these structures, thus dramatically reducing the number of bits that need to be sent out of the chip. We evaluate the efficiency of the proposed mechanism by measuring the trace port bandwidth on a set of benchmark programs. Our mechanism requires only 0.15 bits/instruction/CPU on average on the trace port, which is a sixfold improvement over state-of-the-art commercial solutions. The trace compressor requires an on-chip area that is equivalent to one third of a 1 kilobyte cache and it allows for continual and unobtrusive program tracing in real time.
引用
收藏
页码:992 / 1005
页数:14
相关论文
共 22 条
  • [1] A reconfigurable Design-for-Debug infrastructure for SoCs
    Abramovici, Miron
    Bradley, Paul
    Dwarakanath, Kumar
    Levin, Peter
    Memmi, Gerard
    Miller, Dave
    [J]. 43RD DESIGN AUTOMATION CONFERENCE, PROCEEDINGS 2006, 2006, : 7 - +
  • [2] [Anonymous], 2009, S Q J MODERN FOREIGN
  • [3] ARM, 2009, EMB TRAC MACR ARCH S
  • [4] SimpleScalar: An infrastructure for computer system modeling
    Austin, T
    Larson, E
    Ernst, D
    [J]. COMPUTER, 2002, 35 (02) : 59 - +
  • [5] Dipert B., 2009, INSIDE APPLES IPHONE
  • [6] Freescale, 2009, MPC555 MPC556 US MAN
  • [7] GUTHAUS MR, 2001, P IEEE 4 WORKSH WORK
  • [8] Debug support strategy for systems-on-chips with multiple processor cores
    Hopkins, ABT
    McDonald-Maier, KD
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 2006, 55 (02) : 174 - 184
  • [9] IEEE-ISTO, 2009, NEX 5001 FOR STAND G
  • [10] Infineon, 2009, TC1775 SYST UN 32 BI