微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 综合技术问答 > EDA使用问答 > 小弟安装cadence碰到了环境变量设置的问题

小弟安装cadence碰到了环境变量设置的问题

时间:03-15 整理:3721RD 点击:
小弟是根据下面这位大大的帖子设置的,把.bashrc设置好了linux的一些基本命令都不能用了,例如ls这种
http://bbs.eetop.cn/viewthread.php?tid=334345&extra=&highlight=cadence%2Bic615&page=1大家看看这个设置问题在哪里
# .bashrc
export OA_HOME=/home/tea/cadence/IC6151/oa_v22.41.004
export MMSIM_ROOT=/home/tea/cadence/IC6151/MMSIM10
export CDS_ROOT=/home/tea/cadence/IC6151
export CDSDIR=/home/tea/cadence/IC6151
export CDSHOME=/home/tea/cadence/IC6151
export CDS_ROOT=/home/tea/cadence/IC6151
export CDS_INST_DIR=/home/tea/cadence/IC6151
export CDS_LIC_FILE=/home/tea/cadence/IC6151/share/license/license.dat
export CDS_Netlisting_Mode=analog
export PATH=$CDS_INST_DIR/tools/binPATH
export PATH=$CDS_INST_DIR/tools/dfII/binPATH
export PATH=$CDS_INST_DIR/tools/plot/binPATH
export PATH=$CDS_INST_DIR/tools/dracula/binPATH
export PATH=$CDS_ROOT/tools/binPATH
export PATH=$CDS_ROOT/tools/dfII/binPATH
export PATH=${CDS_ROOT}/tools/dracula/bin:$PATH
export PATH=${CDS_ROOT}/tools/plot/bin:$PATH
export PATH=${CDS_ROOT}/tools/iccraft/bin:$PATH
export PATH=${MMSIM_ROOT}/tools/bin:$PATH
export PATH=${MMSIM_ROOT}/tools/dfII/bin:$PATH
export PATH=${MMSIM_ROOT}/tools/spectre/bin:$PATH
export PATH=${MMSIM_ROOT}/tools/ultrasim/bin:$PATH
export LM_LICENSE_FILE=/home/tea/cadence/IC6151/MMSIM10/share/license/license.dat
export CDS_AUTO_32BIT ALL
# User specific aliases and functions
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi


...............
export PATH=$CDS_INST_DIR/tools/bin:$PATH
export PATH=$CDS_INST_DIR/tools/dfII/binPATH
export PATH=$CDS_INST_DIR/tools/plot/bin:$PATH
export PATH=$CDS_INST_DIR/tools/dracula/binPATH
export PATH=$CDS_ROOT/tools/binPATH
export PATH=$CDS_ROOT/tools/dfII/bin:$PATH

...etc
PS:
實在會被表情符號給打敗 !
替換表情符號成為" :$ " (冒號加上錢的符號)



非常感谢你的帮助,我能运行了,搞了半天是这个缘故





  1. # .bashrc

  2. # User specific aliases and functions

  3. # Source global definitions
  4. if [ -f /etc/bashrc ]; then
  5. . /etc/bashrc
  6. fi
  7. export PATH=$PATH:/bin:/sbin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin



复制代码

开头这些不能少,不然系统默认的环境变量也没了。

表情符号太坑了



小编为何我将环境变量加进去后提示 语法错误:未预期的文件结尾。结尾不都是fi吗



您好,请问怎么配置环境变量?新手求助


我只是为了验证笑脸符号。 TM,“:$“这个符号真的会变成“笑脸”。真扯!

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top