DocumentCode :
1956287
Title :
Modular Code Generation from Triggered and Timed Block Diagrams
Author :
Lublinerman, Roberto ; Tripakis, Stavros
Author_Institution :
Comput. Sci. & Eng., Pennsylvania State Univ., University Park, PA
fYear :
2008
fDate :
22-24 April 2008
Firstpage :
147
Lastpage :
158
Abstract :
In previous work we have shown how modular code can be automatically generated from a synchronous block diagram notation where all blocks fire at all times. Here, we extend this work to triggered and timed diagrams, where some blocks fire only when their trigger is true, or at statically specified times. We show that, although triggers can be eliminated, this is not desirable since it destroys modularity and may also result in rejecting some diagrams that could be accepted. To avoid this we propose a modular code generation method that directly accounts for triggers. We also propose methods specialized to timed diagrams. Although timed diagrams are special cases of triggered diagrams, treating them directly allows us to obtain efficient code. We achieve this by enriching the interface of a macro block with firing time information and using this information to avoid firing the block unnecessarily. Existing firing time representations are generally conservative, in the sense that they cannot represent the exact set of firing times of a macro block, but a super-set. To remedy this, we devise a novel and accurate (exact) representation. This representation uses finite automata and is amenable to algebraic manipulation and generation of efficient code.
Keywords :
finite automata; program compilers; symbol manipulation; algebraic manipulation; finite automata; modular code generation; timed block diagrams; trigged block diagrams; Application software; Automata; Computer science; Context modeling; Embedded software; Fires; Laboratories; Software design; Synchronous generators; USA Councils; Block diagrams; Code generation; Modularity;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Real-Time and Embedded Technology and Applications Symposium, 2008. RTAS '08. IEEE
Conference_Location :
St. Louis, MO
ISSN :
1545-3421
Print_ISBN :
978-0-7695-3146-5
Type :
conf
DOI :
10.1109/RTAS.2008.12
Filename :
4550788
Link To Document :
بازگشت