Skip to content

Commit 0143b43

Browse files
committed
integrate ADI_HDL_DIR
1 parent 2173453 commit 0143b43

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/adi_env.tcl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ set ad_hdl_dir [file normalize [file join [file dirname [info script]] "../"]]
88

99
if [info exists ::env(ADI_HDL_DIR)] {
1010
set ad_hdl_dir [file normalize $::env(ADI_HDL_DIR)]
11+
puts "Using ADI_HDL_DIR from environment: $ad_hdl_dir"
12+
} else {
13+
set env(ADI_HDL_DIR) $ad_hdl_dir
14+
puts "ADI_HDL_DIR not set, using default: $ad_hdl_dir"
1115
}
1216

1317
if [info exists ::env(ADI_GHDL_DIR)] {

0 commit comments

Comments
 (0)