Presenter: Jyun-Yan Li A hybrid approach to the test of cache memory controllers embedded in SoCs’ W. J. Perez, J. Velasco Universidad del Valle Grupo.

Slides:



Advertisements
Similar presentations
Computer-System Structures Er.Harsimran Singh
Advertisements

COMP375 Computer Architecture and Organization Senior Review.
Presenter: Jyun-Yan Li On the Generation of Functional Test Programs for the Cache Replacement Logic W. J. Perez H. Universidad del Valle Grupo de Bionanoelectrónica.
SE-292 High Performance Computing Memory Hierarchy R. Govindarajan
Topics covered: Memory subsystem CSE243: Introduction to Computer Architecture and Hardware/Software Interface.
Practical Caches COMP25212 cache 3. Learning Objectives To understand: –Additional Control Bits in Cache Lines –Cache Line Size Tradeoffs –Separate I&D.
Computer System Overview
Presenter: Jyun-Yan Li A Software-Based Self-Test Methodology for On-Line Testing of Processor Caches G. Theodorou, N. Kranitis, A. Paschalis, D. Gizopoulos.
How caches take advantage of Temporal locality
1 Lecture 2: Review of Computer Organization Operating System Spring 2007.
Review CPSC 321 Andreas Klappenecker Announcements Tuesday, November 30, midterm exam.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage.
Energy Evaluation Methodology for Platform Based System-On- Chip Design Hildingsson, K.; Arslan, T.; Erdogan, A.T.; VLSI, Proceedings. IEEE Computer.
1 Computer System Overview OS-1 Course AA
1 CSIT431 Introduction to Operating Systems Welcome to CSIT431 Introduction to Operating Systems In this course we learn about the design and structure.
Memory: Virtual MemoryCSCE430/830 Memory Hierarchy: Virtual Memory CSCE430/830 Computer Architecture Lecturer: Prof. Hong Jiang Courtesy of Yifeng Zhu.
An Intelligent Cache System with Hardware Prefetching for High Performance Jung-Hoon Lee; Seh-woong Jeong; Shin-Dug Kim; Weems, C.C. IEEE Transactions.
Operating Systems Lecture 1 Crucial hardware concepts review M. Naghibzadeh Reference: M. Naghibzadeh, Operating System Concepts and Techniques, iUniverse.
1 Presenter: Chien-Chih Chen Proceedings of the 2002 workshop on Memory system performance.
1 Computer System Overview Chapter 1 Review of basic hardware concepts.
General System Architecture and I/O.  I/O devices and the CPU can execute concurrently.  Each device controller is in charge of a particular device.
Development. Development Environment Editor Assembler or compiler Embedded emulator/debugger IAR Embedded Workbench Kickstart Code Composer Essentials.
공과대학 > IT 공학부 Embedded Processor Design Chapter 8: Test EMBEDDED SYSTEM DESIGN 공과대학 > IT 공학부 Embedded Processor Design Presenter: Yvette E. Gelogo Professor:
Intel
Presenter: Jyun-Yan Li A software-based self-test methodology for in-system testing of processor cache tag arrays G. Theodorou, N. Kranitis, A. Paschalis.
Topics covered: Memory subsystem CSE243: Introduction to Computer Architecture and Hardware/Software Interface.
Computer Architecture Lecture 28 Fasih ur Rehman.
A Novel Cache Architecture with Enhanced Performance and Security Zhenghong Wang and Ruby B. Lee.
Computer System Overview Chapter 1. Operating System Exploits the hardware resources of one or more processors Provides a set of services to system users.
Samsung ARM S3C4510B Product overview System manager
Instituto de Informática and Dipartimento di Automatica e Informatica Universidade Federal do Rio Grande do Sul and Politecnico di Torino Porto Alegre,
Presenter: Jyun-Yan Li Systematic Software-Based Self-Test for Pipelined Processors Mihalis Psarakis Dimitris Gizopoulos Miltiadis Hatzimihail Dept. of.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 2: Computer-System Structures Computer System Operation I/O Structure.
CACHE MEMORY Cache memory, also called CPU memory, is random access memory (RAM) that a computer microprocessor can access more quickly than it can access.
Lecture 19: Virtual Memory
Presenter: Jyun-Yan Li Effective Software-Based Self-Test Strategies for On-Line Periodic Testing of Embedded Processors Antonis Paschalis Department of.
Presenter: PCLee. Semiconductor manufacturers aim at delivering high-quality new devices within shorter times in order to gain market shares.
3 rd Nov CSV881: Low Power Design1 Power Estimation and Modeling M. Balakrishnan.
Garo Bournoutian and Alex Orailoglu Proceedings of the 45th ACM/IEEE Design Automation Conference (DAC’08) June /10/28.
CE Operating Systems Lecture 2 Low level hardware support for operating systems.
Chapter 5 Memory III CSE 820. Michigan State University Computer Science and Engineering Miss Rate Reduction (cont’d)
Multilevel Caches Microprocessors are getting faster and including a small high speed cache on the same chip.
CE Operating Systems Lecture 2 Low level hardware support for operating systems.
Lecture 1: Review of Computer Organization
1 Chapter Seven CACHE MEMORY AND VIRTUAL MEMORY. 2 SRAM: –value is stored on a pair of inverting gates –very fast but takes up more space than DRAM (4.
Exploiting Instruction Streams To Prevent Intrusion Milena Milenkovic.
1 Chapter Seven. 2 Users want large and fast memories! SRAM access times are ns at cost of $100 to $250 per Mbyte. DRAM access times are ns.
Virtual Memory Review Goal: give illusion of a large memory Allow many processes to share single memory Strategy Break physical memory up into blocks (pages)
COMP SYSTEM ARCHITECTURE PRACTICAL CACHES Sergio Davies Feb/Mar 2014COMP25212 – Lecture 3.
Evaluating the Fault Tolerance Capabilities of Embedded Systems via BDM M. Rebaudengo, M. Sonza Reorda Politecnico di Torino Dipartimento di Automatica.
CDA 3101 Spring 2016 Introduction to Computer Organization Physical Memory, Virtual Memory and Cache 22, 29 March 2016.
Translation Lookaside Buffer
Memory COMPUTER ARCHITECTURE
L. Benini, G. DeMicheli Stanford University, USA A. Macii, E. Macii, M
Timer and Interrupts.
Direct Cache Structure
Lecture: Cache Hierarchies
Lecture: Cache Hierarchies
Module IV Memory Organization.
Module 2: Computer-System Structures
Lecture 22: Cache Hierarchies, Memory
Translation Lookaside Buffer
Module 2: Computer-System Structures
CSE451 Virtual Memory Paging Autumn 2002
Fault Tolerant Systems in a Space Environment
First Generation 32–Bit microprocessor
Module 2: Computer-System Structures
Module 2: Computer-System Structures
Presentation transcript:

Presenter: Jyun-Yan Li A hybrid approach to the test of cache memory controllers embedded in SoCs’ W. J. Perez, J. Velasco Universidad del Valle Grupo de Bionanoelectronica Cali, Colombia D. Ravotto, E. Sanchez, M. Sonza Reorda Dipartimento di Automatica e Informatica Torino, Italy 14 th IEEE International On-Line Testing Symposium 2008

Software-Based Self-Test (SBST) is increasingly used for testing processor cores embedded in SoCs, mainly because it allows at- speed, low-cost testing, while requiring limited (if any) hardware modifications to the original design. However, the method requires effective techniques for generating suitable test programs and for monitoring the results. In the case of processor core testing a particularly complex module to test is the cache controller, due to its limited accessibility and observability. In this paper we propose a hybrid methodology that exploits an Infrastructure Intellectual Property (I-IP) to complement an SBST algorithm for testing the data and instruction cache controller of embedded processors in SoCs. In particular, the I-IP may be programmed to monitor the system buses and generate the appropriate feedback about the correct result of the executed programs (in terms of obtained hit or miss operations). The effectiveness of the proposed methodology is evaluated resorting to a sample SoC design. 2

The testing cost is more and more high  How to generate effective test program in the SBST Some of case in [8] the timer could not be available or usable  Using timer to ensure cache hit or miss event 。 Assume the hit or miss max time 3

Modify cache structure to improve IDDQ testing [3] Modify cache structure to improve IDDQ testing [3] This paper Using March C- algorithm in the MBIST device [4] Using March C- algorithm in the MBIST device [4] Direct transformation of March-like test [5-7] Direct transformation of March-like test [5-7] Require special system for memory writing & reading when cache is disable 4 SBST strategy for data cache [8] SBST strategy for data cache [8] No require special Test cache Hardware based Software based enhance

Data cache algorithm Instruction cache algorithm Address calculation function  Marching 0: The unique bit is 0 in the tag bits  Marching 1: The unique bit is 1 in the tag bits 5

6 start Calculate address (A) Write data (b) at A address Read data (Rx) at A address Rx=b? Nd*Nb times? Calculate address (A) Read data (Rx,b) at A address Write data (b) at A address Read data (Ry) at A address Rx⊕Ry=0? Nd*Nb times? No Yes error No error No Yes end Yes R hit W miss R miss R hit W hit

Purpose  access to every position of each cache block  Fully excite all circuits correlated with the tag, index and offset Address = As + a_tag + a_index + a_offset 7 D$ I$ Avoid overlapping, while cache fills tag consecutively

8 Marching zero Marching one tag index offset Nt: number of bits required to address the cache block (as the tag bit) n: current data in the block m: current block in the cache Nt: number of bits required to address the cache block (as the tag bit) n: current data in the block m: current block in the cache 1 mod 5=1 (1+0) mod 4=1

The result address after calculating 9 n=0 m=0 n=0 m=1 n=1 m=0 n=2 m=0 n=4 m=0

10 start Calculate address (A) Jump to A address Address A routine Jump to A address Nd*Nb times? Address A routine end Yes No R miss R hit Placed in cache non-cacheable for avoiding the loading in the cache of the respective machine code error exception

OpenRISC 1200 Result Line of codesizeRun timeFault coverage D-cache byte159 Kcycle95% I-cache10,37029 Kbyte435 Kcycle95% 11 typeWrite policyGates Stuck-at fault D-cache8Kbyte direct mappedWrite through9854,528 I-cache8Kbyte direct mappedWrite through8313,805 Prevents the register to change some bit in the higher part of address without exception when memory exchange

A mixed methodology for testing the data and instruction cache control part A high stuck-at fault coverage with reduced cost My comment  No discuss about I-IP how to connect with processor  The ARM10 patterns have similar algorithm for data cache verification 12