簡易檢索 / 詳目顯示

研究生: 蔡冠群
論文名稱: 用於多核心系統晶片交易層級內嵌式追蹤器架構
Transaction-Level Embedded Tracer Architecture for Many-Core SoC
指導教授: 黃稚存
口試委員: 劉靖家
黃俊達
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 資訊工程學系
Computer Science
論文出版年: 2013
畢業學年度: 102
語文別: 英文
論文頁數: 86
中文關鍵詞: TracerArchitectureMany-Core SoCTransactionNoCEmbedded
相關次數: 點閱:2下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 現在的系統晶片設計到產出的流程中,後段偵錯所花的時間已達到整個設計的百分之五十以上。晶片產出的流程中從前段到後段,對產品偵錯的成本是一非線性的成長速度,也因此我們需要去對偵錯來做設計。在現今多核心平台上,許多的處理器以及相關的IP都會去各自先做驗證,然而,由於整個系統複雜度的增加以及成本的考量,我們將研究重點放在對於處理器與處理器之間的傳輸來做更有效率地偵錯。

    在此論文中,我們提出一個偵錯的流程並設計交易層級內嵌式追蹤器架構。根據負責處理器與處理器之間負責傳輸的硬體元件以及晶片網路來設計追蹤器,藉由觸發所要追蹤的傳輸事件知道處理器上的傳輸,並利用這些資訊來偵錯。
    藉由提出的偵錯流程,我們預期在電子系統交易層級、暫存器轉移層級、FPGA都能夠實作。藉由追蹤器的幫助之下,我們可以簡單的評估軟體在資料傳輸上的效率。而在我們實作的過程也實際的解決數個原先硬體設計錯誤所產生的問題。最後,我們為了證明此偵錯流程可以適合不同層級的實作來減低開發時間之可行性,我們實作了電子系統交易層級以及暫存器轉移層級。

    在實際的例子中,我們得出我們的資料壓縮率為99.77%。相對於前一版(C.-L.’s work)減低了38.8%~98.8%的資料量,使得追蹤資料可以更為及時的在合理的追蹤腳位數目下傳送出來。並提供藉由追蹤資料所估計的資料吞吐量。除此之外,在.13μm的製程,我們的追蹤器占的面積是40K gates,占整個平台的面積約為1.49%。


    1 Introduction 1 1.1 Introduction of SoC Trace and Debug . . . . . . . . . . . . . . . . . . . . . . 1 1.2 The Challenge of Trace and Debug on Many-Core SoC . . . . . . . . . . . . 3 1.3 Motivation and Contribution . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4 Thesis Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2 Previous Work 8 2.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.1.1 Open Core Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.1.2 OpenRISC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.2 Overview of Existent Many Core Platform . . . . . . . . . . . . . . . . . . . 11 2.2.1 Processing Element . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2.2 Communication Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2.3 Network on Chip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.3 Software Communication Library . . . . . . . . . . . . . . . . . . . . . . . . 16 2.4 Overview of Previous OCP Bus Tracer . . . . . . . . . . . . . . . . . . . . . 18 2.4.1 OCP Bus Tracer on Many-Core Platform . . . . . . . . . . . . . . . . 18 2.5 Existent Method for Trace and Debug . . . . . . . . . . . . . . . . . . . . . 19 3 Component of Communication Tracer and Implementation 22 3.1 Overview of Communication Tracer . . . . . . . . . . . . . . . . . . . . . . 22 3.2 Time Event Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.2.1 Introduction to Time Event Trace . . . . . . . . . . . . . . . . . . . 27 3.3 API Event Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.3.1 API Event Trace Content . . . . . . . . . . . . . . . . . . . . . . . . 30 3.3.2 Detail of Tracing API Event . . . . . . . . . . . . . . . . . . . . . . . 30 3.3.3 API Event Generator FSM . . . . . . . . . . . . . . . . . . . . . . . . 35 3.4 NoC Transaction Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 3.4.1 Trace Data Reduce - Trace NoC when Direction Turned . . . . . . . 38 3.5 Trace Data Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 3.5.1 Local Counter and Compression Unit . . . . . . . . . . . . . . . . . . 39 3.5.2 Trace Data Reduce - Nack Counter . . . . . . . . . . . . . . . . . . . 42 3.5.3 Packeting Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 3.5.4 Filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 4 Proposed Trace and Debug Flow and Case Study 49 4.1 The Flow of Debugging on the many-core platform . . . . . . . . . . . . . . 49 4.2 Demonstrations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 4.2.1 Simulation Model for Application-Level Debugging . . . . . . . . . . 52 4.2.2 Case Study 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 4.2.3 Case Study 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 4.2.4 Case Study 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 4.2.5 Case Study 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 5 Experiment Result and Analysis 64 5.1 Trace Data Size Experiment . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 5.1.1 NoC Packet Reduce Experiment . . . . . . . . . . . . . . . . . . . . . 64 5.1.2 API Packet Reduce Experiment . . . . . . . . . . . . . . . . . . . . . 66 5.1.3 Comparison with Di erent Level Tracing . . . . . . . . . . . . . . . . 71 5.2 Communication Time Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . 73 5.2.1 Communication Time and Computation Time . . . . . . . . . . . . . 73 5.2.2 Analyze the Two Version Oddeven Sort in Communication Time . . 73 5.3 Synthesis Result . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 6 Conclusion and Future Work 78 6.1 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 6.2 Future work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Appendices 80 Appendix .A ESL Global Addressing Space on Many-Core Platform . . . . . . 81 Appendix .B Communication Unit Addressing Space Used in A Processing Element 82

    [1] DAFCA, Dr. Heinz Holzapfel \On-chip, at-speed, debug and DFT support for OCP-
    based SoCs", in DAFCA Presentation Oct. 2013.
    [2] \collett ASIC/IC Veri cation Study", 2004 (data for 180nm and 130nm)
    [3] Miron Abramovici, Paul Bradley, Kumar Dwarakanath, Peter Levin, Gerard Memmi,
    and Dave Miller, \A Recon gurable Design-for-Debug Infrastructure for SoCs", in The
    Design Automation Conference (DAC) , pages 7-12, 2006.
    [4] Gordon E. Moore, \The MOS transistor as an individual device and in integrated ar-
    rays", in IRE International Convention Record , Volume 13, Mar. 1965.
    [5] E. Pekkarinen, L. Lehtonen, E. Salminen, and T. Hamalainen, \A set of trac models
    for network-on-chip benchmarking," in System on Chip (SoC), International Symposium
    on IEEE, 2011, pp.78-81.
    [6] IBM, David E. Lackey, Paul S. Zuchowski, and Juergen Koehl, \Designing Mega-ASICs
    in Nanogate Technologies", in The Design Automation Conference (DAC) , pages 770-
    775, Jun. 2003.
    [7] Saurabh Verma, Ashima S. Dabare, Atrenta, \Understand clock domain crossing issues",
    EE Times-india , 2007.
    [8] DAFCA, \On-chip, at-speed, debug and DFT support for OCP-based SoC's", in Proc.
    Design, Automation, and Test in Europ (DATE), 2006.
    [9] Y.-H. Chen and C.-T. Huang, \Design and Analysis of Inter-PE Communication on
    Many-Core Platform", in Master Thesis, Department of Computer Science, National
    Tsing Hua University, Hsinchu, Taiwan, Nov. 2012.
    [10] C.-L. Huang and C.-T. Huang, \Application Level Transaction-Based Trace Infrastruc-
    ture for NoC-Based Many-Core Platform", in Master Thesis, Department of Computer
    Science, National Tsing Hua University, Hsinchu, Taiwan, Mar. 2013.
    [11] K.-J. Lee, \A software/hardware co-debug platform for multi-core systems", in ASI-
    CON, IEEE 9th International Conference Oct. 2011
    [12] M. H Neishaburi, \An enhanced debug-aware network interface for Network-on-Chip",
    in Quality Electronic Design (ISQED), 2012 13th International Symposium Mar. 2012
    [13] Bart Vermeulen, and Kees Goossens, \A Network-on-Chip monitoring infrastructure
    for communication-centric debug of embedded multi-processor SoCs", in VLSI Design,
    Automation and Test (VLAIDAT) Apr. 2009
    [14] S.-Y. Chen, T.-F. Chen, \A con gurable bus-tracer for error reproduction in post-silicon
    validation", in VLSI Design, Automation and Test (VLAIDAT), Apr. 2013
    [15] Hyunbean Yi, Sandip Kundu, \A con gurable bus-tracer for error reproduction in post-
    silicon validation", in Asian Test Symposium (ATS), Nov. 2008
    [16] Wang Gang, Zhang Shengbing, \On-chip debug architecture for MCU-DSP Core based
    system-on-chip", in Computer Science and Automation Engineering (CSAE), 2011
    IEEE International Conference on, Jun. 2011
    [17] P.-Y. Chen and C.-T. Huang, \RTL Realization of NoC-Based Multi-Core Platform",
    in Master Thesis, Department of Computer Science, National Tsing Hua University,
    Hsinchu, Taiwan, Oct. 2011.
    [18] T.-S. Hsu and J.-J. Liou, \A DVFS Many-core ESL Simulation Platform with Soft-
    ware Communication API", in Master Thesis, Department of Electrical Engineering,
    National Tsing Hua University, Hsinchu, Taiwan, Nov. 2011.
    [19] Y.-M. Lin and C.-T. Huang, \Real-Time Con gurable AHB Bus Tracer for SoC",
    in Master Thesis, Department of Computer Science, National Tsing Hua University,
    Hsinchu, Taiwan, Jul. 2010.
    [20] Brad Dixon and HUGH OKEEFFE, \The advantages of real-time trace debug in com-
    plex embedded systems", http://www.planetic.es/sites/default/planetic les/content-
    les/private/The%20Advantages%20of%20Real%20Time%20Tracedebug%20in%20
    Complex%20Embedded%20Systems.pdf
    [21] Silicore OpenCores, \Wishbone, revision b.3 speci cation",
    http://cdn.opencores.org/downloads/wbspec b3.pdf, July 2002.
    [22] D. Lampret, C.-M. Chen, M. Mlinar, J. Rydberg, M. Ziv-Av, C. Ziomkowski, G. Mc-
    Gary, B. Gardner, R. Mathur, and M. Bolado, OpenRISC 1000 Architecture Manual
    rev 1.3, http://opencores.org/or1k/Main Page, May 2006.
    [23] Damjan Lampret and Julius Baxter, \Openrisc 1200 ip core speci cation rev 0.11",
    http://opencores.org/or1k/Main Page, Jan. 2011.
    [24] Damjan Lampret and Julius Baxter, \OpenRISC 1200",
    http://en.wikipedia.org/wiki/OpenRISC 1200.
    [25] Wikipedia, \Barrier", http://en.wikipedia.org/wiki/Barrier (computer science)
    [26] OCP International Partnership (OCP-IP), \Open core protocol speci cation release
    2.2", http://www.ocpip.org, Jan. 2007.
    [27] G.-K. Yen and C.-T. Huang, \Real-time embedded debug and trace platform for system-
    on-chip", in Master Thesis, Department of Computer Science, National Tsing Hua
    University, Hsinchu, Taiwan, Jul. 2009.
    [28] Malcolm Phillips, \Odd Even Transposition Sort",
    http://homepages.ihug.co.nz/ aurora76/Malc/Sorting Array.htm#Exchanging Sort Techniques
    [29] Arteris S.A., NoC solutuon 1.16 NoCcompiler User's Guide, Feb. 2009.
    [30] Arteris S.A., NoC solutuon 1.16 NoCexplorer User's Guide, Feb. 2009.
    [31] Arteris S.A., NoC solutuon 1.16 NoC Transaction and Transport Protocol Technical
    Reference, Feb. 2009.
    [32] Arteris S.A., NoC solutuon 1.16 OCP Network Interface Units Technical Reference, Feb.
    2009.
    [33] Arteris S.A., NoC solutuon 1.16 Packet Transport Units Technical Reference, Feb. 2009.
    [34] B. Wilkinson and M. Allen, \Parallel Programming Techniques and Applications Using
    Networked Workstations and Parallel Computer 2nd ed.", Pearson Education Inc, Mar.
    2004

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

    QR CODE