簡易檢索 / 詳目顯示

研究生: 何彥儒
Ho, Yen-Ju
論文名稱: 內嵌式數位訊號處理器之偵錯追蹤技術
Debug and Trace Technology for the Embedded DSP Core
指導教授: 黃稚存
Huang, Chih-Tsun
口試委員:
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 資訊工程學系
Computer Science
論文出版年: 2008
畢業學年度: 97
語文別: 英文
論文頁數: 87
中文關鍵詞: 內嵌式數位訊號處理器偵錯追蹤壓縮
外文關鍵詞: Embedded, DSP, Debug, Trace, Compression
相關次數: 點閱:1下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 在本論文中,我們針對數位訊號處理器,研究並實作出一個,有效率的追蹤與壓縮方式。 這是一個能針對數位訊號處理器(DSP)的軟硬體研發與驗證有著顯著的幫助的技術。 我們在一個稱為starfish的DSP平台上,將我們的追蹤與偵錯器(Trace Debug Unit)掛上去,並且去追蹤DSP在執行H.264 video decoder與 MP3 decoding時的重要暫存器。 我們提出了幾個方法,針對DSP執行時的program counter(PC)與數十個暫存器特性,來做壓縮,而壓縮的方式是從空間與時間的方向來思考。 經過驗證與實驗後,我們可以將PC壓縮掉87.57%的原始追蹤資料,而壓縮暫存器的部分,則可以達到98.5%的高壓縮率。 此外,我們所提出最好的壓縮方式,可以有forward trace與backward trace的功能。 而這個架構更能夠延伸到即時的追蹤與處理。


    In this thesis, we present the efficient debug and trace technology for the embedded DSP core,
    which can facilitate the software/hardware co-development and co-verification of the DSP
    platform. With the previous constructed DSP platform called Starfish, a test chip and its
    prototype are implemented for the demonstration. By evaluating the DSPStone benchmarks
    and some realistic multimedia applications such as H.264 and MP3 decodings, we propose
    several compression approaches for tracing the content of the program counter and register
    file. The compression technique compacts both the spacial and temporal information when
    taking advantage of the practical properties of the processor. The compression rate of the
    program counter can achieve 87.57% on average; while the compression rate of the register
    file is 98.5% as compared with the original raw data.

    In addition, the debug and trace design is also implemented, which improves the trace
    efficiency as compared with the previous work. The forward and backward trace capability
    is also considered in our architecture, making the design practical for both the pre-silicon
    validation and post-silicon verification. The architecture can also be extended to process the
    real-time tracing if the pipeline scheme is affordable.

    Our future works include the further improvement of the compression rate of the traced
    data; the support of monitoring the data transactions of the cache and on-chip bus; and the
    debug and trace of the multi-core system.

    1 Introduction 1.1 Challenge of DebuggingSoCs 1.2 Motivation 1.3 Approach 1.4 Contribution 2 Related Work 2.1Starfish 2.1.1 DevelopingEnvironment 2.2 Multi-Media Platform UMVP2500 2.2.1 Features 2.2.2 Working on the UMVP2500 2.3 Value Prediction-Based Compression 2.4 Embedded Trace Macrocell 2.4.1 Structure of ETM 2.4.2 The Debug Environment 2.4.3 Trace Filtering 2.5 Starfish Tape-Out 3 Trace/Debug Unit 20 3.1 Compression Algorithms 3.2 Original Method for Compression 3.2.1 PC Compression Algorithm 3.2.2 Data Register Compression Algorithm 3.3 Advanced Algorithm for Program Counter 3.4 Improved Algorithm for Data Register 3.4.1 Counter Compression Algorithm 3.4.2 Mode Compression Algorithm 3.4.3 Flag Compression Algorithm 3.4.4 Header Definition and Trace Packets 3.5 Implementation 3.5.1 Architecture and IO Interface 3.5.2 Trace Control Unit 3.5.3 Trace Formatting Unit 3.5.4 FIFO with AHB master Interface 3.5.5 Debug Flow with TDU 4 Experiment Result and Achievement 4.1 Compression Assessment 4.1.1 Program Trace 4.1.2 Data Trace 4.2 Comparison 4.2.1 Data Trace 4.3 Overhead Estimation of TDU 4.3.1 Time Consuming 4.3.2 Area Overhead 5 Conclusion and Future Work 5.1 Conclusion 5.2 Future Work

    [1]Collect ASIC/IC Verification Study, 2004.

    [2] W.C. Shiue Y.T Lin and I.J. Huang, “A multi-resolution ahb bus tracer for real-time compression of forward/backward traces in a circular buffer”, Proc. IEEE/ACM Design Automation Conf. (DAC), pp. 862–865, 2008.

    [3] Inc. ARM Components, AMBA Specification(Rev 2.0), May 1999.

    [4] Altera Corporation, Stratix II Device Family Data sheet, 2007.

    [5] Inc. ARM Components, RealView Developer Suite –Getting Started Guide, 2005.

    [6] Inc. ARM Components, RealView Developer Suite-AXD and armsd Debuggers Guide,2004.

    [7] Inc. ARM Components, Multi-ICE User Guide, 2004.

    [8] Sandra J.Jackson Jian Ke Paruj Ratanawora Martin Burtscherm, Llya Ganusov and NanaB.Sam, “The VPC Trace-Compression Algorithms”, IEEE Trans. on Computers,
    vol. 54, no. 11, pp. 1329–1344, nov 2005.

    [9] Inc. ARM Components, Embedded Trace Macrocell Architecture Specification, 2004.

    [10] M.C Hsieh and C.T. Huang, “An embedded infrastructure of debug and trace interface for dsp platform”, Proc. IEEE/ACM Design Automation Conf. (DAC), pp. 866–871,2008.86

    [11] Inc. ARM Components, AMBA AHB Trace Macrocell (HTM), 2004.

    [12] Andrew B.T. Hopkins and Klaus D. McDonald-Maier, “Debug support strategy for systems-on-chip with multiple processor cores”, IEEE Trans. on Computers, vol. 55,
    no. 2, pp. 174–184, 2006.

    [13] C. Schl˝aher H. Meyr V. ˇZivojnovi´c, J. Mart´ınez, “Dspstone: A dsp –oriented benchmarking methodology”, Proceedings of Int. Conf. on Signal Proc. Applic. and Technology(ICSPAT’94), Oct 1994.

    [14] Altera Corparation, Quartus II –Design Debugging Using the SignalTap II Embedded Logic Analyzer, 2006.

    [15] Inc. ARM Components, ARM MultiTrace User Guide, 2001.

    [16] C.H. Lin C.F. Kao and I.J. Huang, “A embedded multi-resolution amba trace analyzer for microprocessor based soc integration”, Proc. IEEE/ACM Design Automation Conf. (DAC), pp. 477–482, 2007.

    無法下載圖示 全文公開日期 本全文未授權公開 (校內網路)
    全文公開日期 本全文未授權公開 (校外網路)

    QR CODE