Automatic code generation method of architecture analysis and design language (AADL) model

A technology of automatic code and model, applied in the direction of program control device, etc., can solve the problems of the embedded system is not tightly integrated, the interface is not friendly, etc.

Inactive Publication Date: 2010-06-16
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF2 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are only a few foreign tools that support AADL code generation. For example, ocarina supports the generation of C code and Ada code in linux format, but it is not closely integrated with embedded systems. Because it is based on the command line, the interface is not friendly

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Automatic code generation method of architecture analysis and design language (AADL) model
  • Automatic code generation method of architecture analysis and design language (AADL) model
  • Automatic code generation method of architecture analysis and design language (AADL) model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The specific embodiments of the present invention will be described below in conjunction with the accompanying drawings in order to better understand the present invention. It should be particularly reminded that in the following description, when the detailed description of known functions and designs may dilute the main content of the present invention, these descriptions will be omitted here.

[0034] figure 1 It is a structural diagram of a specific implementation of the automatic code generation method of the AADL model of the present invention. In this embodiment, as figure 1 As shown, the automatic code generation method of the AADL model is integrated and embodied in the steps of parsing the implementation files and example files of the AADL model, generating interactive objects, and calling the Drools rule engine and generating C code. Among them, in step 1, the input is the implementation file and instance file of the AADL model. After the AADL Schema file is par...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an automatic code generation method of an architecture analysis and design language (AADL) model, which comprises the steps of: analyzing implementation files and instance files in the AADL model, extracting information of each component, storing in an AADL interactive object; when generating the interactive object, triggering corresponding I/O (input/output) operations by using a Drools rule engine according to different model forms of the interactive object; and generating C codes meeting normative hierarchical structures and corresponding formats by the I/O operations according to the regulations in an attachment of an AADL standard society of automotive (SAE) AS5506/1 and the requirements of the standard C code regulations. The automatic code generation method of the AADL model can generate the codes meeting the regulations in the attachment of the AADL standard society of automotive (SAE) AS5506/1 and the standard C code regulations through reading in the implementation files and the instance files of the AADL model by using the processing of the two steps, and realizes the conversion between descriptive frame language and executable platform language which are designed and analyzed in a system structure.

Description

Technical field [0001] The present invention relates to an automatic code generation method. Specifically, it relates to a method for mapping the performance-critical real-time system software and hardware architecture described by an AADL model to platform-related C code for analysis and design. Background technique [0002] AADL is a modeling language that supports early analysis of system architecture. It is both a graphical and characterized language. It can be used to design and analyze the software and hardware architecture of performance-critical real-time systems, describe the functional interfaces between components and the time requirements of the components. It can also describe the interaction relationship between components, such as data input and output, and the binding relationship between software components and hardware components. AADL can be used in conjunction with analysis tools that support automatic source code generation to integrate system components and...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
Inventor 桂盛霖罗蕾于淼唐沁洋龚荣
Owner UNIV OF ELECTRONICS SCI & TECH OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products