File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,14 @@ yosys -import
33source $::env(SCRIPTS_DIR) /util.tcl
44erase_non_stage_variables synth
55
6+ # If using a cached, gate level netlist, then copy over to the results dir with
7+ # preserve timestamps flag set. If you don't, subsequent runs will cause the
8+ # floorplan step to be re-executed.
69if {[env_var_exists_and_non_empty CACHED_NETLIST]} {
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
10+ log_cmd exec cp -p $::env(CACHED_NETLIST) $::env(RESULTS_DIR) /1_1_yosys.v
11+ log_cmd exec cp -p $::env(SDC_FILE) $::env(RESULTS_DIR) /1_synth.sdc
912 if {[env_var_exists_and_non_empty CACHED_REPORTS]} {
10- log_cmd exec cp {*}$::env(CACHED_REPORTS) $::env(REPORTS_DIR) /.
13+ log_cmd exec cp -p {*}$::env(CACHED_REPORTS) $::env(REPORTS_DIR) /.
1114 }
1215 exit
1316}
You can’t perform that action at this time.
0 commit comments