Analysis and Comparison Of 3 Code Generation Tools 2004-01-0702
In recent years, automated code generation has become popular, particularly in rapid prototyping. Currently we see these tools moving from being utilized in prototyping only into software development processes for mass production. If these tools can take over most of the code generation and actually fill the gap between algorithm design and the executable file, the development process could be sped up dramatically. IAV has been using autocode generation tools for several years in medium and large-scale projects, and is experienced in all aspects of using them. This includes also the integration of an RTOS and of BIOS and legacy code written in C.
In this paper we focus on three tools: ETAS ASCET-SD, dSPACE TargetLink and Realtime Workshop/Embedded Coder from The MathWorks. The tools have been used to generate complete application layer code for two Engine-Management systems and a Fuel Cell Application. The aspects considered in the paper are the modeling process, code quality, ease of integration with existing BIOS code and legacy code, as well as user friendliness and interaction with Real-Time Operating Systems. Further, the capabilities to generate ASAP2 files for calibration tools as well as the handling of State Machines has been investigated.