From 4a1401770aa3629daf0e9321b1e05f845112b105 Mon Sep 17 00:00:00 2001 From: michael-west Date: Thu, 20 Dec 2018 13:49:41 -0800 Subject: RFNoC: Fix stream command propagation - Corrects parameter from output port to input port of node - Fixes issue on nodes with different number of input and output connections --- host/lib/rfnoc/source_block_ctrl_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/rfnoc/source_block_ctrl_base.cpp') diff --git a/host/lib/rfnoc/source_block_ctrl_base.cpp b/host/lib/rfnoc/source_block_ctrl_base.cpp index 364aa01c6..58cf63eef 100644 --- a/host/lib/rfnoc/source_block_ctrl_base.cpp +++ b/host/lib/rfnoc/source_block_ctrl_base.cpp @@ -43,7 +43,7 @@ void source_block_ctrl_base::issue_stream_cmd( boost::dynamic_pointer_cast(upstream_node.second.lock()); if (this_upstream_block_ctrl) { - this_upstream_block_ctrl->issue_stream_cmd(stream_cmd, get_upstream_port(chan)); + this_upstream_block_ctrl->issue_stream_cmd(stream_cmd, get_upstream_port(upstream_node.first)); } } } -- cgit v1.2.3