diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-10-29 23:52:22 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-10-29 23:52:22 +0100 |
commit | f1a3db6d7dc1461bcf4a8933a77267698fdffd30 (patch) | |
tree | b20e5054899335f340e26b9220c85691eeb70087 /src/ConfigParser.h | |
parent | 933021ed44e6c1bd2cf1dee91fc033c145c061af (diff) | |
download | dabmod-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.h | 8 |
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; |