aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/noc_block_base.cpp
Commit message (Collapse)AuthorAgeFilesLines
* rfnoc: noc_block_base: Store property tree reference from make_argsMartin Braun2019-11-261-1/+4
|
* rfnoc: noc_block_base: Pass args into block on constructionMartin Braun2019-11-261-0/+1
| | | | | These args come from the framework, e.g., because the UHD session was launched with them.
* rfnoc: noc_block_base: Add API to reduce num portsMartin Braun2019-11-261-0/+20
| | | | This allows blocks to reduce the number of actual, available ports.
* rfnoc: Add mb_controller APIMartin Braun2019-11-261-0/+6
| | | | | | | | | The mb_controller is an interface to hardware-specific functions of the motherboard. The API works in two ways: - The user can request access to it, and thus interact directly with the motherboard - RFNoC blocks can request access to it, if they need to interact with the motherboard themselves.
* rfnoc: noc_block_base: Handle the tick_rate property internallyMartin Braun2019-11-261-1/+61
| | | | | | | | | | | All noc_block_base derivatives are now plugged into the tick rate system. Connected nodes can only have one tick rate among them. This implies there is also only ever one tick rate per block. set_tick_rate() is a protected API call which can be called by blocks such as radio blocks to actually set a tick rate. Other blocks would only ever read the tick rate, which is handled by the get_tick_rate() API call.
* rfnoc: Add block registry/factory and make_argsMartin Braun2019-11-261-0/+18
| | | | | | - noc_block_base now has a ctor defined - The registry stores factory functions to the individual Noc-Block implementations
* rfnoc: Add noc_block_base classMartin Braun2019-11-261-0/+11
This is a parent class for all block controllers.