Presentation is loading. Please wait.

Presentation is loading. Please wait.

Jeff Allen Jacob Biamonte ECE 572/672 Project: Testing.

Similar presentations


Presentation on theme: "Jeff Allen Jacob Biamonte ECE 572/672 Project: Testing."— Presentation transcript:

1 Jeff Allen Jacob Biamonte ECE 572/672 Project: Testing

2 Other important moments in the history of quantum test set generation Original Idea from right here at PSU! Markov/Hayes at the U.M.  work was done on reversible test set generation that at least made one think about quantum test set generation (We are the only group in the world to cite this paper thus far) This is one of the most fundamental papers published in recent times! Many papers exist on regular testing, U.M. group and us are the only ones doing this research now (I think anyway), when reversible computers become commercial 1,000s of test set generation papers will be written, we just don’t know when this will happen but we hope it will be in our life times. Ed Perkins wrote some reversible test generation software last year, he did a good job but I have a new method and new software

3 Goal Number One Illustrate classical known method to detect and localize faults on a simple AND gate Explain the classical fault model Explain the use of this in large scale binary and analog circuit design

4 Classical Fault Localization Example 1: AND gate inserting stuck-at faults. Seven possible situations: a b y a b y a b y Sa1 a b y a b y a b y Sa0 Sa1 Stuck-at-1 at a Stuck-at-0 at a Stuck-at-1 at bStuck-at-1 at y Stuck-at-0 at yStuck-at-0 at b a b y Good Circuit

5 Classical Fault Localization Create truth table showing good circuit and all cases of faults ab Good Circuit sa1 asa1 bsa1 ysa0 asa0sa0 y 000001000 010101000 100011000 111111000  Indicates a faulty output (output different than that of good circuit) Goal: minimize the number of test vectors needed to detect and localize all faults

6 Classical Fault Localization 1 0 1 0 b XXX1 XX1 XX0 X0 sa0 ysa0sa0 asa1 ysa1 bsa1 aGood Circuit a Input Vectors Chosen so as to detect and localize all faults with minimum number of test vectors T1T1 T2T2 T3T3 T4T4 T2T2 PF 1 0 0 b XXX1 X1 0 sa0 ysa0sa0 asa1 bGood Circuit a T1T1 T3T3 T4T4 1 0 0 b 1 X1 X0 sa1 ysa1 aa T1T1 T3T3 T4T4 Possible: Good Circuit, sa1 a, sa1 b, sa1 y, sa0 a, sa0 b, sa0 y Possible: sa1 a, sa1 y Before Test: After Test: Fault Table of AND gate with stuck at faults Applying Test Vector 01: Possible: Good Circuit, sa1 b, sa0 a, sa0 b, sa0 y

7 1 0 0 b XXX1 X1 0 sa0 ysa0sa0 asa1 bGood Circuit a T1T1 T3T3 T4T4 1 0 0 b 1 X1 X0 sa1 ysa1 aa T1T1 T3T3 T4T4 Good Circuit, sa1 a, sa1 b, sa1 y, sa0 a, sa0 b, sa0 y Good Circuit, sa1 b, sa0 a, sa0 b, sa0 y sa1 a, sa1 y Because all of the stuck-at-0 faults have the same entries in the fault table, there is no way to localize them, unless we can measure all parts of the circuit. Good Circuit, sa0 a, sa0 b, sa0 y 1 0 b XXX1 0 sa0 ysa0sa0 aGood Circuit a T1T1 T4T4 PF T2T2 P F T3T3 PF T3T3 Sa1@aSa1@ySa1@bSa0@a, Sa0@b, Sa0@y Good Circuit PF T4T4 1 0 1 0 b XXX1 XX1 XX0 X0 sa0 ysa0sa0 asa1 ysa1 bsa1 aGood Circuit a T1T1 T2T2 T3T3 T4T4 Original Fault Table If we would have tested exhaustively it would have taken all 4 tests, we did it in 3, (and we know the type of error present!)

8 Goal Number Two Show another example, but this time with a reversible circuit and Markov, Hayes stuck-at technique Explain some of the differences between classical fault detection and reversible fault detection

9 Example 2, a reversible circuit  Stuck-at-0 Stuck-at-1 Sa0Sa1    

10 Example 2 continued… Locations for faults a bGCSa0@1Sa0@2Sa0@3Sa0@4Sa1@1Sa1@2Sa1@3Sa1@4 00 111001 00 101101 101100 111011 1011 1001001110 11 Table comparing the correct value of the circuit (GC) with the incorrect values 

11 Example 2 continued… a bGCSa0@1Sa0@2Sa0@3Sa0@4Sa1@1Sa1@2Sa1@3Sa1@4 00 00001111 01 00111100 101111010010 1011100001 1’s show cell that can detect an error a bGCSa0@1Sa0@2Sa0@3Sa0@4 01 0011 10111101 101110 Table after test vector 00 was selected a bGCSa0@4 01 1 10111 Table after test vector Complete Test set:{00, 11, 10} This will detect all possible faults in circuit provided all faults are of the type specified by the model. Stuck-at fault model, etc.

12 Example 2 B, localization a bGCSa0@1Sa0@2Sa0@3Sa0@4Sa1@1Sa1@2Sa1@3Sa1@4 00 111001 00 101101 101100 111011 1011 1001001110 11 T1(00)

13 Example 2 B, localization Sa0@3Sa1@4 0001 0001 11 T2 abGCSa0@4Sa1@1Sa1@2Sa1@3 00 111001 00101101 10111011 10 T2 abGCSa1@3 00 01 T3

14 Compare Scaling Reversible v. Classical Small reversible circuits have small gains compared to classical Large Classical circuits often cannot be localized, where all reversible circuits can be localized

15 Reversible scaling Each level of a reversible circuit can be partially tested with any test A first test will test every C-NOT gates input, output and control half way

16 Example 2 revisited… Locations for faults a bGCSa0@1Sa0@2Sa0@3Sa0@4Sa1@1Sa1@2Sa1@3Sa1@4 00 111001 00 101101 101100 111011 1011 1001001110 11 So why not two tests! 

17 Reversible scaling (cont) The best each subsequent test can do is half of what is left. Test overlap exists and can lower each successive test’s effectiveness

18 My Approach Path propagation as opposed to fault tables The Stuck-at model is incomplete –What about missing gate? –Bridging faults

19 What’s wrong with fault tables? Memory requirements, a non linear increase exists when lines, stages, and or gates are added. Good tables may require conditional branch solutions for localization.

20 Why Path Propagation? Dynamic on the fly localization Circuit can be loaded and testing can be started immediately. Can be optimized to find known issues Capable of providing OTF coverage specs

21 Path Propagation Example (Step One) 110110 111111 s0 S1 S0 S0 S1 s1 !s0 S0

22 Path Propagation Example (Step Two) 110110 s0 S1 S0 S0 S1 s1 s0 S0 S1 S0 0 S1 0 1 s0 S0 S1 S0 s1 ! S0 011011

23 Path Propagation Example (Step Three) ** s0 ** S0 ** s0 S0 ** s1 ** 0 s1 S0 0 ** s1 S1 0 1 S1 0 1 Note Y-Stuck at 0 stage 1 never tested. And Stuck @ 0 can be missed in case of missing gates

24 Our Test Set 110 011 001 10* to test Y-stuck@0 stage 1

25 What does this mean? The stuck at method can miss errors involving missing gates 50% likely to miss, missing gate in stage 1 Law of diminishing returns, how does it apply here?

26 Bridging Faults In order to truly test bridging across lines one-hot and one-cool versions should be done If single fault model used, implied bridging could be attempted

27 Implied Bridging Technique At each connection and or xor two lists of all other lines for 1-0 and 0-1 oppositions Percent bridge tested equals –((tested 1-0) + (tested 0-1)) / (2 * totalnodes)

28 Thanks! As can be seen by the example there are more calculations then what can be done by hand for larger circuits Typically there is redundancy in the exhaustive method, this is far to complicated to be seen for people, but computers can remove it. The goal of this method is to remove the useless tests, and focus on the tests that give the most information about the circuit.


Download ppt "Jeff Allen Jacob Biamonte ECE 572/672 Project: Testing."

Similar presentations


Ads by Google