diff options
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/rfnoc/fir_filter_block_control.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/host/include/uhd/rfnoc/fir_filter_block_control.hpp b/host/include/uhd/rfnoc/fir_filter_block_control.hpp index 99526e5ee..8f660c14e 100644 --- a/host/include/uhd/rfnoc/fir_filter_block_control.hpp +++ b/host/include/uhd/rfnoc/fir_filter_block_control.hpp @@ -28,6 +28,7 @@ public: RFNOC_DECLARE_BLOCK(fir_filter_block_control) // Block registers + static const uint32_t REG_FIR_BLOCK_SIZE; static const uint32_t REG_FIR_MAX_NUM_COEFFS_ADDR; static const uint32_t REG_FIR_LOAD_COEFF_ADDR; static const uint32_t REG_FIR_LOAD_COEFF_LAST_ADDR; @@ -39,7 +40,7 @@ public: * * \returns The maximum number of filter coefficients supported by this block */ - virtual size_t get_max_num_coefficients() const = 0; + virtual size_t get_max_num_coefficients(const size_t chan = 0) const = 0; /*! Set the filter coefficients * @@ -54,7 +55,7 @@ public: * * \param coeffs A vector of integer coefficients for the FIR filter */ - virtual void set_coefficients(const std::vector<int16_t>& coeffs) = 0; + virtual void set_coefficients(const std::vector<int16_t>& coeffs, const size_t chan = 0) = 0; /*! Get the filter coefficients * @@ -62,7 +63,7 @@ public: * * \returns The vector of current filter coefficients */ - virtual std::vector<int16_t> get_coefficients() const = 0; + virtual std::vector<int16_t> get_coefficients(const size_t chan = 0) const = 0; }; }} // namespace uhd::rfnoc |