aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/ctrl_iface.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove proto-RFNoC filesMartin Braun2019-11-261-240/+0
| | | | | | | This commit removes all files and parts of files that are used by proto-RFNoC only. uhd: Fix include CMakeLists.txt, add missing files
* rfnoc: Read cmd FIFO size from blocks & configure ctrl_ifaceMartin Braun2019-09-041-1/+10
| | | | | | | | | | This requires noc_shell compat number 6.0. It will allow sending as many command packets, but no more, than there is space. Updated FPGA images for devices: - X310/X300 - N300/N310/N320 - E310/E320
* lib: Fix various type-conversion compiler warningsMartin Braun2019-02-281-1/+1
| | | | | This makes more type-conversions explicit, to reduce the number of warnings specifically for MSVC.
* RFNoC: Limit number of control packets in flightmichael-west2019-01-311-2/+2
| | | | | | | | Limit number of unacknowledged control packets to the number of receive frames in the transport to prevent the transport from getting locked up or being overrun by ACK packets. Signed-off-by: michael-west <michael.west@ettus.com>
* transport: muxed_zero_copy_if fixesmichael-west2019-01-211-1/+1
| | | | | | | | | | Changed muxed_zero_copy_if to make each stream buffer the same number of frames as the underlying transport and changed the size of the underlying control transport for X300 and MPMD devices to match the size of the command FIFO in order to prevent starvation of any single control transport. Added some constants to remove hard coded values. Signed-off-by: michael-west <michael.west@ettus.com>
* rfnoc: Fix detection of outstanding acks by ctrl_ifaceMartin Braun2019-01-171-4/+3
| | | | | | | There was a bug where the number of outstanding ACKS in RFNoC's ctrl_iface was derived from the number of recv frames, which was wrong. A number that was too low would effectively break timed commands on tune, which would, e.g., affect phase alignment.
* lib: rfnoc: apply clang-formatMartin Braun2019-01-171-127/+96
| | | | | | This is a continuation of 967be2a4. $ clang-format -i -style=file host/lib/rfnoc/*.cpp
* Device3: Change packet-based flow control to byte-based flow controlMartin Braun2018-07-251-0/+1
|
* UHD: Make ctrl_iface_impl deconstructor virtualMartin Braun2018-06-221-1/+1
|
* fixup! rfnoc: ctrl_iface cleanupmichael-west2018-04-301-4/+0
|
* fixup! rfnoc: ctrl_iface cleanupmichael-west2018-04-301-1/+0
|
* rfnoc: ctrl_iface cleanupMartin Braun2018-03-161-121/+98
| | | | | | | | | | - 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
* uhd: Move internal headers to uhdlib/Martin Braun2018-03-141-2/+1
| | | | | | | | | | | | | | | | 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>
* 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.
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* rfnoc: Fixed seq # error message in ctrl_ifaceMartin Braun2017-09-281-2/+3
|
* rfnoc: Do not pop a sequence number earlyTom Bereknyei2017-09-281-1/+1
| | | | | | The ctrl_iface class will assume that a response packet is available. There are cases where no response packet is available, in which case sequence numbers should not get popped from the stack prematurely.
* utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-8/+8
|
* rfnoc: Minor cleanup in ctrl_ifaceMartin Braun2016-11-091-88/+12
| | | | | | | | - Removed dump queue concept (was geared towards b200 anyway) - Removed some superfluous lines - Requires bidirectional transports Reviewed-By: Michael West <michael.west@ettus.com>
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-081-24/+24
| | | | | | | | 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: ctrl_iface error messages are now no longer the same as ↵Martin Braun2016-08-091-5/+5
| | | | radio_ctrl_core_3000
* Merging RFNoC support for X310Martin Braun2016-08-091-0/+376