2006-06-04Konferenzveröffentlichung DOI: 10.18452/9189
A Code Generation Metamodel for ULF-Ware
Generating Code for SDL and Interfacing with the Runtime Library
Mathematisch-Naturwissenschaftliche Fakultät II
Models can be used in many stages of many different processes, but in software engineering, the ultimate purpose of modelling is often code generation. While code can be generated from any model, we propose to use an intermediate model that is tailored to code generation instead. In order to be able to easily support different target languages, this model should be general enough; in order to support the whole process, the model has to contain behavioural as well as structural aspects. This paper introduces such a model and the ideas behind it. When the model is to cover several languages, differences occur also in the available library functions. Furthermore, the input languages (eg. SDL) may contain high-level concepts such as signal routing that are not easily mapped into simple instructions. We propose a runtime library to address both challenges.