Skip to main navigation Skip to search Skip to main content

Template-based AADL automatic code generation

  • Kai Hu
  • , Zhangbo Duan
  • , Jiye Wang
  • , Lingchao Gao
  • , Lihong Shang*
  • *Corresponding author for this work
  • Beihang University
  • State Grid Corporation of China
  • State Grid Information & Telecommunication Group

Research output: Contribution to journalArticlepeer-review

Abstract

Embedded real-time systems employ a variety of operating system platforms. Consequently, for automatic code generation, considerable redevelopment is needed when the platform changes. This results in major challenges with respect to the automatic code generation process of the architecture analysis and design language (AADL). In this paper, we propose a method of template-based automatic code generation to address this issue. Templates are used as carriers of automatic code generation rules from AADL to the object platform. These templates can be easily modified for different platforms. Automatic code generation for different platforms can be accomplished by formulating the corresponding generation rules and transformation templates. We design a set of code generation templates from AADL to the object platform and develop an automatic code generation tool. Finally, we take a typical Data Processing Unit (DPU) system as a case study to test the tool. It is demonstrated that the auto-generated codes can be compiled and executed successfully on the object platform.

Original languageEnglish
Pages (from-to)698-714
Number of pages17
JournalFrontiers of Computer Science
Volume13
Issue number4
DOIs
StatePublished - 1 Aug 2019

Keywords

  • AADL
  • automatic code generation
  • formal methods
  • real-time system
  • template

Fingerprint

Dive into the research topics of 'Template-based AADL automatic code generation'. Together they form a unique fingerprint.

Cite this