Executing SyncCharts with Ptolemy

Similar documents
Interactive Esterel to SyncCharts Transformation. Christian Motika

Synchronous Statecharts. Christian Motika

SCCharts. Sequentially Constructive Charts

Updates on SCCharts Christian Motika Steven Smyth

Concurrent Models of Computation

Modal Models in Ptolemy

Interactive Transformations for Visual Models

Synchronous Dataflow Processong

Compiling SCCharts A Case-Study on Interactive Model-Based Compilation

Embedded Real-Time Systems

Interactive Incremental Hardware Synthesis

Composition of State Machines

Prof. Dr. Reinhard von Hanxleden. Christian-Albrechts Universität Kiel Department of Computer Science Real-Time Systems and Embedded Systems Group

Sequential Constructiveness, SCL and SCCharts

Overview. Synchronous Languages Lecture 12. Code Generation for Sequential Constructiveness. Compilation Overview. The 5-Minute Review Session

A SyncCharts Editor based on YAKINDU SCT

Introduction to Embedded Systems

Section 8. The Basic Step Algorithm

Hybrid System Modeling: Operational Semantics Issues

Specifications Part 1

Orccad, a Model Driven Architecture and Environment for Real-Time Control. Soraya Arias Florine Boudin Roger Pissard-Gibollet Daniel Simon

Analyzing Robustness of UML State Machines

Ptolemy II The automotive challenge problems version 4.1

The etrice Eclipse Project Proposal

INSTITUT FÜR INFORMATIK

A Generic Framework for Structure-Based Editing of Graphical Models in Eclipse

Reinhard v. Hanxleden 1, Michael Mendler 2, J. Aguado 2, Björn Duderstadt 1, Insa Fuhrmann 1, Christian Motika 1, Stephen Mercer 3 and Owen Brian 3

The Ptolemy II Framework for Visual Languages

Multi-View Modeling and Pragmatics in 2020

Remote Control. IMMS.de

Simulation of LET Models in Simulink and Ptolemy

UC Berkeley Mobies Technology Project

Hardware Description Languages & System Description Languages Properties

Finite State Machines and Statecharts

EE249 Lab September 30 h, 2008 Hugo A. Andrade

UML 2.0 State Machines

EE382N.23: Embedded System Design and Modeling

Early design phases. Peter Marwedel TU Dortmund, Informatik /10/11. technische universität dortmund. fakultät für informatik informatik 12

By: Chaitanya Settaluri Devendra Kalia

Contents Contents 1 Introduction Entity Types... 37

Multimodeling: A Preliminary Case Study

TOPCASED. Current status

Comparing graphical DSL editors

Hierarchical FSMs with Multiple CMs

Building Synchronous DataFlow graphs with UML & MARTE/CCSL

Outline. SLD challenges Platform Based Design (PBD) Leveraging state of the art CAD Metropolis. Case study: Wireless Sensor Network

Unifying Agent and Component Concepts - Jadex Active Components

Transforming UML Collaborating Statecharts for Verification and Simulation

Part I: Preliminaries 24

A Data-Flow Approach for Compiling the Sequentially Constructive Language (SCL)

SysteMoC. Verification and Refinement of Actor-Based Models of Computation

Finite State Machines and Modal Models in Ptolemy II

Introduction to Model Driven Engineering using Eclipse. Frameworks

Towards Formalizing Domain-specific Modeling Languages. Kai Chen Janos Sztipanovits Sandeep Neema

Unified Modeling Language 2

SCXML State Chart XML

Finite State Machine Based Object-Oriented Applications Development Using UML and Eclipse Platform

Flight Systems are Cyber-Physical Systems

Building Unreliable Systems out of Reliable Components: The Real Time Story

INSTITUT FÜR INFORMATIK

Advanced Tool Architectures. Edited and Presented by Edward A. Lee, Co-PI UC Berkeley. Tool Projects. Chess Review May 10, 2004 Berkeley, CA

System-Level Design Languages: Orthogonalizing the Issues

-Netzwerktreffen Embedded Systems. Modell-getriebene Entwicklung mit der YAKINDU-Workbench

Metamodeling. Janos Sztipanovits ISIS, Vanderbilt University

Programming Deterministic Reactive Systems with Synchronous Java

MEMOCenterNG A full-featured modeling environment for organization modeling and model-driven software development

Compositional Model Based Software Development

INSTITUT FÜR INFORMATIK

The Gigascale Silicon Research Center

Fusing Dataflow with Finite State Machines

Object-Oriented Design

Imperative model of computation

SOFTWARE MODELING AND DESIGN. UML, Use Cases, Patterns, and. Software Architectures. Ki Cambridge UNIVERSITY PRESS. Hassan Gomaa

XEVE, an ESTEREL Verification Environment

Course "Softwaretechnik" Book Chapter 2 Modeling with UML

A PRIMITIVE EXECUTION MODEL FOR HETEROGENEOUS MODELING

Whole Platform Foundation. The Long Way Toward Language Oriented Programming

Modelling Functionality of Train Control Systems using Petri Nets

Steps in Using COMET/UML

Introduction 2 The first synchronous language (early 80 s) Gérard Berry and his team (École des Mines de Paris / INRIA Sophia-Antipolis) Imperative, s

UML 2.0 UML 2.0. Scott Uk-Jin Lee. Division of Computer Science, College of Computing Hanyang University ERICA Campus

The Esterel language

Model Engineering using Multimodeling

The ArchMapper Approach to Architectural Conformance Checks: An Eclipse-based Tool for Style-oriented Architecture to Code Mappings

Synchronous C + WCRT Algebra 101

Graphical System Design. David Fuller LabVIEW R&D Section Manager

Specifications and Modeling

Codesign Framework. Parts of this lecture are borrowed from lectures of Johan Lilius of TUCS and ASV/LL of UC Berkeley available in their web.

Component-Based Design of Embedded Control Systems

ECLIPSE MODELING PROJECT

CISC836: Models in Software Development: Methods, Techniques and Tools

UNIT-4 Behavioral Diagrams

ModHel X: A Component-Oriented Approach to Multi-Formalism Modeling

SyncCharts in C. Reinhard von Hanxleden

UNICORN: A Tool for Modeling and Reasoning on the Uncertainty of Requirements Evolution

with openarchitectureware

The Future of the Ptolemy Project

EAXML Demonstration Platform on Artop/Sphinx.

EXECUTABLE MODELING WITH FUML AND ALF IN PAPYRUS: TOOLING AND EXPERIMENTS

ECL: A SPECIFICATION ENVIRONMENT FOR SYSTEM-LEVEL DESIGN

Transcription:

Executing SyncCharts with Christian Motika Real-Time Systems and Embedded Systems Group Department of Computer Science Christian-Albrechts-Universität zu Kiel, Germany KIEL ER SYNCHRON Workshop 2010 Frejús, 29.11.2010 Christian Motika Executing SyncCharts with 1 / 23

KIELER Semiotics CEC Execution Manager SCC Semantics Automatic Layout Synchronous C/Java CodeGen / Sim UML State Machines () SyncCharts Semiotics Pragmatics Dynamic Views Data Flow Syntax View Management Actor Oriented UML Christian Motika Executing SyncCharts with 2 / 23

Overview KIELER Overview SyncCharts Heterogenous Modeling ModalModel and SR Domain KIELER leveraging Summary Simulation Approach Transformations Eclipse Integration Christian Motika Executing SyncCharts with 3 / 23

Overview SyncCharts What is KIELER? Kiel Integrated Environment for Layout Eclipse Rich Client Modeling platform and test bed Improve pragmatics Open source and Eclipse based (plug-ins) General concepts: Generic approaches Symbiosis w/ Eclipse technologies (e.g., EMF, GMF, TMF, Xpand, Xtend) Interfaces to other tools (, Papyrus) Christian Motika Executing SyncCharts with 4 / 23

Overview SyncCharts SyncCharts Statechart dialect Mealy machine with Parallelism, hierarchy, compound events, broadcast Graphical notation for the Esterel synchronous language Synchrony hypothesis Discrete ticks Computations take no time Christian Motika Executing SyncCharts with 5 / 23

Overview SyncCharts Abstract Syntax (EMF) Christian Motika Executing SyncCharts with 6 / 23

Overview KIELER Overview SyncCharts Heterogenous Modeling ModalModel and SR Domain KIELER leveraging Summary Simulation Approach Transformations Eclipse Integration Christian Motika Executing SyncCharts with 8 / 23

Heterogenous Modeling ModalModel and SR Domain The project studies heterogeneous modeling, simulation, and design of concurrent systems. Introduction to II, UC Berkeley Executable Models to describe behavior of reactive systems models are a set of interacting components Actor-Oriented Design Constructed under a model of computation (MoC) Christian Motika Executing SyncCharts with 9 / 23

Actor Example Introduction to II, UC Berkeley, 2008

Heterogenous Modeling ModalModel and SR Domain Model of Computation Defines interaction of system components Semantics of a model Model can have more than one MoC MoC domains/directors: Process Networks (PN) Continuous Time (CT) Finite State Machines (FSM) Synchronous Reactive (SR)... Christian Motika Executing SyncCharts with 11 / 23

Heterogenous Modeling ModalModel and SR Domain ModalModel Domain Entities not actors but states Execution: Strictly ordered sequence of state transitions Build-in expression language to evaluate guards Refinements (multiple) Reset and preemptive transitions Christian Motika Executing SyncCharts with 12 / 23

Heterogenous Modeling ModalModel and SR Domain Synchronous Reactive Domain Zero-Delay blocks Instantaneous communication Feedback Fixed point Stable state Values from flat lattice Determinism Unique solution Christian Motika Executing SyncCharts with 13 / 23

Overview KIELER Overview SyncCharts Heterogenous Modeling ModalModel and SR Domain KIELER leveraging Summary Simulation Approach Transformations Eclipse Integration Christian Motika Executing SyncCharts with 14 / 23

Simulation Approach Transformations Eclipse Integration Simulation Engine Mapping SyncCharts to : Mealy machine ModalModel Orthogonality Concurrent Actors (inherent) Hierarchy Compound Actors, state refinements Compound events Expression language Interesting: Implicit broadcast vs. explicit signal representation Signal coherence (must/cannot analysis) Transition priorities Normal termination Christian Motika Executing SyncCharts with 15 / 23

Transformation Example: Parallelism and Signals

Transformation Example: Hierarchy

Simulation Approach Transformations Eclipse Integration Schematic Overview M2M description SyncChart 2 Xtend MM SyncChartsMM metamodels SyncChart Model model to simulate Xtend M2M Simulator Data Producer Data Observer produce Model load & execute simulation data, model outputs commands, model inputs Execution Manager Christian Motika Executing SyncCharts with 18 / 23

Simulation Approach Transformations Eclipse Integration Architecture and User Interface Execution Manager Runtime Data Producer/Observer Data Producer/Observer Data Observer Data Observer Data Producer Data Producer/Observer Java Simulator Generic Simulator II Environment Visualization Model Feedback Visualization Recorded Trace Player TCP/IP Interface External Appl. Christian Motika Executing SyncCharts with 19 / 23

Simulation Approach Transformations Eclipse Integration KIELER Simulation Demo LIVE DEMO Christian Motika Executing SyncCharts with 20 / 23

Summary To Go Further The End Summary KIELER KIELER leveraging concept Construct runnable models for EMF based models (Xtend) integration in Eclipse Infrastructure for interactive model execution Also: Visualization, stepwise transformation, model checking, online debugging, regression tests, validation,... Christian Motika Executing SyncCharts with 21 / 23

Summary To Go Further The End To Go Further ANDRÉ, C. Computing SyncCharts reactions. In SLAP 2003: Synchronous Languages, Applications and Programming, A Satellite Workshop of ECRST 2003 (2004), vol. 88, pp. 3 19. MOTIKA, C., FUHRMANN, H., AND VON HANXLEDEN, R. Semantics and execution of domain specific models. In 2nd Workshop Methodische Entwicklung von Modellierungswerkzeugen (MEMWe 2010) at conference INFORMATIK 2010 (Leipzig, Germany, Sept. 2010), GI-Edition Lecture Notes in Informatics (LNI), Bonner Köllen Verlag. UC BERKELEY, EECS DEPT. webpage. http://ptolemy.eecs.berkeley.edu/. UNI KIEL, REAL-TIME AND EMBEDDED SYSTEMS GROUP. KIELER webpage. http://www.informatik.uni-kiel.de/en/rtsys/kieler/. Christian Motika Executing SyncCharts with 22 / 23

Summary To Go Further The End Thank you for your attention and participation! Any questions or suggestions? Christian Motika Executing SyncCharts with 23 / 23