Targets Node
The Targets node contains subnode structures for all installed ASCET targets. Only the most important options are described here; for the meaning of the other options, refer to the descriptions in the Options window.
Some options are available for all targets, some are available for one or more target categories or targets.
The settings of each target apply to all projects that use a particular target. The settings are stored in the data directory (path macro%DATA%), in an XML file named targetSettings_<target name>.xml. These files are not deleted during a re-installation of ASCET.
To restore default settings for a target, remove the respective targetSettings_<target name>.xml file or use the System Defaults button.
Build subnode
This option replaces the GenerateSCOOP-IX entry in the codegen.ini file.
For the Prototyping target, SCOOP‑IX generation is always active. The option is reduced to a field name.
The subordinated options of Generating SCOOP-IX can be used to set certain parameters for SCOOP‑IX generation, e.g., the SCOOP‑IX schema version.
Generating Message Copy
This option depends on the msgCopySemantics entry in the target.ini file.
Note
At present, only the EHOOKS target provides a message copy semantics in target.ini.
Generating Sparse Arrays
Note
If the target does not support sparse arrays, the option is reduced to a caption that cannot be edited.
If activated, sparse arrays/matrices with designated initializers are generated. A designated initializer stores each non-default value together with its index in the array/matrix. See Initialization of Composite Elements for details.
If deactivated, all init values are generated, independent of their value.
Sparse Array Threshold
Only editable if Generating SparseArrays is activated.
The number is interpreted as the minimum percentage of default values from all init values associated with an array/matrix. The default threshold is 50, i.e. if 50% or more values match the default value 0, the init code of the array is generated using designated initializers.
Resolve System Constants
For the meaning of this option, refer to the descriptions in the Options window.
This combo box replaces the ResolveSystemConstants entry in the codegen.ini file.
The resolution time selected for a user-defined subkind of system constants overrides the resolution time selected here.
Cont Implementation Type
Only changeable for ASCET‑SE targets, including the EHOOKS target.
For the meaning of this option, refer to the descriptions in the Options window.
For EHOOKS, this combo box replaces the Bypass Implementation Override combo box in the project properties of ASCET V6.2.
Number of dimensions for fixed matrixes
Only available for ASCET‑SE targets, including the EHOOKS target.
Prior to ASCET V6.4.6, matrices of fixed or variant size were generated as a one-dimensional array. Since ASCET V6.4.6, the Number of dimensions for fixed matrixes option allows users to also generate two-dimensional arrays.
Note
If you use matrices in AUTOSAR projects, make sure that the Number of dimensions for fixed matrices target option is set to Two-dimensional for the ANSI-C target.
Otherwise, an error MMdl653 is issued during code generation.
Only available for ASCET‑SE targets, including the EHOOKS target. The matrix orientation can beset to Row-major or Column-major.
If the access in the model is mat[x][y], then a row-major matrix is accessed as mat[y][x] and a column-major matrix is accessed as mat[x][y].
Function Name of memcpy
This option is available for all targets.
Force no self pointer optimization and Generate Method Body
These options override some options in the implementation editor for classes. See also the description of that editor's "Settings" tab.
Name Templates and Filename Templates subnodes
Note |
|---|
The Name Templates\ASAM-2MC subnode is only available for the EHOOKS target. |
Name templates are described in Name Templates. A list of valid template parameters for each option is given in the descriptions in the Options window.
Name Templates\ANSI C subnode
Generating Access Macros
Note
This option and its child options are only available for ASCET‑SE targets.
This option replaces the Generate Access Macros for field in the Production Code node of the Project Properties window.
Record Type
This option is available for all targets.
Externally Defined Name (* Element)
These options are only available for the EHOOKS target.
Write ASAM-2MC/DCM subnode
If activated, ASCET adds the CALIBRATION_ACCESS keyword to the parameter entries (i.e., CHARACTERISTICS) in the ASAM-MCD-2MC file. See also Calibration Access.
Default value: deactivated
See also