From c65166562f1278f6633b183b7188789158210544 Mon Sep 17 00:00:00 2001 From: mattprost Date: Fri, 20 Mar 2020 10:31:10 -0500 Subject: rfnoc: Use multichannel register interface for RFNoC blocks Allows RFNoC blocks to perform register peeks and pokes on blocks with multiple channels without having to worry about handling register address translation every time. Signed-off-by: mattprost --- host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'host/lib/include/uhdlib') diff --git a/host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp b/host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp index 1a78d7cab..69577b9e4 100644 --- a/host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp +++ b/host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp @@ -5,6 +5,7 @@ // #include +#include #include #include #include @@ -296,6 +297,9 @@ protected: //! Properties for samp_rate (one per port) std::vector> _samp_rate_out; + //! Block-specific register interface + multichan_register_iface _radio_reg_iface; + private: //! Validator for the async messages // -- cgit v1.2.3