if {[string first $scripts_vivado_version $current_vivado_version] == -1 }{
puts ""
catch {common::send_msg_id "BD_TCL-109""ERROR""This script was generated using Vivado <$scripts_vivado_version> and is being run in <$current_vivado_version> of Vivado. Please run the script in Vivado <$scripts_vivado_version> then open the design in Vivado <$current_vivado_version>. Upgrade the design by running \"Tools => Report => Report IP Status...\", then run write_bd_tcl to create an updated script."}
common::send_msg_id "BD_TCL-006""INFO""Checking if the following IPs exist in the project's IP catalog: $list_check_ips ."
foreach ip_vlnv $list_check_ips {
set ip_obj [get_ipdefs -all $ip_vlnv]
if {$ip_obj eq ""}{
lappend list_ips_missing $ip_vlnv
}
}
if {$list_ips_missing ne ""}{
catch {common::send_msg_id "BD_TCL-115""ERROR""The following IPs are not found in the IP Catalog:\n$list_ips_missing\n\nResolution: Please add the repository containing the IP(s) to the project."}
set bCheckIPsPassed 0
}
}
if {$bCheckIPsPassed != 1 }{
common::send_msg_id "BD_TCL-1003""WARNING""Will not continue with creation of design due to the error(s) above."
if {[string first $scripts_vivado_version $current_vivado_version] == -1 }{
puts ""
catch {common::send_msg_id "BD_TCL-109""ERROR""This script was generated using Vivado <$scripts_vivado_version> and is being run in <$current_vivado_version> of Vivado. Please run the script in Vivado <$scripts_vivado_version> then open the design in Vivado <$current_vivado_version>. Upgrade the design by running \"Tools => Report => Report IP Status...\", then run write_bd_tcl to create an updated script."}
common::send_msg_id "BD_TCL-006""INFO""Checking if the following IPs exist in the project's IP catalog: $list_check_ips ."
foreach ip_vlnv $list_check_ips {
set ip_obj [get_ipdefs -all $ip_vlnv]
if {$ip_obj eq ""}{
lappend list_ips_missing $ip_vlnv
}
}
if {$list_ips_missing ne ""}{
catch {common::send_msg_id "BD_TCL-115""ERROR""The following IPs are not found in the IP Catalog:\n$list_ips_missing\n\nResolution: Please add the repository containing the IP(s) to the project."}
set bCheckIPsPassed 0
}
}
if {$bCheckIPsPassed != 1 }{
common::send_msg_id "BD_TCL-1003""WARNING""Will not continue with creation of design due to the error(s) above."