From 58cecd867bd9f061b0b0072bb3338372498e1be3 Mon Sep 17 00:00:00 2001 From: Brent Stapleton Date: Tue, 4 Jun 2019 16:59:22 -0700 Subject: 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. --- host/lib/include/uhdlib/rfnoc/client_zero.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'host/lib/include/uhdlib/rfnoc/client_zero.hpp') 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. -- cgit v1.2.3