USRP Hardware Driver and USRP Manual Version: 4.1.0.1
UHD and USRP Manual
noc_block_make_args.hpp
Go to the documentation of this file.
1//
2// Copyright 2019 Ettus Research, a National Instruments Brand
3//
4// SPDX-License-Identifier: GPL-3.0-or-later
5//
6
7#pragma once
8
12
13namespace uhd { namespace rfnoc {
14
15class clock_iface;
16class mb_controller;
17
24{
26
29
32
35
38
40 size_t mtu;
41
44
46 std::shared_ptr<clock_iface> tb_clk_iface;
47
49 std::shared_ptr<clock_iface> ctrlport_clk_iface;
50
52 //
53 // Note that this may not be populated -- most blocks do not gain access to
54 // the motherboard controller.
55 std::shared_ptr<mb_controller> mb_control;
56
59
62};
63
64}} /* namespace uhd::rfnoc */
Definition: device_addr.hpp:38
std::shared_ptr< property_tree > sptr
Definition: property_tree.hpp:216
Definition: block_id.hpp:40
std::shared_ptr< register_iface > sptr
Definition: register_iface.hpp:30
uint32_t noc_id_t
Definition: defaults.hpp:54
Definition: build_info.hpp:12
Definition: noc_block_make_args.hpp:24
uhd::property_tree::sptr tree
The subtree for this block.
Definition: noc_block_make_args.hpp:58
uhd::device_addr_t args
Additional args that can be parsed and used by this block.
Definition: noc_block_make_args.hpp:61
block_id_t block_id
Block ID (e.g. 0/Radio#0)
Definition: noc_block_make_args.hpp:31
size_t mtu
Value of the MTU register.
Definition: noc_block_make_args.hpp:40
noc_id_t noc_id
Noc-ID.
Definition: noc_block_make_args.hpp:28
size_t num_input_ports
Number of input ports (gets reported from the FPGA)
Definition: noc_block_make_args.hpp:34
std::shared_ptr< clock_iface > ctrlport_clk_iface
Controlport clock interface object that is shared with the reg_iface.
Definition: noc_block_make_args.hpp:49
register_iface::sptr reg_iface
Register interface to this block's register space.
Definition: noc_block_make_args.hpp:43
size_t num_output_ports
Number of output ports (gets reported from the FPGA)
Definition: noc_block_make_args.hpp:37
std::shared_ptr< clock_iface > tb_clk_iface
Timebase clock interface object that is shared with the reg_iface.
Definition: noc_block_make_args.hpp:46
std::shared_ptr< mb_controller > mb_control
Reference to the motherboard controller associated with this block.
Definition: noc_block_make_args.hpp:55