請用此 Handle URI 來引用此文件:
http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/38348
標題: | ASIP 的GCC 移植工具 A GCC Porting Tool for Application Specific Instruction Processor |
作者: | Ying-Hung Chiang 江盈宏 |
指導教授: | 陳俊良(Chuen-Liang Chen) |
關鍵字: | 編譯器,移植, GCC,ASIP,compiler,porting, |
出版年 : | 2005 |
學位: | 碩士 |
摘要: | 隨著 SoC 的流行以及晶片製造技術的進步,嵌入式系統的功能越來越龐大而且上市時間的壓力也越來越緊湊。在這個情況下,為了系統的效能以及更短的生產週期,ASIP (application specific instruction-set processors) 以及硬體架構描述語言 ADL (architecture description language) 的使用是一個必然的趨勢。在每一個硬體架構的評估流程中,必需將應用程式依照新的架構重新編譯並執行以取得效能的測試數據,因此編譯器依照硬體的重新移植變成非常重要的課題。一般的做法是以手動的方式將現有的編譯器重新打造,或者利用可重標地編譯器 (retargetable compiler) 依照硬體描述即時地產生執行檔,但是前者需要大量的人力反覆實作,而後者會使得執行的速度變慢。本論文的目的在於利用 GCC 的可重標地的特性,將硬體的架構描述檔轉換成GCC 移植時所必需提供的機器描述檔 (machine description),並討論轉換時所遇到的相關問題及限制。最後我們以本論文執行時所遇到的問題提出一些對硬體架構描述語言的建議,可以在未來設計或修改硬體架構描述語言時做為參考。 With the popularity of SoC and improvement in IC design, the functionality of embedded system becomes more complex with shorter time-to-market. Under this circumstance, design space exploration using ASIP (application specific instruction-set processor) and ADL (architecture description language) becomes a natural way. On each cycle of exploration, the application has to be recompiled and executed to obtain the profiling result. Therefore, porting compiler according to the ADL becomes an important issue. Currently, porting an existing compiler by human or using a retargetable compiler are general approaches, but require much human resource or slow down the compiling process. In this thesis, we convert ADL description to a GCC's machine description and discuss some problem and limitation. Finally we propose some suggestion for ADL that we encounter in this thesis. |
URI: | http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/38348 |
全文授權: | 有償授權 |
顯示於系所單位: | 資訊工程學系 |
文件中的檔案:
檔案 | 大小 | 格式 | |
---|---|---|---|
ntu-94-1.pdf 目前未授權公開取用 | 421.16 kB | Adobe PDF |
系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。