/** Moving window / Recursive DFT implementation based on HLS * * @file * @author Steffen Vogel * @copyright 2015-2016, Steffen Vogel * This file is part of S2SS. All Rights Reserved. Proprietary and confidential. * Unauthorized copying of this file, via any medium is strictly prohibited. **********************************************************************************/ #ifndef _DFT_H_ #define _DFT_H_ #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 ip *c); int dft_init(struct ip *c); void dft_destroy(struct ip *c); #endif /* _DFT_H_ */