Presentation is loading. Please wait.

Presentation is loading. Please wait.

Deterministic Diagnostic Pattern Generation (DDPG) for Compound Defects Fei Wang 1,2, Yu Hu 1, Huawei Li 1, Xiaowei Li 1, Jing Ye 1,2 1 Key Laboratory.

Similar presentations


Presentation on theme: "Deterministic Diagnostic Pattern Generation (DDPG) for Compound Defects Fei Wang 1,2, Yu Hu 1, Huawei Li 1, Xiaowei Li 1, Jing Ye 1,2 1 Key Laboratory."— Presentation transcript:

1 Deterministic Diagnostic Pattern Generation (DDPG) for Compound Defects Fei Wang 1,2, Yu Hu 1, Huawei Li 1, Xiaowei Li 1, Jing Ye 1,2 1 Key Laboratory of Computer System and Architecture Institute of Computing Technology Chinese Academy of Sciences 2 Graduate University of Chinese Academy of Sciences Yu Huang 3 3 Mentor Graphics Corporation International Test Conference Santa Clara, CA, Oct 26-Oct 31, 2008

2 Purpose Object –Faulty circuit contains compound defects Problem –How to diagnose scan chains when existing compound defects? –How to guarantee diagnostic accuracy, resolution and efficiency? Method –Deterministically generate diagnostic patterns under certain constraints –Statistically failure analysis to locate the faulty scan cell scan chain defects and system logic defects co-exist on the chip

3 Outline Background –Motivation –Related work –Our contributions Proposed method –DDPG algorithm –Compound defect diagnosis process Experimental results

4 Motivation Why compound defect diagnosis –Both scan chains and system logic occupy significant area Scan chains associated area: 30% [Kundu VTS’93] Scan chain failures: 50% [Yang ICCD’05] –Assume system logic is fault-free will lead to misdiagnosis

5 Related Work Scan chain diagnosis Hardware based solutionsSoftware based solutions Partner scan chain Partner scan chain Insert XOR gates Insert XOR gates [Schafer VTS’92] [Narayanan ITC’97] Custom scan cell Custom scan cell [Edirisooriya VTS’95] Simulation based Simulation based DDPG [Huang ITC’07] [ Tzeng TCAS’07 ] Production test patterns Production test patterns Functional patterns Functional patterns [Guo ITC’07] [Li TVLSI’05] Capture state Capture state Propagate state Propagate state

6 Related Work Scan chain diagnosisHardware based solutions Partner scan chain Partner scan chain Software based solutions Custom scan cell Custom scan cell Simulation based Simulation based DDPG  High area and routing overhead  Unconventional DFT flow  Unguaranteed resolution  Unguaranteed accuracy  Impractical assumption: system logic is fault free ! Insert XOR gates Insert XOR gates

7 Our Contributions Features –First DDPG for compound defects –Effectively diagnose scan chains with dozens of system defects Approach –Propagate the state of the targeted scan cell to multiple observation points –Statistical failure analysis to locate the faulty scan cell Key results –Accurately diagnose faulty cell with dozens of system defects –Tolerate system logic faults without degradation of chain diagnostic resolution

8 Outline Background –Motivation –Related work –Our contributions Proposed method –DDPG algorithm –Compound defect diagnosis process Experimental results

9 7 Fault Model 65432 SI Downstream Upstream SO Fault ModelExpected UnloadingActual Unloading SA1000011111111 SA0111100000000 STR1111000011100000 STF0000111100011111 FTR1111000011111000 FTF0000111100000111 10

10 Basic Idea of DDPG 21 20 19 18 16 15 14 13 8 7 5 4 3 0 SI SO G1 G4 G2 21 20 19 18 16 15 14 13 8 7 5 4 3 0 SI SO G3 G5 g e a b c f O3O3 O3O3 PI 1 =0 PI 2 =1 i x x 0/0 x 1/0 0/0 x x x 1/1 1/0 x x 1/1 x x x x 1/0 x x x x 1/1 0 x x x x x x 0 x x x 1 x x Targeted cell Vulnerable-PPI Protection-PPI Trigger-PPI Vulnerable-PPO Protection-PPO Actual STR System defect

11 DDPG Algorithm Overview Select cell i from Suspect_Cell_Set, build Output_Set i Generate a pattern to propagate cell i state to n reliable observation points (ROP) within Output_Set i Success? Output_Set i ∈ Ø ? Suspect_Cell_Set ∈ Ø ? Save the pattern, delete the n ROPs from Output_Set i Y Delete the targeted cell i from Suspect_Cell_Set Y N N End Y N n>1 ? n=n-1 N Y

12 DDPG Constraints-Loaded Value Constraints on loaded values –Not constrain all scan cells on the faulty chain only constrain the cells that sensitize fault propagation paths –The constrained scan cells can be anywhere on the faulty scan chain Guarantee the patterns can be loaded correctly –The targeted scan cell can be sensitized and its state can be propagated to ROPs

13 DDPG Constraints-Captured Value Constraints on captured values –The state of ROPs can be safely unloaded –For stuck-at faults, ROPs could be downstream cells of LB in the faulty scan chain good scan chains POs –For timing faults, ROPs could be all cells except the targeted cell in the faulty scan chain good scan chains POs 11110100

14 DDPG Constraints-Sensitization Sensitize Fault Propagation Path –off-path inputs of all the gates on propagation path are constrained to non-controlling values –Specify the minimum number of ROPs (n≥2) Pick 3 observation points Pick at least one observations points SA0 j j j Pick 2 from 3

15 Apply Constraints to Netlist 16 15 14 5 4 G4 G2 8 7 4 3 G5 b c f PI 1 i h P1 P1P2 P2 SI SA0 j (b, f, h) (b, f, i) Constraint Circuit Sensitized path number ≥ 2 ? STR

16 Compound Defect Diagnosis Process Calculate a weight w(pat Ci,j ) for each pattern pat Ci,j w(pat Ci,j )= # of ROPs Ci,j / # of total ROPs Calculate a load error probability LEP(C i, j ) for each scan cell C i LEP(C i, j )=H Ci,j / # of ROPs Ci,j Calculate the suspect score pat C16,1 pat C16,2 pat C16,3 C0C0 C4C4 C 16 C 21 C8C8 O3O3 pat C16,1 =3/10 pat C16,2 =4/10 pat C16,3 =3/10 LEP(C 16,1 )=1/3 LEP(C 16,2 )=4/4 LEP(C 16,3 )=2/3 WLEP(C 16 )=7/10

17 Outline Background –Motivation –Related work –Our contributions Proposed method –DDPG algorithm –Compound defect diagnosis process Experimental results

18 Experimental Setup Five ISCAS ’ 89 benchmark circuits Key parameters –Each circuit has two scan chains –n=2, max(|Output_Set i |)=20 Experimental steps For (cell=0;cell<L; cell++) { Inject a timing fault to cell Run DDPG and simulation, calculate Hit_Rate While (! misdiagnosis) { Randomly inject a SA1/SA0 fault to system logic Run DDPG and simulation, calculate Hit_Rate }

19 Experimental Results CUTSA0SA1FTFFTRSTFSTR Hit_RateABABABABABAB s9234111111111111 s13207111111111111 s1585010.99710.99311111111 s38417111111111111 s38584111111111111 Table 1. Hit_Rate of the proposed DDPG method A: system logic is fault-free B: one SA fault in system logic

20 Robustness Evaluation: s38584 (a) No system logic faults(b) 20 system logic faults (c) 40 system logic faults(d) 68 system logic faults

21 Robustness Evaluation: All CUTs CUT # of SA0 faults # of SA1 faults # of FTF faults # of FTR faults # of STF faults # of STR faults s923491317242716 s13207138626141724 s15850206017233330 s3841758171917269 s38584236141845568 Table 2. The number of faults injected into CUT when misdiagnosis happens

22 Diagnostic Resolutions CUT MethodSA0SA1FTFFTRSTFSTR s9234 DDPG 2.21/61.75/51.19/21.16/31.22/31.21/4 Li 05 15.4/335.7/145.5/134.8/143.3/86.9/19 s15850 DDPG 2.23/62.30/81.04/21.03/21.02/21.07/2 Li 05 2.7/72.1/72.7/72.1/72.0/72.1/7 s38584 DDPG 2.93/101.73/81.02/31.03/21.02/31.03/2 Li 05 4.1/124.6/153.6/125.6/133.8/123.4/10 Table 3. Diagnostic resolution (Average/Worst)

23 DDPG Time CUTSA0SA1FTFFTRSTFSTRAvg. s92344.481.090.44 0.490.151.18 s132071.851.010.070.410.440.430.70 s158503.151.041.190.661.150.391.26 s384173.834.930.830.860.691.602.12 s3858414.472.430.320.350.47 3.08 Table 4. Average pattern generation time (second) for a scan cell

24 Conclusions First DDPG for compound defects Statistical failure analysis for compound defects Tolerate dozens of faults in system logic without degradation of chain diagnostic resolution

25 Thank you! Questions?


Download ppt "Deterministic Diagnostic Pattern Generation (DDPG) for Compound Defects Fei Wang 1,2, Yu Hu 1, Huawei Li 1, Xiaowei Li 1, Jing Ye 1,2 1 Key Laboratory."

Similar presentations


Ads by Google