Skip to content

Commit 5c432bc

Browse files
committed
make: add skip_resize target for mock abstracts
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 3a70fcf commit 5c432bc

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

flow/Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,12 @@ $(LOG_DIR)/6_report.log: $(RESULTS_DIR)/6_1_fill.odb $(RESULTS_DIR)/6_1_fill.sdc
677677

678678
$(RESULTS_DIR)/6_final.def: $(LOG_DIR)/6_report.log
679679

680+
681+
# Skipping resize can be useful for mock abstracts
682+
.PHONY: skip_resize
683+
skip_resize: $(RESULTS_DIR)/3_3_place_gp.odb
684+
cp $(RESULTS_DIR)/3_3_place_gp.odb $(RESULTS_DIR)/3_4_place_resized.odb
685+
680686
# Skipping CTS can be useful to smoketest later stages.
681687
.PHONY: skip_cts
682688
skip_cts: $(RESULTS_DIR)/3_place.odb $(RESULTS_DIR)/3_place.sdc
@@ -697,9 +703,7 @@ skip_route: $(RESULTS_DIR)/4_cts.odb $(RESULTS_DIR)/4_cts.sdc
697703
# To create a mock abstract quickly, good enough to iterate quickly on
698704
# floorplanning and detailed route at higher levels, run:
699705
#
700-
# make skip_cts
701-
# make skip_route
702-
# make generate_abstract
706+
# make skip_resize skip_cts skip_route generate_abstract
703707
.PHONY: generate_abstract
704708
generate_abstract: $(RESULTS_DIR)/6_final.gds $(RESULTS_DIR)/6_final.def $(RESULTS_DIR)/6_final.v
705709
($(TIME_CMD) $(OPENROAD_CMD) $(SCRIPTS_DIR)/generate_abstract.tcl -metrics $(LOG_DIR)/generate_abstract.json) 2>&1 | tee $(LOG_DIR)/generate_abstract.log

0 commit comments

Comments
 (0)