| 研究生: |
黃琨懿 Huang, Kuen-Yi |
|---|---|
| 論文名稱: |
針對相容於ARM9嵌入式處理器之軟體測試 Software-Based Testing for ARM9-Compatible Embedded Processor |
| 指導教授: |
李昆忠
Lee, Kuen-Jong |
| 學位類別: |
碩士 Master |
| 系所名稱: |
電機資訊學院 - 電機工程學系 Department of Electrical Engineering |
| 論文出版年: | 2006 |
| 畢業學年度: | 94 |
| 語文別: | 英文 |
| 論文頁數: | 57 |
| 中文關鍵詞: | 軟體測試 、嵌入式處理器 |
| 外文關鍵詞: | ARM9, embedded processor, software-based testing |
| 相關次數: | 點閱:50 下載:2 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
在現今半導體製程的技術下,一個完整的電路系統內的所有組成的電路元件幾乎都可以被整合進單晶片系統。由於處理器的電路日益複雜,導致處理器測試難度增高,故在單晶片系統內的嵌入式處理器測試上變得更困難。傳統上以掃描鍊為基礎的測試架構,將會造成硬體電路、測試成本的增加與電路效能的降低。因此軟體測試方式幾乎不對硬體電路和測試成本產生影響的特性,則提供嵌入式處理器一另個選擇來有效解決以上問題。
在此論文中,我們提出一個嵌入式處理器的軟體測試方法。此軟體測試方法主要根據處理器的指令集與管線架構來產生測試程式。在此方式之下的特點不僅不會為了電路的可測試性而改變處理器的原始電路設計,而且只利用處理器的架構與所使用的指令集來對其內部所組成的電路元件做測試。我們不需要知道gate-level的資訊就可產生測試程式,且利用這個測試程式我們能達到不錯的fault coverage。
為了驗證該測試方法的效果,我們用ERM9處理器作為測試樣本。ERM9(增強型精簡指令運算處理器)是以ARMv4T的指令集來設計。實驗結果顯示此為一個可行的方式來解決嵌入式處理器測試問題。
With rapidly advanced semiconductor manufacturing technology, almost all components of a complete system can be integrated into a system-on-chip (SOC) today. However, the poor controllability and observability of processors make the testing of SOC more and more difficult. Traditional scan-based test architectures applied to an embedded processor result in hardware overhead, and performance degradation. Therefore, software-based testing for embedded processors has been proposed as an effective alternative.
In this thesis, we propose a software-based test methodology that generates an effective test program according to the instruction set architecture and the pipeline architecture of the processor. The advantages of this test methodology are its non-intrusive nature and its capability to use the processor resources and the instruction set to test components of the processor. This test program is generated without knowing gate-level information, and can achieve high fault coverage. To verify the practicability of the method, we use an ERM9 (Enhanced RISC Machine) processor as a benchmark. The ERM9 is designed using the ARMv4 instruction set and 5-stage pipeline architecture. Experimental results show that the proposed method achieves high test efficiency on processor testing.
[1]Chien-Chang Wang, “A Dual RISC Core SoC Platform,” Master Thesis, Department of Electrical Engineering National Cheng Kung University, Tainan, Taiwan, ROC, July 2004.
[2]ARM9 Data Sheet, http://www.arm.com.
[3]S. M. Thatte and Jacob A. Abraham, “Test Generation of Microprocessors,” IEEE Trans. Computers, vol.33, no.6, June 1980, pp. 429-441.
[4]Raghuram S. Tupuri and Jacob A. Abraham, “A Novel Functional Test Generation Method for Processors,” In Proc. International Conference on VLSI Design, January 1997, pp. 540-541.
[5]N. Kranitis, D. Gizopoulos, A. Paschalis, and Y. Zorian, “Instruction-Based Self-Testing of Processor Cores,” In Proc. VLSI Test Symposium, 2002, pp. 223-228.
[6]F. Cormo, M. S. Reorda, G. Squillero and M. Violante, “A Genetic Algorithm-based System for Generating Test Programs for Microprocessor IP Cores,” In Proc. International Conference on Tools with Artificial Intelligence, 2000, pp. 195-198.
[7]A. Burdass, G. Campbell, R. Grisenthwaite, D. Gwilt, P. Harrod and R. York, “Embedded Test and Debug of Full Custom and Synthesisable Microprocessor Cores,” In Proc. European Test Conference, 2000, pp. 17-22.
[8]J. Lee and J. H. Patel, “Hierarchical Test Generation under Architectural Level Functional Constraints,” IEEE Trans. Computer-Aided Design of Integrated Circuits and Systems, vol.15, no.9, Sept. 1996, pp. 1144-1151.
[9]A. Paschalis, D. Gizopoulos, N. Kranitis, M. Psarakis, and Y. Zorian, “Deterministic Software-Based Self-Testing of Embedded Processor Cores,” In Proc. Design, Automation and Test in Europe Conference and Exhibition, 2001, pp. 92-96.
[10]Praveen Parvathala, Kailas Maneparambil, and William Lindsay, “FRITS-A Microprocessor Functional BIST Method,” In Proc. International Test Conference, 2002, pp. 590-598.
[11]J. Shen and Jacob A. Abraham, “Native Mode Functional Test Generation for Processors with Applications to Self Test and Design Validation,” In Proc. International Test Conference, IEEE Press, Piscataway, N. J. , 1998, pp. 990-999.
[12]K. Batcher and C. Papachristou, “Instruction Randomization Self Test for Processor Cores,” In Proc. VLSI Test Symposium, IEEE CS Press, Los Alamitos, Calif., 1999, pp. 34-40.
[13]Li Chen, and Sujit Dey, “Software-Based Self-Testing Methodology for Processor Cores,” IEEE Trans. Computer-Aided Design of Integrated Circuits and System, vol.20, no.3, March 2001, pp. 369-380.
[14]V. M. Vedula and Jacob A. Abraham, “A Novel Methodology for Hierarchical Test Generation using Functional Constraint Composition,” In Proc. High-Level Design Validation and Test Workhop, 2000, pp. 9-14.
[15]Angela Krstic, Li Chen, Wei-Cheng Lai, Kwang-Ting Cheng, and Sujit Dey, “Embedded Software-Based Self-Test for Programmable Core-Based Designs,” IEEE Trans. Design and Test of Computers, July/Aug. 2002, pp. 18-26.
[16]Li Chen, Srivaths Ravi, Anand Raghunathan, and Sujit Dey, “A Scalable Software-Based Self-Test Methodology for Programmable Processors,” In Proc. Design Automation Conference, June 2003, pp. 548-553.
[17]Charles H.-P. Wen, Li-C. Wang, Kwang-Ting Cheng, Kai Yang, Wei-Ting Liu, and Ji-Jan Chen , “On A Software-Based Self-Test Methodology and Its Application,” IEEE Trans. VLSI Test Symposium, May 2005, pp. 107-113.
[18]N. Kranitis, A.Paschalis, and D. Gizopoulos, “Software-Based Self-Test of Embedded Processors,” IEEE Trans. Computers, vol.54, no.4, April 2005, pp. 461-475.
[19]M. Hatzimihail, M. Psarakis, G. Xenoulis, D. Gizopoulos, and A.Paschalis, “Software-Based Self-Test for Pipelined Processors: A Case Study,” IEEE Trans. International Symposium on Defect and Fault Tolerance in VLSI Systems, Oct. 2005, pp. 535-543.
[20]Min-Chien Chen, “A Hybrid Method on Functional Testing for Embedded Process Cores,” Master Thesis, Department of Electrical Engineering National Cheng Kung University, Tainan, Taiwan, ROC, June 2003.
[21]Cuei-Ling Hsieh, “Design and Test of an Embedded Processor Based on ARM9 Structure,” Master Thesis, Department of Electrical Engineering National Cheng Kung University, Tainan, Taiwan, ROC, July 2004.
[22]Nilanjan Mukherjee, “Built-In Self-Test for Functional Blocks in Data-Path Architectures,” Doctor Thesis, McGill University, Montreal Department of Electrical Engineering, Canada, Oct. 1996.