a meta-model-based approach for semantic fault modeling on ... · a meta-model-based approach for...

20
A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A. Tabacaru, W. Ecker

Upload: others

Post on 02-Aug-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A Meta-Model-Based Approach for Semantic Fault Modeling on ... · A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A

A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels

M. Schwarz

M. Chaari, B.-A. Tabacaru, W. Ecker

Page 2: A Meta-Model-Based Approach for Semantic Fault Modeling on ... · A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A

Outline

Objectives

Limitations

Concept

Simulation

Conclusion

Motivation

Page 2

Page 3: A Meta-Model-Based Approach for Semantic Fault Modeling on ... · A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A

Motivation - Applications

Electronic devices are crucial in many aspects of modern society, such as:

Mobility

Communication

Health care

Finance

Page 3

[1]

[2]

[3]

Page 4: A Meta-Model-Based Approach for Semantic Fault Modeling on ... · A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A

Motivation - Challenges

Error prone transistors, due to technology scaling

Constant or increasing dependability requirements

Page 4

Increasing complexity in design & verification

Early detection of sensitive

Dependability taxonomy after Laprie [1]

Page 5: A Meta-Model-Based Approach for Semantic Fault Modeling on ... · A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A

Motivation – Fault Injection

Well-known technique to measure the impact of resilience techniques [2]

Page 5

Logic Gate Level

Deliberate insertion of faults into a system

Determine system’s response

Widely used at the logic gate level

Missing fault models at higher abstraction levels

Page 6: A Meta-Model-Based Approach for Semantic Fault Modeling on ... · A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A

Objectives

A structured approach to define fault models:

Enable early incorporation in the design process

Reduce time-to-market

Evaluate fault tolerance techniques at the fitting abstraction level.

Enhance fault injection for RTL- and TLM-layer

Page 6

… ?

… ?

Abstraction

Abstraction

Gate

TLM

RTL

SiliconAbstr

action

Abstr

action

Abstr

action

Synth

esis

Synth

esis

Synth

esis

Stuck-AtTransient

Delay

Abstraction

Fault Models Abstraction Level

Physical Faults

Page 7: A Meta-Model-Based Approach for Semantic Fault Modeling on ... · A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A

Limitations - Abstraction

“The action of factoring out unnecessary details, identifying relevant similarities between objects and synthesizing those

facts into a concept or class”

Primary goals:

Get a better understanding of complex structures

Simplify tasks performed on complex structures

Abstraction is performed with a given field of application in mind

Page 7

Page 8: A Meta-Model-Based Approach for Semantic Fault Modeling on ... · A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A

Limitations – Domain Specialization

Page 8

Incre

asin

g a

bstr

action &

specia

lization

Synchronous

Domain A

Logic

Fault Models

Fault Models

FaultModels

applies to

applies to

applies to

Fault models must be tailored to the requirements of the targeted domain

Page 9: A Meta-Model-Based Approach for Semantic Fault Modeling on ... · A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A

Concept – Meta-Model

Page 9

“An explicit model of the constructs and rules needed to build specific

models within a domain of interest”

Association

Aggregation

Generalisation

Fault Library Metamodel

Page 10: A Meta-Model-Based Approach for Semantic Fault Modeling on ... · A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A

Concept – Meta-Model

Ontological meta-model [3] serves as common foundation for libraries:

Enables automatic code generation

Reusability

10

Bit-flip as smallest observable change: Resilience articulation point [4] Creation of accumulated

models of higher orderSource: Herkersdorf, A. et al.: Resilience articulation point (RAP) [4]

Page 11: A Meta-Model-Based Approach for Semantic Fault Modeling on ... · A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A

Concept - Threats

Page 11

Threats: faults, errors and failures

Page 12: A Meta-Model-Based Approach for Semantic Fault Modeling on ... · A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A

Concept - Targets

Page 12

Target:

Valid application points

for threats

Page 13: A Meta-Model-Based Approach for Semantic Fault Modeling on ... · A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A

Concept - Domain

Page 13

Domain: Areas of interest and/or functionality

Page 14: A Meta-Model-Based Approach for Semantic Fault Modeling on ... · A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A

Simulation – General Framework

Page 14

Controller

Monitor

Fault InjectorWorkload Generator

Data Collector / Analyzer

Target System

Fault LibraryWorkload

Library

Page 15: A Meta-Model-Based Approach for Semantic Fault Modeling on ... · A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A

Simulation - Flow

Automatic construction of the meta-model-related frameworks via the Metagen[5] code generation tool

Page 15

Signal List

Faulty Simulations

Gold Simulation

compare

Gate-level design

Test bench

RTL design

Page 16: A Meta-Model-Based Approach for Semantic Fault Modeling on ... · A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A

Simulation - SetupTarget System 32-bit MIPS-architecture Automatic testbench generation

Simulation Fault injection Randomized workload One campaign per VHDL module 300 unique runs / campaign

Result All observed errors were covered by the defined fault models

16

Page 17: A Meta-Model-Based Approach for Semantic Fault Modeling on ... · A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A

Conclusion

A systematic approach

Implicit assumptions during abstraction specialization

Fault models can be aggregated

New layer of semantic information

The meta-modeling-based approach enables formalization of fault models

17

Page 18: A Meta-Model-Based Approach for Semantic Fault Modeling on ... · A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A

Questions

Finalize slide set with questions slide

Page 19: A Meta-Model-Based Approach for Semantic Fault Modeling on ... · A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A

References(1) Avizienis, A.; Laprie, J.-C.; Randell, B.; Landwehr, C. (2004). Basic

concepts and taxonomy of dependable and secure computing. Dependable and Secure Computing, IEEE Transactions on, 1(1):11–33.

(2) Hsueh, M.-C.; Tsai, T. K.; Iyer, R. K. (1997). Fault injection techniques and tools. Computer, 30(4):75–82.

(3) Atkinson, C.; Kühne, T. (2003). Model-driven development: a metamodeling foundation. Software, IEEE, 20(5):36–41.

(4) Herkersdorf, A. et al. (2014). Resilience articulation point (rap): Cross-layer dependability modeling for nanometer system-on-chip resilience. Microelectronics Reliability, 54(6-7):1066 – 1074

(5) Ecker, W.; Velten, M.; Zafari, L.; Goyal, A. (2014). "The metamodeling approach to system level synthesis," Design, Automation and Test in Europe Conference and Exhibition (DATE), vol., no., pp. 1(2):24-28

19

Page 20: A Meta-Model-Based Approach for Semantic Fault Modeling on ... · A Meta-Model-Based Approach for Semantic Fault Modeling on Multiple Abstraction Levels M. Schwarz M. Chaari, B.-A

Contact Information

TU Kaiserslautern:

Infineon Technologies AG:

20

Michael Schwarz [email protected]

M. Chaari [email protected]

B.-A. Tabacaru [email protected]

W. Ecker [email protected]