report_instance instance_object

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2025-05-08 11:36:02 -07:00
parent 496062306e
commit 95b637eb15
1 changed files with 5 additions and 1 deletions

View File

@ -42,7 +42,11 @@ proc_redirect report_instance {
sta_warn 234 "report_instance -verbose is deprecated."
}
set instance_path [lindex $args 0]
set instance [find_instance $instance_path]
if { [is_object $instance_path] } {
set instance $instance_path
} else {
set instance [find_instance $instance_path]
}
if { $instance != "NULL" } {
report_instance1 $instance
} else {