aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorWade Fife <wade.fife@ettus.com>2021-12-06 11:54:36 -0600
committerWade Fife <wade.fife@ettus.com>2021-12-08 08:36:46 -0600
commit270a7e13c365d05ba04ab44a2f844d96ba15f43b (patch)
treeb42935844186e0cb0769e87ba2f9d7f0e7fb4e0a /host/utils
parentf23ab72129041777bcd3357a1f4e37b29e62dd86 (diff)
downloaduhd-270a7e13c365d05ba04ab44a2f844d96ba15f43b.tar.gz
uhd-270a7e13c365d05ba04ab44a2f844d96ba15f43b.tar.bz2
uhd-270a7e13c365d05ba04ab44a2f844d96ba15f43b.zip
rfnoc: Fix noc_shell direction comments
Some comments describing data flow direction were wrong. This commit updates the Mako files and updates the noc_shell modules with newly generated versions.
Diffstat (limited to 'host/utils')
-rw-r--r--host/utils/rfnoc_blocktool/templates/modules/axis_data_wires_template.mako2
-rw-r--r--host/utils/rfnoc_blocktool/templates/modules/axis_pyld_ctxt_wires_template.mako4
2 files changed, 3 insertions, 3 deletions
diff --git a/host/utils/rfnoc_blocktool/templates/modules/axis_data_wires_template.mako b/host/utils/rfnoc_blocktool/templates/modules/axis_data_wires_template.mako
index dd12f06e8..35165895f 100644
--- a/host/utils/rfnoc_blocktool/templates/modules/axis_data_wires_template.mako
+++ b/host/utils/rfnoc_blocktool/templates/modules/axis_data_wires_template.mako
@@ -53,7 +53,7 @@
num_ports = 1 if 'num_ports' not in port_info else port_info['num_ports']
%>\
%if num_ports != 1:
- // Data Stream to User Logic: ${port_name}
+ // Data Stream from User Logic: ${port_name}
${in_wire}wire [${num_ports}*${port_info['item_width']}*${port_info['nipc']}-1:0] ${sl_pre}${port_name}_axis_tdata${term}
${in_wire}wire [${num_ports}*${port_info['nipc']}-1:0] ${sl_pre}${port_name}_axis_tkeep${term}
${in_wire}wire [${num_ports}-1:0] ${sl_pre}${port_name}_axis_tlast${term}
diff --git a/host/utils/rfnoc_blocktool/templates/modules/axis_pyld_ctxt_wires_template.mako b/host/utils/rfnoc_blocktool/templates/modules/axis_pyld_ctxt_wires_template.mako
index 8251749df..ee7cfedee 100644
--- a/host/utils/rfnoc_blocktool/templates/modules/axis_pyld_ctxt_wires_template.mako
+++ b/host/utils/rfnoc_blocktool/templates/modules/axis_pyld_ctxt_wires_template.mako
@@ -55,13 +55,13 @@
num_ports = 1 if 'num_ports' not in port_info else port_info['num_ports']
%>\
%if num_ports != 1:
- // Payload Stream to User Logic: ${port}
+ // Payload Stream from User Logic: ${port}
${in_wire}wire [${num_ports}*${port_info['item_width']}*${port_info['nipc']}-1:0] ${sl_pre}${port}_payload_tdata${term}
${in_wire}wire [${num_ports}*${port_info['nipc']}-1:0] ${sl_pre}${port}_payload_tkeep${term}
${in_wire}wire [${num_ports}-1:0] ${sl_pre}${port}_payload_tlast${term}
${in_wire}wire [${num_ports}-1:0] ${sl_pre}${port}_payload_tvalid${term}
${out_wire}wire [${num_ports}-1:0] ${sl_pre}${port}_payload_tready${term}
- // Context Stream to User Logic: ${port}
+ // Context Stream from User Logic: ${port}
${in_wire}wire [${num_ports}*CHDR_W-1:0] ${sl_pre}${port}_context_tdata${term}
${in_wire}wire [${num_ports}*4-1:0] ${sl_pre}${port}_context_tuser${term}
${in_wire}wire [${num_ports}-1:0] ${sl_pre}${port}_context_tlast${term}