Skip to content

Commit

Permalink
Merge pull request #2708 from Pinata-Consulting/mock-array-report-act…
Browse files Browse the repository at this point in the history
…ivity-annotation

mock-array: added report_activity_annotation -report_unannotated
  • Loading branch information
maliberty authored Jan 22, 2025
2 parents 9eab777 + a61e60a commit c51d17e
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions flow/designs/asap7/mock-array/power.tcl
Original file line number Diff line number Diff line change
@@ -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} {
Expand All @@ -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

0 comments on commit c51d17e

Please sign in to comment.