diff --git a/library/scripts/adi_env.tcl b/library/scripts/adi_env.tcl new file mode 100644 index 000000000..ed79b8dd0 --- /dev/null +++ b/library/scripts/adi_env.tcl @@ -0,0 +1,14 @@ + +# environment related stuff + +set ad_hdl_dir ".." +set ad_phdl_dir ".." + +if [info exists ::env(ADI_HDL_DIR)] { + set ad_hdl_dir $::env(ADI_HDL_DIR) +} + +if [info exists ::env(ADI_PHDL_DIR)] { + set ad_phdl_dir $::env(ADI_PHDL_DIR) +} +