12 namespace uhd {
namespace rfnoc {
19 static const std::string PROP_KEY_MAGNITUDE =
"magnitude";
20 static const std::string PROP_KEY_DIRECTION =
"direction";
21 static const std::string PROP_KEY_LENGTH =
"length";
22 static const std::string PROP_KEY_FFT_SCALING =
"fft_scaling";
23 static const std::string PROP_KEY_SHIFT_CONFIG =
"shift_config";
46 static const uint32_t REG_RESET_ADDR;
47 static const uint32_t REG_LENGTH_LOG2_ADDR;
48 static const uint32_t REG_MAGNITUDE_OUT_ADDR;
49 static const uint32_t REG_DIRECTION_ADDR;
50 static const uint32_t REG_SCALING_ADDR;
51 static const uint32_t REG_SHIFT_CONFIG_ADDR;
60 virtual
void set_direction(const
fft_direction direction) = 0;
81 virtual
void set_magnitude(const
fft_magnitude magnitude) = 0;
112 virtual
fft_shift get_shift_config() const = 0;
124 virtual
void set_scaling(const uint16_t scaling) = 0;
132 virtual uint16_t get_scaling() const = 0;
142 virtual
void set_length(const
size_t length) = 0;
150 virtual
size_t get_length() const = 0;