File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -221,6 +221,7 @@ MACROS = [
221221POWER_TESTS = [
222222 "power" ,
223223 "power_instances" ,
224+ "path_groups" ,
224225]
225226
226227def mock_array (name , config ):
Original file line number Diff line number Diff line change 1+ source $::env(LOAD_POWER_TCL)
2+
3+ # Various checks on path groups
4+ set first_path [lindex [find_timing_paths] 0]
5+ set from [get_property [get_property $first_path startpoint] full_name]
6+ set to [get_property [get_property $first_path endpoint] full_name]
7+ puts " Checking if we can find timing paths from $from to $to "
8+ if { [llength [find_timing_paths -from $from -to $to ]] == 0 } {
9+ puts " Error: find_timing_paths -from $from -to $to failed"
10+ exit 1
11+ }
12+ puts " Checking if we can create a group_path from $from to $to "
13+
14+ # There is no guarantee that the first node in the
15+ # tcl path structure is an exception start point, so use -through
16+ # to ensure we capture a valid path for our testing purposes.
17+ group_path -name test_group -through $from -to $to
18+ if { [llength [find_timing_paths -path_group test_group]] == 0 } {
19+ puts " Error: find_timing_paths -path_group test_group failed"
20+ exit 1
21+ }
22+
23+ set f [open $::env(OUTPUT) w]
24+ puts $f OK
25+ close $f
You can’t perform that action at this time.
0 commit comments