研究生: |
李炘彥 |
---|---|
論文名稱: |
含浮點運算類似ARM微控制器之實驗平台設計 Experimental Platform design for ARM-like Microcontroller with Floating-point Capability |
指導教授: |
張吉正
Chang, Chi-Jeng 黃奇武 Huang, Chi-Wu |
學位類別: |
碩士 Master |
系所名稱: |
工業教育學系 Department of Industrial Education |
論文出版年: | 2006 |
畢業學年度: | 94 |
語文別: | 中文 |
論文頁數: | 81 |
中文關鍵詞: | ARM微處理器 、嵌入式系統 |
英文關鍵詞: | FPGA, VHDL |
論文種類: | 學術論文 |
相關次數: | 點閱:230 下載:11 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
隨著資訊科技進步,在嵌入式系統(Embedded System)領域中以ARM作微控制器(microcontroller)之系統在實用(PDA、Smart Phone)與教學上應用頗為廣泛,市面上討論ARM各系列CPU的應用(包括與周邊軟硬體介面之論述與書籍繁多,但討論ARM CPU內部結構與硬體設計著述者屬屈指可數,本論文設計一個類似ARM架構的CPU,並將電路下載至一個含80萬個邏輯閘數
(Gate Count)的FPGA晶片上配合相關I/O實驗版作驗證,期能對以ARM CPU為主之嵌入式系統教學,能有從內至外有較充分的整體瞭解。
本論文使用硬體描述語言VHDL,設計一個32位元類似ARM微處理器(含浮點輔助運算器),實作指令共33個指令,首先參考ARM 指令集編碼與設定格式以及ARM微處理器的運作流程,設計出ARM微處理器初步的架構,先設計基本的指令(如資料處理指令),經過指令模擬(Simulation)測試成功後,再加入其他指令,由簡入繁,逐步完成,之後將設計模擬完成的ARM微處理器電路下載燒錄於Xilinx Vertex系列晶片中,並加入相關週邊應用介面I/O電路設計,與週邊顯示電路實體連接,完成FPGA(Field Programmable Gate Array)實驗平台設計架構。最後,利用設計完成的指令集撰寫相關應用程式,來驗證整個ARM微處理器的運作。
As technology developed, the ARM CPU became the mainstream in the embedded system. There are many books and works about the application of every CPU series in ARM (including PDA, Smart Phone) and hardware software interface, but there are a few works talking about the CPU inner structure and hardware design. This thesis designed a CPU which resembles the ARM structure and downloaded the circuit into a FPGA chip which contains 800 thousand gate counts. Also, the thesis will demonstrate the I/O experimental type and hope to wholly realize the embedded system instruction based mainly on ARM CPU.
This thesis used the VHDL, a hardware descriptor language, to design a 32 byte resembling ARM microprocessor (including floating point coprocessor) and contained 33 working commands. At the first step, this thesis referred to the ARM instruction set decoder, defined format and the operating process of ARM microprocessor. At this stage, I designed the initial structure of the ARM microprocessor and essential commands (ex. Data operation command). After the command simulation test, I added other commands to finish the design. At the second step, the ARM microprocessor which passed the command simulation test was burned on the Xilinx Vertex chip and was added the other directed I/O circuit design. The FPGA (Field Programmable Gate Array) experimental platform design was finished after the ARM microprocessor combined the Peripheral display circuit. Finally, I wrote the correlative application programs by using the instruction set to verify the whole ARM microprocessor.
[1]A. A. Sagahyroon, “From AHPL to VHDL: a course in hardware description languages,” Education, IEEE Transactions on ,Volume: 43 ,Issue: 4 ,Nov. 2000. Pages:449 – 454.
[2]ARM. ARM7TDMI Technical Reference Manual, 2001.
[3]Chang, C.J., Tsai, C.A., Using XILINX for Computer Architecture Laboratory. Engineering Education for the 21st century, Conference Proceedings, pp. 31-34, Sheffield, England, 17-20 April, 2000.
[4]Chi-Jeng Chang, C-Y Huang, H-C Su, Z-Y Huang, Y-P Lin , “FPGA Application in Computer Design by Using Group Instruction Driven Approach for Educational Training,” 1st North-East Asia International Conference on Engineering and Technology Education, November 10, 2003. pp.73-76.
[5]Chi-Jeng Chang, Chi-Wu Huang, Ying-Ping Lin, Zen-Yi Huang and Teng_kuei-Hu, “FPGA Platform for CPU Design and Applications” Accepted by IEEE-NANO 2005, July 11-15, 2005, Nagoya, Japan.
[6]Dr. Michael G. Wahl, “Computer Architecture CS 3339,” http://iseran.rs.uni-siegen.de/cs_3339/index_ca.html
[7]Furber S. ”ARM System-On-Chip Architecture,” 2nd edition, Addison Wesley, 2000.
[8]H. Ochi, “ASAver.1: an FPGA-based education board for computer architecture/system design,” Design Automation Conference 1997. Proceedings of the ASP-DAC '97. Asia and South Pacific, 28-31 Jan. 1997, pp 157-165.
[9]M.Holland, J. Harris, S. Hauck, “Harnessing FPGA for Computer Architecture Education” Accepted by IEEE-MSE 2003, June 1-2, 2003, pp.12-13.
[10]M. Pearson, D. Armstrong, T. McGregor, “Design of a processor to support the teaching of computer systems,” Electronic Design, Test and Applications, 2002. Proceedings. The First IEEE International Workshop on , 29-31 Jan. 2002, pp 240-244.
[11]N. L. V. Calazans, F. G. Moraes, “Integrating the teaching of computer organization and architecture with digital hardware design early in undergraduate courses,” Education, IEEE Transactions on ,Volume: 44 ,Issue: 2 ,May 2001. Pages:109 – 119.
[12]R. B. Brown, R. J. Lomax, G. Carichner, A. J. Drake, “A Microprocessor Design Project in an Introductory VLSI Course,” Education, IEEE Transactions on ,Volume: 43 ,Issue: 3 ,Aug. 2000 .Pages:353 – 361.
[13]Seal D. “ARM Architectural Reference Manual,” 2nd edition, Addison Wesley, 2000.
[14]Yul Chu, “A Simple Project for Teaching Instruction Set Architecture,” Advanced Learning Technologies, 2005. ICALT 2005. Fifth IEEE International Conference on ,July 5-8, 2005, Page:69 - 71
[15]林瑛萍,“CPU設計與教學之FPGA硬體平台製作-以MIPS為例”,台灣師範大學工業教育所碩士論文,2005。
[16]蘇暉晴,“用FPGA晶片作32位元類似ARM之微控制器設計”,台灣師範大學工業教育所碩士論文,2003。
[17]蔡雅雅,“32-bit RISC CPU實驗平台製作設計”,中正大學電機工程研究所碩士論文,2001。
[18]李駒光、許永和,“ARM7-S3C4510B為價購之嵌入式系統與應用”。長高科技圖書公司,2004。
[19]林灶生、劉紹漢,“最新VHDL晶片設計-使用ISE、MODELSIM發展系統”。全華科技圖書公司,2004。
[20]林傳生,“使用VHDL電路設計語言之數位電路設計”,儒林圖書公司,2000。
[21]張吉正、林建成,“FPGA邏輯設計實驗”,宏友圖書公司,2001。
[22]黃文吉,“VHDL基本程式寫作及應用”。儒林圖書公司,2002。
[23]陳慶逸,“VHDL數位電路設計實務教本修訂版”。儒林圖書公司,2003。
[24]新華電腦股份有限公司,“ARM內核嵌入式SOC原理-以ARM7TDMI S3C4510B為例”。全華科技圖書公司,2004。
[25]溫宏仁、李隆財,“SOC系統晶片軟硬體原理”。全華科技圖書公司,2003。
[26]探矽工作室,“ARM7原理與實作-以網路SOC為例”。宏友圖書公司,2003。
[27]鄭信源,“VHDL數位電路設計—基礎篇”。儒林圖書公司,2003。
[28]鄭信源,“VHDL數位電路設計—進階篇”。儒林圖書公司,2003。
[29]劉慕德,“嵌入式微電腦系統實習ARM與LINUX”。全華科技圖書公司,2003。
[30]David A. Patterson & John L. Hennessy,曾志光、鄭光近譯,“計算機組織與設計軟硬體介面”,碁峰資訊,2000。
[31]Frank Vahid ,& Tony Givargis,王煌城譯, “嵌入式系統設計”。全華圖書公司,2003。
[32]M. Morris Mano ,& Charles R. Kime,江昌皚、范丙林譯,“邏輯與計算機設計”,東華書局,2000。
[33]Computer Organization Architecture Designing for Performance,沈雍超編譯,“計算機組織與結構效能設計”,高立圖書有限公司,2004。