Skip to content

Commit 6090eef

Browse files
committed
makefile: make gui runs gui::update_timing_report if GUI_TIMING=1
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 975be83 commit 6090eef

File tree

1 file changed

+1
-48
lines changed

1 file changed

+1
-48
lines changed

flow/scripts/open.tcl

Lines changed: 1 addition & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -60,55 +60,8 @@ proc read_timing {input_file} {
6060
if {[env_var_equals GUI_TIMING 1]} {
6161
puts "GUI_TIMING=1 reading timing, takes a little while for large designs..."
6262
read_timing $input_file
63-
64-
gui::save_display_controls
65-
66-
set height [[[ord::get_db_block] getBBox] getDY]
67-
set height [ord::dbu_to_microns $height]
68-
set resolution [expr $height / 1000]
69-
70-
# FIXME IRDrop heatmap should be added, but it has to be skipped
71-
# when there is no IRDrop heatmap to be rendered.
72-
73-
set block [ord::get_db_block]
74-
set insts [$block getInsts]
75-
set placed 1
76-
foreach inst $insts {
77-
set status [$inst getPlacementStatus]
78-
# status is not in the list of PLACED, LOCKED
79-
if {[lsearch {PLACED LOCKED} $status] == -1} {
80-
set placed 0
81-
break
82-
}
83-
}
84-
85-
set have_routes [grt::have_routes]
86-
87-
foreach heatmap {Placement Routing RUDY Power} {
88-
if {[string equal $heatmap Routing] && !$have_routes} {
89-
# Skipping $heatmap heatmap, no routes available
90-
continue
91-
}
92-
if {[string equal $heatmap IRDrop] &&
93-
(![env_var_exists_and_non_empty PWR_NETS_VOLTAGES] ||
94-
![grt::have_routes])} {
95-
# Skipping $heatmap heatmap, no PWR_NETS_VOLTAGES available
96-
continue
97-
}
98-
if {[lsearch {RUDY Placement} $heatmap] != -1 && !$placed} {
99-
# Skipping $heatmap heatmap, not all instances are placed
100-
continue
101-
}
102-
puts "Prerendering $heatmap heatmap..."
103-
gui::set_heatmap $heatmap rebuild 1
104-
}
105-
106-
log_cmd gui::select_chart "Endpoint Slack"
63+
gui::select_chart "Endpoint Slack"
10764
log_cmd gui::update_timing_report
108-
109-
gui::clear_highlights -1
110-
gui::clear_selections
111-
gui::restore_display_controls
11265
}
11366

11467
fast_route

0 commit comments

Comments
 (0)