Definition Partial-scan architecture Historical background

Slides:



Advertisements
Similar presentations
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 23/19alt1 Lecture 23 Design for Testability (DFT): Full-Scan (Lecture 19alt in the Alternative Sequence)
Advertisements

V. Vaithianathan, AP/ECE
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 31/22alt1 Lecture 31 System Test (Lecture 22alt in the Alternative Sequence) n Definition n Functional.
Copyright 2001, Agrawal & BushnellLecture 12: DFT and Scan1 VLSI Testing Lecture 10: DFT and Scan n Definitions n Ad-hoc methods n Scan design  Design.
Apr. 20, 2001VLSI Test: Bushnell-Agrawal/Lecture 311 Lecture 31 System Test n Definition n Functional test n Diagnostic test  Fault dictionary  Diagnostic.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 261 Lecture 26 Logic BIST Architectures n Motivation n Built-in Logic Block Observer (BILBO) n Test.
1 A Random Access Scan Architecture to Reduce Hardware Overhead Anand S. Mudlapur Vishwani D. Agrawal Adit D. Singh Department of Electrical and Computer.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTES Sequential circuit ATPG.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 13/12alt1 Lecture 13 Sequential Circuit ATPG Time-Frame Expansion (Lecture 12alt in the Alternative.
1 Lecture 10 Sequential Circuit ATPG Time-Frame Expansion n Problem of sequential circuit ATPG n Time-frame expansion n Nine-valued logic n ATPG implementation.
Mar. 23, 2001VLSI Test: Bushnell-Agrawal/Lecture 201 Lecture 20 Delay Test n Delay test definition n Circuit delays and event propagation n Path-delay.
Dec 21, Design for Testability Virendra Singh Indian Institute of Science Bangalore {computer, ieee}.org IEP on Digital System.
Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt1 Lecture 21alt BIST -- Built-In Self-Test (Alternative to Lectures 25, 26 and 27) n Definition.
Lecture 20 Delay Test (Lecture 17alt in the Alternative Sequence)
Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 101 Design for Testability Theory and Practice Lecture 10: DFT and Scan n Definitions n Ad-hoc methods.
1 Lecture 20 Delay Test n Delay test definition n Circuit delays and event propagation n Path-delay tests  Non-robust test  Robust test  Five-valued.
Dynamic Scan Clock Control In BIST Circuits Priyadharshini Shanmugasundaram Vishwani D. Agrawal
1 Lecture 23 Design for Testability (DFT): Full-Scan n Definition n Ad-hoc methods n Scan design Design rules Scan register Scan flip-flops Scan test sequences.
Design for Testability Theory and Practice Lecture 11: BIST
Practically Realizing Random Access Scan By Anand Mudlapur ECE Dept. Auburn University.
ELEN 468 Lecture 241 ELEN 468 Advanced Logic Design Lecture 24 Design for Testability.
HIGH-SPEED VLSI TESTING WITH SLOW TEST EQUIPMENT Vishwani D. Agrawal Agere Systems Processor Architectures and Compilers Research Murray Hill, NJ
Jan. 9, 2007 VLSI Design Conference Spectral RTL Test Generation for Microprocessors Nitin Yogi and Vishwani D. Agrawal Auburn University Department.
Practically Realizing Random Access Scan Anand S. Mudlapur Department of Electrical and Computer Engineering Auburn University, AL USA.
Vishwani D. Agrawal James J. Danaher Professor
January 16, '02Agrawal: Delay testing1 Delay Testing of Digital Circuits Vishwani D. Agrawal Agere Systems, Murray Hill, NJ USA
Aug. 13, 2005Mudlapur et al.: VDAT'051 A Novel Random Access Scan Flip-Flop Design Anand S. Mudlapur Vishwani D. Agrawal (Speaker) Adit D. Singh Department.
Partial Scan Design with Guaranteed Combinational ATPG Vishwani D. Agrawal Agere Systems, Circuits and Systems Research Lab Murray Hill, NJ 07974, USA.
HIGH-SPEED VLSI TESTING WITH SLOW TEST EQUIPMENT Vishwani D. Agrawal Agere Systems Processor Architectures and Compilers Research Murray Hill, NJ
Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 20alt1 Lecture 20alt DFT: Partial, Random-Access & Boundary Scan n Definition n Partial-scan architecture.
Oct. 5, 2001Agrawal, Kim and Saluja1 Partial Scan Design With Guaranteed Combinational ATPG Vishwani D. Agrawal Agere Systems Processor Architectures and.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 241 Lecture 24 Design for Testability (DFT): Partial-Scan & Scan Variations n Definition n Partial-scan.
Sequential Testing Two choices n Make all flip-flops observable by putting them into a scan chain and using scan latches o Becomes combinational testing.
Jan. 11, '02Kim, et al., VLSI Design'021 Mutiple Faults: Modeling, Simulation and Test Yong C. Kim University of Wisconsin, Dept. of ECE, Madison, WI 53706,
Design for Testability
Digital Testing: Scan-Path Design
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS Design for Testability (DFT) - 2.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
Copyright 2001, Agrawal & BushnellLecture 6: Sequential ATPG1 VLSI Testing Lecture 6: Sequential ATPG n Problem of sequential circuit ATPG n Time-frame.
November 25Asian Test Symposium 2008, Nov 24-27, Sapporo, Japan1 Sequential Circuit BIST Synthesis using Spectrum and Noise from ATPG Patterns Nitin Yogi.
Design For Testability
Lecture 14 Sequential Circuit ATPG Simulation-Based Methods
VLSI Testing Lecture 4: Testability Analysis
VLSI Testing Lecture 6: Fault Simulation
Algorithms and representations Structural vs. functional test
VLSI Testing Lecture 14: Built-In Self-Test
Lecture 7 Fault Simulation
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTES
Lecture 23 Design for Testability (DFT): Full-Scan (chapter14)
Lecture 13 Sequential Circuit ATPG Time-Frame Expansion
ME2500 DESIGN FOR TESTABILITY [Slide 3] DfT Structures for Delay Testing BY DREAMCATCHER
VLSI Testing Lecture 6: Fault Simulation
Lecture 10 Sequential Circuit ATPG Time-Frame Expansion
Basics Combinational Circuits Sequential Circuits Ahmad Jawdat
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
ELEC-7250 VLSI Testing Scan Design Implementation on ISCAS ’89 Benchmark Circuits – s1423 and s1512 Completed by: Jonathan Harris.
VLSI Testing Lecture 8: Sequential ATPG
Pre-Computed Asynchronous Scan Invited Talk
Sungho Kang Yonsei University
Testing in the Fourth Dimension
Design for Testability
VLSI Testing Lecture 9: Delay Test
VLSI Testing Lecture 7: Delay Test
Lecture 26 Logic BIST Architectures
Manufacturing Testing
Lecture 14 Sequential Circuit ATPG Simulation-Based Methods
VLSI Testing Lecture 13: DFT and Scan
Lecture 13 Sequential Circuit ATPG Time-Frame Expansion
A Random Access Scan Architecture to Reduce Hardware Overhead
Presentation transcript:

Lecture 24 Design for Testability (DFT): Partial-Scan & Scan Variations Definition Partial-scan architecture Historical background Cyclic and acyclic structures Partial-scan by cycle-breaking S-graph and MFVS problem Test generation and test statistics Partial vs. full scan Partial-scan flip-flop Random-access scan (RAS) Scan-hold flip-flop (SHFF) Summary VLSI Test: Lecture 24

Partial-Scan Definition A subset of flip-flops is scanned. Objectives: Minimize area overhead and scan sequence length, yet achieve required fault coverage Exclude selected flip-flops from scan: Improve performance Allow limited scan design rule violations Allow automation: In scan flip-flop selection In test generation Shorter scan sequences VLSI Test: Lecture 24

Partial-Scan Architecture PI PO Combinational circuit CK1 FF FF CK2 SCANOUT SFF TC SFF SCANIN VLSI Test: Lecture 24

History of Partial-Scan Scan flip-flop selection from testability measures, Trischler et al., ITC-80; not too successful. Use of combinational ATPG: Agrawal et al., D&T, Apr. 88 Functional vectors for initial fault coverage Scan flip-flops selected by ATPG Gupta et al., IEEETC, Apr. 90 Balanced structure Sometimes requires high scan percentage Use of sequential ATPG: Cheng and Agrawal, IEEETC, Apr. 90; Kunzmann and Wunderlich, JETTA, May 90 Create cycle-free structure for efficient ATPG VLSI Test: Lecture 24

Difficulties in Seq. ATPG Poor initializability. Poor controllability/observability of state variables. Gate count, number of flip-flops, and sequential depth do not explain the problem. Cycles are mainly responsible for complexity. An ATPG experiment: Circuit Number of Number of Sequential ATPG Fault gates flip-flops depth CPU s coverage TLC 355 21 14* 1,247 89.01% Chip A 1,112 39 14 269 98.80% * Maximum number of flip-flops on a PI to PO path VLSI Test: Lecture 24

Benchmark Circuits Circuit PI PO FF Gates Structure Sequential depth Total faults Detected faults Potentially detected faults Untestable faults Abandoned faults Fault coverage (%) Fault efficiency (%) Max. sequence length Total test vectors Gentest CPU s (Sparc 2) s1196 14 18 529 Cycle-free 4 1242 1239 3 99.8 100.0 313 10 s1238 14 18 508 Cycle-free 4 1355 1283 72 94.7 100.0 3 308 15 s1488 8 19 6 653 Cyclic -- 1486 1384 2 26 76 93.1 94.8 24 525 19941 s1494 8 19 6 647 Cyclic -- 1506 1379 2 30 97 91.6 93.4 28 559 19183 VLSI Test: Lecture 24

All faults are testable. See Example 8.6. Cycle-Free Example Circuit F2 2 F3 F1 3 Level = 1 F1 F2 F3 Level = 1 2 3 s - graph dseq = 3 All faults are testable. See Example 8.6. VLSI Test: Lecture 24

VLSI Test: Lecture 24

Relevant Results Theorem 8.1: A cycle-free circuit is always initializable. It is also initializable in the presence of any non-flip-flop fault. Theorem 8.2: Any non-flip-flop fault in a cycle-free circuit can be detected by at most dseq + 1 vectors. ATPG complexity: To determine that a fault is untestable in a cyclic circuit, an ATPG program using nine-valued logic may have to analyze 9Nff time-frames, where Nff is the number of flip-flops in the circuit. VLSI Test: Lecture 24

A Partial-Scan Method Select a minimal set of flip-flops for scan to eliminate all cycles. Alternatively, to keep the overhead low only long cycles may be eliminated. In some circuits with a large number of self-loops, all cycles other than self-loops may be eliminated. VLSI Test: Lecture 24

The MFVS Problem For a directed graph find a set of vertices with smallest cardinality such that the deletion of this vertex-set makes the graph acyclic. The minimum feedback vertex set (MFVS) problem is NP-complete; practical solutions use heuristics. A secondary objective of minimizing the depth of acyclic graph is useful. 3 3 L=3 1 2 4 5 6 1 2 4 5 6 L=2 L=1 s-graph A 6-flip-flop circuit VLSI Test: Lecture 24

VLSI Test: Lecture 24

Test Generation Scan and non-scan flip-flops are controlled from separate clock PIs: Normal mode – Both clocks active Scan mode – Only scan clock active Seq. ATPG model: Scan flip-flops replaced by PI and PO Seq. ATPG program used for test generation Scan register test sequence, 001100…, of length nsff + 4 applied in the scan mode Each ATPG vector is preceded by a scan-in sequence to set scan flip-flop states A scan-out sequence is added at the end of each vector sequence Test length = (nATPG + 2) nsff + 4 +nATPG clocks VLSI Test: Lecture 24

Partial Scan Example Circuit: TLC 355 gates 21 flip-flops Scan Max. cycle Depth* ATPG Fault sim. Fault ATPG Test seq. flip-flops length CPU s CPU s cov. vectors length 0 4 14 1,247 61 89.01% 805 805 4 2 10 157 11 95.90% 247 1,249 9 1 5 32 4 99.20% 136 1,382 10 1 3 13 4 100.00% 112 1,256 21 0 0 2 2 100.00% 52 1,190 * Cyclic paths ignored VLSI Test: Lecture 24

Test Length Statistics Circuit: TLC 200 100 Number of faults Without scan Test length 0 50 100 150 200 250 200 100 Number of faults 9 scan flip-flops Test length 0 5 10 15 20 25 200 100 Number of faults 10 scan flip-flops Test length 0 5 10 15 20 25 VLSI Test: Lecture 24

Partial vs. Full Scan: S5378 Original 2,781 179 0.0% 4,603 35/49 70.0% 0.0% 4,603 35/49 70.0% 70.9% 5,533 s 414 Partial-scan 2,781 149 30 2.63% 4,603 65/79 93.7% 99.5% 727 s 1,117 34,691 Full-scan 2,781 179 15.66% 4,603 214/228 99.1% 100.0% 5 s 585 105,662 Number of combinational gates Number of non-scan flip-flops (10 gates each) Number of scan flip-flops (14 gates each) Gate overhead Number of faults PI/PO for ATPG Fault coverage Fault efficiency CPU time on SUN Ultra II 200MHz processor Number of ATPG vectors Scan sequence length VLSI Test: Lecture 24

TC =0 Scan Mode TC=1 Normal Mode VLSI Test: Lecture 24

11 vectors detect all faults VLSI Test: Lecture 24

Test length = (nATPG + 2) nsff + nATPG + 4 clocks Vectors detect all fault in partial-scan VLSI Test: Lecture 24

Flip-flop for Partial Scan Normal scan flip-flop (SFF) with multiplexer of the LSSD flip-flop is used. Scan flip-flops require a separate clock control: Either use a separate clock pin Or use an alternative design for a single clock pin D Master latch Slave latch MUX Q SD TC SFF (Scan flip-flop) CK TC CK Normal mode Scan mode VLSI Test: Lecture 24

Random-Access Scan (RAS) PI PO Combinational logic RAM nff bits CK TC SCANIN SCANOUT SEL Address decoder Address scan register log2 nff bits ADDRESS ACK VLSI Test: Lecture 24

RAS Flip-Flop (RAM Cell) D Q From comb. logic To comb. logic SD Scan flip-flop (SFF) SCANIN CK TC SCANOUT SEL VLSI Test: Lecture 24

VLSI Test: Lecture 24

RAS Applications Logic test: reduced test length. Delay test: Easy to generate single-input-change (SIC) delay tests. Advantage: RAS may be suitable for certain architecture, e.g., where memory is implemented as a RAM block. Disadvantages: Not suitable for random logic architecture High overhead – gates added to SFF, address decoder, address register, extra pins and routing VLSI Test: Lecture 24

Scan-Hold Flip-Flop (SHFF) To SD of next SHFF D Q SD SFF TC Q CK HOLD The control input HOLD keeps the output steady at previous state of flip-flop. Applications: Reduce power dissipation during scan Isolate asynchronous parts during scan test Delay testing VLSI Test: Lecture 24

Summary Partial-scan is a generalized scan method; scan can vary from 0 to 100%. Elimination of long cycles can improve testability via sequential ATPG. Elimination of all cycles and self-loops allows combinational ATPG. Partial-scan has lower overheads (area and delay) and reduced test length. Partial-scan allows limited violations of scan design rules, e.g., a flip-flop on a critical path may not be scanned. VLSI Test: Lecture 24

VLSI Test: Lecture 24