Support for Simulink / Stateflow code generator automatically Research and Implementation
- Author
- ZhouJianHua
- Advisor
- LiYi
- School
- University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP391.1 Text Processing
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 342
- Citations
- 1
Abstract
Automatic code generation, simply put, is to enter a number of well-defined markers or models into source text. Well-defined input tag or models can be Simulink / Stateflow models, UML models. Source explained contents of the text in the target language can be a high-level language or machine language, it can be a self-defined intermediate language. Automatic code generation process and the job of the compiler with the conceptual equivalence. This article is based on research Simulink / Stateflow model to generate ANSI C language code for automatic code generation tools related technologies. The main contents are: a study of model-based development and Simulink / Stateflow support mechanisms for code generation. Including the V-model and Simulink / Stateflow hierarchical model-based. (2) Based on research and analysis of existing Simulink / Stateflow models automatic code generation tools such as RTW, Gene-Auto and TargetLink implementations and related technologies. 3 Development of automatic code generation system prototype. Based on relevant research and technologies based on the analysis, the paper implemented based on Simulink / Stateflow model code generation system prototype. The tool for Simulink / Stateflow model generation to ANSI standard C language code. The prototype for the system in the field mainly dominated SystemModel and goal-oriented language-based and domain-independent CodeModel two intermediate model, based on the Simulink / Stateflow models sequentially through SystemModel and CodeModel conversions, and ultimately generate ANSI standard C language code. According to the model transformation rules generated test simulation and test models and on the generated code and the code to run the simulation results comparing the results. And the use of the generated code and the code generated with RTW compare these two test methods. Test the entire system, and automatic code generation correctness of the generated code. Finally, this paper summarizes the content of the work, and one of the deficiencies pointed out the direction of future research. This is characterized by full use of the idea of ??code generation code with ANTLR tool simplifies automatic code generation process. Model introduced in the conversion process two intermediate model makes automatic code generation system is independent of Simulink / Stateflow models and object code. The modular thinking and the input and output of each module of the model text, reflecting the system's scalability and independence between the various modules.
Related dissertations
- Design and Implementation of a Server-side mashup Framework
- Innovative design - series of the bride wedding dress Chinese theme wedding dress design elements
- The Key Technology Research of FPGA Graphic Design in USDR Platform
- The Design and Implementation of Code Generation Module and Version Control Module of PD Portal
- Research and Implementation of Structure Analysis and Identification for Program Flowchart
- Research and Application of Code Generatiion Based on Model Driven Architecture
- Research and Implementaion of Communication System Based on JSON
- Research on automatic generation of DSP code based on the RTW
- Development of a Miniaturization and Multichannel Ka-band Transceiver Front-ends
- Practice Research on junior middle school extracurricular classical sequence learning
- Study on a series of primary school moral education
- Research on Task Definition and Modeling in Maintenance Robot of Nuclear Power Plant
- Study&Research of Modular Design on Concrete Pump
- Study on the Rapid Prototyping for Four-cylinder Gasoline Electronic Control System with Model-Based
- Personnel Detection and Distinguish Technology of Rail Traffic Entry Gate
- Research on Rapid Prototyping Simulation for Small UAV
- Outline of Economic Constitutionalist Philosophy
- A Study for Cognitive Semantics in Chinese Syntax
- The Extended Research on Association Rules Mining
- Research on Open Architecture of Automotive Electronic Control System Based on Quantum Framework and Its Application