fixed path is tcl file

This commit is contained in:
2026-06-02 22:40:27 -04:00
parent e84a517056
commit d865d65664
+2 -2
View File
@@ -153,7 +153,7 @@ proc checkRequiredFiles { origin_dir} {
}
set paths [list \
"[file normalize "$origin_dir/[file normalize "$origin_dir/../../../adi/hdl/library"]"]"\
"[file normalize "$origin_dir/[file normalize "$origin_dir/../../adi/hdl/library"]"]"\
"[file normalize "$origin_dir/[file normalize "$origin_dir/ip_repo"]"]"\
]
foreach ipath $paths {
@@ -288,7 +288,7 @@ if {[string equal [get_filesets -quiet sources_1] ""]} {
# Set IP repository paths
set obj [get_filesets sources_1]
if { $obj != {} } {
set_property "ip_repo_paths" "[file normalize "$origin_dir/../../../adi/hdl/library"] [file normalize "$origin_dir/ip_repo"]" $obj
set_property "ip_repo_paths" "[file normalize "$origin_dir/../../adi/hdl/library"] [file normalize "$origin_dir/ip_repo"]" $obj
# Rebuild user ip_repo's index before adding any source files
update_ip_catalog -rebuild