-Developed by: Zheng Chen; Revised by :
Sanjeev Gunawardena, Liang Yin, Tao Lin, Y.Guo, M. Ding, Basawaraj
last modified: Dec., 2008
You must have an account on the file server Prime in order to use Mentor Graphics tools in this lab. You may contact with Mr. John Tysko (180 Convocation Center, tysko@eecs.ohiou.edu) to get an account. The following descriptions show how to set up environment variables for Mentor applications and how to use remote workstation or PC as an X-Terminal that can support Mentor Graphics tools.
In any terminal, type in following commands,
cd $HOME
mkdir mgc
cd mgc
mkdir class
setenv MGC_HOME /home/mgmgr/mg2008/ICFLOW_2008.2/2008.2_sun4os5/icflow_home
set path=($MGC_HOME $MGC_HOME/bin $path)
setenv MGC_AMS_HOME /home/mgmgr/mg2008/AMS2008.1
set path=($MGC_AMS_HOME/bin $MGC_AMS_HOME/modeltech/bin $path)
source $MGC_AMS_HOME/compat/init_mgc_ams_home
setenv CAL_HOME /home/mgmgr/mg2008/Calibre_2008.4/ss5_cal_2008.4_19.14
setenv CLASS /home/[your account name here]/mgc/
setenv MGC_WD /home/[your account name here]/mgc/class
setenv ADK /home/mgmgr/mg2008/adk3_1
setenv AMPLE_PATH $ADK/userware
setenv PATH /home/mgmgr/mg2008/adk3_1/bin:$PATH
setenv MGC_LOCATION_MAP /home/mgmgr/mg2008/mgc_location_map
setenv ADK_TECH ami05
setenv MGLS_LICENSE_FILE 1717@prime.cs.ohiou.edu
After the modified .cshrc file is executed (e.g., you can source it, or
log into your account again), you are ready to launch Mentor Grpahics tools we
have installed on prime.
*Its important that you set MGC_WD directly to
your working directory, for our lab purpose, we will mostly work under CLASS,
so it is propriate to set MGC_WD to CLASS directory.
Note: Sometimes a windows based editor adds some special characters (like end of line or carriage return), hence it is advisable to make changes to the .cshrc file using vi editor.