Overview - 2023.1 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.1 English

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.
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
kernel m_kernel