From a61e60a5a16955bb123d8a260b1dbad45688f4dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Wed, 22 Jan 2025 19:47:29 +0100 Subject: [PATCH] mock-array: added report_activity_annotation -report_unannotated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- flow/designs/asap7/mock-array/power.tcl | 27 +++++++++++++++---------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/flow/designs/asap7/mock-array/power.tcl b/flow/designs/asap7/mock-array/power.tcl index c278067e3b..75f3635e60 100644 --- a/flow/designs/asap7/mock-array/power.tcl +++ b/flow/designs/asap7/mock-array/power.tcl @@ -1,26 +1,27 @@ +source $::env(SCRIPTS_DIR)/util.tcl + foreach libFile $::env(LIB_FILES) { if {[lsearch -exact $::env(ADDITIONAL_LIBS) $libFile] == -1} { read_liberty $libFile } } -read_verilog results/asap7/mock-array_Element/base/6_final.v -read_verilog $::env(RESULTS_DIR)/6_final.v -read_verilog $::env(PLATFORM_DIR)/verilog/stdcell/empty.v - -link_design MockArray +log_cmd read_verilog results/asap7/mock-array_Element/base/6_final.v +log_cmd read_verilog $::env(RESULTS_DIR)/6_final.v +log_cmd read_verilog $::env(PLATFORM_DIR)/verilog/stdcell/empty.v +log_cmd link_design MockArray -read_sdc $::env(RESULTS_DIR)/6_final.sdc -read_spef $::env(RESULTS_DIR)/6_final.spef +log_cmd read_sdc $::env(RESULTS_DIR)/6_final.sdc +log_cmd read_spef $::env(RESULTS_DIR)/6_final.spef +puts "read_spef for ces_*_* macros" for {set x 0} {$x < 8} {incr x} { for {set y 0} {$y < 8} {incr y} { read_spef -path ces_${x}_${y} results/asap7/mock-array_Element/base/6_final.spef } } -report_parasitic_annotation -report_power -read_vcd -scope TOP/MockArray $::env(RESULTS_DIR)/MockArrayTestbench.vcd +log_cmd report_power +log_cmd read_vcd -scope TOP/MockArray $::env(RESULTS_DIR)/MockArrayTestbench.vcd set ces {} for {set x 0} {$x < 8} {incr x} { @@ -29,5 +30,9 @@ for {set x 0} {$x < 8} {incr x} { } } +puts {report_power -instances [get_cells $ces]} report_power -instances [get_cells $ces] -report_power +log_cmd report_power + +log_cmd report_parasitic_annotation +log_cmd report_activity_annotation -report_unannotated