X<DUT>_Set_ARG - 2021.1 English

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
Release Date
2021-06-16
Version
2021.1 English

Syntax

void X<DUT>_Set_ARG(X<DUT> *InstancePtr, u32 Data);

Description

Write a value to port ARG (a scalar argument of the top-level function). Available only if ARG is an input port.

InstancePtr
A pointer to the device instance.
Data
Value to write.