| |
c@dence_i_c5141和mm$im61的安装过程和配置方法。 最近换了工艺库,转到5141上来了,过了一阵都快忘光了,看样子做个笔记还是值得的,也发到论坛来,希望对大家有所帮助。 系统的考虑,按照道理来说应该是所有的linux系统都能安装运行i_c5141的,只不过因为各个linux组件实现不完全统一,所以在安装i_c5141的时候会出现各种问题,但是只要你有相关linux系统的知识,对于linux一些基本设计理念比较熟悉的话,应该都是可以通过调整系统来安装运行i_c5141的。安装i_c5141的过程实际上就是一个根据c@dence给出的错误信息进行debug的过程,你把所有的bug都解决了,软件也就自然能运行了。 现在已知可以运行i_c5141的系统rehl,centos,suse,ubuntu还有archlinux。推荐使用的系统是rehl或是centos,这两个应该是兼容性最好的,当然下面的安装过程还是以archlinux为例来讲解的。 1 确认所用linux系统的tar版本在1.14以下,否则不能正常解压安装包。 ----tar的语法的问题,这一步没有必要,下面有别的方法可以解决。 2 下载安装包,包括: Update_IC50.46.006_lnx86_1of4.tar Update_IC50.46.006_lnx86_2of4.tar Update_IC50.46.006_lnx86_3of4.tar Update_IC50.46.006_lnx86_4of4.tar Cadence.Base.IC5141.Lnx86.3CDs[.ck].rar, ---这个是5141的三个base包合成一个了。 Base_MMSIM61_lnx86_1of2.tar Base_MMSIM61_lnx86_2of2.tar 用tar xvf filename全部解压缩,将得到的update包放在一个文件夹内,如/install/IC50.46.006_lnx86.Update,base包会解压到另一个文件夹,如/install/base_5141,将mm_sim的cd1和cd2放在另一个文件夹内,如/install/mm_sim。 ic5141和mmsim61的license,都命名为license.dat,放在不同的文件夹下,后面配置使用。 3 查看系统剩余空间,应大于6GB。 ----安装前的软件准备: 确认你的系统已经安装了java。注意下面所以的命令都是针对archlinux的版本,其它版本请自己调整。 sudo pacman -S jre 安装了gnome,qt什么情况我不知道。 不要打开3d特效,compiz之类的东西。 c@dence用到的脚本解释器众多,所以把该装上的解释器都装上吧。 sudo pacman -S tcsh 这个把tcsh和csh都安装了,同时路径都指到了/bin,所以不用再调整。 sudo pacman -S pdksh ksh的开放版本,路径在/usr/bin,所以需要做个软链接,sudo ln -s /usr/bin/ksh/ /bin/ksh。 要找到相应命令的启动路径,可以用which xxx来查询,比如which csh,当你不确定某个程序是否已经安装时,先用这个命令来查询,有的时候只需要做一个软链接就可以了。 不记得下面哪一步会用到tr命令,不过这次需要的tr启动路径是/usr/bin/tr,用which tr定位到tr是安装在/bin的,所以仍然sudo ln -s /bin/tr /usr/bin/tr。 c@dence默认的查阅文档的浏览器是netscape,现在的系统早没有了,还是要做一个链接。比如archlinux上的自带浏览器是epiphany,sudo ln -s /usr/bin/epiphany /usr/bin/netscape。 ---好像没什么作用,看文档用笨方法吧。 其它可以还有什么组件需要安装我记不请了,不过只要根据它的提示信息,按上面的方法的解决,就能搞定了。^-^ 4 安装i_c5141 不要用root用户安装,可能会有些问题。 cd / sudo mkdir cadence cd cadence sudo mkdir ic5141usr6 sudo mkdir installscape sudo mkdir mmsim61 sudo mkdir smTool03.00-s009 sudo mkdir smLocal sudo mkdir smCdsReg sudo chmod 777 -R /cadence,保证其它普通帐户可以访问这个文件夹。 cd /install/IC50.46.006_lnx86.Update/CDROM1 tar xvf SOFTLOAD.TAR 因为tar的语法问题,不启动SETUP.SH,直接手动解压SOFTLOAD.TAR。 这里要注意因为没有启动SETUP.SH,没有指定5141的安装路径,所以默认是安装在当前目录下,将解压后的install文件夹cp到你想要安装的文件夹下,如ic5141usr6 cp -r install /cadence/ic5141usr6 cd /cadence/ic5141usr6/install/bin.lnx86 ./softload 启动安装进程。 显示的信息如下,根据下面的说明进行安装。 Warning: Software administration should not be done as root because it could cause file permissions problems while extracting software Press [Return] to proceed, q to quit : (return) -------------------MAIN MENU---------------------- The available options are: 1) Load Available Products 2) List Installed Products 3) Remove Installed Products 4) (unavailable option) Configure Installed Products 5) (unavailable option) Test Installed Products 6) Update Installed Products h) Help q) Quit Type your choice: [ 1 ]1 You will get following message screen CD#1 of the media set being used is required. You must now identify where the CD-ROM is mounted. 1) Local (mounted to this machine) 2) Remote (mounted to another machine) m) Main Menu h) Help Type your choice: [ 1 ] 1 Next You will get following message screen Specify the CD-ROM mount point 1) /cdrom 2) Other m) Main Menu p) Previous Menu h) Help Type your choice: [ 2 ]2 Next You will get following message screen Type the CD-ROM mount point: [ /install/IC50.46.006_lnx86.Update/CDROM1 ] Extracting installation information from CD#1. Do you want to view the README file? Please press y (yes) or n (no) : y Where is the installation information? 1) (unavailable option) Work Order 2) E-mail File 3) Tape 4) Cadence Catalog 5) Documentation Catalog h) Help p) Previous Menu q) Quit Type your choice: [ 2 ] 4 Next screen will ask you to select the products. Alwase select all the products. Do not try to save some disk space. You do not know which product needs which additional tool. a) All of the above n) None of the above p) Previous Menu Type your choice (a,n,p,1-3,2 5 9 ...): a Next screen will ask you to select the products Are your selections correct? [y/n] y The following media is required: IC5141 lnx86 P/N 356-70352-0501 CDROM # 1 IC5141 lnx86 P/N 356-70352-0502 CDROM # 2 IC5141 lnx86 P/N 356-70352-0503 CDROM # 3 IC5141 lnx86 ISR 200706221130 CDROM # 1 IC5141 lnx86 ISR 200706221130 CDROM # 2 IC5141 lnx86 ISR 200706221130 CDROM # 3 IC5141 lnx86 ISR 200706221130 CDROM # 4 Press [Return] to proceed, q to quit : 下面信息是usr5的信息,usr6大概类似。 Checking IC5141 lnx86 P/N 356-70352-0501 CDROM # 1 ... Mount IC5141 lnx86 P/N 356-70352-0501 CDROM # 1 . This CD-ROM is IC5141 lnx86 ISR 200706221130 CDROM # 1 . The setup will start installing cadence ic 5141 usr6. After some time it will ask for base package of ic5141. You should see following message on your screen Your package selections require IC5141 lnx86 P/N 356-70352-0501 CDROM # 1. 1) Mount IC5141 lnx86 P/N 356-70352-0501 CDROM # 1 on /tmp/cadence/IC5141USR5_lnx86.Update/CDROM1 and install packages contained on it. 2) Skip IC5141 lnx86 P/N 356-70352-0501 CDROM # 1 and proceed with the installation. IC5141 lnx86 P/N 356-70352-0501 CDROM # 1 is NOT available at this time. 3) IC5141 lnx86 P/N 356-70352-0501 CDROM # 1 already mounted on /tmp/cadence/IC5141USR5_lnx86.Update/CDROM1, continue. 4) Change CD-ROM mount point. m) Main Menu Type your choice: 4 You must now identify where the CD-ROM is mounted. 1) Local (mounted to this machine) 2) Remote (mounted to another machine) m) Main Menu h) Help Type your choice: [ 1 ] 1 Specify the CD-ROM mount point 1) /cdrom 2) Other m) Main Menu p) Previous Menu h) Help Type your choice: [ 2 ] 2 Now specify the following mount point /install/base_5141/CDROM1 You should see the setup to continue forward again. loading edif300userDoc05.10-p002 ...................................... Installation of edif300userDoc05.10-p002 complete Total Installation 100 % done Checking the installed products... Updating status of installed products... Cleaning up... The products you selected have now been loaded. Continue the installation by configuring the products you just loaded. ***************************************** CONFIGURATION IS NOW REQUIRED for products using OpenAccess version 2.2 and later. For more information, refer to the release README file found on the top level of the CDROM. ***************************************** Check the ~install/tmp/install.history file for the list of products affected by this install. Now you should see the menu screen again. 下面是配置stream,好像也没什么用,不过配置一下也不影响使用,关于stream可以查看帮助文档。 -------------------MAIN MENU---------------------- The available options are: 1) Load Available Products 2) List Installed Products 3) Remove Installed Products 4) Configure Installed Products 5) (unavailable option) Test Installed Products 6) Update Installed Products h) Help q) Quit Type your choice: [ 1 ] 2 Next screen will ask you to specify the os Specify the operating system of the products: No. Operating system 1) Solaris Operating System (sun4v) 2) Linux Operating System (lnx86) 3) Itanium Linux Operating System (lni64) 4) HP-UX Operating System (hppa) 5) IBM AIX Operating System (ibmrs) Type your choice [ 1 - 5 ]:2 After sometime you should see the menu screen again -------------------MAIN MENU---------------------- The available options are: 1) Load Available Products 2) List Installed Products 3) Remove Installed Products 4) Configure Installed Products 5) (unavailable option) Test Installed Products 6) Update Installed Products h) Help q) Quit Type your choice: [ 1 ]4 This will bring up the config menu -------------CONFIGURATION INFORMATION MENU--------------- Select one of the following: 1) System-level Configuration 2) User-level Configuration m) Main Menu h) Help Type your choice: [ 1 ] 1 It will now ask you for list of installed options a) All of the above n) None of the above Type your choice (a,n,p,1-3,2 5 9 ...): a Nest you should see the following screen Preparing to configure the Stream Manager tool now... This release includes a copy of the Stream Manager tool and associated data files which help you to set up and manage your run-time environment. For details of the tool refer to the Stream Manager documentation which is included in the documentation set for this release. For details of the Stream Manager configuration process, see /cadence/ic5141usr6/tools.lnx86/stream_mgt/install/config.txt You have the choice whether to configure the Stream Manager now or at a later date. If you choose to do it later, you can either run Softload configuration again, or type /cadence/ic5141usr6/tools.lnx86/stream_mgt/install/install Do you want to configure the Stream Manager now? (y/n) : y Configuring Stream Manager - Wed Nov 14 20:48:48 IST 2007 Installing Stream Manager tools. Enter full network path name of required installation directory (<CR> = /cadence/smTool03.00-s009) : Are your selections correct? [y/n] y Preparing to configure the Stream Manager tool now... This release includes a copy of the Stream Manager tool and associated data files which help you to set up and manage your run-time environment. For details of the tool refer to the Stream Manager documentation which is included in the documentation set for this release. For details of the Stream Manager configuration process, see /cadence/ic5141usr6/tools.lnx86/stream_mgt/install/config.txt You have the choice whether to configure the Stream Manager now or at a later date. If you choose to do it later, you can either run Softload configuration again, or type /cadence/ic5141usr6/tools.lnx86/stream_mgt/install/install Do you want to configure the Stream Manager now? (y/n) : y Configuring Stream Manager - Installing Stream Manager tools. Enter full network path name of required installation directory (<CR> = /cadence/smTool03.00-s009) : Creating /cadence/smTool03.00-s009 Copying Stream Manager and associated tools to /opt/cadence/smTool03.00-s009 - this may take a few minutes. 如果出错的话,试试下面的方法,我的安装过程没有问题,所以下面的设置不需要。 /cadence/smTool03.00-s009/tools/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory I get this error message. Can Some one solve this error? The software is working fine. Changing perl references to suit local installation Using perl from the install directory /cadence/smTool03.00-s009/tools.lnx86/perl-5.8.8 Locating java installation..... Using java from the install directory /cadence/smTool03.00-s009/tools.lnx86/jre 注册cadence的工具。 Locating a central Cadence registry. The Cadence registry is a read-only registry which contains Product and Stream template data supplied by Cadence. The Softload system configuration step populates this registry over time. Cannot locate an existing Cadence registry root directory through the CDS_REGISTRY_ROOT environment variable or in the default location /cadence/smCdsReg. Enter full network path name for Cadence registry root directory (<CR> = /cadence/smCdsReg) : Creating /cadence/smCdsReg Locating a local registry The local registry contains site specific registry data. The registry is populated over time as part of the stream and project registration process, or as details of third party products are added. The Cadence and local registries cannot share the same location. Cannot locate an existing local registry root directory through the LOCAL_REGISTRY_ROOT environment variable or in the default location /cadence/smLocal. Enter full network path name for local registry root directory (<CR> = /cadence/smLocal) : Creating local registry /cadence/smLocal Creating setup files Setup commands are available in /cadence/smTool03.00-s009/tools.lnx86/stream_mgt/install/setup.csh and /cadence/smTool03.00-s009/tools.lnx86/stream_mgt/install/setup.sh. Updating Cadence registry data in /opt/cadence/smCdsReg. Creating ./Streams/Templates/lnx86/IC5141 Creating ./Products/lnx86/Diva/5.1.reg Creating ./Products/lnx86/Spectre/5.1.reg Creating ./Products/lnx86/AMS_Designer/5.1.reg Creating ./Products/lnx86/Virtuoso_Composer/5.1.reg Creating ./Products/lnx86/Analog_Design_Environment/5.1.reg Creating ./Products/lnx86/Virtuoso_Layout_Migrate/5.1.reg Creating ./Products/lnx86/Virtuoso_XL_Layout_Editor/5.1.reg Creating ./Products/lnx86/MMSim/5.3.reg Creating ./Products/lnx86/Virtuoso_Preview/5.1.reg Creating ./Products/lnx86/VoltageStorm/4.1.reg Creating ./Products/lnx86/Dracula/4.9.reg Creating ./Products/lnx86/Spectre_RF/5.1.reg Creating ./Products/lnx86/Virtuoso_Chip_Editor/5.1.reg Creating ./Products/lnx86/Virtuoso_Layout_Editor/5.1.reg Creating ./Products/lnx86/IC_Reliability/4.1.reg Configuration completed. Proceeding with configuration of lfvhdComp Synergy users must install these libraries Install Valid library and Sim primitives? (<cr> = n): y Install XL library and Gate primitives? (<cr> = n): y Installing Leapfrog Analyzer and Design library... Library installation... vrelocate 2.85-a002: (c) Copyright 1992-1997, Cadence Design Systems, Inc. vrelocate 2.85-a002: (c) Copyright 1992-1997, Cadence Design Systems, Inc. vrelocate 2.85-a002: (c) Copyright 1992-1997, Cadence Design Systems, Inc. vrelocate 2.85-a002: (c) Copyright 1992-1997, Cadence Design Systems, Inc. vrelocate 2.85-a002: (c) Copyright 1992-1997, Cadence Design Systems, Inc. vrelocate 2.85-a002: (c) Copyright 1992-1997, Cadence Design Systems, Inc. Installation of Leapfrog Analyzer and Design libraries complete Prepare libraries for AMS Designer 1) Add an IUS installation directory to path 2) Quit This you can use to setup your AMS lib. 没有安装IUS,所以选2 mmsim的安装: cd /install/mm_sim ./setup.sh 1.询问是否安装了installscape,回答否(n) 2.询问是否需要安装installscape,回答是(y)(要不然安装进程会立即结束,真是多此一问) 3.然后输入要将installscape安装到哪个目录:/cadence/installscape installscape安装完成后,弹出一个图形化的安装向导。 后面再要启动installscape,可以 cd /c@dence/installscape/iscape/bin ./iscape.sh 如果系统不缺少任何库的话(所以说系统的版本很重要),接下来应该是这样的: 4.首先选择你的源程序的目录位置(这里刚开始安装就是指cd1的目录位置),按照前面的假定,这里我们选择的目录位置,选择你的安装文件的存放位置,即/install/mmsim/MMSIM61_lnx86.Base 继续 询问是否有自动安装控制文件,应选择第一项,手动选择。 询问你要将mmsim安装到哪个目录,选择:/cadence/mmsim61 全选需要安装的软件包,点最上面那个方框就可以。 等待安装完毕可以了。 ic5141usr6和mmsim61的配置: cd /cadence/mmsim61 ln -s tools.lnx86 tools cd /cadence/ic5141usr6 ln -s tools.lnx86 tools 为配置环境变量需要而建立连接,因为软件的脚本里,都是指向tools,所以需要建立指向实际平台文件夹的软链接。 修改license 对于ic5141和mmsim的license配置是一样的。 gedit license.dat ic5141usr6的license前两行修改 SERVER (主机名) ANY 5280 DAEMON cdslmd /cadence/ic5141usr6/tools/bin/cdslmd mmsim61的license前两行修改 SERVER (主机名) ANY 5280 DAEMON cdslmd /cadence/mmsim61/tools/bin/cdslmd 主机名终端输入uname -a即可得到。 cp license.dat /cadence/ic5141usr6/share/license/ cp license.dat /cadence/mmsim61/share/license/ 注意两个license.dat对应于ic5141和mmsim61的license.dat。 cadence的启动设置,将/cadence/ic5141usr6/tools/dfII/samples目录下的local文件夹拷贝至/cadence/ic5141usr6/tools/dfII目录,并把local目录里的cdsinit文件名修改为.cdsinit cdsinit在cadence启动时会自动读入来配置cadence。 在cadence启动的文件夹下有两个文件非常重要,cds.lib和.cdsinit(可选)如果你需要修改默认的配置,在你的启动cadence的文件夹下建立.cdsinit,里面的设置会替换掉dfII下的.cdsinit的相应设置。cds.lib是定义你的工艺库的信息。 配置环境变量 建立/eda_conf/cadence_conf/env.ic5141usr6 #-------------------------------enviroment settings for ic5141usr6----------------------------------------------------# #-------------------to be sourced in bashrc.cad--------------------------------------# export CDSDIR=/cadence/ic5141usr6 export CDS_ROOT=/cadence/ic5141usr6 export CDS_INST_DIR=/cadence/ic5141usr6 export CDS=$CDS_INST_DIR export PATH=$CDS_INST_DIR/tools/bin:$CDS_INST_DIR/tools/dfII/bin:$PATH export CDS_Netlisting_Mode=Analog export LD_ASSUME_KERNEL=2.6.27 #当前linux内核的版本,注释掉也没关系。 建立/eda_conf/cadence_conf/env.mmsim61 #----------------enviroments settings for mmsim61---------------------------# #----------------to be sourced in .bashrc----------------------------------------# export MMSIM_HOME=/cadence/mmsim61 export MMSIM_INST_DIR=/cadence/mmsim61 export MMSIM=$MMSIM_INST_DIR #这个变量一定要有,否则cadence启动的是自带的spectre export PATH=$MMSIM_INST_DIR/tools/bin:$MMSIM_INST_DIR/tools/spectre/bin:$PATH 建立/eda_conf/cadence_conf/license.cadence #------------------------license settings for ic5141usr6 and mmsim7.01--------------------# #------------------------to be source in bashrc.cad----------------------------------------------# export CDS_LIC_FILE=$MMSIM_INST_DIR/share/license/license.dat:$CDS_INST_DIR/share/license/license.dat 建立/eda_conf/cadence_conf/cdsPub.lib DEFINE rfLib $CDS_INST_DIR/tools/dfII/samples/artist/rfLib DEFINE aExamples $CDS_INST_DIR/tools/tools/dfII/samples/artist/aExamples DEFINE functional $CDS_INST_DIR/tools/dfII/etc/artist/functional DEFINE rfExamples $CDS_INST_DIR/tools/dfII/samples/artist/rfExamples DEFINE ahdlLib $CDS_INST_DIR/tools/dfII/samples/artist/ahdlLib DEFINE passiveLib $CDS_INST_DIR/tools/dfII/samples/artist/passiveLib DEFINE bmslib $CDS_INST_DIR/tools/dfII/samples/artist/bmslib DEFINE pllLib $CDS_INST_DIR/tools/dfII/samples/artist/pllLib 建立/eda_conf/cadence_conf/cdsenv.cad schematic srcInhPinNetCollision cyclic "error" schematic srcPinNetCollision cyclic "warning" asimenv loadCorners boolean nil ui undoLevel int 10 ddserv showWhatsNew string "5.1" asimenv showWhatsNew string "5.1.0" spectre.envOpts firstRun boolean nil 建立/eda_conf/bashrc.cad source /eda_conf/cadence_conf/env.ic5141usr6 source /eda_conf/cadence_conf/env.mmsim61 source /eda_conf/cadence_conf/license.cadence 先转换到该用户的家目录,cd ~ gedit .bashrc 在.bashrc加入如下语句: source /eda_conf/bashrc.cad source ~/.bashrc.usr 保存后退出。 建立.bashrc.usr 有个人喜欢的设置可以写在这个里面,比如工艺库的快捷路径。 终端输入source .bashrc使其生效。 用which icfb和which spectre来查看安装配置是否正确。 启动icfb吧。 如果有Bad window之类的提示,是X的问题,尝试: gedit /etc/X11/xorg.conf 在文件末尾加入: Section "Extensions" Option "Composite" "Disable" EndSection 重启X即可。ctrl+alt+backspace,之前有什么先保存一下啊,系统不会跟你确认的。 在启动icfb&,应该软件界面出现了。 现在启动cdsdoc还是启动不了,会有一些库load不进来,用土办法,直接的doc里用firefox看吧,也还算方便。 |