6.2.5.1. Architecture-ARXMLImportModel¶
Instantiate and import an AUTOSAR classic ECU extract of System Description into an RFG
Required inputs: RFG
This rule is intended for projects developed according to
AUTOSAR classic methodology. See option
arxml_name to select the ARXML import.
The model represented in ARXML is imported into the RFG for inspection of the imported data or for model-to-model checks (to compare it to a high-level architecture model).
Possible Messages
This rule has no predefined messages.
Options¶
This rule shares the following common options: exclude_messages_in_system_headers, excludes, includes, justification_checker, post_processing, provider, severity
The following places define options that affect this rule: Analysis-GlobalOptions
advanced¶
Advanced settings. Typically these should not be changed.
advanced.map_from_rfg_instead_of_ir : bool =
Do not require an IR file to be present in the project. Instead, compute the source mapping directly from the RFG. This can be useful for debugging if IR is not available. Setting this toFalsetruemay negatively impact execution time and parallelization.
arxml_name¶
arxml_name : str = 'default'
Frameworks-AutosarArxml
to refer to a specific set of ARXML files.
export_warnings¶
export_warnings : bool = True
hierarchy_view_name¶
hierarchy_view_name : str = 'Module'
swc_types_view
loglevel¶
loglevel : LogLevel = 'WARNING'
prototype_instantiation_view_name¶
prototype_instantiation_view_name : str | None = None
prototype_view to the type
representation in swc_type_view, if those two are generated.
This view can be used to trace an instance back to its type node.
prototype_view_name¶
prototype_view_name : str | None = 'ARXML'
None to omit this view.
provide_dependencies_in_type_view¶
provide_dependencies_in_type_view : bool = False
swc_type_view, it may be useful to also see the
dependencies between ports. Although naturally, they would only be represented in
the prototype_view, the dependencies can be inserted in the
swc_type_view. This means, if any pair of port prototypes P and R of
SWC prototypes (instantiated from SWC types) are connected, then the corresponding
port prototypes P' and R' of the SWC types will also be connected.
provide_runnables_in_prototype_view¶
provide_runnables_in_prototype_view : bool = False
prototype_view, it may be useful to also see the
SWCs runnable entities. Although naturally, they would be represented in the
swc_type_view, the runnable entities can be copied into the
prototype_view. In case of multiply instantiated SWCs, their
runnable entities would exists several times in this view. Thus, this view can not
be used for a mapping of source code onto this view (that would be ambiguous).
swc_type_mapping_name¶
swc_type_mapping_name : str | None = 'ARXML Type Mapping'
swc_type_view.
Set to None to omit this view.
swc_type_view_name¶
swc_type_view_name : str | None = 'ARXML Types'
None to omit this view.
systems_to_deploy¶
systems_to_deploy : set[str] = set()
Systems to instantiate into the
prototype_view. Each System defines a root composition
prototype. We proceed from this to select all the prototypes (and their types) to
instantiate.
Option Types¶
These types are used by options listed above:
LogLevel¶
An enumeration.WARNING
INFO
DEBUG