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

혁신을 추진하세요. 항상 기술 개발의 동향을 주시해야 합니다.

저희 전문 지식 서비스에 가입하세요. dSPACE의 성공적인 프로젝트 사례를 확인해 보세요. 시뮬레이션 및 검증에 대한 최신 정보를 받아보세요. 지금 바로 dSPACE 다이렉트(뉴스레터)를 구독하세요.

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.