3.6.1.14 Scalar Argument Interface
(Ask a Question)- 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
Parameter Value Optional Default Description argument
string No Argument name type
simple|axi_target
No simple
Interface type stable
true|false
Yes false
Only 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) ... }