Skip to content

Commit e86d02a

Browse files
committed
Call save_clocktree_image for each scene's clock(s)
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
1 parent 75efeff commit e86d02a

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

flow/scripts/save_images.tcl

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,17 @@ save_image -resolution $resolution $::env(REPORTS_DIR)/final_clocks.webp
6262
gui::clear_selections
6363

6464
gui::show_widget "Clock Tree Viewer"
65-
foreach clock [get_clocks *] {
66-
if { [llength [get_property $clock sources]] > 0 } {
67-
set clock_name [get_name $clock]
68-
save_clocktree_image -clock $clock_name \
69-
-width 1024 -height 1024 \
70-
$::env(REPORTS_DIR)/cts_$clock_name.webp
71-
gui::select_clockviewer_clock $clock_name
72-
save_image -resolution $resolution $::env(REPORTS_DIR)/cts_${clock_name}_layout.webp
65+
foreach scene [get_scenes] {
66+
foreach clock [get_clocks *] {
67+
if { [llength [get_property $clock sources]] > 0 } {
68+
set clock_name [get_name $clock]
69+
save_clocktree_image -clock $clock_name \
70+
-width 1024 -height 1024 \
71+
-scene $scene \
72+
$::env(REPORTS_DIR)/cts_$clock_name.webp
73+
gui::select_clockviewer_clock $clock_name
74+
save_image -resolution $resolution $::env(REPORTS_DIR)/cts_${scene}_${clock_name}_layout.webp
75+
}
7376
}
7477
}
7578
gui::hide_widget "Clock Tree Viewer"

0 commit comments

Comments
 (0)