copy - 2024.2 English - XD160

Vitis Libraries

Document ID
XD160
Release Date
2024-11-29
Version
2024.2 English
template  <typename t_DataType, unsigned int t_ParEntries, typename t_IndexType = unsigned int>
void copy(unsigned int p_n, hls::stream<WideType<t_DataType, t_ParEntries>>& p_x, hls::stream<WideType<t_DataType, t_ParEntries>>& p_y)

The copy function that computes Y = X.

Parameters:

t_DataType The data type of the vector entries.
t_ParEntries Number of parallelly processed entries in the packed input vector stream.
t_IndexType The datatype of the index.
p_n The number of entries in vector X and Y.
p_x The packed input vector stream.
p_y The packed output vector stream.