template class xf::dsp::aie::widget::real2complex::widget_real2complex_graph¶
#include "widget_real2complex_graph.hpp"
Overview¶
widget_real2complex is utility to convert real data to complex or vice versa
These are the templates to configure the function.
Parameters:
TT_DATA | describes the type of individual data samples input to the function. This is a typename and must be one of the following: int16, cint16, int32, cint32, float, cfloat. |
TT_OUT_DATA | describes the type of individual data samples output from the function. This is a typename and must be one of the following: int16, cint16, int32, cint32, float, cfloat. TT_OUT_DATA must also be the real or complex counterpart of TT_DATA, e.g. TT_DATA = int16 and TT_OUT_DATA = cint16 is valid, TT_DATA = cint16 and TT_OUT_DATA = int16 is valid, but TT_DATA = int16 and TT_OUT_DATA = cint32 is not valid. |
TP_WINDOW_VSIZE | describes the number of samples in the window API used if either input or output is a window. Note: Margin size should not be included in TP_INPUT_WINDOW_VSIZE. This is the class for the Widget API Cast graph |
template < typename TT_DATA, typename TT_OUT_DATA, unsigned int TP_WINDOW_VSIZE > class widget_real2complex_graph: public graph // fields port <input> in port <output> out
Fields¶
port <input> in
The input data to the function. Window API is expected. Data is read from here, converted and written to output.
port <output> out
An API of TT_DATA type.