7th Biennial Ptolemy Miniconference Berkeley, CA February 13, 2007 Causality Interfaces for Actor Networks Ye Zhou and Edward A. Lee University of California,

Slides:



Advertisements
Similar presentations
Signals & Systems Predicting System Performance February 27, 2013.
Advertisements

Use trace algebra to formalize the YAPI model EE290N Spring2002 Alessandro Pinto Mentors: Roberto Passerone Jerry Burch.
Requirements on the Execution of Kahn Process Networks Marc Geilen and Twan Basten 11 April 2003 /e.
DATAFLOW PROCESS NETWORKS Edward A. Lee Thomas M. Parks.
Discrete Event Models: Getting the Semantics Right Edward A. Lee Robert S. Pepper Distinguished Professor Chair of EECS UC Berkeley With thanks to Xioajun.
Overview of PTIDES Project
PTIDES: Programming Temporally Integrated Distributed Embedded Systems Yang Zhao, EECS, UC Berkeley Edward A. Lee, EECS, UC Berkeley Jie Liu, Microsoft.
Chess Review May 8, 2003 Berkeley, CA Classes and Inheritance in Actor- Oriented Models Stephen Neuendorffer Edward Lee UC Berkeley.
Type System, March 12, Data Types and Behavioral Types Yuhong Xiong Edward A. Lee Department of Electrical Engineering and Computer Sciences University.
7th Biennial Ptolemy Miniconference Berkeley, CA February 13, 2007 Leveraging Synchronous Language Principles for Hybrid System Models Haiyang Zheng and.
Department of Electrical Engineering and Computer Sciences University of California at Berkeley Behavioral Types for Actor-Oriented Design Edward A. Lee.
Behavioral Types as Interface Definitions for Concurrent Components Center for Hybrid and Embedded Software Systems Edward A. Lee Professor UC Berkeley.
6th Biennial Ptolemy Miniconference Berkeley, CA May 12, 2005 Some Developments in the Tagged Signal Model Xiaojun Liu With J. Adam Cataldo, Edward A.
A denotational framework for comparing models of computation Daniele Gasperini.
Using Interfaces to Analyze Compositionality Haiyang Zheng and Rachel Zhou EE290N Class Project Presentation Dec. 10, 2004.
Causality Interface  Declares the dependency that output events have on input events.  D is an ordered set associated with the min ( ) and plus ( ) operators.
Chess Review October 4, 2006 Alexandria, VA Edited and presented by Advanced Tool Architectures Edward A. Lee UC Berkeley.
8th Biennial Ptolemy Miniconference Berkeley, CA April 16, 2009 Precision Timed (PRET) Architecture Hiren D. Patel, Ben Lickly, Isaac Liu and Edward A.
5 th Biennial Ptolemy Miniconference Berkeley, CA, May 9, 2003 C AL - An actor language Jörn W. Janneck The Ptolemy Group University of California, Berkeley.
Chess Review November 21, 2005 Berkeley, CA Edited and presented by Advanced Tool Architectures Edward A. Lee UC Berkeley.
6th Biennial Ptolemy Miniconference Berkeley, CA May 12, 2005 Operational Semantics of Hybrid Systems Haiyang Zheng and Edward A. Lee With contributions.
February 12, 2009 Center for Hybrid and Embedded Software Systems Encapsulated Model Transformation Rule A transformation.
FunState – An Internal Design Representation for Codesign A model that enables representations of different types of system components. Mixture of functional.
An Extensible Type System for Component-Based Design
7th Biennial Ptolemy Miniconference Berkeley, CA February 13, 2007 Correctness in Causal Systems Eleftherios Matsikoudis UC Berkeley.
Design of Fault Tolerant Data Flow in Ptolemy II Mark McKelvin EE290 N, Fall 2004 Final Project.
Discrete Event Models: Getting the Semantics Right Edward A. Lee Robert S. Pepper Distinguished Professor Chair of EECS UC Berkeley With special thanks.
Chess Review, May 10, Multiple Aspect Modeling Well-formedness Rules Semantic Domain A property p is accessible iff: in every well-formed model.
Chess Review November 21, 2005 Berkeley, CA Edited and presented by Causality Interfaces and Compositional Causality Analysis Rachel Zhou UC Berkeley.
A Denotational Semantics For Dataflow with Firing Edward A. Lee Jike Chong Wei Zheng Paper Discussion for.
Hierarchical Reconfiguration of Dataflow Graphs Stephen Neuendorffer UC Berkeley Poster Preview May 10, 2004.
Semantic Foundation of the Tagged Signal Model Xiaojun Liu Sun Microsystems, Inc. Chess Seminar February 21, 2006.
NSF Foundations of Hybrid and Embedded Software Systems UC Berkeley: Chess Vanderbilt University: ISIS University of Memphis: MSI A New System Science.
SEC PI Meeting Annapolis, May 8-9, 2001 Component-Based Design of Embedded Control Systems Edward A. Lee & Jie Liu UC Berkeley with thanks to the entire.
Department of Electrical Engineering and Computer Sciences University of California at Berkeley System-Level Types for Component-Based Design Edward A.
Department of Electrical Engineering and Computer Sciences University of California at Berkeley Concurrent Component Patterns, Models of Computation, and.
February 12, 2009 Center for Hybrid and Embedded Software Systems Model Transformation Using ERG Controller Thomas H. Feng.
Chess Review May 11, 2005 Berkeley, CA Discrete-Event Systems: Generalizing Metric Spaces and Fixed-Point Semantics Adam Cataldo Edward Lee Xiaojun Liu.
Penn ESE535 Spring DeHon 1 ESE535: Electronic Design Automation Day 8: February 11, 2009 Dataflow.
Orderings and Bounds Parallel FSM Decomposition Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 10 Update and modified by Marek.
7th Biennial Ptolemy Miniconference Berkeley, CA February 13, 2007 PTIDES: A Programming Model for Time- Synchronized Distributed Real-time Systems Yang.
Concurrent Models of Computation in System Level Design Edward Lee UC Berkeley Forum on Design Languages Workshop on System Specification & Design Languages.
5 th Biennial Ptolemy Miniconference Berkeley, CA, May 9, 2003 JHDL Hardware Generation Mike Wirthlin and Matthew Koecher
5 th Biennial Ptolemy Miniconference Berkeley, CA, May 9, 2003 The Component Interaction Domain: Modeling Event-Driven and Demand- Driven Applications.
System-Level Types for Component-Based Design Paper by: Edward A. Lee and Yuhong Xiong Presentation by: Dan Patterson.
Models of Computation Reading Assignment: L. Lavagno, A.S. Vincentelli and E. Sentovich, “Models of computation for Embedded System Design”
Department of Electrical Engineering and Computer Sciences University of California at Berkeley The Ptolemy II Framework for Visual Languages Xiaojun Liu.
Composing Models of Computation in Kepler/Ptolemy II
The Architecture of Secure Systems Jim Alves-Foss Laboratory for Applied Logic Department of Computer Science University of Idaho By, Nagaashwini Katta.
Boolean Algebra and Computer Logic Mathematical Structures for Computer Science Chapter 7.1 – 7.2 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Boolean.
C. André, J. Boucaron, A. Coadou, J. DeAntoni,
Design Languages in 2010 Chess: Center for Hybrid and Embedded Software Systems Edward A. Lee Professor UC Berkeley Panel Position Statement Forum on Design.
Actor Networks Edward A. Lee Robert S. Pepper Distinguished Professor Chair of EECS UC Berkeley Invited Talk Workshop Foundations and Applications of Component-based.
Actor Oriented Programming with CAL -designing embedded system components Johan Eker Department of Automatic Control, Lund University Chris Chang, Jörn.
Royal Institute of Technology System Specification Fundamentals Axel Jantsch, Royal Institute of Technology Stockholm, Sweden.
Signals & Systems Predicting System Performance February 27, 2013.
Secure Composition of Untrusted Code: Wrappers and Causality Types Kyle Taylor.
Formal Verification. Background Information Formal verification methods based on theorem proving techniques and model­checking –To prove the absence of.
Ptolemy Project Vision Edward A. Lee Robert S. Pepper Distinguished Professor Eighth Biennial Ptolemy Miniconference April 16, 2009 Berkeley, CA, USA.
Code Generation for Ptolemy II
Compositionality in Synchronous Data Flow
From C to Elastic Circuits
Logical architecture refinement
Concurrent Models of Computation
Dynamically Scheduled High-level Synthesis
Embedded Systems: A Focus on Time
Concurrent Models of Computation for Embedded Software
Introductory Concepts
Algebraic Trace Theory
Well-behaved Dataflow Graphs
Presentation transcript:

7th Biennial Ptolemy Miniconference Berkeley, CA February 13, 2007 Causality Interfaces for Actor Networks Ye Zhou and Edward A. Lee University of California, Berkeley

Zhou, Berkeley 2Ptolemy Miniconference, February 13, 2007 Introduction Actor receives tokens from input ports and reacts to these tokens by producing tokens on the output ports. What flows in the connectors are signals (streams of tokens). actor output port connector input port

Zhou, Berkeley 3Ptolemy Miniconference, February 13, 2007 Introduction (Cont’d) Any actor network can be treated as a feedback system. We assume all actors are (Scott) continuous and use the least fixed point semantics as the behavior of the network. Question: Will the network deadlock? Is it possible to do static analysis?

Zhou, Berkeley 4Ptolemy Miniconference, February 13, 2007 Goal: Causality Interfaces Use an interface approach to capture the causality properties of an actor. Develop a mathematical structure to algebraically compose these interfaces. Determine whether an actor network is live under certain models of computation.

Zhou, Berkeley 5Ptolemy Miniconference, February 13, 2007 The Tagged Signal Model [Lee and Sangiovanni-Vincentelli, 1998] A signal is a set of (tag, value) pairs. [Liu, 2005] The tag set is a partial order. A signal is defined on a down-set of. t v

Zhou, Berkeley 6Ptolemy Miniconference, February 13, 2007 The Tagged Signal Model (Cont’d)

Zhou, Berkeley 7Ptolemy Miniconference, February 13, 2007 Causality Interfaces A causality interface for an actor a with input ports P i and output ports P o is a function where D is a partially ordered set with elements called dependencies.

Zhou, Berkeley 8Ptolemy Miniconference, February 13, 2007 How to compose dependencies? Serial connection Parallel connection We need two operators, one for serial ( ), and one for parallel ( ).

Zhou, Berkeley 9Ptolemy Miniconference, February 13, 2007 Dependency Algebra Axioms Dependency set D is a partially ordered set with two binary operators (for parallel) and (for serial) that satisfies the following axioms: Associativity: Commutativity and Idempotence (for only):

Zhou, Berkeley 10Ptolemy Miniconference, February 13, 2007 Dependency Algebra Axioms (Cont’d) Ordering Axiom:

Zhou, Berkeley 11Ptolemy Miniconference, February 13, 2007 Causality Interface Model The dependency set D is a set of functions: where is the set of all down sets of. computes the greatest lower bound of two functions. is function composition.

Zhou, Berkeley 12Ptolemy Miniconference, February 13, 2007 Interpretation Recall that an actor function is The projection of F a onto the tag set is which reflects the dependency of output ports on input ports. is the projection of such dependency on a pair of (input, output) ports. In general, appropriate projection onto pairs of (input, output) ports are not always possible.

Zhou, Berkeley 13Ptolemy Miniconference, February 13, 2007 Feedforward Compositions Use for serial compositions and for parallel compositions. Example:

Zhou, Berkeley 14Ptolemy Miniconference, February 13, 2007 Feedback Compositions The gain of a cyclic path c = (p 1, p 2, …, p n, p 1 ) is: Productivity order

Zhou, Berkeley 15Ptolemy Miniconference, February 13, 2007 Liveness Condition Theorem: This theorem applies to synchronous languages, discrete-event models, continuous-time models, and dataflow models.

Zhou, Berkeley 16Ptolemy Miniconference, February 13, 2007 Example – Adaptive Filtering

Zhou, Berkeley 17Ptolemy Miniconference, February 13, 2007 Conclusion We presented an interface theory for causality interface of actors and their compositions. We gave an algebraic procedure to determine whether an actor network is live under certain models of computation. We showed that causality analysis only needs to be performed for each simple communication cycle. Reference: Ye Zhou and Edward A. Lee. "Causality Interfaces for Actor Networks," EECS Department, University of California, Berkeley, UCB/EECS , November 16, 2006.

Zhou, Berkeley 18Ptolemy Miniconference, February 13, 2007 Thank You!