Skip to content

Commit 32b81d0

Browse files
committed
placement: move logic from makefile into .tcl
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 8aab92b commit 32b81d0

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

482482
# ==============================================================================
483483

484-
ifneq ($(FOOTPRINT),)
485-
IS_CHIP = 1
486-
else ifneq ($(FOOTPRINT_TCL),)
487-
IS_CHIP = 1
488-
endif
489-
490484
UNSET_VARS = for var in $(UNSET_VARIABLES_NAMES); do unset $$var; done
491485

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