Font Size: a A A

Research Of Automatic Code Generation Based On Simulink And OSEK

Posted on:2016-11-16Degree:MasterType:Thesis
Country:ChinaCandidate:J W LiuFull Text:PDF
GTID:2308330476454982Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the rapid development of automotive softwares technology, not only the design of automotive softwares becomes more and more complex, but also the demand for code quality is getting higher and higher. It’s really a great challenge for the application programmers. Morever, more complex automotive softwares need the support of the embedded real-time operating system. As a result, duing to the different application’s interfaces in the different embedded real-time operating systems, usually, the automotive softwares are not of good portability. In order to form the unified application’s interfaces and improve the application’s portability, I have designed and implemented an OSEK/VDX-based( Open Systems and The Corresponding Interfaces for Automotive Electronics/Vehicle Distributed Executive) real-time operating system for automotive electronics before starting this project. In order to reduce the complexity of designing and coding for automotive softwares, this paper proposes an idea of OSEK/VDX-based graphic design and automatic code generation. This idea is based on our self-designed OSEK/VDX-based real-time operating system for automotive electronics. First of all, this paper expands the Simulink’s module libraries for OSEK/VDX-based operating systems in the Matlab/Simulink integrated development environment and the module libraries are composed of the task module library, the interrupt module library, the resource module library, the alarm module library and event module library etc. In each module, this paper encapsulates its parameters and icons, writes its S-function and implementes its corresponding target language compiler file. Besides, this paper writes its system target file and template makefile file etc. Afterwards, with the help of the RTW ECoder(Real-Time Workshop Embedded Coder) technology in Matlab/Simulink development enviroment, this paper finishes the system of graphic design and automatic code generation for automotive softwares. Finally, based on the OSEK/VDX standard and the Matlab/Simulink development environment, this paper implementes a development platform with graphic design and automatic code generation. This system can make the software developers for automotive electronics focus on the designing rather than programming. All in all, with the help of this system, this platform can improve the development efficiency, shorten the development cycle, reduce the development cost and improve the software quality.
Keywords/Search Tags:OSEK/VDX, RTW ECoder, graphic design, automatic code generation
PDF Full Text Request
Related items