Skip to content

Commit 8aab92b

Browse files
authored
Merge pull request #2959 from The-OpenROAD-Project-staging/secure-remove_random_ppl
remove random pin placement
2 parents 27da23b + f1b2804 commit 8aab92b

File tree

49 files changed

+66
-57
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+66
-57
lines changed

flow/Makefile

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ endef
569569
#
570570
# The file is copied within the $(RESULTS_DIR)
571571
#
572-
# $(1) stem of target, e.g. 2_2_floorplan_io
572+
# $(1) stem of target, e.g. 2_1_floorplan
573573
# $(2) basename of file to be copied
574574
# $(3) further dependencies
575575
# $(4) target extension, default .odb
@@ -587,31 +587,27 @@ endef
587587
#-------------------------------------------------------------------------------
588588
$(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))
589589

590-
# STEP 2: Random IO placement
591-
#-------------------------------------------------------------------------------
592-
$(eval $(call do-step,2_2_floorplan_io,$(RESULTS_DIR)/2_1_floorplan.odb $(IO_CONSTRAINTS),io_placement_random))
593-
594590
$(eval $(call do-copy,2_floorplan,2_1_floorplan.sdc,,.sdc))
595591

596-
# STEP 3: Macro Placement
592+
# STEP 2: Macro Placement
597593
#-------------------------------------------------------------------------------
598-
$(eval $(call do-step,2_3_floorplan_macro,$(RESULTS_DIR)/2_2_floorplan_io.odb $(RESULTS_DIR)/1_synth.v $(RESULTS_DIR)/1_synth.sdc $(MACRO_PLACEMENT) $(MACRO_PLACEMENT_TCL),macro_place))
594+
$(eval $(call do-step,2_2_floorplan_macro,$(RESULTS_DIR)/2_1_floorplan.odb $(RESULTS_DIR)/1_synth.v $(RESULTS_DIR)/1_synth.sdc $(MACRO_PLACEMENT) $(MACRO_PLACEMENT_TCL),macro_place))
599595

600-
# STEP 4: Tapcell and Welltie insertion
596+
# STEP 3: Tapcell and Welltie insertion
601597
#-------------------------------------------------------------------------------
602-
$(eval $(call do-step,2_4_floorplan_tapcell,$(RESULTS_DIR)/2_3_floorplan_macro.odb $(TAPCELL_TCL),tapcell))
598+
$(eval $(call do-step,2_3_floorplan_tapcell,$(RESULTS_DIR)/2_2_floorplan_macro.odb $(TAPCELL_TCL),tapcell))
603599

604-
# STEP 5: PDN generation
600+
# STEP 4: PDN generation
605601
#-------------------------------------------------------------------------------
606-
$(eval $(call do-step,2_5_floorplan_pdn,$(RESULTS_DIR)/2_4_floorplan_tapcell.odb $(PDN_TCL),pdn))
602+
$(eval $(call do-step,2_4_floorplan_pdn,$(RESULTS_DIR)/2_3_floorplan_tapcell.odb $(PDN_TCL),pdn))
607603

608-
$(eval $(call do-copy,2_floorplan,2_5_floorplan_pdn.odb,))
604+
$(eval $(call do-copy,2_floorplan,2_4_floorplan_pdn.odb,))
609605

610606
$(RESULTS_DIR)/2_floorplan.sdc: $(RESULTS_DIR)/2_1_floorplan.odb
611607

612608
.PHONY: do-floorplan
613-
do-floorplan: $(DONT_USE_SC_LIB)
614-
$(UNSET_AND_MAKE) do-2_1_floorplan do-2_2_floorplan_io do-2_3_floorplan_macro do-2_4_floorplan_tapcell do-2_5_floorplan_pdn do-2_floorplan do-2_floorplan.sdc
609+
do-floorplan:
610+
$(UNSET_AND_MAKE) do-2_1_floorplan do-2_2_floorplan_macro do-2_3_floorplan_tapcell do-2_4_floorplan_pdn do-2_floorplan do-2_floorplan.sdc
615611

616612
.PHONY: clean_floorplan
617613
clean_floorplan:

flow/designs/asap7/riscv32i-mock-sram/fakeram7_256x32/config.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export PLACE_DENSITY = 0.80
1212
# However, PDN will use M5, so it is still added to blockages.
1313
export MAX_ROUTING_LAYER = M4
1414

15-
export PLACE_PINS_ARGS = -exclude left:* -exclude bottom:* -exclude top:* -min_distance 6 -min_distance_in_tracks
15+
export PLACE_PINS_ARGS = -min_distance 6 -min_distance_in_tracks
16+
export IO_CONSTRAINTS = $(DESIGN_HOME)/asap7/riscv32i-mock-sram/fakeram7_256x32/io.tcl
1617

1718
export PDN_TCL = $(PLATFORM_DIR)/openRoad/pdn/BLOCK_grid_strategy.tcl
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude_io_pin_region -region left:* -region bottom:* -region top:*
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude_io_pin_region -region left:* -region right:* -region top:*

flow/designs/asap7/riscv32i/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export CORE_AREA = 5 5 75 85
2424

2525
export PLACE_DENSITY_LB_ADDON = 0.10
2626

27-
export PLACE_PINS_ARGS = -exclude left:* -exclude right:* -exclude top:*
27+
export IO_CONSTRAINTS = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/io.tcl
2828
export MACRO_PLACE_HALO = 2 2
2929

3030
export TNS_END_PERCENT = 100

flow/designs/asap7/riscv32i/io.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude_io_pin_region -region left:* -region right:* -region top:*

flow/designs/asap7/swerv_wrapper/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export ADDITIONAL_LIBS = $(sort $(wildcard $(DESIGN_HOME)/$(PLATFORM)/swerv_wrap
6060
export DIE_AREA = 0 0 550 600
6161
export CORE_AREA = 5 5 545 595
6262

63-
export PLACE_PINS_ARGS = -exclude left:* -exclude right:*
63+
export IO_CONSTRAINTS = $(DESIGN_HOME)/$(PLATFORM)/swerv_wrapper/io.tcl
6464
export PLACE_DENSITY_LB_ADDON = 0.20
6565

6666
export ROUTING_LAYER_ADJUSTMENT = 0.2
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude_io_pin_region -region left:* -region right:*

flow/designs/gf12/ariane/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export CORE_AREA = 5 5 745 595
2222

2323
export PLACE_DENSITY ?= 0.50
2424

25-
export PLACE_PINS_ARGS = -exclude left:0-150 -exclude left:450-600 -exclude right:* -exclude top:* -exclude bottom:*
25+
export IO_CONSTRAINTS = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/io.tcl
2626

2727
export MACRO_PLACE_HALO = 7 7
2828
export MACRO_WRAPPERS = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/wrappers.tcl

flow/designs/gf12/ariane/io.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude_io_pin_region -region left:0-150 -region left:450-600 -region right:* -region top:* -region bottom:*

0 commit comments

Comments
 (0)