aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorWade Fife <wade.fife@ettus.com>2021-09-08 09:29:43 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2021-09-10 15:07:05 -0500
commit3d7d5668fbd0b3836315cde10a68a5ba19240008 (patch)
tree150fd9266315f4460ad3ec4f2cad2ade451860aa /host/utils
parentedf7ce3f1942a9ef6d16c7f29ecc272937865261 (diff)
downloaduhd-3d7d5668fbd0b3836315cde10a68a5ba19240008.tar.gz
uhd-3d7d5668fbd0b3836315cde10a68a5ba19240008.tar.bz2
uhd-3d7d5668fbd0b3836315cde10a68a5ba19240008.zip
rfnoc: Add vivado-path to rfnoc_image_builder
Adds a --vivado-path option to rfnoc_image_builder that, if present, gets passed to setupenv.sh for the target device. This can be used to specify the location of Vivado if it is not installed in one of the default search locations.
Diffstat (limited to 'host/utils')
-rwxr-xr-xhost/utils/rfnoc_image_builder.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/host/utils/rfnoc_image_builder.py b/host/utils/rfnoc_image_builder.py
index 07419cb90..64317aec4 100755
--- a/host/utils/rfnoc_image_builder.py
+++ b/host/utils/rfnoc_image_builder.py
@@ -100,6 +100,11 @@ def setup_parser():
"-c", "--clean-all",
help="Cleans the IP before a new build",
action="store_true")
+ parser.add_argument(
+ "-p", "--vivado-path",
+ help="Path to the base install for Xilinx Vivado if not in default "
+ "location (e.g., /tools/Xilinx/Vivado).",
+ default=None)
return parser
@@ -216,6 +221,7 @@ def main():
output_path=args.image_core_output,
router_hex_path=args.router_hex_output,
include_paths=args.include_dir,
+ vivado_path=args.vivado_path,
)
if __name__ == "__main__":