Presentation is loading. Please wait.

Presentation is loading. Please wait.

Detecting Errors Using Multi-Cycle Invariance Information Nuno Alves, Jennifer Dworak, and R. Iris Bahar Division of Engineering Brown University Providence,

Similar presentations


Presentation on theme: "Detecting Errors Using Multi-Cycle Invariance Information Nuno Alves, Jennifer Dworak, and R. Iris Bahar Division of Engineering Brown University Providence,"— Presentation transcript:

1 Detecting Errors Using Multi-Cycle Invariance Information Nuno Alves, Jennifer Dworak, and R. Iris Bahar Division of Engineering Brown University Providence, RI 02912 Kundan Nepal Electrical Engineering Dept. Bucknell University Lewisburg, PA 17837 Design, Automation, and Test in Europe, April 20-24, 2009

2 Motivation Errors in ICs are increasing –Particle strikes, temperature, power, noise, process variations, test escapes, etc. Previously, we have proposed using logic implications for online error detection during a single clock cycle What happens if we consider implications across time cycles?

3 Outline Introduction & Background Logic Implications for Error Detection Multi-Cycle Implications Experimental Results Conclusions

4 Outline Introduction & Background Logic Implications for Error Detection Multi-Cycle Implications Experimental Results Conclusions

5 Other Work Triple Modular Redundancy Logic Duplication Re-Execution in Multiple Threads Codes (Parity, Berger, Bose Lin, etc.) High Level Fault Assertions Fault Masking Checking the Outputs Against a Subset of the Truth Table

6 Our Approach Find natural expected relationships and check for their violation. Water should be blue…. Not brown… In circuits, expected relationships at the gate level consist of logic implications.

7 Outline Introduction & Background Logic Implications for Error Detection Multi-Cycle Implications Experimental Results Conclusions

8 Implications Naturally Occur in Circuits n1 n2 n3 n4 n5 n6 n7 n8 0 1 0 0 n5 = 1 → n8 = 0

9 Implication Violations Can Be Used to Detect Errors ERROR n1 n2 n3 n4 n5 n6 n7 n8 n5=1 n8=0 Appropriate checker logic can detect multiple errors with a single implication.

10 Implication Violations Can Be Used to Detect Errors ERROR n1 n2 n3 n4 n5 n6 n7 n8 n5=1 n8=0 Appropriate checker logic can detect multiple errors with a single implication. sa1

11

12 So….what’s the problem?

13 We have too many implications! How do we efficiently find them and which ones should we use?

14 Implication Algorithm Gate-level implications can be found automatically …without functional knowledge of the circuit.

15 What determines which faults an implication may cover?

16 Potential Spatial Fault Coverage Each implication can only cover a limited area of the circuit…. P Q Direct Path P=0 → Q=0 Faults along the path may be detected P Q P Q P=1 → Q=1 Faults along reconverging paths may be detected Reconvergent Fanout P Q Divergent Fanout P Q Q=0 → P=0 Faults along paths to common ancestors may be detected

17 Implications cannot cover any sites downstream of both implication points!

18 Limitations of Single-Cycle Implications Implications may not exist to cover faults far downstream—e.g. close to: –Flip-flops –Primary Outputs It is possible for no useful implications to exist in a single cycle Optimal timing of capture is difficult Many of these issues are alleviated if we consider multi-cycle implications

19 Outline Introduction & Background Logic Implications for Error Detection Multi-Cycle Implications Experimental Results Conclusions

20 Multi-Cycle Implications Sequential Circuit Containing No Non-Trivial Implications in Combinational Logic Time Frame Expansion Logic Value in First Clock Cycle Implies a Value at a Different Site in the Second Clock Cycle B 1 = 0 → F 2 = 0

21 Multi-Cycle Checker Hardware B 1 = 0 → F 2 = 0 Checker hardware requires state to be held between first and second cycle….

22 Spatial Coverage of Multi-Cycle Implications Good spatial coverage can be achieved near flip-flops Logical distance may increase between implication sites Delays captured at flip-flops in cycle t can be detected without complex timing P Q Cycle tCycle t + 1 Advantages:

23 Outline Introduction & Background Logic Implications for Error Detection Multi-Cycle Implications Experimental Results Conclusions

24 Experimental Setup ISCAS ’89 benchmark circuits Zchaff SAT solver to validate implications Three sets of implications per circuit –First cycle Both implication sites in cycle 1 Obtained with single cycle analysis & unrestricted inputs –Second cycle Both implication sites in cycle 2 Obtained with time frame expansion –Cross cycle One site per cycle Obtained with time frame expansion

25 So, how many implications exist?

26

27 What is the distance between implication sites?

28

29 How do the different implication classes compare for error detection (if we use all possible implications)?

30

31 Developing a Compressed Implication Set

32

33 What if we further tradeoff error coverage for reduced area overhead?

34

35

36 Outline Introduction & Background Logic Implications for Error Detection Multi-Cycle Implications Experimental Results Conclusions

37 Conclusions Implications can be used to effectively detect many errors at runtime –Without requiring functional knowledge of the circuit –Allowing tradeoffs to be made between error coverage and overhead Cross-cycle implications cover faults that cannot be covered by single cycle implications Even though they have larger overhead, cross cycle implications are often an “optimal” choice When optimizing for low area overhead, more than 85% of the implications may be cross cycle

38

39 For Inquiring Minds

40 Implication Algorithm Gate-level implications can be found automatically …without functional knowledge of the circuit. Run Good Circuit Simulation with Random Vectors and Monitor Site Values…00011011A,B A,C A,D A=0 → C = 0

41 Implication Algorithm Gate-level implications can be found automatically …without functional knowledge of the circuit. Using a SAT solver (such as Zchaff)

42 Implication Algorithm Gate-level implications can be found automatically …without functional knowledge of the circuit. n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n10 = 0 → n13 = 0 n4 = 1 → n8 = 0

43 Implication Algorithm Gate-level implications can be found automatically …without functional knowledge of the circuit. Of all the patterns that will allow a fault to produce an error at an output, how many will each implication detect?

44 Implication Algorithm Gate-level implications can be found automatically …without functional knowledge of the circuit.


Download ppt "Detecting Errors Using Multi-Cycle Invariance Information Nuno Alves, Jennifer Dworak, and R. Iris Bahar Division of Engineering Brown University Providence,"

Similar presentations


Ads by Google