@@ -10,26 +10,28 @@ set markerdb [[ord::get_db_block] findMarkerCategory DRC]
1010if {$markerdb != " NULL" && [$markerdb getMarkerCount] > 0} {
1111 gui::select_marker_category $markerdb
1212}
13-
13+
14+ gui::clear_highlights -1
1415gui::clear_selections
1516
17+ gui::fit
18+
1619# Setup initial visibility to avoid any previous settings
1720gui::set_display_controls " *" visible false
1821gui::set_display_controls " Layers/*" visible true
1922gui::set_display_controls " Nets/*" visible true
20- gui::set_display_controls " Instances/*" visible false
21- gui::set_display_controls " Instances/StdCells/*" visible true
22- gui::set_display_controls " Instances/Macro" visible true
23- gui::set_display_controls " Instances/Pads/*" visible true
24- gui::set_display_controls " Instances/Physical/*" visible true
25- gui::set_display_controls " Shape Types/Pins" visible true
26- gui::set_display_controls " Shape Types/*/*" visible true
27- gui::set_display_controls " Misc/Instances/names" visible true
23+ gui::set_display_controls " Instances/*" visible true
24+ gui::set_display_controls " Shape Types/*" visible true
25+ gui::set_display_controls " Misc/Instances/*" visible true
26+ gui::set_display_controls " Misc/Instances/Pin Names" visible false
2827gui::set_display_controls " Misc/Scale bar" visible true
2928gui::set_display_controls " Misc/Highlight selected" visible true
3029gui::set_display_controls " Misc/Detailed view" visible true
3130
3231# The routing view
32+ save_image -resolution $resolution $::env(REPORTS_DIR) /final_all.webp
33+ gui::set_display_controls " Nets/Power" visible false
34+ gui::set_display_controls " Nets/Ground" visible false
3335save_image -resolution $resolution $::env(REPORTS_DIR) /final_routing.webp
3436
3537# The placement view without routing
@@ -51,10 +53,24 @@ gui::set_display_controls "Nets/*" visible false
5153gui::set_display_controls " Nets/Clock" visible true
5254gui::set_display_controls " Instances/*" visible false
5355gui::set_display_controls " Instances/StdCells/Clock tree/*" visible true
56+ gui::set_display_controls " Instances/StdCells/Sequential" visible true
57+ gui::set_display_controls " Instances/Macro" visible true
58+ gui::set_display_controls " Misc/Instances/*" visible false
5459select -name " clk*" -type Inst
5560save_image -resolution $resolution $::env(REPORTS_DIR) /final_clocks.webp
5661gui::clear_selections
5762
63+ foreach clock [get_clocks *] {
64+ if { [llength [get_property $clock sources]] > 0 } {
65+ set clock_name [get_name $clock ]
66+ save_clocktree_image -clock $clock_name \
67+ -width 1024 -height 1024 \
68+ $::env(REPORTS_DIR) /cts_$clock_name .webp
69+ gui::select_clockviewer_clock $clock_name
70+ save_image -resolution $resolution $::env(REPORTS_DIR) /cts_${clock_name} _layout.webp
71+ }
72+ }
73+
5874# The resizer view: all instances created by the resizer grouped
5975gui::set_display_controls " Layers/*" visible false
6076gui::set_display_controls " Instances/*" visible true
@@ -72,17 +88,8 @@ select -name "rebuffer*" -type Inst -highlight 4 ;# red
7288select -name " split*" -type Inst -highlight 5 ;# dark green
7389
7490save_image -resolution $resolution $::env(REPORTS_DIR) /final_resizer.webp
75- for {set i 0} {$i <= 5} {incr i} {
76- gui::clear_highlights $i
77- }
78- gui::clear_selections
7991
80- foreach clock [get_clocks *] {
81- if { [llength [get_property $clock sources]] > 0 } {
82- set clock_name [get_name $clock ]
83- save_clocktree_image -clock $clock_name \
84- $::env(REPORTS_DIR) /cts_$clock_name .webp
85- }
86- }
92+ gui::clear_highlights -1
93+ gui::clear_selections
8794
8895gui::restore_display_controls
0 commit comments