Skip to content

Commit d2a590b

Browse files
committed
makefile: break out time consuming metrics in separate target
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 8f68e19 commit d2a590b

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

flow/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,7 @@ endef
595595
# STEP 1: Translate verilog to odb
596596
#-------------------------------------------------------------------------------
597597
$(eval $(call do-step,2_1_floorplan,$(RESULTS_DIR)/1_synth.v $(RESULTS_DIR)/1_synth.sdc $(TECH_LEF) $(SC_LEF) $(ADDITIONAL_LEFS) $(FOOTPRINT) $(SIG_MAP_FILE) $(FOOTPRINT_TCL) $(DONT_USE_SC_LIB),floorplan))
598+
$(eval $(call do-step,2_1_floorplan_metrics,$(RESULTS_DIR)/2_1_floorplan.odb $(RESULTS_DIR)/2_1_floorplan.sdc,floorplan-metrics))
598599

599600
# STEP 2: Random IO placement
600601
#-------------------------------------------------------------------------------

flow/scripts/floorplan-metrics.tcl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
utl::set_metrics_stage "floorplan__{}"
2+
source $::env(SCRIPTS_DIR)/load.tcl
3+
erase_non_stage_variables floorplan
4+
load_design 2_1_floorplan.odb 2_1_floorplan.sdc
5+
6+
report_metrics 2 "floorplan final" false false

flow/scripts/floorplan.tcl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ if { [env_var_equals RESYNTH_TIMING_RECOVER 1] } {
149149
puts "Default units for flow"
150150
report_units
151151
report_units_metric
152-
report_metrics 2 "floorplan final" false false
153152

154153
if { [env_var_equals RESYNTH_AREA_RECOVER 1] } {
155154

0 commit comments

Comments
 (0)