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.
You might take a look in the AUTOSAR_TR_Methodology.pdf of the respective AUTOSAR revision, e.g. R21-11:
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.