Editing a Process/Method Implementation
- Open the specification editor for the module or class you want to edit.
- In the Outline tab, select the process or method you want to edit.
Do one of the following:
Open the Edit menu and select Implementation.
Right-click the process/method and select Implementation from the context menu.
The implementation editor for the process/method opens.
From the Inlining combo box, select a value for inlining.
Note
The Inlining combo box is only available for methods and processes.
Possible selections: Automatic, None, Preprocessor Evaluation (only allowed for methods in classes specified as prototype implementation), Compiler.
Activate the Use FPU option if you want to save the Floating Point Unit registers of your microcontroller target upon task switching.
This option is effective only in connection with a microcontroller target; details are given in the ASCET‑SE user guide.
From the Memory Location combo box, select the memory area where the code should run.
As a general rule, processes/methods that are slow and rarely called should run in external memory whereas fast and frequently called processes/methods should run in internal memory to improve performance.
If you are working with an ASCET‑SE target, use the Memory Segment combo box for the respective settings.
Note
For all other targets, this combo box is irrelevant.
In the Symbol field, enter the character string you want to use as C function name for the process or method in the currently selected implementation of the component.
Valid strings are any valid C identifier, any sequence of ASCET naming macros (see the list in Implementation Editor for Methods/Processes/Runnables), or any combination thereof.
An empty Symbol field means that the default naming convention (as specified in the codegen.ini file) is used.
See also
Implementation Editor for Methods/Processes/Runnables
Software Component Editor – Editing the Implementation of a Runnable