File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -448,8 +448,7 @@ $(WRAPPED_LIBS):
448448# |____/ |_| |_| \_| |_| |_| |_|_____|____/___|____/
449449#
450450.PHONY : synth
451- synth : $(RESULTS_DIR ) /1_synth.v \
452- $(RESULTS_DIR)/1_synth.sdc
451+ synth : $(RESULTS_DIR ) /1_synth.v
453452
454453.PHONY : synth-report
455454synth-report : synth
@@ -506,10 +505,6 @@ $(RESULTS_DIR)/1_synth.rtlil: $(YOSYS_DEPENDENCIES)
506505$(RESULTS_DIR ) /1_1_yosys.v : $(RESULTS_DIR ) /1_synth.rtlil
507506 $(UNSET_AND_MAKE ) do-yosys-keep-hierarchy do-yosys
508507
509- $(RESULTS_DIR ) /1_synth.sdc : $(SDC_FILE )
510- mkdir -p $(RESULTS_DIR )
511- cp $(SDC_FILE ) $(RESULTS_DIR ) /1_synth.sdc
512-
513508.PHONY : do-synth
514509do-synth :
515510 mkdir -p $(RESULTS_DIR ) $(LOG_DIR ) $(REPORTS_DIR )
Original file line number Diff line number Diff line change @@ -76,3 +76,7 @@ tee -o $::env(REPORTS_DIR)/synth_stat.txt stat {*}$stat_libs
7676
7777# Write synthesized design
7878write_verilog -noexpr -nohex -nodec $::env(RESULTS_DIR) /1_1_yosys.v
79+ # One day a more sophisticated synthesis will write out a modified
80+ # .sdc file after synthesis. For now, just copy the input .sdc file,
81+ # making synthesis more consistent with other stages.
82+ log_cmd exec cp $::env(SDC_FILE) $::env(RESULTS_DIR) /1_synth.sdc
You can’t perform that action at this time.
0 commit comments