X<DUT>_Read_ARG_Words - X<DUT>_Read_ARG_Words - 2026.1 English - UG1399

Vitis High-Level Synthesis User Guide (UG1399)

Document_ID
UG1399
Release_Date
2026-09-11
Version
2026.1 English

Syntax

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

Description

Read the length of a 32-bit word from the array. This API requires the data target, 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 ARG .
data
A pointer to the data buffer.
length
The length of the data to be stored.

Return

Read length of data from the specified address.