From ff5021b1a81d2b5016b3ae5695121adcfe5b5ed7 Mon Sep 17 00:00:00 2001 From: Rejeesh Kutty Date: Fri, 28 Feb 2014 16:57:19 -0500 Subject: [PATCH] pointers to directories --- library/scripts/adi_env.tcl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 library/scripts/adi_env.tcl 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) +} +