Techniques for Generating and Measuring Production Code Constructs from Controller Models

Event
SAE World Congress & Exhibition
Authors Abstract
Content
A key step in Model-Based Design is the deployment of an algorithm as machine code onto a target processor in the production vehicle. Modern software tools automatically generate the algorithmic source code from models. Given the many combinatorial possibilities for realizing a given algorithm within the modeling environment, the generated C source code will be a function of a realization. This dependency is an important consideration because the quality and clarity of the source code impacts the amount of verification and analysis that must be done for production software development. Other factors involved in generating the machine code from the source code, such as compiler optimization and microprocessor architecture, also contribute to this optimization. Organizations that proactively data mine and gather these optimizations into a set of best practices stand to benefit from reduced development times and lower costs. This paper introduces techniques that can be used to generate and measure code constructs used to create a set of best practices for the Simulink modeling environment. The quality of the object code is measured by examining the algorithm compiled within an Integrated Development Environment.
Meta TagsDetails
DOI
https://doi.org/10.4271/2009-01-0149
Pages
7
Citation
Chou, B., and Mahapatra, S., "Techniques for Generating and Measuring Production Code Constructs from Controller Models," Passenger Cars - Electronic and Electrical Systems 2(1):27-33, 2009, https://doi.org/10.4271/2009-01-0149.
Additional Details
Publisher
Published
Apr 20, 2009
Product Code
2009-01-0149
Content Type
Journal Article
Language
English