Convey environment setup: Difference between revisions

From Cpre584
Jump to navigation Jump to search
Ktown (talk | contribs)
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...
 
Ktown (talk | contribs)
No edit summary
Line 1: Line 1:
copy the two files to your home directory: Xilinx_11.1_src and setcnyenv.txt. They contain the following: <br />
Please update this document if you think you have a better login setup also update if software gets changed.
setcnyenv.txt:
 
copy the two files to your home directory: Xilinx_Env and cny_Env. They contain the following: <br />
cny_Env:
#! /bin/bash
  #General envs to setup
  #General envs to setup
  export CNY_PDK=/opt/convey/pdk
  export CNY_PDK=/opt/convey/pdk
  export CNY_PDK_REV=2010_08_09
  export CNY_PDK_REV=2012_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 25:
  #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_11.1_src:
Xilinx_Env:
echo Make sure you are using a bash shell before sourcing this file.
  source /remote/Xilinx/12.4/settings64.sh
echo You can type, bash, if you are not
  export PATH=$PATH:/remote/Modelsim/6.5c/modeltech/linux_x86_64/
echo I recommend setting bash as your default shell
  source /remote/Xilinx/11.1/settings64.sh
  export PATH=$PATH:/remote/Modelsim/6.4b/modeltech/linux_x86_64/
  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


adding the following lines to your .bashrc file will prevent you from having to source these files every time you login<br />
 
.bashrc:
adding the following lines to your .bash_profile file will prevent you from having to source these files every time you login<br />
  # .bashrc
.bash_profile:
  # .bash_profile
   
   
  # Source global definitions
  # Get the aliases and functions
  if [ -f /etc/bashrc ]; then
  if [ -f ~/.bashrc ]; then
  . /etc/bashrc
        . ~/.bashrc
  fi
  fi
   
   
  # User specific aliases and functions
  # User specific environment and startup programs
PATH=$PATH:$HOME/bin:.
export PATH
  # setup convey aliases
  # setup convey aliases
  source setcnyenv.txt
  source cny_Env
  source Xilinx_11.1_src
  source Xilinx_Env

Revision as of 23:48, 6 February 2012

Please update this document if you think you have a better login setup also update if software gets changed.

copy the two files to your home directory: Xilinx_Env and cny_Env. They contain the following:
cny_Env:

#! /bin/bash 
#General envs to setup
export CNY_PDK=/opt/convey/pdk
export CNY_PDK_REV=2012_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/12.4/settings64.sh
export PATH=$PATH:/remote/Modelsim/6.5c/modeltech/linux_x86_64/
export LM_LICENSE_FILE=1717@io.ece.iastate.edu:27006@io.ece.iastate.edu


adding the following lines to your .bash_profile file will prevent you from having to source these files every time you login
.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