Skip to content

Commit 3e42de2

Browse files
authored
Merge pull request #2464 from The-OpenROAD-Project-staging/cp-sdc-cached-netlist
Copy the sdc for a cached netlist
2 parents 25018af + f50df1d commit 3e42de2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

flow/scripts/synth_preamble.tcl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ source $::env(SCRIPTS_DIR)/util.tcl
44
erase_non_stage_variables synth
55

66
if {[env_var_exists_and_non_empty CACHED_NETLIST]} {
7-
exec cp $::env(CACHED_NETLIST) $::env(RESULTS_DIR)/1_1_yosys.v
7+
log_cmd exec cp $::env(CACHED_NETLIST) $::env(RESULTS_DIR)/1_1_yosys.v
8+
log_cmd exec cp $::env(SDC_FILE) $::env(RESULTS_DIR)/1_synth.sdc
89
if {[env_var_exists_and_non_empty CACHED_REPORTS]} {
9-
exec cp {*}$::env(CACHED_REPORTS) $::env(REPORTS_DIR)/.
10+
log_cmd exec cp {*}$::env(CACHED_REPORTS) $::env(REPORTS_DIR)/.
1011
}
1112
exit
1213
}

0 commit comments

Comments
 (0)