Presentation is loading. Please wait.

Presentation is loading. Please wait.

May. 04, 2007General Oral Examination1 Gate-Level Test Generation Using Spectral Methods at Register-Transfer Level Committee Members: Prof. Victor P.

Similar presentations


Presentation on theme: "May. 04, 2007General Oral Examination1 Gate-Level Test Generation Using Spectral Methods at Register-Transfer Level Committee Members: Prof. Victor P."— Presentation transcript:

1 May. 04, 2007General Oral Examination1 Gate-Level Test Generation Using Spectral Methods at Register-Transfer Level Committee Members: Prof. Victor P. Nelson Prof. Adit D. Singh Prof. Charles E. Stroud Nitin Yogi – PhD Thesis Proposal May 04, 2007, 3 p.m. Advisor: Prof. Vishwani D. Agrawal

2 May. 04, 2007General Oral Examination2 Outline 1. Introduction 2. Background 3. Spectral Register Transfer Level (RTL) test generation 4. RTL Design for Testability (DFT) 5. Results 6. Future Work 7. Conclusion

3 May. 04, 2007General Oral Examination3 1 - Introduction  Test generation challenges  Test generation methods  Problem definition

4 May. 04, 2007General Oral Examination4 1.1 – Test Generation Challenges  Two main challenges Reducing test generation complexity  Majority circuits sequential in nature  Rise in design complexity Good quality test vectors  High fault coverage  Low yield loss

5 May. 04, 2007General Oral Examination5 1.2 – Test Generation Methods  Scan-Based Test Generation  Sequential Test Generation  Register-Transfer Level (RTL) Test Generation  Pseudo Functional Test Generation

6 May. 04, 2007General Oral Examination6 1.2.1 – Scan-Based Test Generation Combinational Logic FF Circuit Inputs Circuit Outputs Scan Input Scan Output Scan chain FF Functional Scan Scan FF

7 May. 04, 2007General Oral Examination7 1.2.1 – Scan-Based Test Generation  Advantages: Reduced test generation complexity  Combinational test generation High fault coverage  Disadvantages: Area overhead (~ 5 – 10%) Timing overhead (~ 5 – 10%) Non-functional tests  Long test times  Issues from high test power Voltage droop Ground bounce Issues with at-speed scan tests  False and multi-cycle paths

8 May. 04, 2007General Oral Examination8 1.2.2 – Sequential Test Generation  Non-scan test generation  Advantages Functional vectors  Short test times  No test power issues Ability to generate at-speed tests  Disadvantages High test generation complexity

9 May. 04, 2007General Oral Examination9 1.2.3 – RTL Test Generation  Earlier Work [Jha et.al.,Hayes et. al.,Goloubeva et. al.]  Advantages: Low test generation complexity  Less amount of information to process Early detection of testability issues Synthesis independent  Disadvantages: Main issues  Closing gap between RTL and gate-level coverage  High engineering effort No established method

10 May. 04, 2007General Oral Examination10 1.2.4 – Pseudo Functional Test Generation  Weighted random vectors (Brglez et. al.) Test vectors generated with certain probabilities of being logic ‘0’ or ‘1’  PROPTEST (Guo et. al.) Property based test generation Probabilities, holding, perturbation  Spectral methods (Giani et. al., Khan et. al.) Test generation using spectral properties  Retrieve spectral properties  Generate new vectors with those properties

11 May. 04, 2007General Oral Examination11 1.3 – Problem Definition  Summary of goals Generate functional test vectors  Sequential test generation Low test generation complexity  RTL test generation Convenient test generation method  Spectral methods  Hence the problem is … To generate function vectors using sequential test generation by using spectral methods at RTL

12 May. 04, 2007General Oral Examination12 Outline 1. Introduction 2. Background 3. Spectral Register Transfer Level (RTL) test generation 4. RTL Design for Testability (DFT) 5. Results 6. Future Work 7. Conclusion

13 May. 04, 2007General Oral Examination13 2 – Background  Spectral analysis for test generation  Walsh functions and Hadamard matrix

14 May. 04, 2007General Oral Examination14 2.1 – Spectral Analysis for Test Generation  Spectral analysis: Interpret information in frequency domain  Test generation Good quality test vectors exhibit certain spectral characteristics Goals:  Determine relevant spectral characteristics  Generate vectors with those characteristics

15 May. 04, 2007General Oral Examination15 2.2 Walsh functions and Hadamard matrix w0w0 w1w1 w2w2 w3w3 w4w4 w5w5 w6w6 w7w7 Walsh functions (order 8) time 1 1 1 1 1 -1 1 -1 1 1 -1 -1 1 -1 -1 1 1 1 1 1 -1 -1 -1 -1 1 -1 1 -1 -1 1 -1 1 1 1 -1 -1 -1 -1 1 1 1 -1 -1 1 -1 1 1 -1 H 8 = Walsh functions: a complete orthogonal set of basis functions that can represent any arbitrary bit-stream. Walsh functions form the rows of a Hadamard matrix. Example of Hadamard matrix of order 8 Move to next section

16 May. 04, 2007General Oral Examination16 Outline 1. Introduction 2. Background 3. Spectral Register Transfer Level (RTL) test generation 4. RTL Design for Testability (DFT) 5. Results 6. Future Work 7. Conclusion

17 May. 04, 2007General Oral Examination17 3 – Spectral RTL Test Generation  Spectral characterization  Spectral vector generation  Test set minimization

18 May. 04, 2007General Oral Examination18 3.1 – Spectral Characterization  Purpose – Determine relevant spectral characteristics  Premise – Vectors detecting RTL faults exhibit important spectral characteristics  Steps RTL fault modeling and test generation Spectral analysis

19 May. 04, 2007General Oral Examination19 3.1.1 – RTL Fault Modeling Combinational Logic FF Inputs Outputs RTL fault sites A circuit is an interconnect of several RTL modules.

20 May. 04, 2007General Oral Examination20 3.1.2 – Spectral Analysis 0 to -1 Bit-stream Vector 1 Vector 2. Input 1 Input 2. Bit-stream of Input 2

21 May. 04, 2007General Oral Examination21 3.1.2 – Spectral Analysis (cont.) Bit stream to analyze Correlating with Walsh functions by multiplying with Hadamard matrix. Essential component (others regarded noise) Hadamard Matrix H(3) Bit stream Spectral coeffs.

22 May. 04, 2007General Oral Examination22 Power Spectrum: “Ready” Signal Noise level (1/128) Examples of Essential components Examples of Noise components Normalized Power Spectral Coefficients PARWAN Processor Circuit

23 May. 04, 2007General Oral Examination23 Power Spectrum: A Random Signal Normalized Power Noise level (1/128) Spectral Coefficients

24 May. 04, 2007General Oral Examination24 3.2 – Spectral Vector Generation Perturbation Generation of new bit-stream by multiplying with Hadamard matrix Spectral components Essential component retained noise components randomly perturbed New bit stream Bits changed Sign function -1 to 0

25 May. 04, 2007General Oral Examination25 3.3 – Test Set Minimization  Fault simulation of new sequences Set of perturbation vector sequences {V 1, V 2,.., V M } are generated. Vector sequences are fault simulated and faults detected by each is obtained.  Minimization problem Find minimum set of vector sequences covering all the detected faults. Minimize Count{V 1, …,V M } to obtain compressed seq. {V 1,…,V C } Fault Coverage{V 1, …,V C } = Fault Coverage{V 1, …,V M } Compaction problem formulated as an Integer Linear Program (ILP) *. * P. Drineas and Y. Makris, “Independent Test Sequence Compaction through Integer Programming," Proc. ICCD’03, pp. 380-386.

26 May. 04, 2007General Oral Examination26 3.3.1 – ILP test minimization  Set of integer [0,1] variables { t j } – one for each vector sequence t j = 0: drop sequence ; t j = 1: select sequence  Set of constraints { c k } – one for each fault Example: for k th fault detected by vector sequences u, v and w c k : t u + t v + t w ≥ 1  Objective function Minimize ∑ t j ; j = 1 to N

27 May. 04, 2007General Oral Examination27 3.3.2 – Hybrid LP – ILP  Approximate solution to ILP (Relaxed LP, Rounding)*  Algorithm: 1. All variables redefined as real [0,1] real variables (LP model) 2. Loop : 1. Solve LP 2. Round variables to add constraints 1. Round to 0 if ( 0.0 < variables ≤ 0.1) 2. Round to 1 if ( 0.9 ≤ variables < 1.0) 3. Exit loop if no variables are rounded 3. Reconvert variables to [0,1] integers and solve ILP * Kantipudi, K.R.; Agrawal, V.D, “A Reduced Complexity Algorithm for Minimizing N-Detect Tests”, 20th International Conference on VLSI Design, 2007

28 May. 04, 2007General Oral Examination28 Outline 1. Introduction 2. Background 3. Spectral Register Transfer Level (RTL) test generation 4. RTL Design for Testability (DFT) 5. Results 6. Future Work 7. Conclusion

29 May. 04, 2007General Oral Examination29 4 – RTL Design for Testability  Goals of DFT: Improve fault coverage  XOR tree as DFT Low area overhead Low performance penalty Does not change state machine  Hard-to-detect RTL faults used for observation test points Hard-to-detect RTL faults To test output XOR tree

30 May. 04, 2007General Oral Examination30 Outline 1. Introduction 2. Background 3. Spectral Register Transfer Level (RTL) test generation 4. RTL Design for Testability (DFT) 5. Results 6. Future Work 7. Conclusion

31 May. 04, 2007General Oral Examination31 5 – Results  Experimental Circuits  Spectral RTL test generation Stuck-at faults Transition delay faults

32 May. 04, 2007General Oral Examination32 5.1 – Experimental Circuits  Experimental Circuits 4 ITC’99 high level RTL circuits 4 ISCAS’89 circuits. PARWAN processor*  Commercial sequential ATPG tool Mentor Graphics FlexTest for test generation and fault simulation.  Results obtained on Sun Ultra 5 machines with 256MB RAM. CircuitbenchmarkPIsPOsFFs b01 ITC ’ 99 225 b09 ITC ’ 99 1128 b11 ITC ’ 99 7631 b14 ITC ’ 99 3454239 s1488ISCAS’898196 s5378ISCAS’893649179 s9234ISCAS’893739211 s35932ISCAS’89363201728 PARWANprocessor112353 * Z. Navabi, VHDL: Analysis and Modeling of Digital Systems, McGraw-Hill, 1993.

33 May. 04, 2007General Oral Examination33 5.2.1 – ATPG for stuck-at faults

34 May. 04, 2007General Oral Examination34 PARWAN* Processor * Z. Navabi, VHDL: Analysis and Modeling of Digital Systems, McGraw-Hill, 1993.

35 May. 04, 2007General Oral Examination35 Results – Test Generation Circuit name # gate- level faults RTL-ATPG spectral testsFlexTest Gate-level ATPGRandom inputs Cov. (%) No. of vectors CPU $ (secs) Cov. (%) No. of vectors CPU $ (secs) No. of vectors Cov (%) b09-A882 84.68 64073084.56436384384011.71 b09-D1048 84.21 76881578.8255557576806.09 b11-A2380 88.84 76873784.624681866384045.29 b11-D3070 89.25 102498786.163653076384041.42 b1425894 85.09 6656543668.7850065741280074.61 s1488418495.65512103 98.42 470131160067.47 s53781558476.4924322088 76.79 8354439384067.10 s5378*15944 73.59 139971873.3133222567288062.77 s3593210320495.702561801 95.99 744319232050.70 PARWAN5380 89.11 1344100687.117183626640076.63 * Reset input added. $ Sun Ultra 5, 256MB RAM

36 May. 04, 2007General Oral Examination36 Results – Test Generation and RTL DFT Circuit RTL Spectral ATPG Gate-level ATPG (FlexTest) Random vecs. Cov. (%) No. of vecs. CPU* (secs) Cov. (%) No. of vecs. CPU* (secs) Cov. (%) No. of vecs. Parwan 98.23% 2327244293.40%14032643080.95%2814 Parwan (with DFT) 98.77% 1966244295.78%16192040887.09%2948 *Sun Ultra 5, 256MB RAM

37 May. 04, 2007General Oral Examination37 5.2.2 – ATPG for transition faults

38 May. 04, 2007General Oral Examination38 Results – Test Generation ATPG used Version of PARWAN circuit CPU secs.* No. of vectors Stuck-at fault cov. (%) Transition fault cov. (%) RTL-spectral for transition faults Original6428670097.6081.85 DFT for t-f6428512098.2585.94 Gate-level FlexTest for transition faults Original43574131892.4473.79 DFT for t-f40119144496.2981.90 Random vectors Original5120082.2858.67 DFT for s-a-f5120086.2065.82 * Sun Ultra 5, 256MB RAM s-a-f: stuck-at faults t-f : transition faults

39 May. 04, 2007General Oral Examination39 Outline 1. Introduction 2. Background 3. Spectral Register Transfer Level (RTL) test generation 4. RTL Design for Testability (DFT) 5. Results 6. Future Work 7. Conclusion

40 May. 04, 2007General Oral Examination40 6 – Future Work  Fourier Analysis of Digital Waveforms  Spectral BIST

41 May. 04, 2007General Oral Examination41 6.1 – Fourier Analysis of Digital Waveforms  Fourier Transform – converts signals to frequency domain  Digital bit-streams can be perceived as sampled analog signals  Important properties (not exhibited by Walsh functions) Frequency decomposition using Fourier transform is invariant to phase or circular time-shift Multiplication = Convolution (frequency domain) (time domain)  Other advantages of Fourier Transform over Walsh Established methods for noise analysis Methods to find Power Spectral Density (PSD)

42 May. 04, 2007General Oral Examination42 Wrapper 6.2.1 – Built-In Self Test  Built-In Self Test (BIST) Hardware inserted to:  Generate test vectors  Capture responses of CUT  Flag CUT good or bad Circuit Under Test (CUT) Test generator System Inputs System Outputs Response Analyzer CUT status

43 May. 04, 2007General Oral Examination43 Motivation for Spectral BIST  BIST Advantages:  No need of expensive Automatic Test Equipment (ATE)  Testing during operation and maintenance  Supports system level test  Supports at-speed testing  And many more … Disadvantages:  Low coverage test vectors  Area / timing overhead  Problem is… To design a test pattern generator with spectral information that generates high coverage test vectors

44 May. 04, 2007General Oral Examination44 Fourier Transform of Test Bit-Stream Prominent features

45 May. 04, 2007General Oral Examination45 6.2.2 – Spectral BIST Wrapper Circuit Under Test (CUT) Test generator System Inputs Response Analyzer CUT status Spectral Filter System Outputs Spectral Test Generator

46 May. 04, 2007General Oral Examination46 Digital Filter Design  If y : output of filter x : input of filter n : time period p : order of filter Infinite Impulse Response (IIR)  y(n) = f (y(n-1), ….. y(n-p), x(n), x(n-1), … x(n-p)) Finite Impulse Response (FIR)  y(n) = f (x(n), x(n-1), … x(n-p))  IIR would require more hardware than FIR

47 May. 04, 2007General Oral Examination47 Spectral Test Generator Test generator Spectral Filter Spectral Test Generator LFSR FIR filter

48 May. 04, 2007General Oral Examination48 FIR Filter Design FIR filter

49 May. 04, 2007General Oral Examination49 FIR filtering Random bit-stream Random bit-stream after filtering Filter

50 May. 04, 2007General Oral Examination50 How good is the filtered bit-stream ? Original test bit-streamRandom bit-stream after filtering

51 May. 04, 2007General Oral Examination51 Results - Comparison Test Set No. of vectors No. of faults detected Total no. of faults Test cov. (%) RTL vectors11232548576.86 % Flextest vectors141036448584.09 % Random vectors650004448512.51 % Filtered vectors6500036448584.09 % s382 s526 Test Set No. of vectors No. of faults detected Total no. of faults Test cov. (%) RTL vectors10333963959.21 % Flextest vectors195044863976.72 % Random vectors650005563910.75 % Filtered vectors6500045063976.88 %

52 May. 04, 2007General Oral Examination52 Results – Graphs

53 May. 04, 2007General Oral Examination53 Results – Graphs

54 May. 04, 2007General Oral Examination54 Conclusion  We have presented a new method for gate-level test generation using spectral methods at RTL  Proposed Spectral RTL ATPG technique applied to ITC’99 and ISCAS’89 benchmarks, and a processor circuit  In most cases, Spectral RTL ATPG gave similar or better test coverage in shorter CPU time as compared to commercial sequential ATPG tool FlexTest  Proposed RTL DFT technique enhanced fault coverages

55 May. 04, 2007General Oral Examination55 Conclusion – Future Work  Investigate Fourier analysis of digital bit- streams Compare Walsh and Fourier analysis Investigate their use for signature analysis  Research on spectral test generator for BIST Experiment with different designs of LFSR Efficient design of spectral filter

56 May. 04, 2007General Oral Examination56 Questions ? Thank You !


Download ppt "May. 04, 2007General Oral Examination1 Gate-Level Test Generation Using Spectral Methods at Register-Transfer Level Committee Members: Prof. Victor P."

Similar presentations


Ads by Google