請用此 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 MB | Adobe PDF |
系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。