aboutsummaryrefslogtreecommitdiffstats
path: root/src/ConfigParser.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-10-29 23:52:22 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-10-29 23:52:22 +0100
commitf1a3db6d7dc1461bcf4a8933a77267698fdffd30 (patch)
treeb20e5054899335f340e26b9220c85691eeb70087 /src/ConfigParser.h
parent933021ed44e6c1bd2cf1dee91fc033c145c061af (diff)
downloaddabmod-f1a3db6d7dc1461bcf4a8933a77267698fdffd30.tar.gz
dabmod-f1a3db6d7dc1461bcf4a8933a77267698fdffd30.tar.bz2
dabmod-f1a3db6d7dc1461bcf4a8933a77267698fdffd30.zip
Rework fixed point config setting
Diffstat (limited to 'src/ConfigParser.h')
-rw-r--r--src/ConfigParser.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ConfigParser.h b/src/ConfigParser.h
index f3a2af9..3bacfdd 100644
--- a/src/ConfigParser.h
+++ b/src/ConfigParser.h
@@ -36,6 +36,12 @@
#include "TII.h"
#include "output/SDRDevice.h"
+enum class FFTEngine {
+ FFTW, // floating point in software
+ KISS, // fixed-point in software
+ DEXTER // fixed-point in FPGA
+};
+
struct mod_settings_t {
std::string startupCheck;
@@ -51,7 +57,7 @@ struct mod_settings_t {
bool useLimeOutput = false;
bool useBladeRFOutput = false;
- bool fixedPoint = false;
+ FFTEngine fftEngine = FFTEngine::FFTW;
size_t outputRate = 2048000;
size_t clockRate = 0;