diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-06-05 12:05:30 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 11:49:25 -0800 |
commit | bba75b29feed2d3b42f9b6c4eb4bc574c09924c7 (patch) | |
tree | 49eb882993e936e80eddc44c39b68fe727b311fc /host/lib/rfnoc | |
parent | bb7ed79f012faa4c59e4c312dddc46822968e6c4 (diff) | |
download | uhd-bba75b29feed2d3b42f9b6c4eb4bc574c09924c7.tar.gz uhd-bba75b29feed2d3b42f9b6c4eb4bc574c09924c7.tar.bz2 uhd-bba75b29feed2d3b42f9b6c4eb4bc574c09924c7.zip |
rfnoc: Add mb_controller base class and X300/MPMD implementations
Diffstat (limited to 'host/lib/rfnoc')
-rw-r--r-- | host/lib/rfnoc/rfnoc_graph.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/host/lib/rfnoc/rfnoc_graph.cpp b/host/lib/rfnoc/rfnoc_graph.cpp index 01f669c62..201920366 100644 --- a/host/lib/rfnoc/rfnoc_graph.cpp +++ b/host/lib/rfnoc/rfnoc_graph.cpp @@ -140,6 +140,11 @@ private: throw uhd::key_error(std::string("Found no RFNoC devices for ----->\n") + dev_addr.to_pp_string()); } + _tree = _device->get_tree(); + _num_mboards = _tree->list("/mboards").size(); + for (size_t i = 0; i < _num_mboards; ++i) { + _mb_controllers.emplace(i, _device->get_mb_controller(i)); + } // Create a graph stream manager // FIXME get these from mb_iface or something |