Skip to content

Commit 9a70065

Browse files
authored
Merge pull request #1381 from The-OpenROAD-Project-staging/skip-tdms
Properly skip tdms_place when MACRO_PLACEMENT_TCL is set
2 parents ab4ff75 + 7ec846e commit 9a70065

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

flow/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ endif
511511

512512
# STEP 3: Timing Driven Mixed Sized Placement
513513
#-------------------------------------------------------------------------------
514-
ifeq ($(MACRO_PLACEMENT),)
514+
ifeq ($(MACRO_PLACEMENT)$(MACRO_PLACEMENT_TCL)$(RTLMP_FLOW),)
515515
$(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))
516516
else
517517
$(eval $(call do-copy,2_3_floorplan_tdms,2_2_floorplan_io.odb,$(RESULTS_DIR)/1_synth.v $(RESULTS_DIR)/1_synth.sdc $(LIB_FILES)))

flow/scripts/tdms_place.tcl

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,9 @@ proc find_macros {} {
2020
set_dont_use $::env(DONT_USE_CELLS)
2121

2222
if {[find_macros] != ""} {
23-
if {[info exists ::env(RTLMP_FLOW)]} {
24-
puts "RTLMP flow enabled. Skipping tdms place."
25-
} else {
26-
global_placement -density $::env(PLACE_DENSITY) \
27-
-pad_left $::env(CELL_PAD_IN_SITES_GLOBAL_PLACEMENT) \
28-
-pad_right $::env(CELL_PAD_IN_SITES_GLOBAL_PLACEMENT)
29-
}
23+
global_placement -density $::env(PLACE_DENSITY) \
24+
-pad_left $::env(CELL_PAD_IN_SITES_GLOBAL_PLACEMENT) \
25+
-pad_right $::env(CELL_PAD_IN_SITES_GLOBAL_PLACEMENT)
3026
} else {
3127
puts "No macros found: Skipping global_placement"
3228
}

0 commit comments

Comments
 (0)