Search code examples
systemautosar

What is the flattening process in AUTOSAR


What is the flattening process actually means in AUTOSAR Methodology workflow?

I know that is a process that the ECU Extract made from the System Description but I want to know the detail steps of this process.


Solution

  • You might take a look in the AUTOSAR_TR_Methodology.pdf of the respective AUTOSAR revision, e.g. R21-11:

    • Chapter 3.3.2.14 System Flat Map
    • Chapter 3.3.4.2.9 ECU Flat Map
    • Chapter 3.3.4.1.3 Flatten Software Compositions

    In short, it converts the possible deep hierarchies of SwCompositions and their contained SwComponentPrototypes (instances of SwComponents) into a single/flat representation of all the SwComponent instances in a single SwComposition. There might be some activities to regenerate the DataTypeMappings for the SwComponent instances and also to resolve name conflicts due to multiple instances of the same component.