Connecting Simulink to OSEK: Automatic Code Generation for Real-Time Operating Systems with TargetLink

Author(s):
Lutz Köster (dSPACE GmbH), 
Ralf Stracke (dSPACE GmbH), 
Thomas Thomsen (dSPACE GmbH), 
Published: Embedded Intelligence, Feb 2001

This paper describes how one further step towards integrating the complete software development process of embedded real-time systems in Simulink® and Stateflow® is achieved. Automatic code generation in production quality is already possible with dSPACE's TargetLink.

The next step is true integration of real-time operating systems into the code generation process. The OSEK standard is applied for this purpose and briefly described at the beginning.

The article then focuses on concepts and techniques used by TargetLink to achieve OSEK-compliant code generation. It is shown, how operating system functions and properties are specified on a block diagram level, how code of different sample rates is bundled into different tasks, how tasks can communicate among each other and how all this can be simulated on a target system.
The paper also gives striking evidence of how powerful standards can boost tool development and how they can help integrate different tool systems, which had been completely separated before.



  • English: Connecting Simulink to OSEK: Automatic Code Generation for Real-Time Operating Systems with TargetLink PDF, 488 KB
  • German: Von Simulink nach OSEK: Automatische Codegenerierung für Echtzeitbetriebssysteme mit TargetLink PDF, 608 KB

Drive innovation forward. Always on the pulse of technology development.

Subscribe to our expert knowledge. Learn from our successful project examples. Keep up to date on simulation and validation. Subscribe to/manage dSPACE direct and aerospace & defense now.

Enable form call

At this point, an input form from Click Dimensions is integrated. This enables us to process your newsletter subscription. The form is currently hidden due to your privacy settings for our website.

External input form

By activating the input form, you consent to personal data being transmitted to Click Dimensions within the EU, in the USA, Canada or Australia. More on this in our privacy policy.