Skip to content

Commit 759fab2

Browse files
committed
moving local variables to env_var.tcl
1 parent a9a16c5 commit 759fab2

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

synopsys/design_compiler/env_var.tcl

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ set OUT_DIR $::env(OUT_DIR)
2828
set SYN_DIR $::env(SYN_DIR)
2929
set SYN_OUT_DIR $::env(SYN_OUT_DIR)
3030
set RUCKUS_DIR $::env(RUCKUS_DIR)
31+
32+
set design ${DESIGN}
33+
set pdk_dir ${DIG_TECH}

synopsys/design_compiler/syn.tcl

-4
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ source $::env(RUCKUS_DC_DIR)/env_var.tcl
1616
set ::DIR_PATH ""
1717
ResetSrcFileLists
1818

19-
# Setup local variables
20-
set design ${DESIGN}
21-
set pdk_dir ${DIG_TECH}
22-
2319
# Set the number of maximum cores
2420
set_host_option -max_cores ${MAX_CORES}
2521

0 commit comments

Comments
 (0)