Skip to content

Commit e6a74a0

Browse files
committed
synth: wrapped operators fix
expand env vars correctly Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
1 parent 8cb8bb1 commit e6a74a0

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

‎flow/scripts/synth_wrap_operators.tcl‎

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
# Set arithmetic operator modules. Default is the first module in the list.
2-
set deferred_cells {
2+
set deferred_cells [list \
33
{
44
\$alu
55
ALU_{A_WIDTH}_{A_SIGNED}_{B_WIDTH}_{B_SIGNED}_{Y_WIDTH}{%unused}
66
{HAN_CARLSON -map +/choices/han-carlson.v}
77
{KOGGE_STONE -map +/choices/kogge-stone.v}
88
{SKLANSKY -map +/choices/sklansky.v}
99
{BRENT_KUNG}
10-
}
11-
{
12-
\$macc
13-
MACC_{CONFIG}_{Y_WIDTH}{%unused}
14-
{BOOTH -max_iter 1 -map $::env(SCRIPTS_DIR)/synth_wrap_operators-booth.v}
15-
{BASE -map +/choices/han-carlson.v}
16-
}
17-
}
10+
} \
11+
[list \
12+
\$macc \
13+
MACC_\{CONFIG\}_\{Y_WIDTH\}\{%unused\} \
14+
[list BOOTH -max_iter 1 -map $::env(SCRIPTS_DIR)/synth_wrap_operators-booth.v] \
15+
{BASE -map +/choices/han-carlson.v} \
16+
] \
17+
]
18+
1819

1920
# Reorder the modules based on envar
2021
proc reorder_deferred_cells { deferred_cells_var index env_var } {

0 commit comments

Comments
 (0)