From efd8e88859421c0a1876cbe850536dc28a21df69 Mon Sep 17 00:00:00 2001 From: Ashish Chaudhari Date: Sat, 25 May 2019 20:45:34 -0700 Subject: rfnoc: Added clock_iface to convey info about clocks The inteface provides a mechanism for users of clocks to query information such as the running status or rate --- host/include/uhd/rfnoc/noc_block_make_args.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'host/include') diff --git a/host/include/uhd/rfnoc/noc_block_make_args.hpp b/host/include/uhd/rfnoc/noc_block_make_args.hpp index 8a4b1f5ad..c9b530589 100644 --- a/host/include/uhd/rfnoc/noc_block_make_args.hpp +++ b/host/include/uhd/rfnoc/noc_block_make_args.hpp @@ -13,6 +13,7 @@ namespace uhd { namespace rfnoc { +class clock_iface; /*! Data structure to hold the arguments passed into the noc_block_base ctor * * We want to hide these from the user, so she can't futz around with them. @@ -35,6 +36,8 @@ struct noc_block_base::make_args_t //! Register interface to this block's register space register_iface::sptr reg_iface; + //! Clock interface object that is shared with the reg_iface + std::shared_ptr clk_iface; //! The subtree for this block uhd::property_tree::sptr tree; }; -- cgit v1.2.3