File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -401,18 +401,16 @@ ifeq ($(SYNTH_HIERARCHICAL), 1)
401401$(RESULTS_DIR ) /1_1_yosys.v : $(SYNTH_STOP_MODULE_SCRIPT )
402402endif
403403
404- $(RESULTS_DIR ) /1_1_yosys.v : $(DONT_USE_LIBS ) $(WRAPPED_LIBS ) $(DONT_USE_SC_LIB ) $(DFF_LIB_FILE ) $(VERILOG_FILES ) $(CACHED_NETLIST ) $(LATCH_MAP_FILE ) $(ADDER_MAP_FILE )
404+ $(RESULTS_DIR ) /1_1_yosys.v $( RESULTS_DIR ) /1_synth.sdc & : $(DONT_USE_LIBS ) $(WRAPPED_LIBS ) $(DONT_USE_SC_LIB ) $(DFF_LIB_FILE ) $(VERILOG_FILES ) $(CACHED_NETLIST ) $(LATCH_MAP_FILE ) $(ADDER_MAP_FILE )
405405 mkdir -p $(RESULTS_DIR ) $(LOG_DIR ) $(REPORTS_DIR )
406406 ($( TIME_CMD) $( YOSYS_CMD) $( YOSYS_FLAGS) -c $( SYNTH_SCRIPT) ) 2>&1 | tee $(LOG_DIR ) /1_1_yosys.log
407+ cp $(SDC_FILE ) $(RESULTS_DIR ) /1_synth.sdc
408+ ($( TIME_CMD) $( OPENROAD_CMD) $( SCRIPTS_DIR) /synth_metrics.tcl) 2>&1 | tee -a $(LOG_DIR ) /1_1_yosys.log
407409
408410$(RESULTS_DIR ) /1_synth.v : $(RESULTS_DIR ) /1_1_yosys.v
409411 mkdir -p $(RESULTS_DIR ) $(LOG_DIR ) $(REPORTS_DIR )
410412 cp $< $@
411413
412- $(RESULTS_DIR ) /1_synth.sdc : $(SDC_FILE )
413- mkdir -p $(RESULTS_DIR ) $(LOG_DIR ) $(REPORTS_DIR )
414- cp $< $@
415-
416414clean_synth :
417415 rm -f $(RESULTS_DIR ) /1_* .v $(RESULTS_DIR ) /1_synth.sdc
418416 rm -f $(REPORTS_DIR ) /synth_*
Original file line number Diff line number Diff line change 1+ utl::set_metrics_stage " synth__{}"
2+ source $::env(SCRIPTS_DIR) /load.tcl
3+ load_design 1_1_yosys.v 1_synth.sdc " Post synthesis"
4+
5+ source $::env(SCRIPTS_DIR) /report_metrics.tcl
6+ report_metrics " Post synthesis" false false
You can’t perform that action at this time.
0 commit comments