aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib
diff options
context:
space:
mode:
authorBrent Stapleton <brent.stapleton@ettus.com>2019-06-04 16:59:22 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:27 -0800
commit58cecd867bd9f061b0b0072bb3338372498e1be3 (patch)
treebc28e2403f647b6195dc18d12d833f938541ab5e /host/lib/include/uhdlib
parent3da938f1242219fdf993576dcfdce7440a63c044 (diff)
downloaduhd-58cecd867bd9f061b0b0072bb3338372498e1be3.tar.gz
uhd-58cecd867bd9f061b0b0072bb3338372498e1be3.tar.bz2
uhd-58cecd867bd9f061b0b0072bb3338372498e1be3.zip
rfnoc: flushing and reset blocks on graph creation
During construction of the rfnoc_graph, flush and reset each block in each motherboard we need to enumerate. This will ensure that each block is in a clean state when we construct it's block controller.
Diffstat (limited to 'host/lib/include/uhdlib')
-rw-r--r--host/lib/include/uhdlib/rfnoc/client_zero.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/lib/include/uhdlib/rfnoc/client_zero.hpp b/host/lib/include/uhdlib/rfnoc/client_zero.hpp
index 52330bffa..b9bcb32e5 100644
--- a/host/lib/include/uhdlib/rfnoc/client_zero.hpp
+++ b/host/lib/include/uhdlib/rfnoc/client_zero.hpp
@@ -153,6 +153,11 @@ public:
*/
bool complete_flush(uint16_t portno);
+ /*! Go through the entire flush process for all ports
+ * \throws uhd::runtime_error if flush failed
+ */
+ void complete_flush_all_blocks();
+
/*! Reset a port's control logic
*
* It is recommended to flush a port calling this.