Electrical Engineering
      and Computer Sciences

Electrical Engineering and Computer Sciences

COLLEGE OF ENGINEERING

UC Berkeley

Compositionality in Synchronous Data Flow: Modular Code Generation from Hierarchical SDF Graphs

Stavros Tripakis, Dai Bui, Marc Geilen, Bert Rodiers and Edward A. Lee

EECS Department
University of California, Berkeley
Technical Report No. UCB/EECS-2010-52
May 7, 2010

http://www.eecs.berkeley.edu/Pubs/TechRpts/2010/EECS-2010-52.pdf

Hierarchical SDF models are not compositional: a composite SDF actor cannot be represented as an atomic SDF actor without loss of information that can lead to rate inconsistency or deadlock. Motivated by the need for incremental and modular code generation from hierarchical SDF models, we introduce in this paper DSSF profiles. DSSF (Deterministic SDF with Shared FIFOs) forms a compositional abstraction of composite actors that can be used for modular compilation. We provide algorithms for automatic synthesis of non-monolithic DSSF profiles of composite actors given DSSF profiles of their sub-actors. We show how different tradeoffs can be explored when synthesizing such profiles, in terms of modularity (keeping the size of the generated DSSF profile small) versus reusability (maintaining necessary information to preserve rate consistency and deadlock-absence) as well as algorithmic complexity. We show that our method guarantees maximal reusability and report on a prototype implementation.


BibTeX citation:

@techreport{Tripakis:EECS-2010-52,
    Author = {Tripakis, Stavros and Bui, Dai and Geilen, Marc and Rodiers, Bert and Lee, Edward A.},
    Title = {Compositionality in Synchronous Data Flow: Modular Code Generation from Hierarchical SDF Graphs},
    Institution = {EECS Department, University of California, Berkeley},
    Year = {2010},
    Month = {May},
    URL = {http://www.eecs.berkeley.edu/Pubs/TechRpts/2010/EECS-2010-52.html},
    Number = {UCB/EECS-2010-52},
    Abstract = {Hierarchical SDF models are not compositional: a composite SDF actor cannot be represented as an atomic SDF actor without loss of information that can lead to rate inconsistency or deadlock. Motivated by the need for incremental and modular code generation from hierarchical SDF models, we introduce in this paper DSSF profiles. DSSF (Deterministic SDF with Shared FIFOs) forms a compositional abstraction of composite actors that can be used for modular compilation. We provide algorithms for automatic synthesis of non-monolithic DSSF profiles of composite actors given DSSF profiles of their sub-actors. We show how different tradeoffs can be explored when synthesizing such profiles, in terms of modularity (keeping the size of the generated DSSF profile small) versus reusability (maintaining necessary information to preserve rate consistency and deadlock-absence) as well as algorithmic complexity. We show that our method guarantees maximal reusability and report on a prototype implementation.}
}

EndNote citation:

%0 Report
%A Tripakis, Stavros
%A Bui, Dai
%A Geilen, Marc
%A Rodiers, Bert
%A Lee, Edward A.
%T Compositionality in Synchronous Data Flow: Modular Code Generation from Hierarchical SDF Graphs
%I EECS Department, University of California, Berkeley
%D 2010
%8 May 7
%@ UCB/EECS-2010-52
%U http://www.eecs.berkeley.edu/Pubs/TechRpts/2010/EECS-2010-52.html
%F Tripakis:EECS-2010-52