Skip to content

Commit 01807d5

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

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

flow/Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -587,13 +587,11 @@ cts: $(RESULTS_DIR)/4_cts.odb \
587587

588588
# Run TritonCTS
589589
# ------------------------------------------------------------------------------
590-
$(RESULTS_DIR)/4_1_cts.odb: $(RESULTS_DIR)/3_place.odb $(RESULTS_DIR)/3_place.sdc
591-
($(TIME_CMD) $(OPENROAD_CMD) $(SCRIPTS_DIR)/cts.tcl -metrics $(LOG_DIR)/4_1_cts.json) 2>&1 | tee $(LOG_DIR)/4_1_cts.log
590+
$(eval $(call do-step,4_1_cts,$(RESULTS_DIR)/3_place.odb $(RESULTS_DIR)/3_place.sdc,cts))
592591

593592
# Filler cell insertion
594593
# ------------------------------------------------------------------------------
595-
$(RESULTS_DIR)/4_2_cts_fillcell.odb: $(RESULTS_DIR)/4_1_cts.odb
596-
($(TIME_CMD) $(OPENROAD_CMD) $(SCRIPTS_DIR)/fillcell.tcl -metrics $(LOG_DIR)/4_2_cts_fillcell.json) 2>&1 | tee $(LOG_DIR)/4_2_cts_fillcell.log
594+
$(eval $(call do-step,4_2_cts_fillcell,$(RESULTS_DIR)/4_1_cts.odb,fillcell))
597595

598596
$(RESULTS_DIR)/4_cts.sdc: $(RESULTS_DIR)/4_cts.odb
599597

0 commit comments

Comments
 (0)