aboutsummaryrefslogtreecommitdiffstats
path: root/src/OfdmGenerator.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-11-22 15:46:27 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-11-22 15:46:27 +0100
commitd45cca6f447c9a72bc9eaeb9d861fa6fcff9e597 (patch)
tree0c21382f22bf3c9696915a69317048df63c432ac /src/OfdmGenerator.h
parent8cabf783285d4bba1c87152f1c8044160dca8fe1 (diff)
downloaddabmod-d45cca6f447c9a72bc9eaeb9d861fa6fcff9e597.tar.gz
dabmod-d45cca6f447c9a72bc9eaeb9d861fa6fcff9e597.tar.bz2
dabmod-d45cca6f447c9a72bc9eaeb9d861fa6fcff9e597.zip
Remove FFT accelerator config
Diffstat (limited to 'src/OfdmGenerator.h')
-rw-r--r--src/OfdmGenerator.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/OfdmGenerator.h b/src/OfdmGenerator.h
index 56e3cb2..475b2a4 100644
--- a/src/OfdmGenerator.h
+++ b/src/OfdmGenerator.h
@@ -35,9 +35,13 @@
#include "PAPRStats.h"
#include "kiss_fft.h"
-#include <fftw3.h>
#include <cstddef>
#include <atomic>
+#include <fftw3.h>
+
+#ifdef HAVE_DEXTER
+# include <iio.h>
+#endif
// Complex Float uses FFTW
class OfdmGeneratorCF32 : public ModCodec, public RemoteControllable
@@ -139,15 +143,14 @@ class OfdmGeneratorFixed : public ModCodec
};
#ifdef HAVE_DEXTER
-#include "iio.h"
// The PrecisionWave DEXTER device contains an FFT accelerator in FPGA
+// It only does inverse FFTs
class OfdmGeneratorDEXTER : public ModCodec
{
public:
OfdmGeneratorDEXTER(size_t nbSymbols,
size_t nbCarriers,
- size_t spacing,
- bool inverse = true);
+ size_t spacing);
virtual ~OfdmGeneratorDEXTER();
OfdmGeneratorDEXTER(const OfdmGeneratorDEXTER&) = delete;
OfdmGeneratorDEXTER& operator=(const OfdmGeneratorDEXTER&) = delete;