![]() |
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 its aie::vector and aie::accum data types.
Functions | |
| template<unsigned N, typename T > | |
| aie::vector< T, N > | readincr_v (input_stream< T > *w) |
| More... | |
| template<unsigned N, typename T > | |
| aie::vector< T, N > | readincr_v (input_stream< T > *w, bool &tlast) |
| More... | |
| template<unsigned N, aie_dm_resource Resource = aie_dm_resource::none, typename T = void> | |
| aie::vector< T, N > | window_read_v (input_window< T > *w) |
| More... | |
| template<unsigned N, aie_dm_resource Resource = aie_dm_resource::none, typename T = void> | |
| void | window_read_v (input_window< T > *w, aie::vector< T, N > &value) |
| More... | |
| template<unsigned N, aie_dm_resource Resource = aie_dm_resource::none, typename T = void> | |
| aie::vector< T, N > | window_readdecr_v (input_window< T > *w) |
| More... | |
| template<unsigned N, aie_dm_resource Resource = aie_dm_resource::none, typename T = void> | |
| void | window_readdecr_v (input_window< T > *w, aie::vector< T, N > &value) |
| More... | |
| template<unsigned N, aie_dm_resource Resource = aie_dm_resource::none, typename T = void> | |
| aie::vector< T, N > | window_readincr_v (input_window< T > *w) |
| More... | |
| template<unsigned N, aie_dm_resource Resource = aie_dm_resource::none, typename T = void> | |
| void | window_readincr_v (input_window< T > *w, aie::vector< T, N > &value) |
| More... | |
| template<aie_dm_resource Resource = aie_dm_resource::none, unsigned N = 0, typename T = void> | |
| void | window_write (output_window< T > *w, const aie::vector< T, N > &value) |
| More... | |
| template<aie_dm_resource Resource = aie_dm_resource::none, unsigned N = 0, typename T = void> | |
| void | window_writeincr (output_window< T > *w, const aie::vector< T, N > &value) |
| More... | |
| template<aie::AccumElemBaseType T, unsigned N> | |
| void | writeincr (output_stream< T > *w, const aie::accum< T, N > &value) |
| More... | |
| template<typename T , unsigned N> | |
| void | writeincr (output_stream< T > *w, const aie::vector< T, N > &value) |
| More... | |
| template<typename T , unsigned N> | |
| void | writeincr (output_stream< T > *w, const aie::vector< T, N > &value, bool tlast) |
| More... | |
| aie::vector<T, N> readincr_v | ( | 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<T, N> readincr_v | ( | 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<T, N> window_read_v | ( | 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<T, N> window_readdecr_v | ( | 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<T, N> window_readincr_v | ( | 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, |
| const aie::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, |
| const aie::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, |
| const aie::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, |
| const aie::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, |
| const aie::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 |