X<DUT>_Set_ARG - 2022.1 English

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
Release Date
2022-06-07
Version
2022.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.