| 研究生: |
許宏銘 Hsu, Hung-Min |
|---|---|
| 論文名稱: |
全關聯式資料快取記憶體之軟體測試方法 Software-Based Test Methodology for Fully Associative Data Cache |
| 指導教授: |
李昆忠
Lee, Kuen-Jong |
| 學位類別: |
碩士 Master |
| 系所名稱: |
電機資訊學院 - 電機工程學系 Department of Electrical Engineering |
| 論文出版年: | 2006 |
| 畢業學年度: | 94 |
| 語文別: | 英文 |
| 論文頁數: | 67 |
| 中文關鍵詞: | 軟體測試方法 、全關聯式資料快取記憶體 |
| 外文關鍵詞: | fully associative data cache, software-based test methodology |
| 相關次數: | 點閱:121 下載:1 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
過去在測試處理器中的快取記憶體上,常會使用內建式自我測試或是可測試設計的技術來測試快取記憶體中的記憶體和控制邏輯。然而這些技術會在電路中加上測試用的電路,影響到快取記憶體的效能,所以有一種無傷害(non-intrusive)的測試方式「軟體測試方法」被提出來解決快取記憶體測試的問題。軟體測試方法是使用處理器內部自有的元件和指令集來測試快取記憶體,不需要加入額外測試的電路或是修改處理器的設計,因此能在不影響快取記憶體原本的效能下,達到良好的測試品質,所以特別適用於高效能的處理器。過去在文獻上所提出的對快取記憶體的軟體測試方法大多只針對直接映射(direct-mapped)或是集合關連(set associative)的快取記憶體,而鮮少去探討對全關聯式(fully associative)快取記憶體的軟體測試方法。在本論文中,我們針對全關聯式資料快取記憶體中的主要元件,包括記憶體和控制邏輯,提出其軟體測試方法。在記憶體部分,以前並無人討論過內容可定址記憶體(content-addressable memory)的相關軟體測試。在本論文中我們完整地討論如何用軟體的方式去測試內容可定址記憶體,並且提出了一個可以達到很高錯誤涵蓋率的軟體測試方法。而對全關聯式資料快取記憶體中的控制邏輯,我們提出了一個系統化的方式來產生功能性的測試序列,這些功能性的測試序列是針對快取記憶體中的許多功能而開發,包括快取記憶體的基本控制功能以及許多的特殊功能,故為一相當完整之控制邏輯測試序列。
The testing problem of caches in a processor may be addressed using the built-in self-test (BIST) or design-for-test (DFT) techniques. However, the insertion of test circuits required by these techniques would adversely affect the performance of the cache. Hence, the software-based test methodology which uses processor resources to self test the components in the processor is often used for high performance consideration. Previous software-based test schemes mainly deal with the direct-mapped and set associative caches. The testing of the fully associative data cache has seldom been discussed. In this thesis, we propose a novel software-based test methodology for both memory arrays and control logic in the fully associative data cache. For the memory arrays, our main focus is on the content-addressable memory (CAM) that have been used as the tag RAM of the cache and its software-based test issue has not been addressed previously. We shall propose a software-based test method that can achieve very high test quality for the CAM. For the control logic, a systematic approach to develop functional test sequences for various cache functions is proposed. The developed test sequences are shown to be able to comprehensively test the control logic in a fully associative data cache.
[1] A. J. van de Goor, Testing Semiconductor Memories: Theory and Practice. Wiley Publisher, 1991.
[2] A. J. van de Goor and Th J. W. Verhallen, “Functional Testing of Current Microprocessor (applied to the Intel i860TM),” in Proc. Int’l Test Conf., 1992, pp. 684.
[3] ARM Architecture Reference Manual. Available: http://www.arm.com.
[4] ARM922T Technical Reference Manual. Available: http://www.arm.com.
[5] C.-F. Wu, C.-T. Huang, and C.-W. Wu, “RAMSES: A Fast Memory Fault Simulator,” in Proc. Int’l Symp. Defect and Fault Tolerance in VLSI Systems, 1999, pp. 165-173.
[6] D. K. Bhavsar, “A Built-In Self-Test Method for Write-Only Content Addressable Memories,” in Proc. 23th VLSI Test Symp., 2005, pp. 9-14.
[7] J. Sosnowski, “In System Testing of Cache Memories,” in Proc. Int’l Test Conf., 1995, pp. 384-393.
[8] J. Mori, B. Mathew, D. Burns, and Y.-H. Mok, “Testability Features of R10000 Microprocessor,” in Proc. 6th ATS, 1997, pp. 108-111.
[9] J. Zhao, S. Irrinki, M. Puri, and F. Lombardi, “Testing SRAM-Based Content Addressable Memories,” IEEE Trans. Computers, Vol. 49, No. 10, pp. 1054-1063, Oct. 2000.
[10] J.-F. Li, R.-S.Tzeng, and C.-W.Wu, “Testing and Diagnosing Embedded Content Addressable Memoires,” in Proc. 20th VLSI Test Symp., 2002, pp. 389-394.
[11] J. L. Hennessy and D. A. Patterson, Computer Architecture: A Quantitative Approach. Morgan Kaufmann Publishers, ch. 5, 2003.
[12] K. J. Schultz, “Content-Addressable Memory Core Cells: A Survey,” Integration, the VLSI Journal, Vol. 23, 1997, pp. 171-188.
[13] K.-J. Lin and C.-W. Wu, “Testing Content-Addressable Memories Using Functional Fault Models and March-Like Algorithms,” IEEE Trans. Computer Aided Design of Integrated Circuits and Systems, Vol. 19, No. 5, pp. 577-588, May 2000.
[14] K. Pagiamtzis and A. Sheikholeslami, “Content-Addressable Memory (CAM) Circuits and Architectures: A Tutorial and Survey,” IEEE Journal of Solid-State Circuits, Vol. 41, No. 3, pp. 712-727, March 2006.
[15] MIPS32 24K Processor Core Family Software User’s Manual. Available: http://www.mips.com.
[16] P. Mazumder, J. H. Patel, and W. K. Fuchs, “Methodologies for Testing Embedded Content Addressable Memories,” IEEE Trans. Computer-Aided Design, Vol. 7, pp. 11-20, Jan. 1988.
[17] P. R. Sidorowicz and J. A. Brzozowski, “An Approach to Modeling and Testing Memories and its Application to CAMs,” in Proc. 16th VLSI Test Symp., 1998, pp. 411-416.
[18] R. Dekker, F. Beenker, and L.Thijssen, “A Realistic Fault Model and Test Algorithms for Static Random Access Memories,” IEEE Trans. Computer, Vol. 9, No. 6, pp. 567-572, June 1990.
[19] R. S. Fetherson, I. P. Shak, and S. C. Ma, “Testability Features of the AMD-K6 Microprocessor,” IEEE Design & Test of Computers, Vol. 15, Issue 3, pp. 64-69, July-Sept. 1998.
[20] S. Kornauck, L. McNaughton, R. Gibbins, and B. N. Dostie, “A High Speed Embedded Cache Design with Non-Intrusive BIST,” in Proc. Int’l Workshop Memory Technology, Design, and Testing, 1994, pp. 40-45.
[21] S. M. Al-Harbi and S. K. Gupta, “A Methodology for Transforming Memory Tests for In-System Testing of Direct-Mapped Cache Tags,” in Proc. 16th VLSI Test Symp., 1998, pp. 394-400.
[22] X. Du, S. M. Reddy, J. Rayhawk, and W.-T. Cheng, “Testing Delay Faults in Embedded CAMs,” in Proc. 12th Asian Test Symp., 2003, pp. 378-383