Skip to content

Commit cfe6f62

Browse files
author
Tim 'mithro' Ansell
authored
Merge pull request #241 from CruxML/multi_ip_block_fix
Multi directory IP block fix
2 parents 37efe7c + 29e4636 commit cfe6f62

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

vivado/defs.bzl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,10 @@ def generate_ip_block_tcl(ip_blocks):
118118
Returns:
119119
The tcl to include the paths to the ip blocks.
120120
"""
121-
ip_tcl = ""
121+
ip_tcl = "set_property ip_repo_paths [list "
122122
for ip_block in ip_blocks:
123-
ip_tcl += "set_property ip_repo_paths {}/ [current_project]\n".format(ip_block[VivadoIPBlockInfo].repo.path)
123+
ip_tcl += "{} ".format(ip_block[VivadoIPBlockInfo].repo.path)
124+
ip_tcl += "] [current_project]\n"
124125
ip_tcl += "update_ip_catalog\n"
125126
return ip_tcl
126127

0 commit comments

Comments
 (0)