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

Request the full text

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

  1. Design and Implementation of a Server-side mashup Framework
    LiSaiNan ·Huaqiao University ·2013 ·Master's thesis
  2. Innovative design - series of the bride wedding dress Chinese theme wedding dress design elements
    XuZhan ·China Academy of Art ·2013 ·Master's thesis
  3. The Key Technology Research of FPGA Graphic Design in USDR Platform
  4. The Design and Implementation of Code Generation Module and Version Control Module of PD Portal
    ZhangYiDan ·Nanjing University ·2012 ·Master's thesis
  5. Research and Implementation of Structure Analysis and Identification for Program Flowchart
  6. Research and Application of Code Generatiion Based on Model Driven Architecture
  7. Research and Implementaion of Communication System Based on JSON
    XingSiWei ·Anhui University ·2013 ·Master's thesis
  8. Research on automatic generation of DSP code based on the RTW
  9. Development of a Miniaturization and Multichannel Ka-band Transceiver Front-ends
  10. Practice Research on junior middle school extracurricular classical sequence learning
    LiWeiYing ·Shanghai Normal University ·2013 ·Master's thesis
  11. Study on a series of primary school moral education
    ChenZongQing ·Shanghai Normal University ·2013 ·Master's thesis
  12. Research on Task Definition and Modeling in Maintenance Robot of Nuclear Power Plant
  13. Study&Research of Modular Design on Concrete Pump
    DengZhenZhong ·Zhejiang University ·2011 ·Master's thesis
  14. Study on the Rapid Prototyping for Four-cylinder Gasoline Electronic Control System with Model-Based
    YeXian ·West China University ·2012 ·Master's thesis
  15. Personnel Detection and Distinguish Technology of Rail Traffic Entry Gate
    WangJingXin ·Chongqing University ·2012 ·Master's thesis
  16. Research on Rapid Prototyping Simulation for Small UAV
  17. Outline of Economic Constitutionalist Philosophy
    DanFeiYue ·Southwest University of Political Science ·2005 ·Doctoral dissertation
  18. A Study for Cognitive Semantics in Chinese Syntax
    ZhangWangXi ·Shanghai Normal University ·2004 ·Doctoral dissertation
  19. The Extended Research on Association Rules Mining
    ZhouZuoFeng ·Fudan University ·2003 ·Doctoral dissertation
  20. Research on Open Architecture of Automotive Electronic Control System Based on Quantum Framework and Its Application
    LiXiaoJun ·Shandong University ·2008 ·Doctoral dissertation