diff options
Diffstat (limited to 'host/python')
-rw-r--r-- | host/python/uhd/imgbuilder/image_builder.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/host/python/uhd/imgbuilder/image_builder.py b/host/python/uhd/imgbuilder/image_builder.py index 059d40599..9475ed84a 100644 --- a/host/python/uhd/imgbuilder/image_builder.py +++ b/host/python/uhd/imgbuilder/image_builder.py @@ -550,6 +550,10 @@ def convert_to_image_config(grc, grc_config_path): result["noc_blocks"][block["name"]] = { "block_desc": block["parameters"]["desc"] } + if "nports" in block["parameters"]: + result["noc_blocks"][block["name"]]["parameters"] = { + "NUM_PORTS": block["parameters"]["nports"] + } device_clocks = { port["id"]: port for port in grc_blocks[device['id']]["outputs"] |