Attribute ‘parameterstringof’.. Index:: parameterstringof


.. Index:: parameterstringof

The pragma {attribute 'parameterstringof'} allows that the instance name of the specified parameter is made accessible for the referenced visualization. An interface variable (STRING) will contain the instance name of the specified parameter. The interface variable is visible within the referenced visualization and can for example be used in a text output.

Syntax:

{attribute ‘parameterstringof’ := ‘<variable>’}

Example: declaration of a interface

VAR_INPUT
\ {attribute 'parameterstingof' := 'iftDut_A'}
\ sItfNameDut_A: STRING;
END_VAR
VAR_IN_OUT
\  iftDut_A : DUT_A;
END_VAR

See also