aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/block_control.cpp
blob: e830fd96507b91da251c0e84e1c34c745ef85000 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//
// Copyright 2019 Ettus Research, a National Instruments Brand
//
// SPDX-License-Identifier: GPL-3.0-or-later
//

#include <uhd/exception.hpp>
#include <uhd/rfnoc/block_control.hpp>
#include <uhd/rfnoc/defaults.hpp>
#include <uhd/rfnoc/registry.hpp>

using namespace uhd::rfnoc;

class block_control_impl : public block_control
{
public:
    RFNOC_BLOCK_CONSTRUCTOR(block_control) {}
};

UHD_RFNOC_BLOCK_REGISTER_DIRECT(
    block_control, DEFAULT_NOC_ID, DEFAULT_BLOCK_NAME, CLOCK_KEY_GRAPH, "bus_clk")