Browse Publications Technical Papers 2001-01-0024

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

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.


Subscribers can view annotate, and download all of SAE's content. Learn More »


Members save up to 18% off list price.
Login to see discount.
Special Offer: Download multiple Technical Papers each year? TechSelect is a cost-effective subscription option to select and download 12-100 full-text Technical Papers per year. Find more information here.

Due to current capacity constraints, printed versions of our publications - including standards, technical papers, EDGE Reports, scholarly journal articles, books, and paint chips - may experience shipping delays of up to four to six weeks. We apologize for any inconvenience.
We also recommend:

Applying Design Verification Tools in Automotive Software V&V


View Details


An Architecture Based Design Process for Deploying Control Software on Production Hardware Using RapidHawk


View Details


Evaluation of Open Source Tools and Development Platforms for Data Analysis in Engine Development


View Details