Miscellaneous – ARXML Configuration Settings

Template for accessing Dt

Template for accessing the dT variable; possible per runnable associated with timing event.

Allowed template parameters:

Artificial Type Template

Template for types (artificially) created by ASCET from element specification.

Allowed template parameters:

Runnable Symbol

Template for symbols of runnables.

Allowed template parameters:

Generate Application Init Values

Activated: Initial values for elements associated with an application data type are generated as <APPLICATION-VALUE-SPECIFICATION>.

Deactivated: Initial values for elements associated with an application data type are generated as numerical values (<NUMERICAL-VALUE-SPECIFICATION>).

See the ASCETV6.4 AUTOSAR User Guide for further information.

Generate Internal Data Structure

Activated: Descriptions of internal data structure (e.g., static memory, constant memory, per-instance memory) of the SWC is added to the generated ARXML code.

Deactivated: Descriptions of internal data structure are not added to the generated ARXML code.

See section Description of Internal Data Structures in the ASCETV6.4 AUTOSAR User Guide for details.

Support Multiple Instantiation

Note

Support Multiple Instantiation is available only when Generate Internal Data Structure is activated.

Activated: This information is passed to the RTE to influence the generation of the SWC-specific code.

See section Multi-Instance Software Components in the ASCETV6.4 AUTOSAR User Guide for details.

Generate System Constants

Note

Generate System Constants must be activated if you want to use one or more of the following parameters:

  • Generate API including SWC type name
  • Generate System Constant Values
  • Generate System Constant Variant
  • Default Binding Time of Variation Points

Activated: System constants are generated and added to the ARXML code for usage of SW variation, e.g., used for variation points or variation point proxies.

Deactivated: ASCET generates the system constants, but they are not included in the ARXML code, i.e. they are not known to the RTE.

For details on variant handling, see section Variant Handling in the ASCETV6.4 AUTOSAR User Guide.

Generate API including SWC type name

Activated: Generate API for access of system constants with the type name of the associated SWC included. This allows the macros to be used in a more global context.

Deactivated: Generate the API without the type name of the associated SWC.

Generate System Constant Values

Activated: The specified default values of the system constants are included in the generated ARXML code.

Deactivated: The specified default values of the system constants are not included in the generated ARXML code. The information needs to be provided externally in order for the RTE to generate successfully.

Generate System Constant Variant

Activated: Variant information is included in the generated ARXML code. This information is used by the RTE for generating the needed #define macro for each system constant.

Deactivated: Variant information is included in the generated ARXML code. The information needs to be provided externally in order for the RTE to generate successfully.

Default Binding Time of Variation Points

Specifies the binding time for resolution of the variation points. The binding time is passed to the RTE for resolving the variation-point condition at the specified time. This applies to regular and user-defined system constants that are resolved at compile time.

Possible values: CodeGenerationTime / PreCompileTime / None

Use Imported ARXML Info

If an ARXML file is imported, and the contents of the access usage per runnable is stored at the SWC, this information can be used during code generation. See also Usage Information from Imported ARXML Files.

The following settings are available:

Use Explicit Semantics for Access to Mapped Messages

Activated: Use explicit instead of implicit access semantics for all messages mapped to data elements of SenderReceiver interfaces.

Deactivated: Use implicit access semantics for all messages mapped to data elements of SenderReceiver interfaces.

Use Explicit Semantics for Access to Mapped Non-Volatile Variables

Activated: Use explicit instead of implicit access semantics for all non-volatile variables mapped to data elements of NVData interfaces.

Deactivated: Use implicit access semantics for all non-volatile variables mapped to data elements of NVData interfaces.

Restrict to AUTOSAR Platform Types

Activated: Use AUTOSAR platform types as implementation data types.

Deactivated: Generate corresponding implementation data type for each application data type generated.

Support for Dt handling

In the AUTOSAR context, no Dt variable is generated by ASCET. Instead, there are a number of ways to handle the Dt access.

The following settings are available:

Use Boolean Implementation Type

Activated: All model elements of type logic are represented in ARXML with the Boolean implementation data type, independently of the specified ASCET Implementation data type.

Deactivated: The specified ASCET implementation data type is used as implementation data type in ARXML for each logical element.

Generate type map include

Note

Relevant for AUTOSAR R4.3.* only.

Activated: ASCET generates a #define %SOFTWARECOMPONENT.NAME%_TYPEMAP followed by an #include ASCET_Typemap.h. With that, you can provide missing (unknown to ASCET), but necessary type definitions.

Generate Resource Consumption

Activated: The resource consumption is generated for the software component implementation.

Deactivated: The resource consumption for the software component implementation is not generated.

Memory Allocation Keyword Policy

The Memory Allocation Keyword Policy specifies the name pattern of the Memory Allocation Keyword, which is used for the MemorySection shortNames of referring MemorySections and therefore the belonging Memory Allocation Keywords in the code.

The following settings are available:

Avoid temporary variable for multiply mapped messages

If a message is mapped multiple times, e.g., to an interrunnable variable and a data element in a sender/receiver provide port, ASCET generates a temporary variable that buffers the value before writing it to the two AUTOSAR elements. When this option is enabled, the temporary variable is not generated under the following conditions:

The option has no effect on the behavior of the generated code, but may effect the resource consumption:

Generation of COMPU-METHODs

The ASCET formulas used within an AUTOSAR context are generated as so-called COMPU-METHODs into the ARXML files. There are several possible ways on how to define a COMPU-METHOD based on an ASCET formula:

The following settings are available: