Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
    • 指導教授
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 電機工程學系
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/18463
標題: 針對嵌入式系統驗證之抽象化技術
Apply Abstraction Techniques to Embedded System Debug
作者: Hung-Wei Wang
王宏偉
指導教授: 黃鐘揚(Chung-Yang (Ric)
關鍵字: 除錯,抽象化,嵌入式系統,
debug,abstraction,embedded system,
出版年 : 2014
學位: 碩士
摘要: 當嵌入式系統的行為出錯時,由於缺乏對系統內部行為的觀察力、系統行為的不可確定性、多時域的系統設計以及對即時的要求,使得傳統的除錯方法難以發現造成錯誤的原因。這使得我們希望可以在模擬的環境中重新產生並觀察錯誤的行為,因為在模擬的環境上所有的東西都是可被觀察和控制的。
然而由於模擬速度的限制,我們並不太可能將整個系統放到模擬的平台上模擬。而系統的不可確定性又使得這個問題更加的糟糕,錯誤可能只在某些情形下才會發生,而我們沒辦法確保每次執行都會遇到此情況,這讓我們需要更多的時間只為了在模擬上重新產生這個錯誤。
在這篇論文中,我們藉由抽象化的技巧將系統中跟錯誤無關的部分移除,藉此縮小除錯範圍、增加模擬速度並縮短讓錯誤發生所需的時間。我們討論怎樣的系統行為必須被紀錄並根據此紀錄重現錯誤發生的行為。
When a system goes wrong, it is difficult to find out the root cause due to lack of system observability、non-deterministic behavior of the system、multiple clock domain and real-time application constraints. It is desirable if we can reproduce the bug on the simulation platform which is fully observable and controllable.
However, it is nearly impossible to simulate the whole system due to limited simulation speed. Moreover, the non-deterministic behavior of the system make it even worse. The bug may only exist on specific path and it is hard to reproduce the bug.
In this work, we try to remove the bug-unrelated parts of the system. By abstracting the system, we narrow down the root cause of the bug, shorten the bug trace and speed up the simulation. Besides, we discuss what the abstract system state transition should be so that we can record the necessary transactions of CPU and rebuild its behavior model later.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/18463
全文授權: 未授權
顯示於系所單位:電機工程學系

文件中的檔案:
檔案 大小格式 
ntu-103-1.pdf
  未授權公開取用
1.16 MBAdobe PDF
顯示文件完整紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved