Skip to content

Commit 6c8dbaf

Browse files
committed
Fix hard-coded script paths
Signed-off-by: Martin Povišer <povik@cutebit.org>
1 parent 84c0c0b commit 6c8dbaf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

flow/scripts/synth.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ if { [env_var_exists_and_non_empty SYNTH_RETIME_MODULES] } {
6262
memory_map
6363
opt -full
6464
techmap
65-
abc -dff -script scripts/abc_retime.script
65+
abc -dff -script $::env(SCRIPTS_DIR)/abc_retime.script
6666
select -clear
6767
}
6868

@@ -120,7 +120,7 @@ opt
120120
if { ![env_var_exists_and_non_empty SYNTH_WRAPPED_OPERATORS] } {
121121
log_cmd abc {*}$abc_args
122122
} else {
123-
scratchpad -set abc9.script scripts/abc_speed_gia_only.script
123+
scratchpad -set abc9.script $::env(SCRIPTS_DIR)/abc_speed_gia_only.script
124124
# crop out -script from arguments
125125
set abc_args [lrange $abc_args 2 end]
126126
log_cmd abc_new {*}$abc_args

0 commit comments

Comments
 (0)