%OFFSET_type_LOCAL%

The index of the first local signal in the type array. type can be any of BOOL, INT and REAL.

Each of the arrays (one for each of the basic types boolean, integer and real) is partitioned into input signals, output signals, local signals and state variables. This key provides the index of the first local signal in the array. Hence, the index of the n:th boolean local signal in the boolean array is %OFFSET_BOOLEAN_LOCAL% + n.

An local signal in the code generation context is any signal that is not an input or an output of the top-level node. Hence, all signals of the subnodes count as local signals in this context.

Generators

C/C++/Java, VHDL