簡易檢索 / 詳目顯示

研究生: 周佳緯
Jhou, Jia-Wei
論文名稱: 應用於單晶片矽除錯的電路核心事件觸發機制
Inside-Core Event-Trigger Mechanism for SoC Silicon Debugging
指導教授: 李昆忠
Lee, Kuen-Jong
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 電機工程學系
Department of Electrical Engineering
論文出版年: 2012
畢業學年度: 100
語文別: 英文
論文頁數: 46
中文關鍵詞: 事件觸發矽除錯系統單晶片
外文關鍵詞: event trigger, silicon debugging, system on a chip
相關次數: 點閱:61下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 在對矽晶片除錯過程中,事件觸發技術被應用於監測一個電路或系統的狀態。當一個核心或系統的狀態滿足用戶所指定的事件或條件時,一些預先被設定好的除錯動作將會被觸發,例如將電路目前的狀態記錄下來或暫停正常運作的電路並取出電路內部資料且存放於記憶設備中。然而傳統的事件觸發技術通常只能觀察到一些數量有限並且需要預先定義的觸發信號,而這些限制使得事件觸發技術缺少重組觸發事件的能力。而在本論文中,我們提出了一個應用於單晶片矽除錯的電路核心事件觸發機制,它透過最常用的測試設計(掃描鏈)來監測一個待除錯電路內部的狀態。這個機制提供了許多強大的除錯能力,包括提取的掃描鏈上的任何內容、將多個觸發事件合併成一個單一的觸發條件、檢查觸發事件的排序順序、檢測指定的觸發事件發生的次數並可指定的一個搜索範圍來進行除錯。而我們使用硬體的方式來實現上述所有能力,因此可以有效率地對矽晶片進行除錯。我們將電路核心事件觸發機制實現在之前所開發的單晶片除錯平台中並提供了一個圖形視窗界面的硬體除錯工具用來支援事件驅動的除錯程序。實驗結果說明了我們所提出的電路核心事件觸發機制可以很方便的設置中斷點並檢查感興趣的暫存器,讓對硬體除錯就像對軟體開發進行除錯一樣,在觸發條件滿足時暫停正常運作的待除錯電路;當系統暫停時使用者可以檢查待除錯電路核心內部的所有狀態;而當檢查完成之後該系統可以恢復到其暫停之前狀態,然後使用者可以設置下一個觸發條件或進行單步執行的除錯。

    Event-trigger techniques have been used to monitor the state of a core or system during post-silicon debugging. When a user-specified event or condition is satisfied, a pre-defined debugging operation such as snapshotting the current states of the core under debug and pausing the normal operation to enable the dumping of storage devices will be activated. However, the traditional event-trigger techniques usually can only observe a limited number of pre-determined trigger signals. They also lack the capability to reorganize the trigger events. In this work, we propose a flexible inside-core event-trigger mechanism that allows one to monitor all the internal registers of a core under debug through the most commonly employed test facility, i.e., scan chains. This mechanism provides several powerful debugging capabilities, including extracting the contents of any register on the scan chains, combining multiple trigger events into a single trigger condition, examining the sequencing order of events, detecting the number of occurrences of specified events, and performing debugging process in a specified search range. All the above capabilities are implemented in a hardware manner. Thus the silicon-debug process can be carried out efficiently. We have incorporated the inside-core event-trigger mechanism into an SOC debug platform, and provided a graphic user interface tool to support the event-driven debugging process. Experimental results show that the proposed inside-core event-trigger mechanism can facilitate breakpoint setting, examining the registers of interest and pausing the normal operation when the trigger condition is satisfied. The user can then examine the internal states of the core under debug when the system is paused. After the examination, the system can be recovered to its state right before it is paused. Thus the user can set another trigger condition or execute a single-step debug process, just like the debug process for software development.

    CHAPTER 1 INTRODUCTION 1 CHAPTER 2 PREVIOUS WORK 4 CHAPTER 2.1. HARDWARE-BASED EVENT-TRIGGER METHOD 4 CHAPTER 2.2. SOFTWARE-BASED EVENT-TRIGGER METHOD 8 CHAPTER 3 OVERVIEW OF THE INSIDE-CORE EVENT-TRIGGER MECHANISM 9 CHAPTER 3.1. OBJECTIVES OF THE INSIDE-CORE EVENT-TRIGGER MECHANISM 9 CHAPTER 3.2. THE INSIDE-CORE EVENT-TRIGGER MECHANISM 11 CHAPTER 3.3. DEBUG FLOW OF THE INSIDE-CORE EVENT-TRIGGER MECHANISM 13 CHAPTER 4 IMPLEMENTATION OF THE INSIDE-CORE EVENT-TRIGGER MECHANISM 15 CHAPTER 4.1. OVERALL ARCHITECTURE OF SOC DEBUG PLATFORM 15 CHAPTER 4.1.1. TAM Controller 17 CHAPTER 4.2. DESIGNS FOR INSIDE-CORE EVENT-TRIGGER MECHANISM 19 CHAPTER 4.2.1. Event Comparator 19 CHAPTER 4.2.2. The Clock Controller 28 CHAPTER 4.2.3. Hardware Debug Tool 29 CHAPTER 5 EXPERIMENTAL RESULTS 32 CHAPTER 5.1. EXPERIMENTAL ENVIRONMENT 32 CHAPTER 5.2. SIMULATION RESULTS 35 CHAPTER 5.3. EMULATION RESULT 37 CHAPTER 5.4. ANALYZING THE AREA OVERHEAD 38 CHAPTER 5.5. ANALYZING THE EVENT SEARCH TIME 40 CHAPTER 6 CONCLUSIONS 42 REFERENCES 43

    [1] Van Rootselaar, G.J, B. Vermeulen, “Silicon debug: Scan chains alone are not enough,” in Proc. IEEE International Test Conference, Pages 892-902, 1999.
    [2] B. Vermeulen, S. Kumar Goel, “Design for debug: Catching design errors in digital chips,” IEEE Design & Test of Computers, vol. 19, no. 3, Pages 35-43, 2002.
    [3] Wilco de Boer, B. Vermeulen, “Silicon Debug: Avoid Needless Respins,” IEEE/SEMI Int’1 Electronics Manufacturing Technology Symposium, pages 277-281, 2004
    [4] B. Vermeulen, “Functional Debug Techniques forEmbedded Systems,” IEEE Design & Test of Computers, Pages 208-215, 2008.
    [5] L.B. Chen, Y.C. Liu, C.H. Chen, C.F. Kao, and I.J. Huang, “Parameterized Embedded In-circuit Emulator and Its Retargetable Debugging Software for Microprocessor/Microcontroller/DSP Processor,” IEEE ASPDAC, pages 117-118, 2008
    [6] B. Vermeulen, Philips Res. Lab., Eindhoven, Netherlands Waayers, T., Goel, S.K., “Core-Based Scan Architecture for Silicon Debug,” Proc. IEEE Int’l Test Conf., Pages 638–647, 2002.
    [7] B. Vermeulen, M.Z. Urfianto, and S.K. Goel, “Automatic Generation of Breakpoint Hardware for Silicon Debug,” Design Automation Conference, Pages 514-517, 2004.
    [8] K. Morris, “On-Chip Debugging - Built-in Logic Analyzers on your FPGA,” Journal of FPGA and Structured ASIC, vol. 2, no. 3, Jan 2004.
    [9] R. Leatherman and N. Stollon, “An Embedding Debugging Architecture for SOCs,” IEEE Potentials, vol. 24, no. 1, Pages 12–16, Feb-Mar 2005.
    [10] B. Vermeulen, “Functional Debug Techniques for Embeded Systems,” IEEE Design & Test of Computers, Pages 208-215, 2008.
    [11] M. Abramovici, “In-System Silicon Validation and Debug,” IEEE Design & Test of Computers, vol. 25, no. 3, Pages 216-223, 2008.
    [12] K.J. Lee, C.Y. Chu, and Y.T. Hong, “An Embedded Processor Based SOC Test Platform,” In Proceedings International Symposium on. Circuits and Systems, vol.3, Pages 2983-2986, 2005.
    [13] K.J. Lee, S.Y. Liang and A. Su, "A Low-Cost SOC Debug Platform Based on On-Chip Test Architectures," in Proceedings IEEE International SOC Conference, Pages 161-164, 2009.
    [14] K.J. Lee, T.Y Hsieh, C.Y Chang,Y.T. Hong, W.C. Huang, "On-Chip SOC Test Platform Design Based on IEEE 1500 Standard," IEEE Transactions on Very Large Scale Integration Systems, Pages 1134-1139, 2010.
    [15] S.H. Hsieh, “A SoC Debug Platform with Inside-Core Adjustment and Event Trigger Capabilities,” Master Thesis, Dept. of E.E., NCKU, Taiwan, 2009
    [16] Ho Fai Ko, N. Nicolici, "On Automated Trigger Event Generation in Post-Silicon Validation," Design, Automation and Test in Europe, Pages 25 -259, 2008.
    [17] Ho Fai Ko, N. Nicolici, “Resource-Efficient Programmable Trigger Units for Post-Silicon Validation,” European Test Symposium, Pages 17-22, 2009.
    [18] Ho Fai Ko, N. Nicolici, ”Mapping Trigger Conditions onto Trigger Units During Post-Silicon Validation and Debugging,” IEEE Transactions on Computers, Pages 1, 2011.
    [19] Ho Fai Ko; A.B. Kinsman, N. Nicolici, ”Design-for-Debug Architecture for Distributed Embedded Logic Analysis,” IEEE Transactions on Very Large Scale Integration Systems, Pages 1380-1393, 2011.
    [20] AMBA Specification, http://www.arm.com
    [21] ARM Ltd., RealView ICE and RealView Trace User Guide, http://www.arm.com
    [22] ARM 926EJ-S Web Site [Online]. Available:
    http://www.arm.com/products/processors/classic/arm9/arm926.php
    [23] IEEE Computer Society, “IEEE Standard 1149.1: IEEE Standard Test Access Port and Boundary-Scan Architecture,” 2001.
    [24] IEEE, “1500-2005 IEEE Standard Testability Method for Embedded Core-Based Integrated Circuits,” 2005.
    [25] Design Compiler, Synopsys Inc. http://www.synopsys.com
    [26] DFT Compiler, Synopsys Inc. http://www.synopsys.com
    [27] Altera Corp., Design Debugging Using the SignalTap II Embedded Logic Analyzer, http://www.altera.com.
    [28] Xilinx, Inc., ChipScope Pro Software and Core User Guide, http://www.xilinx.com

    無法下載圖示 校內:2017-08-31公開
    校外:不公開
    電子論文尚未授權公開,紙本請查館藏目錄
    QR CODE