Ensuring compliance with the ISO 26262 automotive functional safety standard involves meeting specific quality and complexity standards for automotive source code. However, achieving compliance becomes challenging when dealing with auto-generated code, as the code generator may not consider the required product metrics. This often leads to high metric values that exceed the permissible range. Assessing the impact of design on Hersteller Initiative Software (HIS) metrics within the visual modeling environment becomes difficult, with metrics reports only available after code generation. This makes it hard to achieve compliance through model reworking and regeneration. To address this problem, a methodology is proposed. It defines modeling guidelines and an architecture for generating HIS-compliant code. The HIS metrics are translated into corresponding model implementations, such as mapping the “Number of Function Parameters” metric to the number of subsystem ports and the guideline recommends dividing the logic into subsystems with fewer than five ports to meet the allowable range. The aim is to establish similar modeling guidelines for each attribute and create a balanced skeletal architecture diagram that ensures compliance with HIS metrics. To demonstrate the effectiveness of the proposed guidelines, two models calculating steering motor torque are compared—one designed with the guidelines and one without. By separating decision points into distinct functions, the proposed approach reduces cyclomatic complexity, with all other HIS metrics expected to fall within the acceptable range. Adhering to the guidelines enables auto-generated code to meet HIS metrics, facilitating more efficient automotive software design.


    Access

    Check access

    Check availability in my library

    Order at Subito €


    Export, share and cite



    Title :

    Devising Guidelines and Architecture for Efficient Auto-Generation of HIS Compliant Code


    Additional title:

    Sae Technical Papers


    Contributors:

    Conference:

    Symposium on International Automotive Technology ; 2024



    Publication date :

    2024-01-16




    Type of media :

    Conference paper


    Type of material :

    Print


    Language :

    English




    The Challenges of Devising Next Generation Automotive Benchmarks

    Beaurenaut, Laurent / Leteinturier, Patrick | SAE Technical Papers | 2008


    The challenges of devising next generation automotive benchmarks

    Leteinturier,P. / Beaurenaut,L. / Integral Technologies,US | Automotive engineering | 2008


    The Challenges of Devising Next Generation Automotive Benchmarks

    Leteinturier, P. / Beaurenaut, L. / Society of Automotive Engineers | British Library Conference Proceedings | 2008


    Devising business strategy for railways

    Beesley, Michael E. / Kettle, Peter B. | Online Contents | 1986


    2008-01-0382 The Challenges of Devising Next Generation Automotive Benchmarks

    Leteinturier, P. / Beaurenaut, L. / Society of Automotive Engineers | British Library Conference Proceedings | 2008