Presentation is loading. Please wait.

Presentation is loading. Please wait.

Presenter : Shau-Jay Hou Tsung-Cheng Lin Kuan-Fu Kuo 2015/6/12 EICE team TraceDo: An On-Chip Trace System for Real-Time Debug and Optimization in Multiprocessor.

Similar presentations


Presentation on theme: "Presenter : Shau-Jay Hou Tsung-Cheng Lin Kuan-Fu Kuo 2015/6/12 EICE team TraceDo: An On-Chip Trace System for Real-Time Debug and Optimization in Multiprocessor."— Presentation transcript:

1 Presenter : Shau-Jay Hou Tsung-Cheng Lin Kuan-Fu Kuo 2015/6/12 EICE team TraceDo: An On-Chip Trace System for Real-Time Debug and Optimization in Multiprocessor SoC Xiao Hu, Pengyong Ma, Shuming Chen, Yang Guo, and Xing Fang School of Computer, National University of Defense Technology, Changsha, Hunan, P.R. of China, 410073 xiaohu@nudt.edu.cn M. Guo et al. (Eds.): ISPA 2006, LNCS 4330, pp. 806 – 817, 2006. © Springer-Verlag Berlin Heidelberg 2006

2 Traditional debug techniques using breakpoints and single stepping are hard to meet the requirements of debug and optimization problems related with temporal behavioral of the real-time programs in multiprocessors. In this paper an on-chip trace system TraceDo (Trace for Debug and Optimization) of a multiprocessor SoC (YHFT-QDSP) is introduced to overcome the debug challenge. Several novel methods including LS encoder, branch configuration bits and configuration instructions, have been presented in TraceDo to trace the program paths, data access and events with timestamps from four Digital Signal Processor (DSP) cores of YHFT-QDSP efficiently. The results of benchmarks show that TraceDo with LS encoder can improve the compression ratio of trace information by 27% than the best reference result on average. When using branch configuration bits, this value goes to 64%. 2 Abstract

3 Debug and Optimization in multiprocessor SoC Traditional method Breakpoint and signal stepping Change behavior Easily damaged the mechanical part Logic analyzer Not useful in higher integration SoC Soft instruments and profiling Intrusive Consumes excessive system resources This paper propose method TraceDo(Trace for Debug and Optimization) On system YHFT-QDSP( 銀河飛騰 -32 位元微處理器 ) Use configuration to control Low area in chip 3 What’s the problem?

4 embedding debugging architecture for SoCs is introduced [9] Triggers, filters and timestamps are mentioned to support debug of multipleprocessors [12]. An onchip events monitor on system level is introduced in [17] CoreSight Frame of ARM core defines a multi-core debug and trace solution in [2][3][4] The IEEE-ISTO NEXUS 5001 STD defines the basic multiple core debug support for embedded processors and external tools [15][13] Framework of on-chip real time trace of multiprocessor [8] Graph 4 Related work

5 F Bit(follow bit) ◦ indicates if there is another byte followed in this message 5 TraceDo-overview

6 6 Trace Hardware

7 Path Trace  Program Flow Change Model  Branches and interrupts 。 Direct branches to constant address(BC) 。 Conditional direct branches to constant address(IBC) 。 Indirect branches to target address in register(BR) 。 Conditional indirect branches to target address in register(IBR) 。 Interrupt to interrupt service routine  Configuration bits 。 Enable Bits 。 Force Bits 。 Degrade Bits 7

8  Messages 。 Long Chart Message 。 Short Chart Message 。 Indirect Branch Message 。 Synchronization Message 。 Interrupt Message 8

9 Data Trace and Event Trace  Data Trace 。 Data transfer by load/store 。 XOR compression 。 Synchronization message  Event Trace 。 Pipelines stall 。 Cache missing and DMA busy 。 Record the counter of taken times or valid cycles of stalls at a configurable interval 9

10 Trace Messages Combination and Timestamps  Two-level combination 。 First level :  Sort trace messages of three trace unit into trace FIFO 。 Second level :  Sort trace messages of FIFOs into trace port  Arbitrator 。 Control which message should be written into FIFO  FIFO 。 Eight input port 。 One output pot 。 Eight two-port registers 。 Overflow Synchronization message 10

11 Trace Port  Transfer massages package to Emulator 11

12 The configurable functions of trace are programmed through configuration registers.  Access by JTAG instructions  Also can access by CPU instrucions NOP_config  no-operation instruction  High instruction ratio  Use to communication with on-chip trace hardware 12

13 Use Verilog-HDL models Benchmark 13

14 Compression of path trace 14

15 Compression of path trace by use degrade bit 15

16 TraceDo is modular and scalable, and it record :  Program path  Data access  pipeline stall With several novel methods, TraceDo can reduce the quantity of trace messages effectively and support the tradeoff between precision and bandwidth by configuration. Future work  Degrade Bits selected manually in benchmarks will be selected by tools automatically 16


Download ppt "Presenter : Shau-Jay Hou Tsung-Cheng Lin Kuan-Fu Kuo 2015/6/12 EICE team TraceDo: An On-Chip Trace System for Real-Time Debug and Optimization in Multiprocessor."

Similar presentations


Ads by Google