Embedded system design and code generation by using the DSL and T4

Phạm Văn Hưởng, Nguyễn Ngọc Bình


In the development trend of embedded technology, the methods of embedded system design are studied and widely utilized. This paper presents a new approach to design embedded system and generate code from models based on Domain Specific Language and Text Template Transformation Toolkit. We define three Domain Specific Languages, build the corresponding meta-models and develop our framework. The framework is to design the models of embedded system such as the architectural model and the component model. It is also to design the flow chart of embedded software. Based on the designed models, we apply the Text Template Transformation Toolkit to generate code from models automatically


Design Embedded System; Embedded Software; DSL – Domain Specific Language; Code Generation; T4 – Text Template Transformation Toolkit

Journal of Computer Science and Cybernetics ISSN: 1813-9663

Published by Vietnam Academy of Science and Technology