Download presentation
Presentation is loading. Please wait.
Published byJared Abner Glenn Modified over 9 years ago
1
Presenter: Jyun-Yan Li Systematic Software-Based Self-Test for Pipelined Processors Mihalis Psarakis Dimitris Gizopoulos Miltiadis Hatzimihail Dept. of Informatics, University of Piraeus, Greece Antonis Paschalis Dept. of Informatics & Telecomm., University of Athens, Greece Anand Raghunathan Srivaths Ravi NEC Laboratories America, Princeton, NJ, USA DAC2006, July24-28,2006, San Francisco, California, USA.
2
Software-based self-test (SBST) has recently emerged as an effective methodology for the manufacturing test of processors and other components in Systems-on-Chip (SoCs). By moving test related functions from external resources to the SoC's interior, in the form of test programs that the on-chip processor executes, SBST eliminates the need for high-cost testers, and enables high-quality at-speed testing. Thus far, SBST approaches have focused almost exclusively on the functional (directly programmer visible) components of the processor. In this paper, we analyze the challenges involved in testing an important component of modem processors, namely, the pipelining logic, and propose a systematic SBST methodology to address them. We first demonstrate that SBST programs that only target the functional components of the processor are insufficient to test the pipeline logic, resulting in a significant loss of fault coverage. We further identify the testability hotspots in the pipeline logic. Finally, we develop a systematic SBST methodology that enhances existing SBST programs to comprehensively test the pipeline logic. The proposed methodology is complementary to previous SBST techniques that target functional components (their results can form the input to our methodology), and can reuse the test development effort behind existing SBST programs. 2
3
We applied the methodology to two complex, fully pipelined processors. Results show that our methodology provides fault coverage improvements of up to 15% (12% on average) for the entire processor, and fault coverage improvements of 22% for the pipeline logic, compared to a conventional SBST approach. 3
4
Generate test pattern for functional behavior [2,3,4] Generate test pattern for functional behavior [2,3,4] testability [12] testability [12] This paper Systematic testability analysis of pipelined logic Function components self- test routines for ISA and RTL Component- oriented SBST [8] Component- oriented SBST [8] Advance SBST [9,10] Advance SBST [9,10] Testing for complex RISC Random or pseudorandom instruction sequence No hazard dection & data forwarding miniMIPS & OpenRISC 1200 [14,15] miniMIPS & OpenRISC 1200 [14,15] 4 No provide fault coverage for entire processor
5
Testability Logic carrying address-related information 。 Pipelined register of address information is used by other components 。 ex: bus controller, program counter, exception unit Hazard detection and forwarding 。 input data is from forwarding unit rather than from source register 5
6
Partition SBST program into multiple code segment and divide virtual memory into some regions Load code segment into region in virtual memory Mapping virtual memory to instruction memory 0, m/r-1, 2m/r-1 6
7
Path1 : PC and IF fault propagated to address bus through bus controller Path2 : ID and EX fault Path3 : use link instruction occur in the ID and EX Path4 : use exception occur in the EX and MEM 7
8
Processor has n stages Ia: result at p stage, store at s stage Ib: read at d stage, actually need at f stage Lemma 1 If s-d < c, no hazard, c:distance between two instruction If s-d ≥ c, hazard 。 If p-f ≥ c, unresolved 。 If p-f < c, can resolved 8
9
Functional SBST code Identification of def-use pairs Generation of test code variants loop unrolling Modification of the SBST code Insertion of jump instructions Address faults propagation Enhanced SBST code Partition of SBST program Pipeline description Memory and cache parameters Phase1Phase1 Phase2Phase2 forwarding Address- related 9 Enhanced code Data dependency & loop 1. N stage 2. Each stage function 3. Forwarding path All possible dependencies between instructions 1. Virtual memory size 2. Physical memory size 3. Program size
10
miniMIPS: 100MHz and 32817 gates OpenRSIC: 102MHz and 35657 gates Improve 22% for pipeline 10
11
Fault coverage improve 12% on an average for entire processor 11 Without multiplier Original With multiplier
12
This paper present an enhance SBST methodology for pipelined processor Address-related component Hazard detection and forwarding mechanism 12
13
Using lemma 1 to verify forwarding unit for different processor It not describe how to loop unrolling and select code variants clearly 13
14
14
15
15
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.