Title :
Modularity vs. Reusability: Code Generation from Synchronous Block Diagrams
Author :
Lublinerman, Roberto ; Tripakis, Stavros
Author_Institution :
Dept. of Comput. Sci. & Eng., Pennsylvania State Univ., University Park, PA
Abstract :
We present several methods to generate modular code from synchronous hierarchical block diagrams. Modularity means code is generated for a given macro (i.e., composite) block independently from context, that is, without knowing where this block is to be used, and also with minimal knowledge about its sub-blocks. We achieve this by generating a set of interface functions for each block and a set of dependencies between these functions that is exported along with the interface. The main trade-off is the degree of modularity (number of interface functions) vs. reusability (the set of diagrams that the block can be used in without creating dependency cycles).
Keywords :
electronic engineering computing; logic design; code generation; dependency cycles; interface functions; modular code; synchronous block diagrams; synchronous hierarchical block diagrams; Application software; Clustering algorithms; Computer interfaces; Computer science; Context modeling; Embedded software; Laboratories; Polynomials; Software design; Synchronous generators;
Conference_Titel :
Design, Automation and Test in Europe, 2008. DATE '08
Conference_Location :
Munich
Print_ISBN :
978-3-9810801-3-1
Electronic_ISBN :
978-3-9810801-4-8
DOI :
10.1109/DATE.2008.4484887