3.6.1.14 Scalar Argument Interface

Syntax
#pragma HLS interface argument(<arg_name>) type(<simple|axi_target>) stable(<false|true>)
Description
This pragma configures the RTL interface for a scalar argument. This pragma is ignored if the enclosing function is not specified as the top-level.
Parameters
ParameterValueOptionalDefaultDescription
argumentstringNoArgument name
typesimple|axi_targetNosimpleInterface type
stabletrue|falseYesfalseOnly available for simple type; true if the argument is stable.
Position
At the beginning of the function definition block.
Examples
int fun(int a) {
#pragma HLS function top
#pragma HLS interface argument(a) type(simple) stable(true)
  ...
}