[USRP-users] RFNoC Host Block Controller
martin.braun at ettus.com
Mon Oct 26 12:57:31 EDT 2015
we're definitely behind on documentation, and this is a good question.
The gist of it is, if NocScript can't express what you need, you need a
C++ class of your own to control your block. However, we anticipate that
most people will *not* need to do this.
If you have the time to watch this video (you can jump to the host-side
section, and the slides are available separately as PDF) you'll see me
explaining this in more detail:
As for documentation, we do have a bunch of examples which you already
seem to be aware of.
See e.g. host/lib/rfnoc/window_block_ctrl_impl.cpp: The last line tells
UHD that the Blockname "Window" is mapped to the class in this file, and
that's how custom block control classes are used.
On 26.10.2015 07:13, Adams, Andrew L. via USRP-users wrote:
> Is there any additional documentation on Host Block Controller. It
> appears some form of registration takes place given the “blockname”
> field of the xml files located in uhd\host\include\uhd\rfnoc\blocks in
> the sense that a previously unregistered tag is somehow given a default
> controller class, but is there a way to explicitly assign a block
> controller class? For instance, how do I know if the default class is
> sufficient? I apologize if there is existing documentation which
> discusses this; please feel free to point me to it. Thanks.
More information about the USRP-users