To demonstrate this feature in a meaningful way you’ll also make use of a DSPLibrary function - the “Fast Fourier Transform” or FFT. The DSP Library tutorial provides detailed instructions on how to setup your environment to compile DSPLIB. Please complete that tutorial before continuing.
https://github.com/Xilinx/Vitis-Tutorials/tree/master/AI_Engine_Development/AIE/Feature_Tutorials/08-dsp-library