aboutsummaryrefslogtreecommitdiffstats
path: root/host/python/rfnoc.py
Commit message (Collapse)AuthorAgeFilesLines
* python: Arrange file in Python module into uhd/ subdirectoryMartin Braun2020-03-101-20/+0
| | | | | | | | | | | | | | | This adds the host/python/uhd subdirectory, which will add all files that go into the actual Python module once installed. Before, all Python files were directly in host/python and got sorted into their appropriate destination folders during configuration and installation. This change doesn't change anything (Python modules will look the same as they do now), except that it makes the source tree a tad neater, but more importantly, it creates a consistent directory structure when adding submodules to the uhd module. Apart from the PyBind11-generated shared object file (which gets generated during build time), the uhd/ subdirectory in host/python exactly resembles the Python module once installed, so it's more obvious where to add new submodules and files.
* python: rfnoc: finishing noc_block_base::get_mtuBrent Stapleton2020-01-061-0/+2
| | | | | | | Adding bindings for res_source_info, which allows us to use noc_block_base::get_mtu. Fixes: 400b00c34338 ("rfnoc: adding RFNoC Python API")
* rfnoc: adding RFNoC Python APIBrent Stapleton2020-01-021-0/+18
Adding Python bindings for the RFNoC API. This includes the rfnoc_graph, noc_block_base, and several other supporting classes. Templated functions are not currently supported. For example, `rfnoc_graph::get_block` can only return the basic block controller.