X<DUT>_Write_ARG_Bytes - 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_Bytes(X<DUT> *InstancePtr, int offset, char *data, int length);

Description

Write the length of bytes into the specified address of theAXI4-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 ARG.
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.