*banner
 

Retargetable Model-Based Code Generation in Ptolemy II
Man-Kit Leung, Bert Rodiers, Christopher Brooks, Edward A. Lee

Citation
Man-Kit Leung, Bert Rodiers, Christopher Brooks, Edward A. Lee. "Retargetable Model-Based Code Generation in Ptolemy II". Talk or presentation, 16, April, 2009; Poster presented at the 8th Biennial Ptolemy Miniconference.

Abstract
Our research investigates the infrastructure of a retargetable and domain-general C code generator for actor models. Experiments are performed using the code generator to program different hardware and software platforms, including micro-controllers (Atmega128, Luminary), middlewares (MPI, OpenRTOS), and threading packages (P-thread, Win32). The main mission is to carefully transform and compile models specified in formal models of computation (MoCs). The code generator is conceptually partitioned into two parts: front-end and back-end. It is designed to be compositional extensible by using code template components (adaptors) that can be tested and developed separately. Model-based code generation (using C as the target language) differs from traditional compiler back-end in that software libraries and API’s are also considered targetable. The back-end research focuses on extending retargetability by investigating reuse patterns and target descriptions. The front-end leverages work from multimodeling and is under current research which attempts to extend the code generator to support multiple MoCs and heterogeneous models.

Electronic downloads

Citation formats  
  • HTML
    Man-Kit Leung, Bert Rodiers, Christopher Brooks, Edward A.
    Lee. <a
    href="http://chess.eecs.berkeley.edu/pubs/576.html"
    ><i>Retargetable Model-Based Code Generation in
    Ptolemy II</i></a>, Talk or presentation,  16,
    April, 2009; Poster presented at the 8th Biennial Ptolemy
    Miniconference.
  • Plain text
    Man-Kit Leung, Bert Rodiers, Christopher Brooks, Edward A.
    Lee. "Retargetable Model-Based Code Generation in
    Ptolemy II". Talk or presentation,  16, April, 2009;
    Poster presented at the 8th Biennial Ptolemy Miniconference.
  • BibTeX
    @presentation{LeungRodiersBrooksLee09_RetargetableModelBasedCodeGenerationInPtolemyII,
        author = {Man-Kit Leung and Bert Rodiers and Christopher
                  Brooks and Edward A. Lee},
        title = {Retargetable Model-Based Code Generation in
                  Ptolemy II},
        day = {16},
        month = {April},
        year = {2009},
        note = {Poster presented at the 8th Biennial Ptolemy
                  Miniconference},
        abstract = {Our research investigates the infrastructure of a
                  retargetable and domain-general C code generator
                  for actor models. Experiments are performed using
                  the code generator to program different hardware
                  and software platforms, including
                  micro-controllers (Atmega128, Luminary),
                  middlewares (MPI, OpenRTOS), and threading
                  packages (P-thread, Win32). The main mission is to
                  carefully transform and compile models specified
                  in formal models of computation (MoCs). The code
                  generator is conceptually partitioned into two
                  parts: front-end and back-end. It is designed to
                  be compositional extensible by using code template
                  components (adaptors) that can be tested and
                  developed separately. Model-based code generation
                  (using C as the target language) differs from
                  traditional compiler back-end in that software
                  libraries and API’s are also considered
                  targetable. The back-end research focuses on
                  extending retargetability by investigating reuse
                  patterns and target descriptions. The front-end
                  leverages work from multimodeling and is under
                  current research which attempts to extend the code
                  generator to support multiple MoCs and
                  heterogeneous models. },
        URL = {http://chess.eecs.berkeley.edu/pubs/576.html}
    }
    

Posted by Man-Kit Leung on 19 Apr 2009.
Groups: ptolemy
For additional information, see the Publications FAQ or contact webmaster at chess eecs berkeley edu.

Notice: This material is presented to ensure timely dissemination of scholarly and technical work. Copyright and all rights therein are retained by authors or by other copyright holders. All persons copying this information are expected to adhere to the terms and constraints invoked by each author's copyright.

©2002-2018 Chess