Chess Review May 11, 2005 Berkeley, CA Composable Code Generation for Distributed Giotto Tom Henzinger Christoph Kirsch Slobodan Matic.

Slides:



Advertisements
Similar presentations
Automotive Embedded System Development in AUTOSAR
Advertisements

Logical Reliability of Interacting Real-Time Tasks Krishnendu Chatterjee, UC Berkeley Arkadeb Ghosal, UC Berkeley Thomas A. Henzinger, EPFL Daniel Iercan,
A Hierarchical Co-ordination Language for Interacting Real-time Tasks Arkadeb Ghosal, UC Berkeley Thomas A. Henzinger, EPFL Daniel Iercan, "Politehnica"
Sensor Network Platforms and Tools
Time Safety Checking for Embedded Programs Thomas A. Henzinger, Christoph M. Kirsch, Rupak Majumdar and Slobodan Matic.
The Fixed Logical Execution Time (FLET) Assumption Tom Henzinger University of California, Berkeley.
Background information Formal verification methods based on theorem proving techniques and model­checking –to prove the absence of errors (in the formal.
Verification/Simulati on –GUI for simulation and formal verification –Simulator: Exploration of dynamic behavior Checking.
LOGO HW/SW Co-Verification -- Mentor Graphics® Seamless CVE By: Getao Liang March, 2006.
Predictable Design for Real-time Embedded Control A Case Study Jinfeng Huang & Jeroen Voeten Eindhoven University of Technology PROGRESS.
Event Driven Real-Time Programming CHESS Review University of California, Berkeley, USA May 10, 2004 Arkadeb Ghosal Joint work with Marco A. Sanvido, Christoph.
Overview of PTIDES Project
2/11/2010 BEARS 2010 On PTIDES Programming Model John Eidson Jeff C. Jensen Edward A. Lee Slobodan Matic Jia Zou PtidyOS.
Page 1 Building Reliable Component-based Systems Chapter 16 - Component based embedded systems Chapter 16 Component based embedded systems.
Systems Engineering for Automating V&V of Dependable Systems John S. Baras Institute for Systems Research University of Maryland College Park
PTIDES: Programming Temporally Integrated Distributed Embedded Systems Yang Zhao, EECS, UC Berkeley Edward A. Lee, EECS, UC Berkeley Jie Liu, Microsoft.
Integrated Design and Analysis Tools for Software-Based Control Systems Shankar Sastry (PI) Tom Henzinger Edward Lee University of California, Berkeley.
Chess Review November 21, 2005 Berkeley, CA Edited and presented by Trading Latency for Composability Slobodan Matic UC Berkeley.
February 21, 2008 Center for Hybrid and Embedded Software Systems Organization Board of Directors Edward A. Lee, UC Berkeley.
Contiki A Lightweight and Flexible Operating System for Tiny Networked Sensors Presented by: Jeremy Schiff.
April 16, 2009 Center for Hybrid and Embedded Software Systems PtidyOS: An Operating System based on the PTIDES Programming.
Presenter : Shih-Tung Huang Tsung-Cheng Lin Kuan-Fu Kuo 2015/6/15 EICE team Model-Level Debugging of Embedded Real-Time Systems Wolfgang Haberl, Markus.
From Models to Code: The Missing Link in Embedded Software Tom Henzinger University of California, Berkeley Joint work with Ben Horowitz and Christoph.
Timed Simulation with Multiple Resource Schedulability Analysis Yang Zhao and Slobodan Matic University of California, BerkeleyDec 10, 2004.
Chess Review May 10, 2004 Berkeley, CA Distributed Schedule-Carrying Code Tom Henzinger Slobodan Matic.
February 23, 2012 Center for Hybrid and Embedded Software Systems Organization Board of Directors Edward A. Lee, EECS Thomas.
Review of “Embedded Software” by E.A. Lee Katherine Barrow Vladimir Jakobac.
The Case for Precision Timed (PRET) Machines Edward A. Lee Professor, Chair of EECS UC Berkeley With thanks to Stephen Edwards, Columbia University. National.
Chapter 13 Embedded Systems
7th Biennial Ptolemy Miniconference Berkeley, CA February 13, 2007 Cyber-Physical Systems: A Vision of the Future Edward A. Lee Robert S. Pepper Distinguished.
Expressing Giotto in xGiotto and related schedulability problems Class Project Presentation Concurrent Models of Computation for Embedded Software University.
HAS. Patterns The use of patterns is essentially the reuse of well established good ideas. A pattern is a named well understood good solution to a common.
Giotto A Time-Triggered Language for Embedded Programming Thomas A. Henzinger, Benjamin Horowitz Christoph M. Kirsch, Rupak Majumdar UC Berkeley.
NSF Foundations of Hybrid and Embedded Software Systems UC Berkeley: Chess Vanderbilt University: ISIS University of Memphis: MSI Hybrid Systems: From.
Real-Time Kernels and Operating Systems. Operating System: Software that coordinates multiple tasks in processor, including peripheral interfacing Types.
Interfaces for Control Components Rajeev Alur University of Pennsylvania Joint work with Gera Weiss (and many others)
7th Biennial Ptolemy Miniconference Berkeley, CA February 13, 2007 PTIDES: A Programming Model for Time- Synchronized Distributed Real-time Systems Yang.
Designing Predictable and Robust Systems Tom Henzinger UC Berkeley and EPFL.
November 18, 2004 Embedded System Design Flow Arkadeb Ghosal Alessandro Pinto Daniele Gasperini Alberto Sangiovanni-Vincentelli
Misconceptions About Real-time Computing : A Serious Problem for Next-generation Systems J. A. Stankovic, Misconceptions about Real-Time Computing: A Serious.
Software Issues Derived from Dr. Fawcett’s Slides Phil Pratt-Szeliga Fall 2009.
MOBIES Project Progress Report Engine Throttle Controller Design Using Multiple Models of Computation Edward Lee Haiyang Zheng with thanks to Ptolemy Group.
Giotto and TMO Yerang Hur System Design Research Lab. Dept. of Computer and Information Science.
Copyright Arshi Khan1 System Programming Instructor Arshi Khan.
Wind River VxWorks Presentation
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Eric Keller, Evan Green Princeton University PRESTO /22/08 Virtualizing the Data Plane Through Source Code Merging.
SOFTWARE DESIGN (SWD) Instructor: Dr. Hany H. Ammar
1 of 14 1/15 Synthesis-driven Derivation of Process Graphs from Functional Blocks for Time-Triggered Embedded Systems Master thesis Student: Ghennadii.
Giotto A tool-supported design methodology for developing hard real-time applications Cyber Physical Systems Lab Ramtin Raji Kermani.
© 2012 xtUML.org Bill Chown – Mentor Graphics Model Driven Engineering.
- 1 - EE898_HW/SW Partitioning Hardware/software partitioning  Functionality to be implemented in software or in hardware? No need to consider special.
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 2 (Part II) Operating System Overview.
Model-Based Embedded Real- Time Software Development Dionisio de Niz and Raj Rajkumar Real-Time and Multimedia Sys Lab Carnegie Mellon University.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Conformance Test Experiments for Distributed Real-Time Systems Rachel Cardell-Oliver Complex Systems Group Department of Computer Science & Software Engineering.
Distribution and components. 2 What is the problem? Enterprise computing is Large scale & complex: It supports large scale and complex organisations Spanning.
Handling Mixed-Criticality in SoC- based Real-Time Embedded Systems Rodolfo Pellizzoni, Patrick Meredith, Min-Young Nam, Mu Sun, Marco Caccamo, Lui Sha.
> Power Supervison Desired Output level Source Diesel Valve Sink Diesel Valve > Valve Regulator Sink T = 40 ms Air Valve CBSE Course The SaveComp Component.
CS4730 Real-Time Systems and Modeling Fall 2010 José M. Garrido Department of Computer Science & Information Systems Kennesaw State University.
What’s Ahead for Embedded Software? (Wed) Gilsoo Kim
Formal Verification. Background Information Formal verification methods based on theorem proving techniques and model­checking –To prove the absence of.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Software Systems Division (TEC-SW) ASSERT process & toolchain Maxime Perrotin, ESA.
T imed Languages for Embedded Software Ethan Jackson Advisor: Dr. Janos Szitpanovits Institute for Software Integrated Systems Vanderbilt University.
A hierarchical coordination language for reliable real-time tasks Arkadeb Ghosal University of California, Berkeley Dissertation Talk CHESS Seminar 22.
Giotto Embedded Control Systems Development with Thomas A. Henzinger Ben Horowitz Christoph M. Kirsch University of California, Berkeley
Embedded Control System Development with Giotto Thomas A. Henzinger, Benjamin Horowitz, Christoph Meyer Kirsch UC Berkeley.
Shanna-Shaye Forbes Ben Lickly Man-Kit Leung
Presented By: Darlene Banta
Presentation transcript:

Chess Review May 11, 2005 Berkeley, CA Composable Code Generation for Distributed Giotto Tom Henzinger Christoph Kirsch Slobodan Matic

Chess Review, May 11, Motivation Automotive software –Suppliers develop sw components, Manufacturer integrates –Mass production : optimality Aircraft software –Federated approach replaced by Integrated Modular Avionics Compositional design –Scale down problem –Reuse components Preserve desired properties by composition [HKK04]

Chess Review, May 11, Real-time + Composability Distributed platform by distributed compilation Giotto concurrency abstraction – Logical Execution Time Verification –Efficient –Automatic Purely software time-triggered paradigm –Compilation –Program analysis

Chess Review, May 11, Distributed Code Generation Model integrator (OEM) suppliers hosts (ECUs)

Chess Review, May 11, Distributed Code Generation Model integrator specs 1

Chess Review, May 11, Distributed Code Generation Model suppliers code 2

Chess Review, May 11, Distributed Code Generation Model integrator code vs. specs 3

Chess Review, May 11, Distributed Code Generation Model integrator suppliers hosts

Chess Review, May 11, Giotto Framework Task instance –Start and stop times defined by period –Output available at stop time Unit delay – Deterministic timing and functional behavior – Easy multi-modal schedulability test – Temporal composability mode m1 () period 8 { actfreq 2 do MixPlayer(); taskfreq 1 do Analyzer (Mixer); taskfreq 2 do Mixer(Generator); taskfreq 1 do Generator(); }

Chess Review, May 11, Giotto Abstraction Task Sensor Driver Actuator Driver S A InputOutput task period start stop

Chess Review, May 11, Giotto Implementation Task Sensor DriverActuator Driver S A task period Msg start stop

Chess Review, May 11, E and S Machine Embedded Machine - E code –environment interaction –task release Scheduling Machine - S code –task execution –communication schedule

Chess Review, May 11, E and S Machine –environment interaction –task release –task execution –communication schedule

Chess Review, May 11, Schedule-Carrying Code

Chess Review, May 11, Supplier s on host h : –Component specification E code module E s,h –Timing interface: set of time intervals T s,h –where s may use h –where s may send Integrator ensures interface feasibility System Specification E s,h (m 1,0): call(copy[MixSound]) call(copy[StringSound]) release(1 ; Mixer ; 1) release(1; [MixSound]) future(4,E s,h (m 1,1))

Chess Review, May 11, S code module S s,h even with interfaces EDF optimal Latency optimal Schedulability With LET assumption –Task dependency and distribution not hard multiple processors + intertask communication  NP-complete S s,h (m 1,0): idle(1) call(InDrv2) dispatch(Mixer; 2) idle(3) dispatch([MixSound]; 4)

Chess Review, May 11, LET and Temporal Partitioning Add new task t 4 Increase execution time of t 1

Chess Review, May 11, SCC module –is time-safe if no driver accesses a released task before completion – complies with timing interface if all tasks are executed in time intervals Platform dependent properties ( wcet ) Deadlines specified in the E code SCC module - state transition system –Two properties – safety properties SCC Properties

Chess Review, May 11, Verification Giotto program G – n : bound on all numbers in G – g s,h : size of Giotto component implemented by supplier s on host h Correctness To check if a distributed SCC program P correctly implements Giotto program G it is enough to check if each P s,h complies to T s,h and is time-safe Complexity If a given P s,h complies to T s,h and is time-safe can be checked in O( g s,h n ) time

Chess Review, May 11, Module modification –task invocation, interaction - E s,h –schedule - S s,h –execution time - wcet Verification O(g s,h n)

Chess Review, May 11, PCs running Real-time Linux, Ethernet –TDMA on top of software-based synchronization, 2.86Mb/s –every 4ms 44 samples (11Khz) processed and transmitted –overhead 3.7%: synchronization 25  s, virtual machine 12  s Implementation Distributed audio mixer application –File read, processed, analyzed and reproduced –Two hosts and three suppliers