aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/radio_ctrl_impl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* lib: rfnoc: apply clang-formatMartin Braun2019-01-171-146/+126
| | | | | | This is a continuation of 967be2a4. $ clang-format -i -style=file host/lib/rfnoc/*.cpp
* rfnoc: Replace some [] with .at() in radio_ctrl_implMartin Braun2018-11-131-8/+8
| | | | | This makes it easier to detect errors in derived classes that expect getters in radio_ctrl_impl to also do error checking.
* radio_ctrl: add disable time stampTrung Tran2018-09-141-0/+8
|
* rfnoc: Update logging in some blocksMartin Braun2018-03-301-1/+2
| | | | | | | | | | Updated the following blocks and components: Radio, DmaFIFO, block_ctrl_base and node_ctrl_base, blockdef_xml_impl, device3_impl. No functional changes. - Demoted some log messages - Consistent log style (use unique_id()) - Some adaptation of coding style where close to log statements
* fixup! rfnoc radio: Improve warning for too many samples requestedMartin Braun2018-03-271-1/+2
|
* rfnoc radio: Improve warning for too many samples requestedMartin Braun2018-03-271-1/+11
| | | | | | | | | | When doing a NUM_SAMPS_AND_DONE stream command, there is a limit to the number of samples that can be requested (as of now, there's 28 bits for this counter). When the number was exceeded, the previous error message was not helpful. Note that the DDC block will multiply the number of requested samples by the decimation rate. This means the number of samples requested from the radio is higher than the number of samples requested by the application.
* rfnoc: ctrl_iface cleanupMartin Braun2018-03-161-23/+1
| | | | | | | | | | - ctrl_iface is now longer a wb_iface. All it can do now is send command packets, and receive responses to those. - ctrl_iface does not store command time or tick rate - wb_iface_adapter is no longer a set of functors, but a wrapper around ctrl_iface. Command times are stored once, in the block. - DMA FIFO and radio block controllers have an easier time getting access to a timed_wb_iface
* rfnoc/x300: Make sure peek32() and peek64() are called with actual addressesMartin Braun2018-03-161-7/+3
| | | | Before, we were calling peeks with the number of the readback register.
* uhd: Move internal headers to uhdlib/Martin Braun2018-03-141-2/+2
| | | | | | | | | | | | | | | | To avoid the proliferation of additional include directories and multiple ways of including project-local headers, we now default to moving all headers that are used across UHD into the uhdlib/ subdirectory. Some #include statements were also reordered as they were modified for closer compliance with the coding guidelines. Internal cpp source files should now include files like this: #include <uhdlib/rfnoc/ctrl_iface.hpp> Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
* fixup! rfnoc: Refactor radio_ctrl_impl, remove some BoostAshish Chaudhari2018-02-201-5/+5
|
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* rfnoc: Refactor radio_ctrl_impl, remove some BoostMartin Braun2018-02-081-55/+72
| | | | | | - Replaces some very verbose boost::bind() with simpler lambdas - Replaces some boost:tuple with std::tuple - Replaces some Boost locks with std locks
* rfnoc: Add TX bandwidth APIs to radio_ctrlMartin Braun2018-02-081-0/+12
|
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* rfnoc: Added TX LO APIs to radio_ctrlMartin Braun2017-12-061-1/+70
| | | | | | | Also added stubs in the default impl. Reviewed-By: Ashish Chaudhari <ashish@ettus.com> Reviewed-By: Derek Kozel <derek.kozel@ettus.com>
* rfnoc: Fixed radio compiler warningsMartin Braun2017-06-271-5/+5
|
* rfnoc radio: Made GPIO functions not pure virtualMartin Braun2017-05-261-0/+19
| | | | | Default implementations simply throw an exception. Makes it easier to write new radio controls that do not implement GPIO features.
* Merge branch 'maint'Martin Braun2017-04-131-0/+1
|\
| * rfnoc: radio blocks update their own command time based on updated tick rateMartin Braun2017-04-131-0/+1
| |
* | RFNoC: Exposed LO sharing functions in radio blockDerek Kozel2017-03-241-0/+46
| |
* | rfnoc: Add API calls for time/clock controlMartin Braun2017-03-211-1/+30
| |
* | Rfnoc: Exposed analog lowpass bandwidth option in X300 ctrlsejk2017-02-271-0/+10
| |
* | utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-11/+10
| |
* | uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-101-2/+1
|/ | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-081-15/+15
| | | | | | | | types) - Also removes all references to boost/cstdint.hpp and replaces it with stdint.h (The 'correct' replacement would be <cstdint>, but not all of our compilers support that).
* rfnoc: Radios now ignore stream commands when inactiveMartin Braun2016-08-111-0/+4
|
* Merging RFNoC support for X310Martin Braun2016-08-091-0/+364