Loading...
Searching...
No Matches
vector_iir_block_control.hpp
Go to the documentation of this file.
//
// Copyright 2020 Ettus Research, a National Instruments Brand
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
#pragma once
#include <uhd/config.hpp>
#include <uhd/rfnoc/noc_block_base.hpp>
namespace uhd { namespace rfnoc {
class UHD_API vector_iir_block_control : public noc_block_base
{
public:
RFNOC_DECLARE_BLOCK(vector_iir_block_control)
static const uint32_t REG_BLOCK_SIZE;
static const uint32_t REG_DELAY_OFFSET;
static const uint32_t REG_ALPHA_OFFSET;
static const uint32_t REG_BETA_OFFSET;
virtual void set_alpha(const double alpha, const size_t chan) = 0;
virtual double get_alpha(const size_t chan) const = 0;
virtual void set_beta(const double beta, const size_t chan) = 0;
virtual double get_beta(const size_t chan) const = 0;
virtual void set_delay(const uint16_t delay, const size_t chan) = 0;
virtual uint16_t get_delay(const size_t chan) const = 0;
virtual uint16_t get_max_delay(const size_t chan) const = 0;
};
}} // namespace uhd::rfnoc
uhd::rfnoc::noc_block_base::noc_block_base
noc_block_base(make_args_ptr make_args)
uhd::rfnoc::vector_iir_block_control
Definition vector_iir_block_control.hpp:32
uhd::rfnoc::vector_iir_block_control::REG_ALPHA_OFFSET
static const uint32_t REG_ALPHA_OFFSET
Definition vector_iir_block_control.hpp:39
uhd::rfnoc::vector_iir_block_control::REG_BETA_OFFSET
static const uint32_t REG_BETA_OFFSET
Definition vector_iir_block_control.hpp:40
uhd::rfnoc::vector_iir_block_control::REG_DELAY_OFFSET
static const uint32_t REG_DELAY_OFFSET
Definition vector_iir_block_control.hpp:38
uhd::rfnoc::vector_iir_block_control::REG_BLOCK_SIZE
static const uint32_t REG_BLOCK_SIZE
Definition vector_iir_block_control.hpp:36
uhd::rfnoc::vector_iir_block_control::get_beta
virtual double get_beta(const size_t chan) const =0
uhd::rfnoc::vector_iir_block_control::get_max_delay
virtual uint16_t get_max_delay(const size_t chan) const =0
uhd::rfnoc::vector_iir_block_control::set_beta
virtual void set_beta(const double beta, const size_t chan)=0
uhd::rfnoc::vector_iir_block_control::get_alpha
virtual double get_alpha(const size_t chan) const =0
uhd::rfnoc::vector_iir_block_control::set_delay
virtual void set_delay(const uint16_t delay, const size_t chan)=0
uhd::rfnoc::vector_iir_block_control::get_delay
virtual uint16_t get_delay(const size_t chan) const =0
uhd::rfnoc::vector_iir_block_control::set_alpha
virtual void set_alpha(const double alpha, const size_t chan)=0
UHD_API
#define UHD_API
Definition config.h:87
config.hpp
uhd::rfnoc
Definition actions.hpp:24
uhd
Definition build_info.hpp:12
noc_block_base.hpp
RFNOC_DECLARE_BLOCK
#define RFNOC_DECLARE_BLOCK(CLASS_NAME)
Definition noc_block_base.hpp:22