From b99d61c890e484e9a560fbefb7e11982a50433a5 Mon Sep 17 00:00:00 2001 From: Wade Fife Date: Fri, 8 Jan 2021 16:49:10 -0600 Subject: rfnoc: Add accessors for item width and nipc for NSS - Add get_item_width() and get_nipc() methods to the Null/Source/Sink block controller. - Add missing enumerated types for get_count() method. --- host/include/uhd/rfnoc/null_block_control.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'host/include') diff --git a/host/include/uhd/rfnoc/null_block_control.hpp b/host/include/uhd/rfnoc/null_block_control.hpp index 1e426b312..f78cb72f7 100644 --- a/host/include/uhd/rfnoc/null_block_control.hpp +++ b/host/include/uhd/rfnoc/null_block_control.hpp @@ -58,6 +58,14 @@ public: */ virtual void set_throttle_cycles(const uint32_t cycs) = 0; + /*! Get item width (ITEM_W) + */ + virtual uint32_t get_item_width() = 0; + + /*! Get number of items per clock (NIPC) + */ + virtual uint32_t get_nipc() = 0; + /*! Get lines per packet (including the header!) */ virtual uint32_t get_lines_per_packet() = 0; -- cgit v1.2.3