3.5.1.19.2 Scalar Argument Driver Functions

When a scalar argument is configured to use AXI4 target interface (see 3.5.1.18.2 Scalar Argument), SmartHLS generates the following driver functions:

// Sets the scalar argument 'MyScalarArg' to 'val'.
void MyTopFunc_write_MyScalarArg(TYPE val);

// Retrieves the value of 'MyScalarArg', that was previously set by the write function above.
TYPE MyTopFunc_read_MyScalarArg();