簡易檢索 / 詳目顯示

研究生: 張育賓
Yu-Pin Chang
論文名稱: ARM9DMI微處理器智財設計與驗證
The Design and Verification of an ARM9 Microprocessor IP with embedded-ICE Macrocell
指導教授: 林銘波
Ming-Bo Lin
口試委員: 陳郁堂
Yie-Tarng Chen
呂紹偉
Shao-Wei Leu
白英文
Ying-Wen Bai
詹景裕
Ching-Yuh Jan
學位類別: 碩士
Master
系所名稱: 電資學院 - 電子工程系
Department of Electronic and Computer Engineering
論文出版年: 2006
畢業學年度: 94
語文別: 中文
論文頁數: 85
中文關鍵詞: 嵌入式硬體模擬器32位元嵌入式微處理器
外文關鍵詞: embeddedICE, microprocessor
相關次數: 點閱:201下載:1
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報

在現代化的微處理器中,皆具備嵌入式硬體模擬器的功能,因此在本論文中,我們設計與實現了一個適宜先前設計的ARM v4指令集相容的微處理器智財(Intellectual Property, IP)的嵌入式硬體模擬器巨集單元(embedded In-Circuit-Emulator Macrocell)─Proto-ARM9DMI,並且自行開發整合發展環境(Proto-ARM9DMI Integrated Developed Environment)以提供使用者除錯的介面。
在目前具備嵌入式硬體模擬器功能的微處理器,大多使用IEEE 1149.1邊緣掃描架構為嵌入式硬體模擬器的輸入輸出埠介面,Proto-ARM9DMI亦使用IEEE 1149.1標準來設計此嵌入式硬體模擬器巨集單元。基本上架構分成Proto-ARM9M、嵌入式硬體模擬器巨集單元、三條邊緣掃描暫存器串鏈(boundary- scan-chains registers)與一個測試存取埠控制器(TAP controller)。三條邊緣掃描暫存器串鏈圍繞著Proto-ARM9M與嵌入式硬體模擬器巨集單元,其中的二條邊緣掃描暫存器串鏈用來存取兩者之內部暫存器,再藉由測試存取埠控制器與JTAG介面與外部除錯器(Debugger)相互傳遞資料進而實現晶片除錯的功能。另一條邊緣掃描暫存器串鏈的功用則是測試晶片內部元件(EXTEST)或是內部核心測試(INTEST)。
Proto-ARM9DMI微處理器已分別在Xilinx的Spartan-3 XC3S1500-4FG676 FPGA以及TSMC 0.35 μm元件庫上實現。在FPGA設計部分,消耗了11346個LUT,最高操作頻率為18 MHz,並在實驗板上撘配自行開發的整合發展環境成功的驗證所有的測試程式與除錯方式。在元件庫方面,核心面積為3837.5 μm × 3844.8 μm,等效閘數(gate count)為68513閘,整體晶片面積則為5266 μm × 5266 μm,在SS(Slow NMOS Slow PMOS model)模式下操作頻率為33.33 MHz,平均消耗功率為136.6 mW~216.1 mW。


In the modern MPUs, the embeddedICE (In-circuit-Emulator) is prevalent. Therefore, in this thesis we propose an embedded-ICE macrocell to facilitate the ARM v4 ISA compatible microprocessor IP (Intellectual Property), Proto-ARM9DMI, designed previously. Moreover, we also develop an IDE (Integrated Developed Environment), the Proto-ARM9DMI IDE, to provide the user’s interface for debugging the system.
The present MPUs having embedded-ICE function usually use IEEE 1149.1 boundry scan architecture for the input/output interface of embeddedICE. Similarly, the embedded-ICE macrocell in the Proto-ARM9DMI is designed on the basis of IEEE 1149.1 standard. Basically, the Proto-ARM9DMI consists of the Proto-ARM9M, embedded-ICE macrocell, three boundry-scan-chain registers, and a TAP controller. Three boundry-scan-chain registers surround the Proto-ARM9M and the embedded-ICE macrocell. Two of which are used for accessing the registers in the Proto-ARM9M and the embedded-ICE macrocell. Through them the Proto-ARM9DMI can communicate with external debugger controlled by the TAP controller via JTAG interface. Hence, the debug function can be accomplished. The other boundary-scan-chain registers allows inter-device testing (EXTEST) or serial teseting of the core (INTEST).
Proto-ARM9DMI has been implemented and verified with Xilinx Spartan-3 XC3S1500-4FG676 FPGA and TSMC 0.35 μm cell library, respectively. In the FPGA part, it takes 11346 LUTs and operates at the maximum working frequency of 18 MHz. Furthermore, all of the testing programs and debug functions are run successfully in FPGA development board and Proto-ARM9DMI IDE. In the cell-based part, the core occupies 3837.5 μm × 3844.8 μm, which is approximately equivalent to 68513 gates, and the whole chip occupies 5266 μm × 5266 μm. Proto-ARM9DMI consumes about 136.6 mW~216.1 mW in the SS(Slow NMOS Slow PMOS model)simulation condition at the maximum working frequency of 33 MHz.

第1章 緒論 1 1.1 研究動機 1 1.2 ARM微處裡器相關研究發展現況 2 1.3 章節編排 2 第2章 Proto-ARM9M介紹 3 2.1 程式者模型(PROGRAMMER’S MODEL) 3 2.2 指令集架構(INSTRUCTION SET ARCHITECTURE) 6 2.3 PROTO-ARM9M資料路徑 10 2.4 時序說明 12 2.5 控制方法 13 第3章 Proto-ARM9DMI系統設計 14 3.1 IEEE 1149.1架構簡介 14 3.1.1 測試存取埠 15 3.1.2 測試存取埠控制器 16 3.1.3 指令暫存器 18 3.1.4 測試資料暫存器 20 3.2 PROTO-ARM9DMI 系統架構設計 22 3.2.1 Proto-ARM9DMI JTAG指令 25 3.2.2 Proto-ARM9DMI測試資料暫存器 26 3.3 PROTO-ARM9DMI 嵌入式硬體模擬器巨集單元設計 27 3.4 PROTO-ARM9DMI 嵌入式硬體模擬器巨集單元操作狀態 32 第4章 Proto-ARM9DMI除錯時序設計 34 4.1 斷點除錯時序 34 4.2 觀測點除錯時序 35 4.3 外部除錯要求的時序 36 4.4 中斷向量捕獲的時序與處理 37 4.5 單步執行的時序與處理 39 4.6 離開除錯狀態時序與處理 41 第5章 Proto-ARM9DMI矽智財的設計與驗證 43 5.1 暫存器轉移層的設計驗證流程 43 5.2 測試任務與測試程式之程式碼涵蓋率(CODE COVERAGE) 45 5.2.1 Proto-ARM9DMI測試任務 45 5.2.2 Proto-ARM9DMI測試程式 46 第6章 FPGA的雛型驗證與結果分析 50 6.1 FPGA設計實現與驗證流程 50 6.2 FPGA設計實現與驗證流程 51 6.3 FPGA驗證系統之設計 52 6.4 PROTO-ARM9DMI整合發展環境的操作介紹 53 第7章 元件庫的實現與效能評估 56 7.1 元件庫設計的實現與驗證流程 56 7.2 合成 56 7.3 DFT合成與ATPG結果分析 57 7.4 自動化佈局 61 第8章 結 論 67 參考文獻 68 附錄A 測試任務動作流程說明 69 附錄B Proto-ARM9DMI掃描暫存器串鏈0的次序 73

[1] Steve Furber, ARM System-on-Chip Architecture, Addison-Wesley, 2000.
[2] http://www.arm.com
[3] ARM Architecture Reference Manual, ARM Ltd, 2000
[4] http://www.linleygroup.
[5] ARM9TDMI Technical Reference Manual, ARM Ltd, 2000
[6] J. L. Hennessy and D. A. Patterson, Computer Architecture: A Quantitative Approach, 3rd ed., Morgan Kaufmann, 2003.
[7] PrimeTime User Guide: Advanced Timing Analysis, Synopys Ltd, 2003.
[8] 3.3 V 64 K × 32/36 Flow Through Synchronous SRAM Data Sheet, Alliance Semiconductor Ltd, 2005.
[9] J. L. Hennessy and D. A. Patterson, Computer Organization and Design: The Hardware / Software interface, 3rd ed., Morgan Kaufmann, 2003.
[10] The ARM7TDMI Debug Architecture Application Note 28, Advanced RISC Machines Ltd (ARM), Dec. 1995.
[11] Using EmbeddedICE Application Note 31, Advanced RISC Machines Ltd (ARM), Dec. 1995.
[12] Janick Bergeron, Writing Testbenches Functional Verification of HDL Models, MA: Kluwer Academic Publishers, 2000.
[13] IEEE Standard Test Access Port and Boundary-scan Architecture, IEEE Std 1149.1-2001, 2001.
[14] Guide to DesignWare Library Documentation, Synopsys, Inc. May. 2002.
[15] PrimePower Maunual, Synopys Ltd, 2003.
[16] 施宏霖,具可配置能力之8位元微處裡器智產產生器設計與驗證,國立台灣科技大學電子工程系, 2004。
[17] 林晉禾, ARM v4指令集架構相容之微處裡器智財設計與驗證,國立台灣科技大學電子工程系, 2005。

QR CODE