Modularity vs. reusability
Authors:
Open Access
- 10 March 2008
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1504-1509
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
This publication has 5 references indexed in Scilit:
- Leveraging synchronous language principles for heterogeneous modeling and design of embedded systems2007
- Distributing synchronous programs using bounded queues2005
- Separate Compilation for Synchronous ModulesLecture Notes in Computer Science, 2005
- The semantics and execution of a synchronous block-diagram languageScience of Computer Programming, 2003
- The synchronous languages 12 years laterProceedings of the IEEE, 2003