# To use the tools for the NetFPGA2 project, you should source this file.
# Add the following to your ~/.cshrc file AFTER you set the NF2_ROOT variable.
#   source ${NF2_ROOT}/bin/nf2_cshrc

# We really need NF2_ROOT to be set....
if (! $?NF2_ROOT) then
   echo "ERROR: the variable NF2_ROOT is not set."
   echo "       Please set the variable NF2_ROOT to the root directory of your"
   echo "       NF2 installation and then re-run this script."
   echo "\n       For example: setenv NF2_ROOT /usr/share/nf2"
   exit 1
endif

# Project scripts, etc.
setenv PATH "${NF2_ROOT}/bin:${PATH}"


# Many of the NF2 scripts are Perl scripts, and need certain Perl libraries.
# So here we set up the Perl 5 library variable to include our libraries.

if (! $?PERL5LIB) then
	setenv PERL5LIB
endif
setenv PERL5LIB "${NF2_DESIGN_DIR}/verif/src/:${NF2_DESIGN_DIR}/lib/Perl5:${NF2_ROOT}/lib/Perl5:${PERL5LIB}"

