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;
fft_magnitude
Definition: fft_block_control.hpp:16
#define RFNOC_DECLARE_BLOCK(CLASS_NAME)
Definition: noc_block_base.hpp:22
Definition: build_info.hpp:12
Definition: noc_block_base.hpp:42
fft_shift
Definition: fft_block_control.hpp:14
#define UHD_API
Definition: config.h:87
fft_direction
Definition: fft_block_control.hpp:15
Definition: fft_block_control.hpp:41
UHD_INLINE size_t shift(const soft_reg_field_t field)
Definition: soft_register.hpp:80