Skip to content

Commit 47ce83f

Browse files
committed
Merge remote-tracking branch 'private/master' into secure-grt-rudy-tweak
2 parents a671c92 + f6274ee commit 47ce83f

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

flow/designs/asap7/mock-array/power.tcl

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,14 @@ for {set x 0} {$x < 8} {incr x} {
2020

2121
report_parasitic_annotation
2222
report_power
23-
read_power_activities -scope TOP/MockArray -vcd $::env(RESULTS_DIR)/MockArrayTestbench.vcd
24-
report_power
25-
26-
# FIXME add an automated test to check that the top-level power is
27-
# smaller than the sum of the individual elements.
23+
read_vcd -scope TOP/MockArray $::env(RESULTS_DIR)/MockArrayTestbench.vcd
2824

25+
set ces {}
2926
for {set x 0} {$x < 8} {incr x} {
3027
for {set y 0} {$y < 8} {incr y} {
31-
puts "Power for ces_${x}_${y}"
32-
report_power -instances ces_${x}_${y}
28+
lappend ces ces_${x}_${y}
3329
}
3430
}
31+
32+
report_power -instances [get_cells $ces]
33+
report_power

flow/scripts/open.tcl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ 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+
if {[gui::enabled]} {
64+
gui::select_chart "Endpoint Slack"
65+
log_cmd gui::update_timing_report
66+
}
6367
}
6468

6569
fast_route

0 commit comments

Comments
 (0)