/** Moving window / Recursive DFT implementation based on HLS * * @file * @author Steffen Vogel * @copyright 2017, Steffen Vogel **********************************************************************************/ /** @addtogroup fpga VILLASfpga * @{ */ #pragma once #include /* Forward declaration */ struct ip; struct dft { XHls_dft inst; int period; /* in samples */ int num_harmonics; float *fharmonics; int decimation; }; int dft_parse(struct fpga_ip *c); int dft_start(struct fpga_ip *c); int dft_stop(struct fpga_ip *c); int dft_destroy(struct fpga_ip *c); /** @} */