File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,22 @@ if { abs($total_power_vcd - $total_power_user_activity) > 1e-3 } {
104104log_cmd report_parasitic_annotation
105105log_cmd report_activity_annotation -report_unannotated
106106
107+ # some drive-by tests for OpenSTA path groups
108+ set first_path [lindex [find_timing_paths] 0]
109+ set from [get_property [get_property $first_path startpoint] full_name]
110+ set to [get_property [get_property $first_path endpoint] full_name]
111+ puts " Checking if we can find timing paths from $from to $to "
112+ if { [llength [find_timing_paths -from $from -to $to ]] == 0 } {
113+ puts " Error: find_timing_paths -from $from -to $to failed"
114+ exit 1
115+ }
116+ puts " Checking if we can create a group_path from $from to $to "
117+ group_path -name test_group -from $from -to $to
118+ if { [llength [find_timing_paths -path_group test_group]] == 0 } {
119+ puts " Error: find_timing_paths -path_group test_group failed"
120+ exit 1
121+ }
122+
107123set f [open $::env(OUTPUT) w]
108124puts $f OK
109125close $f
You can’t perform that action at this time.
0 commit comments