mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-23 00:00:01 +01:00
36 lines
No EOL
701 B
C
36 lines
No EOL
701 B
C
/** Moving window / Recursive DFT implementation based on HLS
|
|
*
|
|
* @file
|
|
* @author Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
|
|
* @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.
|
|
*/
|
|
/**
|
|
* @addtogroup fpga VILLASfpga
|
|
* @{
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <xilinx/xhls_dft.h>
|
|
|
|
/* 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_init(struct fpga_ip *c);
|
|
|
|
int dft_destroy(struct fpga_ip *c);
|
|
|
|
/** @} */ |