
Foundations of Compositional Model-Based System Designs 99
4.3.2 MONOLITHIC INTERFACES AND NONCOMPOSITIONALITY
The main problem with current code generation approaches is that they treat blocks in a monolithic
way, meaning that they assume that all blocks must conform to the same interface. In the case of
the example in Figure 4.3, the specific problem is that all the blocks are assumed to have a single
output function that accepts all inputs and returns all outputs. A single output function is enough
when every output depends on every input, but it is not rich enough to express more complex input–
output dependencies. In particular, it is not able ...