Skip to content

Commit 3ed7d25

Browse files
committed
Fixed to keep Multiplier module.
Signed-off-by: Jaehyun Kim <[email protected]>
1 parent 2976317 commit 3ed7d25

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test/orfs/mock-array/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ orfs_flow(
200200
# some width in multiply reduction going on here to speed up
201201
# builds, so we want to keep this exact module.
202202
"SYNTH_KEEP_MODULES": "Multiplier",
203+
"SYNTH_HIERARCHICAL": "1",
203204
},
204205
sources = {
205206
"IO_CONSTRAINTS": [":mock-array-element-io"],

test/orfs/mock-array/power_instances.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source $::env(LOAD_POWER_TCL)
22

3-
set instances [get_cells ces*/Multiplier*]
4-
if { [llength $instances] != 64 } {
3+
set instances [get_cells ces*/io_outs_*_mult*]
4+
if { [llength $instances] != 256 } {
55
puts "Error: Expected to find 64 Multiplier instances, found [llength $instances]"
66
exit 1
77
}

0 commit comments

Comments
 (0)