readOnly overload (3) - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English
void readOnly (
    int cnt,
    ap_uint <512>* ddrMem0,
    ap_uint <512>* ddrMem1,
    hls::stream <ap_uint <32>>& addrStrm,
    hls::stream <T>& data0Strm,
    hls::stream <T>& data1Strm
    )

readOnly function that index two off-chip buffers without end flags. Both of the buffers should be indexed in exactly the same behaviour.

Parameters:

cnt The number of access to the memory
ddrMem0 The pointer for the first off chip memory
ddrMem1 The pointer for the second off chip memory
addrStrm The read address should be sent from this stream
data0Strm The data loaded from the first off chip memory
data1Strm The data loaded from the second off chip memory