Implementation Casts in Software Components
In the software component editors, implementation casts (see also Implementation Casts) can be inserted in the same way as all other elements using the relevant button in the Elements palette toolbar (here:
).
Block Diagram Editor for SWCs
Once generated, they can be added to the drawing area from the Outline tab by Drag & Drop and can be connected there in the same way as all other elements.
Note |
|---|
Implementation casts cannot be applied to logical elements. If you connect an implementation cast to a logical element, the connecting line is shown in red to indicate the error. |
There are no sequence calls for implementation casts, the correct order is determined from the context by code generation.
There is another very convenient way of adding implementation casts. This is particularly useful for existing arithmetical calculation chains. Using the context menu of the arithmetic operators +, -, *, /, abs and neg you can add implementation casts automatically for all inputs and outputs of the operation by selecting Add Implementation Casts.
ESDL Editor for SWCs
Implementation casts are used as described in Implementation Casts in ESDL.
See also
The following link applies only to the ESDL editor for software components:
The following links apply only to the block diagram editor for software components: