Skip to content

Commit 332e781

Browse files
committed
synth: improve canonicalization
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
1 parent 0533e1f commit 332e781

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎flow/scripts/synth_canonicalize.tcl‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@ source_env_var_if_exists SYNTH_CANONICALIZE_TCL
77

88
# Get rid of unused modules
99
opt_clean -purge
10+
# avoid source line and path info affecting the hash
11+
setattr -unset src *
1012
# The hash of this file will not change if files not part of synthesis do not change
1113
write_rtlil $::env(RESULTS_DIR)/1_1_yosys_canonicalize.rtlil

0 commit comments

Comments
 (0)