Skip to content

Commit f8e5616

Browse files
committed
makefile: convert to do-place macro for 2_2 and 2_3 of floorplan
missed a spot... Signed-off-by: Øyvind Harboe <[email protected]>
1 parent bcc1266 commit f8e5616

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

flow/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -475,19 +475,19 @@ $(eval $(call do-step,2_1_floorplan,$(RESULTS_DIR)/1_synth.v $(RESULTS_DIR)/1_sy
475475

476476
# STEP 2: IO Placement (random)
477477
#-------------------------------------------------------------------------------
478-
$(RESULTS_DIR)/2_2_floorplan_io.odb: $(RESULTS_DIR)/2_1_floorplan.odb $(IO_CONSTRAINTS)
479478
ifndef IS_CHIP
480-
($(TIME_CMD) $(OPENROAD_CMD) $(SCRIPTS_DIR)/io_placement_random.tcl -metrics $(LOG_DIR)/2_2_floorplan_io.json) 2>&1 | tee $(LOG_DIR)/2_2_floorplan_io.log
479+
$(eval $(call do-step,2_2_floorplan_io,$(RESULTS_DIR)/2_1_floorplan.odb $(IO_CONSTRAINTS),io_placement_random))
481480
else
481+
$(RESULTS_DIR)/2_2_floorplan_io.odb: $(RESULTS_DIR)/2_1_floorplan.odb $(IO_CONSTRAINTS)
482482
cp $< $@
483483
endif
484484

485485
# STEP 3: Timing Driven Mixed Sized Placement
486486
#-------------------------------------------------------------------------------
487-
$(RESULTS_DIR)/2_3_floorplan_tdms.odb: $(RESULTS_DIR)/2_2_floorplan_io.odb $(RESULTS_DIR)/1_synth.v $(RESULTS_DIR)/1_synth.sdc $(LIB_FILES)
488487
ifeq ($(MACRO_PLACEMENT),)
489-
($(TIME_CMD) $(OPENROAD_CMD) $(SCRIPTS_DIR)/tdms_place.tcl -metrics $(LOG_DIR)/2_3_tdms.json) 2>&1 | tee $(LOG_DIR)/2_3_tdms_place.log
488+
$(eval $(call do-step,2_3_floorplan_tdms,$(RESULTS_DIR)/2_2_floorplan_io.odb $(RESULTS_DIR)/1_synth.v $(RESULTS_DIR)/1_synth.sdc $(LIB_FILES),tdms_place))
490489
else
490+
$(RESULTS_DIR)/2_3_floorplan_tdms.odb: $(RESULTS_DIR)/2_2_floorplan_io.odb $(RESULTS_DIR)/1_synth.v $(RESULTS_DIR)/1_synth.sdc $(LIB_FILES)
491491
$(info [INFO][FLOW] Using manual macro placement file $(MACRO_PLACEMENT))
492492
cp $< $@
493493
endif

0 commit comments

Comments
 (0)