請用此 Handle URI 來引用此文件:
http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/38348完整後設資料紀錄
| DC 欄位 | 值 | 語言 |
|---|---|---|
| dc.contributor.advisor | 陳俊良(Chuen-Liang Chen) | |
| dc.contributor.author | Ying-Hung Chiang | en |
| dc.contributor.author | 江盈宏 | zh_TW |
| dc.date.accessioned | 2021-06-13T16:31:04Z | - |
| dc.date.available | 2005-07-12 | |
| dc.date.copyright | 2005-07-12 | |
| dc.date.issued | 2005 | |
| dc.date.submitted | 2005-07-12 | |
| dc.identifier.citation | [1] Target Compiler Technologies. http://www.retarget.com/
[2] D. Lanneer, J. Van Praet, A. Kifli, K. Schoofs, W. Geurts, F. Thoen, and G. Goosens. “CHESS: Retargetable Code Generation for Embedded DSP Processors,” In P. Marwedel and G. Goosens, editors, Code Generation for Embedded Processors, chapter 5, pages 85-102. Kluwer Academic Publishers, Boston, Massachusetts, 1997. [3] EXPRESSION Homepages. http://www.ics.uci.edu/~express/ [4] Peter Grun, Ashok Halambi, Asheesh Khare, Vijay Ganesh, Nikil Dutt and Alex Nicolau, “EXPRESSION: An ADL for System Level Design Exploration”, Technical Report, Sep 1998. [5] P. Biswas, S. Pasricha, P. Mishra, A. Shrivastava, N. Dutt, A. Nicolau, “EXPRESSION User Manual,” version 1.0, May 28, 2003. [6] Prabhat Mishra, Nikil Dutt and Alex Nicolau, “Functional Abstraction driven Design Space Exploration of Heterogeneous Programmable Architectures”, ISSS 2001. [7] Ashok Halambi, Aviral Shrivastava, Nikil Dutt and Alex Nicolau, “A Customizable Compiler Framework for Embedded Systems”, SCOPES 2001. [8] Prabhat Mishra, Frederic Rousseau, Nikil Dutt, Alex Nicolau, ”Architecture Description Language Driven Design Space Exploration in the Presence of Coprocessors”, SASIMI 2001. [9] Ashok Halambi, Peter Grun, Vijay Ganesh, Asheesh Khare, Nikil Dutt and Alex Nicolau, “EXPRESSION: A Language for Architecture Exploration through Compiler/Simulator Retargetability”, DATE 1999. [10] Ashok Halambi , Peter Grun , Vijay Ganesh , Asheesh Khare , Nikil Dutt , Alex Nicolau, EXPRESSION: a language for architecture exploration through compiler/simulator retargetability, Proceedings of the conference on Design, automation and test in Europe, p.100-es, January 1999, Munich, Germany. [11] George Hadjiyiannis , Silvina Hanono , Srinivas Devadas, “ISDL: an instruction set description language for retargetability”, Proceedings of the 34th annual conference on Design automation, p.299-302, June 09-13, 1997, Anaheim, California, United States [12] A. Hoffmann, T. Kogel, et al. “A Novel Methodology for the Design of Application-Specific Instruction-Set Processors (ASIP) using a Machine Description Language”. IEEE Transactions on Computer-Aided Design, Nov. 2001. [13] V.Zivojnovic, S. Pees, and H. Meyr. “LISA – machine description language and generic machine model for HW/SW co-design,” IEEE, December 1996. [14] Oliver Schliebusch , Andreas Hoffmann , Achim Nohl , Gunnar Braun , Heinrich Meyr, “Architecture Implementation Using the Machine Description Language LISA,” Proceedings of the 2002 conference on Asia South Pacific design automation/VLSI Design, p.239, January 07-11, 2002 [15] Mark R. Hartoog , James A. Rowson , Prakash D. Reddy , Soumya Desai , Douglas D. Dunlop , Edwin A. Harcourt , Neeti Khullar, “Generation of software tools from processor descriptions for hardware/software codesign”, Proceedings of the 34th annual conference on Design automation, p.303-306, June 09-13, 1997, Anaheim, California, United States [16] M. Freericks, “The nML machine description formalism”. Technical Report TR SM-IMP/DIST/08, TU Berlin CS Dept, 1993. [17] A. Fauth, J. Van Praet, M. Freericks, “Describing Instruction Set Processors Using nML”. European Design and Test Conference, 03, 1995, Paris, France. [18] A. Fauth, “Beyond Tool-Specific Machine Descriptions”. Berlin Technical University, 1995, Berlin Germany. [19] Tony Mason, John Levine, Doug Brown, “lex & yacc,” second edition, ISBN: 1-56592-000-7, October 1992. [20] “GCC 3.3.1 User Manual.” Free Software Foundation, 2004. [21] Richard M. Stallman. “GNU Compiler Collection Internals.” http://gcc.gnu.org/onlinedocs/gccint/ [22] Richard M. Stallman. “Using and Porting GCC.” Free Software Foundation, September 1994. [23] Hans-Peter Nilsson, “Porting GCC for Dunces,” May 21, 2000. [24] Prashant Pogde, “Retargetable Code Generation Using Sim-nML description”, Apr 2000, Department of Computer Science & Engineering, Indian Institute of Technology, Kanpur. [25] David A. Patterson, John L. Hennessy, “Computer Organization & Design”, 2nd Edition, 1997, San Francisco, California. [26] Li-Feng Lin, “Integrating ADL-family Languages into Machine Description of GNU GCC for Reconfigurable Processor Core”, July 2004, Department of Computer Science, National Tsing Hua University. [27] Weihua Sheng, Jianjiang Ceng, Manuel Hohenauer, et al. “A Novel Approach for Flexible and Consistent ADL-driven ASIP Design,” Proceedings of the 41st annual conference on Design Automation, June 7-11, 2004, San Diego, California, USA. [28] C. W. FRASER AND D. R. HANSON, “A retargetable compiler for ANSI C,” Re- search Report CS-TR-303-91, Department of Computer Science, Princeton University, Princeton, N.J., February 1991. [29] S. Bashford et d., 'The MIMOLA Language Version 4.1', Technical Report, LehrstuhI Informatik XII, Univ. Dortmund, September 1994. [30] SPAM Compiler Users Manual. SPAM Research Group. http://www.ee.princeton.edu/spam/ [31] Trimaran Home Page, http://www.trimaran.org [32] CoSy Compiler Development System. http://www.ace.nl/products/cosy.html | |
| dc.identifier.uri | http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/38348 | - |
| dc.description.abstract | 隨著 SoC 的流行以及晶片製造技術的進步,嵌入式系統的功能越來越龐大而且上市時間的壓力也越來越緊湊。在這個情況下,為了系統的效能以及更短的生產週期,ASIP (application specific instruction-set processors) 以及硬體架構描述語言 ADL (architecture description language) 的使用是一個必然的趨勢。在每一個硬體架構的評估流程中,必需將應用程式依照新的架構重新編譯並執行以取得效能的測試數據,因此編譯器依照硬體的重新移植變成非常重要的課題。一般的做法是以手動的方式將現有的編譯器重新打造,或者利用可重標地編譯器 (retargetable compiler) 依照硬體描述即時地產生執行檔,但是前者需要大量的人力反覆實作,而後者會使得執行的速度變慢。本論文的目的在於利用 GCC 的可重標地的特性,將硬體的架構描述檔轉換成GCC 移植時所必需提供的機器描述檔 (machine description),並討論轉換時所遇到的相關問題及限制。最後我們以本論文執行時所遇到的問題提出一些對硬體架構描述語言的建議,可以在未來設計或修改硬體架構描述語言時做為參考。 | zh_TW |
| dc.description.abstract | 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. | en |
| dc.description.provenance | Made available in DSpace on 2021-06-13T16:31:04Z (GMT). No. of bitstreams: 1 ntu-94-R92922018-1.pdf: 431268 bytes, checksum: 42840ef8ac628eceeafb65589a94e349 (MD5) Previous issue date: 2005 | en |
| dc.description.tableofcontents | 摘要 i
Abstract iii Contents v List of Figures vii List of Tables ix Listings xi Chapter 1 Introduction 1 1.1 Research Motivation 1 1.2 Related Research 1 1.2.1 Retargetable Compilers 2 1.2.2 Integrating ADL with GCC 4 1.3 Thesis Organization 4 Chapter 2 Architecture Description Language 5 2.1 Functionalities of ADL 5 2.2 EXPRESSION ADL 7 2.2.1 Functionality of EXPRESSION 7 2.2.2 Sections of EXPRESSION 9 2.2.3 Compiler Support of EXPRESSION 10 Chapter 3 GNU Compiler Collection 13 3.1 Passes of the GCC Compiler 13 3.2 Front End: From Source Program to Tree Representation 14 3.3 Middle End: From Tree Representation to RTL Rpresentation 16 3.4 Back End: From RTL Representation to Assembly Generation 17 3.5 Machine Description 18 3.5.1 Format of define_insn and define_expand 18 3.5.2 Example and Discussion 19 3.5.3 Summary of define_insn and define_expand 22 3.6 Porting GCC to a New Architecture 23 Chapter 4 Strategy of the Design 25 4.1 Overall Strategy 25 4.1.1 Cross-Compilation 25 4.1.2 Design Process 26 4.2 Design of MdGen 27 4.3 Design of MdMerger 28 4.4 Applying Scenarios 30 Chapter 5 MdGen Implementation 33 5.1 Overall Structure 33 5.2 Parsing EXPRESSION ADL File 34 5.3 Generation of Name of ‘define_insn’ or ‘define_expand’ 34 5.4 Generation of the RTL-template 35 5.4.1 Main Structure of RTL-template 35 5.4.2 Matching GENERIC Assembly with Standard Name 36 5.4.3 Predicates and Constraints of RTL Template 37 5.5 Generation of the Assembly Output 38 5.6 Generation of the Attribute Settings 38 5.7 Generation of Incomplete Patterns 39 5.8 Generation of Optimization Patterns 40 Chapter 6 MdMerger Implementation 41 6.1 Strategy of MdMerger 41 6.2 Parsing MD Files 41 6.3 Comparison of Two RTXes 42 6.4 Implementation of MdMerger 43 Chapter 7 Verification Setup and Results 45 7.1 Environment Setup 45 7.1.1 Building Assembler and Linker Using Binutils 46 7.1.2 Build a Cross-Compiler Using GCC 46 7.1.3 Build a Simulator 47 7.2 Verification Setup 47 7.3 Verification Result 50 Chapter 8 Proposal for an ADL 53 8.1 Instruction Set Architecture Information 53 8.1.1 Opcode 54 8.1.2 Assembly Format 55 8.1.3 Special Constraint 55 8.1.4 Instruction Semantics 55 8.2 Completeness of Machine Description 57 8.2.1 Minimum Standard Name 57 8.2.2 Completeness of Tree Representation 59 Chapter 9 Conclusion and Future Work 61 9.1 Conclusion 61 9.2 Future Work 61 References 63 | |
| dc.language.iso | en | |
| dc.subject | 編譯器 | zh_TW |
| dc.subject | 移植 | zh_TW |
| dc.subject | GCC | en |
| dc.subject | ASIP | en |
| dc.subject | compiler | en |
| dc.subject | porting | en |
| dc.title | ASIP 的GCC 移植工具 | zh_TW |
| dc.title | A GCC Porting Tool for Application Specific Instruction Processor | en |
| dc.type | Thesis | |
| dc.date.schoolyear | 93-2 | |
| dc.description.degree | 碩士 | |
| dc.contributor.oralexamcommittee | 王勝德(Sheng-De Wang),吳樂群(Le-Chun Wu) | |
| dc.subject.keyword | 編譯器,移植, | zh_TW |
| dc.subject.keyword | GCC,ASIP,compiler,porting, | en |
| dc.relation.page | 65 | |
| dc.rights.note | 有償授權 | |
| dc.date.accepted | 2005-07-12 | |
| dc.contributor.author-college | 電機資訊學院 | zh_TW |
| dc.contributor.author-dept | 資訊工程學研究所 | zh_TW |
| 顯示於系所單位: | 資訊工程學系 | |
文件中的檔案:
| 檔案 | 大小 | 格式 | |
|---|---|---|---|
| ntu-94-1.pdf 未授權公開取用 | 421.16 kB | Adobe PDF |
系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。
