## ===============================================================================================
## ============================== Setup File for USB ==============================================
## ===============================================================================================
set USER    = `whoami`

# Questasim Path
setenv QUESTA_MVC_HOME       /tools/dist/mentor/qvip/2023.4_20231126

setenv QUESTA_VERSION        2023.4
setenv QVIP_VERSION          2023.4_20231126
setenv RADIANT_BUILD         ng2023_1.284


# Location to the UVM Files
setenv UVM_HOME /tools/dist/mentor/questa_sim/2020.4_3/questasim/verilog_src/uvm-1.2

# License for Questasim
setenv LM_LICENSE_FILE  1890@lsc-wanlic01

# Radiant Path
setenv RADIANT_PATH /home/rel/ng2023_2p.latestpassing
setenv RADIANT_HOME $RADIANT_PATH

# Location to the Design Files
setenv USB23_design ../../eval

# Location to the Testbench Files
setenv USB23_0_tb  ../../testbench
setenv TB_TOP ${USB23_0_tb}/uvm_tb 


# Location to the Design Libraries
setenv dut_lib	${RADIANT_PATH}/rtf/tptools/modelsim/linux/modeltech/lib


# Displaying information in the Terminal 
echo ""
echo "-------------------------------"
echo "Setting Environment Variable"
echo "-------------------------------"
echo "UVM_HOME              = " $UVM_HOME
echo "LM_LICENSE_FILE       = " $LM_LICENSE_FILE
echo "QUESTA_MVC_HOME       = " $QUESTA_MVC_HOME
echo "RADIANT_PATH          = " $RADIANT_PATH
echo "RADIANT_HOME          = " $RADIANT_HOME
echo "USB23_0_tb            = " $USB23_0_tb
echo "USB23_design          = " $USB23_design
echo "DUT_F                 = " $dut_lib
echo "TB_TOP                = " $TB_TOP

#make build/default UVM_TESTNAME=usb_ss_enumeration_test USB_SPEED=SS
#make run/default UVM_TESTNAME=usb_ss_enumeration_test USB_SPEED=SS
