Friday, November 18, 2016

cadence virtuoso IC616 / MMSIM Installation notes

Before we go
1 - any red line is a terminal command 
2 - you can download cadence IC616/IC617 and MMSIM from this link
3 - here i assumed you have successfully installed centos 6.8
4 - my bashrc file

1- CentOS system configuration

a) add the current user to the sudoers
su

chmod u+w /etc/sudoers
gedit /etc/sudoers
add following line:
xxx ALL=(ALL) ALL under root ALL=(ALL) ALL # xxx is username
chmod u-w /etc/sudoers

b) remove gedit warning:
$sudo mkdir -p /root/.local/share/

2- Cadence pre installation configuration

a) modify host name for cadence
cd /etc/sysconfig
gedit /etc/sysconfig/network    “used by system boot”
change HOSTNAME=xxx
" xxx is the hostname
gedit /etc/hosts    " map host to IP address
- host format:
ip address / host.domain / hostname
- host name used by local network
- domain name used by internet
Example:


127.0.0.1                             eslam.localdomain eslam
192.168.1.1  eslam.localdomain eslam
127.0.0.1 localhost

At this point all the necessary changes that needed to be made have been made, you will want to restart
networking on your server to make sure that changes will be persistent on reboot:
sudo /etc/init.d/network restart
sudo shutdown -r now
b) Install necessary packages

sudo yum update
sudo yum install ksh
sudo yum install xorg-x11-fonts-ISO8859-1-75dpi
sudo yum install ksh
sudo yum install libXext.so.6
sudo yum install libXtst.so.6
sudo yum install libXt.so.6
sudo yum install libGLU.so.1
sudo yum install libelf.so.1
sudo yum install libXrender.so.1
sudo yum install libXp.so.6
sudo yum install libXrandr.so.2
sudo yum install libXp
sudo yum install libXext.so.6
sudo yum install ld-linux.so.2
sudo yum install openmotif
sudo yum install libstdc++.so.5
sudo yum install xterm
sudo yum install compat-readline5

create symbol link in the folder /lib64 if not have

sudo ln -s libreadline.so.6.0 libreadline.so.5

create symbol linke in the folder /usr/lib64

sudo ln -s libreadline.so.6.0 libreadline.so.5
sudo ln -s libhistory.so.6.0 libhistory.so.5

install package for library path editor

sudo yum install libSM.so.6 
sudo yum install libelf.so.1
sudo yum install libfreetype.so.6
sudo yum install libXrender.so.1

following packages i686 for 64bit CentOS installscape

sudo yum install glibc.i686
sudo yum install libXext.so.6

sudo yum install libXtst.so.6

c) Make some necessary folders
sudo mkdir /home/usr/eda
sudo chmod -R 777 /home/usr/eda

3 - IC616 /IC617 INSTALLATION

a) Prepare installation kits
Change all the packages to current usr by
sudo chown usr ./*
sudo chgrp usr ./*
uncompress all install tar files by
for tar in Base_IC06.16.005_lnx86_*of8.tar;
do tar xvf
tar;done
Uncompress iscape
b) Open iscape classic view
cd ~/iscape/bin
./iscape.sh



Then pop-up installscape classic view interface, local directory/media install
/home/usr/eda/tmp/IC06.16.005_lnx86.Base/CDROM1
c) Software post configuration after the installing completed



    - Proceeding with configuration of lfvhdComp
      synergy users must install these libraries

      install valid library and sim primitives?(cr=n):n
      install XL library and gate primitives?(cr=n):n

    - Prepare libraries for AMS Designer
      1) Add an IUS installation directory to path
      2) Quit

      choose 2 and press ENTER
      NOTES:this step need INCISIVE installation path
            if have no INCISIVE choose 2 and reconfig after INCISIVE installed.

    - welcome to the OpenAccess 2.2 configuration utility?
      press Enter to continue

    - Do you want to use a different OpenAccess installation (y/n/q)?[y] n
      keep OpenAccess installation directory default
      NOTES:oa_v22(version 2.2).41(Data Model4.3).004(low level version number),
      check cadence_tool_install_dir /doc/oainstall/oainstall.pdf for more details.

4- MMSIM INSTALLATION (MMSIM141/MMSIM151)

a) copy tar files to the /home/usr/eda/tmp and uncompress all
need to change all the packages to usr auth.
sudo chown usr ./*
sudo chgrp usr ./*
for tar in Base_MMSIM14.10.138_lnx86_*of4.tar;do tar xvf $tar;done
b) Uncompress the IScape04.20-p001lnx86.t.Z in the CDROM1 and run the iscape.sh
zcat PKGNAME | tar -xvf -
cd /home/usr/eda/tmp/mmsim12/MMSIM12.10.272_lnx86.Base/CDROM1/iscape/bin
./iscape.sh
c) Install library setup in the classic view interface
local directory/media install, then select location of media of mmsim
/home/usr/eda/tmp/mmsim12/MMSIM12.10.272_lnx86.Base/CDROM1



- until popup Cadence_oaRedist22.43-p003lnx86_Config window
      press Enter to continue (q to quit):q
      this window will be close in 20 seconds...
- select the oa Do you want to use a different OpenAccess installation (y/n/q)?[y] n

5- LICENSE AND PATCH

a)copy license.dat to the path /home/usr/eda/app/cadence/IC616/share/license
b)install necessary packages for patch
sudo yum install libstdc++.so.6
sudo yum install compat-libstdc++-33.i686
sudo ./cadence_patch.sh /home/usr/eda/app/cadence/IC617
sudo ./cadence_patch.sh /home/usr/eda/app/cadence/MMSIM151

6- NEW PROJECT SETUP

a) Install NCSU pdks
some useful book and design demo in the following link:
http://cmosedu.com/cmos1/cadence/IC61_readme.htm

PDK Installation

1. Download the NCSU Cadence Design Kit (CDK) version 1.6.0 beta from
http://www.eda.ncsu.edu/wiki/NCSU_CDK

2. To install the NCSU CDK:
Extract the contents of ncsu-cdk-1.6.0.beta.tar.gz into your home directory, add following lines to
bashrc file



export SPECTRE_DEFAULTS=-E
export CDS_Netlisting_Mode=Analog
export CDS_LOAD_ENV=CWDElseHome
export CDK_DIR_NSCU_V1_6_0=$HOME/ncsu-cdk-1.6.0.beta

Note that only one CDK_DIR directory can be exported (not to be confused with CDS_DIR)
you can use my bashrc file


7- POST ENV SETTING

a) Save the default workspace
- customize the toolbar needed
- save the workspace in the window->workspace->save as select the IC61X install directory
- save the workspace as default using the window->workspace->as default
b) If want to set the schematic editor background to white coulor, run the following cmd
$echo "Opus.editorBackground: white" | xrdb -merge
$echo "Opus.editorBackground: black" | xrdb -merge
c) Change font/size for IC617 by CIW command
hiSetFont( "label" ?size 12 )
hiSetFont( "ciw" ?size 12 )
Above command for IC617
d) Add instance in the sch editor in two way options->editor->add instance browser type
-library
-component
e) Virtuoso Schematic Editor
change bindkey F scale
CIW-> Options->bindkeys->Schematics-> change F function to schZoomFit(1.0 0.6) from
schZoomFit(1.0 0.9)
change button zoomtofit
CIW->Options->toolbars->Schematic Editor->zoomto fit call back change to schZoomFit(1.0 0.6)
from schZoomFit(1.0 0.6)
recent used files list to zero
CIW->Options->File Preferences->Recently Used File list to zero


8- TO RUN CADENCE


virtuoso&