From COLA Models to Distributed Embedded Systems Code
Wolfgang Haberl, Michael Tautschnig, Uwe Baumgarten · 2008
Model driven development has become state of the art in embedded systems software design. To take the resulting models to the designated hardware platform, automated code generation is sought for. The code obtained thereby must match the semantics of the model as closely as possible. In this paper we present an approach to translate Component Language (COLA) models to C code in an automated manner. This process involves handling of target specific sensors and actuators, and distribution of software across multiple nodes. We therefore also describe our middleware layer, which is configured in an unattended manner. Using a prototypical implementation of the toolchain, we validated our approach on a case study using LEGO Mindstorms, which shows all characteristics of embedded systems. This case study includes benchmarks comparing the automatically generated code to a hand-written version providing the same functionality.