Automatic Code Generation for Multirate Simulink Models with Support for the OSEK Real-Time Operating System
This paper presents a block-diagram based approach for automatic code generation for embedded applications. The basis is a multirate Simulink/Stateflow model that is extended with implementation-specific information provided by special blocks. The OSEK standard is chosen as the target real-time operating system. The individual tasks and the inter-task communication have to be implemented efficiently by the code generator, the main mechanisms are discussed. The presented approach will be implemented in release 2.0 of the production code generator TargetLink.