X<DUT>_Read_ARG_Words - 2021.1 English

Vitis High-Level Synthesis User Guide (UG1399)

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