2014-03-01 02:17:01 +00:00
|
|
|
|
|
|
|
# environment related stuff
|
|
|
|
|
2016-08-19 19:56:07 +00:00
|
|
|
set ad_hdl_dir [file normalize [file join [file dirname [info script]] "../.."]]
|
|
|
|
set ad_phdl_dir $ad_hdl_dir
|
|
|
|
|
2014-03-01 02:17:01 +00:00
|
|
|
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
|