Skip to content

Commit 7b1f02c

Browse files
committed
floorplan: move logic from makefile into .tcl
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent b75b8b9 commit 7b1f02c

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
@@ -389,12 +389,6 @@ floorplan: $(RESULTS_DIR)/2_floorplan.odb \
389389

390390
# ==============================================================================
391391

392-
ifneq ($(FOOTPRINT),)
393-
IS_CHIP = 1
394-
else ifneq ($(FOOTPRINT_TCL),)
395-
IS_CHIP = 1
396-
endif
397-
398392
UNSET_VARS = for var in $(UNSET_VARIABLES_NAMES); do unset $$var; done
399393

400394
# 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)