30
AF3: Seamless Model Based Development FB1 - From Theory to Practice -

AF3 Interner Tag Offene Tueren

  • Upload
    afdevel

  • View
    3.500

  • Download
    0

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: AF3 Interner Tag Offene Tueren

AF3: Seamless Model Based Development

FB1

- From Theory to Practice -

Page 2: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

Seamless what?

2

Seamless MBD is the pervasive use of models

throughout all development phases

Higher Productivity

Higher Analyzability

Higher Quality

Page 3: AF3 Interner Tag Offene Tueren

Tool framework for seamless model-based development» http://af3.fortiss.org/

Open Source, Apache 2.0 License

Specification languages Basic: components architecture, state machines, technical platform, deployment, ...

Analyses Basic: simulation, on-the-fly verification of constraints

Generators Basic: code generation – e.g. embedded C, Java, ...

AF3 at a Glance

Page 4: AF3 Interner Tag Offene Tueren

Tool framework for seamless model-based development» http://af3.fortiss.org/

Open Source, Apache 2.0 License

Specification languages Basic: components architecture, state machines, technical platform, deployment, ...

Advanced: modes, temporal logics, ... Analyses

Basic: simulation, on-the-fly verification of constraints

Advanced: » test cases generation (random, state/transition coverage)» model checking using verification patterns

Generators Basic: code generation – e.g. embedded C, Java, ...

Advanced: scheduling synthesis, FPGA code generation, ...

AF3 at a Glance

Page 5: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

Modular Framework Architecture

EMF, GEF, …

Generic Toolingframework

Application

Design

AdequateBehavior

Specifications

HardwareEnvironme

nt

SystemDeployme

nt

RequirementsEditors

Metamodel

Generators

Page 6: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

Todays AF3 Topics

6

Model-based Integrated Requirements Analysis

Automatic Testcase Generation

Model Checking for the Masses

Pervasive Deployment, Code Synthesis and Rollout

Optimized Realtime Schedule Generation

FPGA Code Generation and Deployment

Page 7: AF3 Interner Tag Offene Tueren

Model-based Integrated Requirements Analysis

Dongyue Mou, Sabine Teufl

Page 8: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

Model-based RE?

8

Extend AF3 to support Requirements Engineering

Capture informal requirements

Refine requirements into formal system specifications

Front-loadingEarly Analyses

Complete Traceability

https://projects.fortiss.org/redmine/public/projects/re-for-af3

Page 9: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

Features

9

Template for general requirements and use cases Generation of requirement documents Verification of completeness, correctness and

consistency Visual presentation of requirement hierarchy Integration of requirements and logical architecture Support of Message Sequence Chart

Page 10: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

Future Works

10

Introduction of functional architecture Integration of testing Automatic verification of refinement Support more requirement types

Non-Functional Requirements Timing Constraints …

Page 11: AF3 Interner Tag Offene Tueren

Automatic Testcase Generation

Christian Pfaller, Dongyue Mou, Bernhard Schätz

Page 12: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

Focus

12

Methods and tool support for the automatic generation of testcases from (partially) executable models

Automatic Qualilty Assurance

BMBF Project IMES (BMW, Itemis, …) Technology Transfer in industrial Applications

Page 13: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

Ecosystem

13

Competencies: Constraint-Logic Programming

Cross-references: RACE

Page 14: AF3 Interner Tag Offene Tueren

Model Checking for the Masses with AF3

Daniel Ratiu

Page 15: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

... for the Masses?

15

Usability challenges of doing model checking» Model the system» Write temporal logics specifications» Interpret the counterexample

Process Support

Continuous Quality Assurance

Page 16: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

Goals

16

Transfer model checking technology to practitioners

» Bring formal verification closer to common developers

Make them „get the idea“ in less than 10 minutes

Wrap the theory such that it is „ready to use“

» Research on pragmatic aspects of formal verification (model checking)

Integrate formal verification in a more agile process

» Continuously write, save and check properties

Defining a verification condition should take less than one minute

Page 17: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

Deeply integrate Cadence SMV in AF3

17

Specification of verification conditions with the help of TL patterns

Basic, ready to use patterns

Advanced patterns

Simulate counterexamples in the IDE

... or present them as MSCs

Support for black-box temporal-logics based specifications

Can be checked against the implementation continuously in the process

Page 18: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

AF3 Model Checking at a Glance

18

Page 19: AF3 Interner Tag Offene Tueren

A Pervasive Approach toDeployment, Code Synthesis and Rollout

Florian Hölzl, Andreas Wandinger, Christoph Döbber

Page 20: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

Pervasive Deployment?

20

Decouple Application Logic from Execution Platform

Parallelization of Application and Platform Development

Automatic Code Synthesis and System Integration

Separation of ConcernsIndependent Reuse of Application and Platform

Automatized System Rollout

Page 21: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

Deployment and Rollout

21

Page 22: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

Code Synthesis

Page 23: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

Future Work

23

Page 24: AF3 Interner Tag Offene Tueren

Multi – Criteria Synthesis for Efficient Deployment

Sebastian Voss

Page 25: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

Multi-Criteria Synthesis?

25

Integrate Application Logic on Execution Platform

Semi-automatic Design Space Exploration Methods

Multi-Criteria Trade-off Analysis (Timing, Energy-Efficiency, Memory Consumption, …)

Efficient DeploymentOptimized Partitioning and Mapping

Page 26: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

Multi – Criteria Synthesis for Efficient Deployment

26

Based on AF3 component and platform architecture Design Space Exploration based on SMT-Solving Goals:

Providing an efficient deployment (with respect to timing, energy-efficiency, memory consumption, …) for multi-criteria problems

Calculate an (optimized) partitioning and/or mapping of systems

Logical Architecture

Technical Architecture

Synthesis mechanismsEfficient

Deployment

Page 27: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

SMT – Solver (e.g. Z3, YICES, …)

Based on AF3 Component and Platform Architecture Extraction of the Component Precedence Relation Task and Message Schedule Generation for:

Distributed Event-based Systems (e.g. based on CAN) Time-triggered Platform Architecture Multi-core Platform Architectures

Multi – Criteria Synthesis for Efficient Deployment

27

Deployment

Logical Architecture

Technical Architecture

Synthesis Mechanisms

Scheduling Model

Extended DAG

Optimization criteria(e.g. E2E – latency,…)

Schedule

Page 28: AF3 Interner Tag Offene Tueren

FPGA Code Generation

Chun Li

Page 29: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

Focus

29

Mode switch diagrams – based reconfigurable FPGA Code-Generation

System design and code generation

» Editor and simulation support, VHDL code generation

Deployment on FPGA Hardware(Run-Time Reconfigurable)

» Tool support for design on run-time reconfigurable FPGAs (Xilinx Virtex II Pro )

Reconfigurable Computing

Partner: TUM Lehrstuhl für Integrierte Systeme Example project: AutoVision

(http://www.lis.ei.tum.de/index.php?id=62)

Page 30: AF3 Interner Tag Offene Tueren

08.11.2011© fortiss GmbH 2011

Workflow

30

Standalone self-reconfiguration with embedded microprocessor

Synthesizable VHDL Codes

Modes Automaton

Competencies:

Model-based Systems Engineering

SW and HW Co-Design