You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the UHD documentation, graphs consisting of UHD blocks are allowed to have loops if one of the connections is declared a back edge. However, when creating such a design, a runtime error occurs, regardless of whether the boolean is_back_edge argument is set to True. By inspecting the code, one can find the connect() function implementation in gnuradio/gr-uhd/lib/rfnoc_graph_impl.cc:
To fix the bug, the final call to _graph->connect() should be modified to include the is_back_edge argument, as it is otherwise set by default to False:
What happened?
According to the UHD documentation, graphs consisting of UHD blocks are allowed to have loops if one of the connections is declared a back edge. However, when creating such a design, a runtime error occurs, regardless of whether the boolean is_back_edge argument is set to True. By inspecting the code, one can find the connect() function implementation in gnuradio/gr-uhd/lib/rfnoc_graph_impl.cc:
To fix the bug, the final call to _graph->connect() should be modified to include the is_back_edge argument, as it is otherwise set by default to False:
System Information
OS: Ubuntu
GR Installation Method: Source
GNU Radio Version
4.0-git (dev-4.0)
Specific Version
0.0.0.0
Steps to Reproduce the Problem
Create a simple design containing a loop, using UHD blocks. Generate and run the code.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: