aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/rfnoc
diff options
context:
space:
mode:
Diffstat (limited to 'host/utils/rfnoc')
-rw-r--r--host/utils/rfnoc/templates/rfnoc_image_core.v.mako2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/utils/rfnoc/templates/rfnoc_image_core.v.mako b/host/utils/rfnoc/templates/rfnoc_image_core.v.mako
index 57b70ece3..fb3cb3d2e 100644
--- a/host/utils/rfnoc/templates/rfnoc_image_core.v.mako
+++ b/host/utils/rfnoc/templates/rfnoc_image_core.v.mako
@@ -131,7 +131,7 @@ module rfnoc_image_core #(
// Blocks
// ----------------------------------------------------
%for i, name in enumerate(config.noc_blocks):
-<%include file="/modules/rfnoc_block.v.mako" args="block_id=i + len(config.stream_endpoints) + 1, block_number=i, block_name=name, block=config.blocks[config.noc_blocks[name]['block_desc']], block_params=config.noc_blocks[name]['parameters']"/>
+<%include file="/modules/rfnoc_block.v.mako" args="block_id=i + len(ctrl_seps) + 1, block_number=i, block_name=name, block=config.blocks[config.noc_blocks[name]['block_desc']], block_params=config.noc_blocks[name]['parameters']"/>
%endfor
// ----------------------------------------------------