Convey environment setup: Difference between revisions
New page: copy the two files to your home directory: Xilinx_11.1_src and setcnyenv.txt. They contain the following: <br /> setcnyenv.txt: #General envs to setup export CNY_PDK=/opt/convey/pdk exp... |
|||
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
copy the two files to your home directory: | Please update this document if you think you have a better login setup. Also update this document if the software changes. | ||
You'll want to copy the two files below into to your home directory: '''Xilinx_Env''' and '''cny_Env'''. In addition, edit your .bash_profile to source the files. You can always check to see if your environment is correctly setup by running: | |||
env | grep "CNY" | |||
=== cny_Env === | |||
#General envs to setup | #General envs to setup | ||
export PATH=$PATH:/opt/convey/bin | |||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/convey/lib | |||
export CNY_PDK=/opt/convey/pdk | export CNY_PDK=/opt/convey/pdk | ||
export CNY_PDK_REV= | export CNY_PDK_REV=2011_11_22 | ||
export CNY_PDK_HDLSIM=Mentor | export CNY_PDK_HDLSIM=Mentor | ||
export CNY_PDK_SIMMODE=64 | export CNY_PDK_SIMMODE=64 | ||
Line 22: | Line 29: | ||
#for running on HW | #for running on HW | ||
export CNY_CAE_EMULATOR= | export CNY_CAE_EMULATOR= | ||
#see Chap 12 of Convey Programmers Guide v1.8 for more environment variables | |||
=== Xilinx_Env === | |||
source /remote/Xilinx/13.4/settings64.sh | |||
export PATH=$PATH:/remote/Modelsim/10.1c/modeltech/linux_x86_64/ | |||
source /remote/Xilinx/ | |||
export PATH=$PATH:/remote/Modelsim/ | |||
export LM_LICENSE_FILE=1717@io.ece.iastate.edu:27006@io.ece.iastate.edu | export LM_LICENSE_FILE=1717@io.ece.iastate.edu:27006@io.ece.iastate.edu | ||
== Editing .bash_profile == | |||
. | Adding the following lines to your '''.bash_profile''' file will prevent you from having to source these files every time you login. The file is located in your home directory (use '''ls -a''' to view hidden files that start with '.'). It is assumed that you have copied the two scripts above to your home directory. | ||
# . | |||
=== .bash_profile === | |||
# .bash_profile | |||
# | # Get the aliases and functions | ||
if [ -f / | if [ -f ~/.bashrc ]; then | ||
. ~/.bashrc | |||
fi | fi | ||
# User specific | # User specific environment and startup programs | ||
PATH=$PATH:$HOME/bin:. | |||
export PATH | |||
# setup convey aliases | # setup convey aliases | ||
source | source cny_Env | ||
source | source Xilinx_Env | ||
=== Ensure You're Using Bash === | |||
echo $SHELL | |||
If you are not using bash, you can set your default shell to bash at [https://weblogin.iastate.edu/cgi-bin/index.cgi] by going to Manage User -> | |||
View/Edit your Linux login shell -> Select /bin/bash |
Latest revision as of 18:54, 16 January 2013
Please update this document if you think you have a better login setup. Also update this document if the software changes.
You'll want to copy the two files below into to your home directory: Xilinx_Env and cny_Env. In addition, edit your .bash_profile to source the files. You can always check to see if your environment is correctly setup by running:
env | grep "CNY"
cny_Env
#General envs to setup export PATH=$PATH:/opt/convey/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/convey/lib export CNY_PDK=/opt/convey/pdk export CNY_PDK_REV=2011_11_22 export CNY_PDK_HDLSIM=Mentor export CNY_PDK_SIMMODE=64 # For running SW model or Modelsim # export CNY_SIM_THREAD=libcpSimLib2.so # For running on HW export CNY_SIM_THREAD= # for software emulation # export CNY_CAE_EMULATOR=<loction of CaeSimPers> # Example location ~/temp_sample_app/cae_pers_vadd/CaeSimPers/CaeSimPers # for Modelsim simulation #export CNY_CAE_EMULATOR=./run_simulation #for running on HW export CNY_CAE_EMULATOR= #see Chap 12 of Convey Programmers Guide v1.8 for more environment variables
Xilinx_Env
source /remote/Xilinx/13.4/settings64.sh export PATH=$PATH:/remote/Modelsim/10.1c/modeltech/linux_x86_64/ export LM_LICENSE_FILE=1717@io.ece.iastate.edu:27006@io.ece.iastate.edu
Editing .bash_profile
Adding the following lines to your .bash_profile file will prevent you from having to source these files every time you login. The file is located in your home directory (use ls -a to view hidden files that start with '.'). It is assumed that you have copied the two scripts above to your home directory.
.bash_profile
# .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin:. export PATH # setup convey aliases source cny_Env source Xilinx_Env
Ensure You're Using Bash
echo $SHELL
If you are not using bash, you can set your default shell to bash at [1] by going to Manage User -> View/Edit your Linux login shell -> Select /bin/bash