uhd/host/lib/utils
Martin Braun bc6b453963 rfnoc: Fix issue in uhd::rfnoc::connect_through_blocks()
When connect_through_blocks() was called on blocks within a single
chain, there was a bug where the chain was incorrectly cropped. In
a standard FPGA image, say one was to use this API call to connect the
radio to the DDC. It would generate a chain of blocks hanging off the
radio as such:

Radio -> DDC -> SEP

What the code should do, and what this fix provides, is that the chain
gets cropped after the DDC, to look like this:

Radio -> DDC

With the current bug, it would assume the chain has a dangling edge, and
incorrectly throw an exception.
Note that this bug would not appear when source and destination block
are on separate chains (i.e., both have an SEP in their chain).

This patch includes minor logging and comment improvements around the
offending lines of code.
2021-12-01 13:34:35 -08:00
..
chdr chdr: Fix u64_to_host vs. u64_from_host usage 2021-01-11 12:40:20 -06:00
cast.cpp utils: Add bool specialization to cast::from_str() 2020-03-18 07:43:20 -05:00
CMakeLists.txt cmake: Add check for libatomic linking requirement 2021-08-27 15:28:20 -05:00
compat_check.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
config_parser.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
csv.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
eeprom_utils.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
gain_group.cpp host: Update code base using clang-tidy 2021-03-04 08:07:26 -06:00
graph_utils.cpp rfnoc: Fix issue in uhd::rfnoc::connect_through_blocks() 2021-12-01 13:34:35 -08:00
ihex.cpp uhd: Fix spelling errors 2021-10-22 06:35:44 -07:00
load_modules.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
log.cpp uhd: Replace boost:🧵:id with std:🧵:id 2021-07-14 16:19:08 -05:00
log_c.cpp uhd: Replace boost:🧵:id with std:🧵:id 2021-07-14 16:19:08 -05:00
paths.cpp uhd: Remove Boost version checks for Boost 1.61 2021-08-24 15:19:54 -05:00
paths_python.hpp uhd: paths: Harmonize around XDG Base Directory specification 2020-04-02 12:36:20 -05:00
pathslib.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
platform.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
prefs.cpp uhd: paths: Harmonize around XDG Base Directory specification 2020-04-02 12:36:20 -05:00
serial_number.cpp uhd: improved handling of empty serial number hints 2020-06-26 14:31:14 -05:00
static.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
system_time.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
tasks.cpp uhd: Replace Boost mutexes and locks with standard options 2021-10-19 12:21:33 -07:00
thread.cpp thread: Fix formatting in thread utilities 2020-02-10 10:19:26 -06:00
thread_priority_c.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
utils_python.hpp python: Add bindings for C++ CHDR Parser 2020-07-16 09:59:25 -05:00