Skip to content

Commit 15c4bd7

Browse files
committed
mock-array: no read_library Element.lib and read Element spef file correctly
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 76b033a commit 15c4bd7

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed
Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
foreach libFile $::env(LIB_FILES) {
2-
read_liberty $libFile
2+
if {[lsearch -exact $::env(ADDITIONAL_LIBS) $libFile] == -1} {
3+
read_liberty $libFile
4+
}
35
}
46

57
read_verilog results/asap7/mock-array_Element/base/6_final.v
@@ -10,9 +12,13 @@ link_design MockArray
1012

1113
read_sdc $::env(RESULTS_DIR)/6_final.sdc
1214
read_spef $::env(RESULTS_DIR)/6_final.spef
13-
# FIXME lots of warnings
14-
#read_spef results/asap7/mock-array_Element/base/6_final.spef
15+
for {set x 0} {$x < 8} {incr x} {
16+
for {set y 0} {$y < 8} {incr y} {
17+
read_spef -path ces_${x}_${y} results/asap7/mock-array_Element/base/6_final.spef
18+
}
19+
}
1520

21+
report_parasitic_annotation
1622
report_power
1723
read_power_activities -scope TOP/MockArrayTestbench/postSynthesis -vcd designs/src/mock-array/MockArrayTestbench.vcd
1824
report_power

0 commit comments

Comments
 (0)