ECU Autocoding

Automatic production code generation with TargetLink®

  • High-quality production code generation directly from Simulink®/Stateflow®
  • Built-in simulation and testing
  • AUTOSAR support
  • Certified for IEC 61508 and ISO 26262
  • TargetLink Partner Program offering complementary third-party products for TargetLink



Why Automatic Production Code Generation with TargetLink?
TargetLink, the well-established production code generator from dSPACE, generates C code straight from the graphical model specification made in MATLAB®/Simulink®/Stateflow®. By using TargetLink, developers can handle increasing complexity despite shorter development times, and without compromising quality. The coding of function models for current ECUs is often completely automatic, which cuts the overall development times for ECU software. Numerous benchmarks and user experience reports show that TargetLink code is broadly similar to what the human programmers produce. TargetLink offers innovative, exceptionally convenient functions and expanded compatibility for AUTOSAR-compliant development.

Not Only Faster
In addition to cutting development time, there are other major advantages:

  • Model and C code always consistent
  • Uniform coding standard
  • Code documentation always up-to-date
  • No implementation errors
  • Shorter debugging and commissioning phases
  • Greater concentration on model design
  • Less development work even at a high level of model complexity
  • Software-in-the-loop testing
  • Processor-in-the-loop testing
  • AUTOSAR support
  • Certified for IEC 61508 and ISO 26262



Efficiency and Reliability
For reasons of efficiency, production code generators must be able to perform processor- and compiler-specific optimization. A range of scaling options is required to support developers doing tedious scaling tasks, and to automate the tasks wherever possible. The requirements regarding the reliability of ECU code are extremely high. A code generator has to include a test environment that will permit the generated code to be verified against the model. That way, errors can be detected at an early stage, and there is no need for time-consuming debugging work. TargetLink is a production code generator that meets strict production requirements. This has been verified in numerous projects carried out by our automotive customers.