摘要: 体系结构分析设计语言(AADL)是一种基于模型驱动体系结构的建模语言,针对如何将AADL模型自动生成框架代码的问题,提出AADL模型元素同C语言元素间的转换规则,设计AADL模型转换为C语言框架代码的自动代码生成器Generator。实例证明了AADL模型自动转换为可执行C代码的有效性。
关键词:
嵌入式软件,
模型驱动体系结构,
转换规则,
代码自动生成
Abstract: Architecture Analysis and Design Language(AADL) is a modeling language based on Model Driven Architecture(MDA). Aiming at how to automatically generate executive framework code of AADL models, this paper presents conversion rules from AADL model elements to C language elements and designs a tool of automatic code generator “Generator” that converts AADL models into C language framework code. The example proves the effectiveness of converting AADL model to C code.
Key words:
embedded software,
Model Driven Architecture(MDA),
conversion rules,
code automatic generation
中图分类号:
陶 勇;桂盛霖;马 亮;尹立孟. AADL模型的代码自动生成及集成技术[J]. 计算机工程, 2009, 35(8): 59-61.
TAO Yong; GUI Sheng-lin; MA Liang; YIN Li-meng. Code Automatic Generation and Integration Technology of AADL Model[J]. Computer Engineering, 2009, 35(8): 59-61.