The DSPLib contains a Widget Real to Complex solution, which provides a utility to convert real data to complex or vice versa.