Skip to content

Commit 67bebef

Browse files
committed
makefile: use do-place macro for route
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 01807d5 commit 67bebef

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

flow/Makefile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -620,18 +620,15 @@ route: $(RESULTS_DIR)/5_route.odb \
620620

621621
# STEP 1: Run global route
622622
#-------------------------------------------------------------------------------
623-
$(RESULTS_DIR)/5_1_grt.odb: $(RESULTS_DIR)/4_cts.odb $(FASTROUTE_TCL) $(PRE_GLOBAL_ROUTE)
624-
($(TIME_CMD) $(OPENROAD_CMD) $(SCRIPTS_DIR)/global_route.tcl -metrics $(LOG_DIR)/5_1_grt.json) 2>&1 | tee $(LOG_DIR)/5_1_grt.log
625-
623+
$(eval $(call do-step,5_1_grt,$(RESULTS_DIR)/4_cts.odb $(FASTROUTE_TCL) $(PRE_GLOBAL_ROUTE),global_route))
626624

627625
# STEP 2: Run detailed route
628626
#-------------------------------------------------------------------------------
629627
ifeq ($(USE_WXL),)
630-
$(RESULTS_DIR)/5_2_route.odb: $(RESULTS_DIR)/5_1_grt.odb
628+
$(eval $(call do-step,5_2_route,$(RESULTS_DIR)/5_1_grt.odb,detail_route))
631629
else
632-
$(RESULTS_DIR)/5_2_route.odb: $(RESULTS_DIR)/4_cts.odb
630+
$(eval $(call do-step,5_2_route,$(RESULTS_DIR)/4_cts.odb,detail_route))
633631
endif
634-
($(TIME_CMD) $(OPENROAD_CMD) $(SCRIPTS_DIR)/detail_route.tcl -metrics $(LOG_DIR)/5_2_route.json) 2>&1 | tee $(LOG_DIR)/5_2_route.log
635632

636633
$(RESULTS_DIR)/5_route.odb: $(RESULTS_DIR)/5_2_route.odb
637634
cp $< $@

0 commit comments

Comments
 (0)