%OFFSET_type_INPUT%

The index of the first input 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 input signal in the array. Hence, the index of the n:th boolean input signal in the boolean array is %OFFSET_BOOLEAN_INPUT% + n.

An input signal in the code generation context is an input signal of the top-level node. Inputs of subnodes count as local signals.

Generators

C/C++/Java, VHDL