Skip to content

Commit ea570f4

Browse files
authored
Merge pull request #2969 from Pinata-Consulting/placement-cleanup
placement: move logic from makefile into .tcl
2 parents 68d2fa0 + 32b81d0 commit ea570f4

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

flow/Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -492,12 +492,6 @@ floorplan: $(RESULTS_DIR)/2_floorplan.odb \
492492

493493
# ==============================================================================
494494

495-
ifneq ($(FOOTPRINT),)
496-
IS_CHIP = 1
497-
else ifneq ($(FOOTPRINT_TCL),)
498-
IS_CHIP = 1
499-
endif
500-
501495
UNSET_VARS = for var in $(UNSET_VARIABLES_NAMES); do unset $$var; done
502496

503497
# FILE_MAKEFILE is needed when ORFS is invoked with

flow/scripts/io_placement.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source $::env(SCRIPTS_DIR)/load.tcl
22
erase_non_stage_variables place
33

4-
if {![env_var_equals IS_CHIP 1]} {
4+
if {![env_var_exists_and_non_empty FOOTPRINT] && ![env_var_exists_and_non_empty FOOTPRINT_TCL]} {
55
load_design 3_1_place_gp_skip_io.odb 2_floorplan.sdc
66
source $::env(SCRIPTS_DIR)/io_placement_util.tcl
77
write_db $::env(RESULTS_DIR)/3_2_place_iop.odb

0 commit comments

Comments
 (0)