![]() |
AI Engine API User Guide
(AIE) 2021.2
|
ADF graphs use data flow abstractions to read input data and write output data. AIE API extends such abstractions to work with itsaie::vectorandaie::accumdata types.
Functions |
|
template |
|
aie::vector< T, N > | readincr_v(input_stream< T > *w) |
More... |
|
template |
|
aie::vector< T, N > | readincr_v(input_stream< T > *w, bool &tlast) |
More... |
|
template |
|
aie::vector< T, N > | window_read_v(input_window< T > *w) |
More... |
|
template |
|
void | window_read_v(input_window< T > *w,aie::vector< T, N > &value) |
More... |
|
template |
|
aie::vector< T, N > | window_readdecr_v(input_window< T > *w) |
More... |
|
template |
|
void | window_readdecr_v(input_window< T > *w,aie::vector< T, N > &value) |
More... |
|
template |
|
aie::vector< T, N > | window_readincr_v(input_window< T > *w) |
More... |
|
template |
|
void | window_readincr_v(input_window< T > *w,aie::vector< T, N > &value) |
More... |
|
template<aie_dm_resourceResource = aie_dm_resource::none, unsigned N = 0, typename T = void> | |
void | window_write(output_window< T > *w, constaie::vector< T, N > &value) |
More... |
|
template<aie_dm_resourceResource = aie_dm_resource::none, unsigned N = 0, typename T = void> | |
void | window_writeincr(output_window< T > *w, constaie::vector< T, N > &value) |
More... |
|
template<aie::AccumElemBaseTypeT, unsigned N> | |
void | writeincr(output_stream< T > *w, constaie::accum< T, N > &value) |
More... |
|
template |
|
void | writeincr(output_stream< T > *w, constaie::vector< T, N > &value) |
More... |
|
template |
|
void | writeincr(output_stream< T > *w, constaie::vector< T, N > &value, bool tlast) |
More... |
|
aie::vector |
( | input_stream< T > * | w | ) |
Reads a vector from the input AXI stream.
N | Size of the vector to be read |
w | Input stream |
aie::vector |
( | input_stream< T > * | w, |
bool & | tlast | ||
) |
Reads a vector from the input AXI stream and returns whether TLAST has been asserted.
N | Size of the vector to be read |
w | Input stream |
tlast | Output argument that tells whether TLAST has been asserted. |
aie::vector |
( | input_window< T > * | w | ) |
Read a vector from an input window.
N | Size of the vector to be read |
w | Input window |
void window_read_v | ( | input_window< T > * | w, |
aie::vector< T, N > & | value | ||
) |
Read a vector from an input window.
w | Input window |
value | Output parameter that contains the read vector |
aie::vector |
( | input_window< T > * | w | ) |
Read a vector from an input window and decrement the window pointer.
N | Size of the vector to be read |
w | Input window |
void window_readdecr_v | ( | input_window< T > * | w, |
aie::vector< T, N > & | value | ||
) |
Read a vector from an input window and decrement the window pointer.
w | Input window |
value | Output parameter that contains the read vector |
aie::vector |
( | input_window< T > * | w | ) |
Read a vector from an input window and increment the window pointer.
N | Size of the vector to be read |
w | Input window |
void window_readincr_v | ( | input_window< T > * | w, |
aie::vector< T, N > & | value | ||
) |
Read a vector from an input window and increment the window pointer.
w | Input window |
value | Output parameter that contains the read vector |
void window_write | ( | output_window< T > * | w, |
constaie::vector< T, N > & | value | ||
) |
Write a vector into an output window.
w | Output window |
value | Vector to be written |
void window_writeincr | ( | output_window< T > * | w, |
constaie::vector< T, N > & | value | ||
) |
Write a vector into an output window and increment the window pointer.
w | Output window |
value | Vector to be written |
void writeincr | ( | output_stream< T > * | w, |
constaie::accum< T, N > & | value | ||
) |
Writes an accumulator into the output cascade stream.
w | Output stream |
value | Accumulator to be written |
void writeincr | ( | output_stream< T > * | w, |
constaie::vector< T, N > & | value | ||
) |
Writes a vector into the output AXI stream. TLAST is not asserted.
w | Output stream |
value | Vector to be written |
void writeincr | ( | output_stream< T > * | w, |
constaie::vector< T, N > & | value, | ||
bool | tlast | ||
) |
Writes a vector into the output stream. An additional argument says whether TLAST is asserted.
w | Output stream |
value | Vector to be written |
tlast | TLAST is asserted if true |