X<DUT>_Write_ARG_Words - 2024.1 English

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
Release Date
2024-07-03
Version
2024.1 English

Syntax

u32 X<DUT>_Write_ARG_Words(X<DUT> *InstancePtr, int offset, int *data, int length);

Description

Write the length of a 32-bit word into the specified address of the AXI4-Lite interface. This API requires the offset address from BaseAddress and the length of the data to be stored. Only available when ARG is an array grouped into the AXI4-Lite interface.

InstancePtr
A pointer to the device instance.
offset
The address in the AXI4-Lite interface.
data
A pointer to the data value to be stored.
length
The length of the data to be stored.

Return

Write length of data from the specified address.