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&


86 comments:

  1. Thank you Islam...
    sorry, i am beginner in linux, i have some difficulty for installing cadence on Centos, when i write this command "sudo /etc/init.d/network restart" on terminal, this message has been shown:
    ==========
    sudo: >>> /etc/sudoers: syntax error near line 112 <<<
    sudo: parse error in /etc/sudoers near line 112
    sudo: no valid sudoers sources found, quitting
    sudo: unable to initialize policy plugin
    ============
    Please, can you help me?

    ReplyDelete
    Replies
    1. add your username in the sudoers file write in terminal the following commands

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

      Delete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Thank You..
    I am an Analog Circuit & Layout Designer. I have only fluency in accessing the Cadence tool. I don't have much idea for the installation process. would you like to provide a Virtual Machine file for IC616 (like the Previous one (IC614))?

    Thanking you. ...

    ReplyDelete
  4. Hi Islam,
    Thank you so much..
    I Can not extract MMSIM files.. as they are password protected. Please help..

    ReplyDelete
  5. Hi
    Thank you for this awesome tutorial
    please make one for installing PKDs & Library-cells
    Specially for freePDK45 and CDK
    I can't install them together ( No problem for separately)

    ReplyDelete
  6. Hi Islam, tanks a lot for your help
    can you provide a help for calibre and assura? it is necessary to physical verification

    ReplyDelete
  7. Hi
    Great tutorial - thanks. I can't seem to get the white color working in IC617, although it works just fine in IC616. Do you know how to do this for IC617?

    ReplyDelete
  8. Thank you mr Islam Abdo.
    I have installed IC617, but how Do I start it?
    Regards

    ReplyDelete
    Replies
    1. type in terminal
      virtuoso &

      Delete
    2. Thank you for your quick reply.
      I have installed everything and I am almost finished. I guess I have something wrong.

      When I type "virtuoso" in the terminal, I get the following error
      exec: /root/cadence/installs/IC617/tools/dfII/bin/64bit/virtuoso: cannot execute [Exec format error]

      I went to google and I noticed that my machine is 32bit. How can I run cadence under 32bit instead of 64bit?

      thanks in advance

      Delete
  9. Hi Islam!
    I am using VirtualBox CentOS7.
    I allocated 50 GB for SATA Memory and currently have a 33 GB free space.
    In InstallScape, the available disk space for install shows 0 MB.
    How can I resolve this?

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. Hi Islam!

    I am an Engineering Student. I only have fluency in accessing the Cadence tool. I don't have much idea on the installation process.

    Can you provide a Virtual Machine file for IC616/IC617 (like the Previous one (IC614))?

    I need it for my undergraduate studies. Thank you Islam. I hope you consider this. :)

    ReplyDelete
    Replies
    1. That would be nice =)
      I would use it too

      Delete
    2. Yes ,plz make virtual machine IC6.17 with preinstalled technology files

      Delete
  12. [root@jewel home]# ERROR: $OA_HOME/bin
    (/opt/cadence/installs/IC617/oa_v22.50.043/bin)
    is not a valid OA bin directory.
    Check your OA installation or update the value
    of OA_HOME to point to a valid OA installation.
    See the "OpenAccess Installation and Configuration Guide"
    for more information.
    virtuoso: ERROR: No proper OA2.2 installation found. Fix the errors reported by cdsGetOABinPath.
    virtuoso: INFO: Note that OpenAccess (OA) requires running the Configure phase.
    virtuoso: See the "OpenAccess Installation and Configuration Guide" before
    virtuoso: you complete the configuration step. This manual is included with
    virtuoso: the Cadence product documentation.

    ReplyDelete
    Replies
    1. your linux is not supported by cadence virtuoso and to configure OA_HOME need to configure it to bin, /opt/cadence/installs/IC617/oa_v22.50.043 is enough

      Delete
  13. How do I add new technology library to existing library? such as pdk90, pdk45..etc

    Thanks

    ReplyDelete
    Replies
    1. Hi Islam,
      I meant to ask this under your IC614 VMware version.

      Delete
  14. nevermind. I figure it out

    thanks

    ReplyDelete
  15. This comment has been removed by the author.

    ReplyDelete
  16. can you please provide a video tutorial for installation...

    ReplyDelete
  17. Hi, I downloaded and installed (using your instruction) IC617. I patched and edited the .bashrc file. Now when I try to launch virtuoso in the terminal I get this error:
    WARNING: HOST DOES NOT APPEAR TO BE A CADENCE SUPPORTED LINUX CONFIGURATION.
    For More Info, Please Run '/tools.lnx86/bin/checkSysConf' .

    virtuoso: ERROR: The command /opt/cadence/IC617/share/oa/bin/sysname returned an error status:
    unknown
    virtuoso: INFO: Note that OpenAccess (OA) requires running the Configure phase.
    virtuoso: See the "OpenAccess Installation and Configuration Guide" before
    virtuoso: you complete the configuration step. This manual is included with
    virtuoso: the Cadence product documentation.
    Can you please help me?

    ReplyDelete
    Replies
    1. check the folder $CDS_ROOT/oa_v*******/bin/linux***_64
      export OA_UNSUPPORTED_PLAT="linux***" without _32 or _64

      Delete
  18. Hi..
    I did all steps, when trying to run (virtuoso &), this message shows in terminal:
    bash: virtuoso: command not found
    Please, can you help ...

    ReplyDelete
  19. This comment has been removed by the author.

    ReplyDelete
  20. First of all, thanks for all your work.
    I downloaded the centos 7 version and the cadence and MMSIM files from the given website.
    Later i have downloaded all the libraries and everything is fine till step2;
    But from step 3 iam unable to understand the process. Where should i keep my downloaded files? I have only one user account created in centos7. I have been trying many methods from 1 week. Please help me!! I'm waiting for your reply Sir...

    ReplyDelete
    Replies
    1. It would be better if you provide a video tutorial for beginners like us! We're new to centos and linux environments<<!

      Delete
    2. a great man once said "If you good at something NEVER do it for free :D :D :D :D"

      Delete
    3. Don't worry Mr. Islam, we will pray for you!

      Delete
    4. you got me in a box here :D, still won't make it though :D :D :D :D :D

      Delete
    5. Hey dude, pls help us man. We're stuck here, none of us is able to understand this whole process. Please try uploading a VM for this too, or atleast provide a video tutorial regarding the setup process. Thanks in Advance...

      Delete
    6. This comment has been removed by the author.

      Delete
  21. This comment has been removed by the author.

    ReplyDelete
  22. pls help how to continue ??

    tar: Old option `f' requires an argument.
    Try `tar --help' or `tar --usage' for more information.
    tar: You must specify one of the `-Acdtrux' or `--test-label' options
    Try `tar --help' or `tar --usage' for more information.

    ReplyDelete
  23. where can I find iscape ? Please help. Thanks

    ReplyDelete
  24. How can i edit bashrc file ?
    Plz help me
    Somehow I have managed to install IC616 and update
    But license.dat file is not available ??

    ReplyDelete
  25. Any one successfully installed ?
    Mail me

    ReplyDelete
  26. Contact me to add technology files

    ReplyDelete
    Replies
    1. I cannot start spectre. It says
      ERROR (ADE-3023): Unable to locate spectre executable in the specified path. Ensure that
      the executable is present in the path or to set the correct path, use
      the setShellEnvVar() in Command Interpreter Window (CIW).

      Delete
    2. Done. Had to add spectre bin location in path

      Delete
    3. Hi, sami can you explain how you did it .
      Did you include it in bashrc file.
      SPECTRE171 is to be installed outside IC617 am i right

      Delete
  27. This comment has been removed by the author.

    ReplyDelete
  28. This comment has been removed by the author.

    ReplyDelete
  29. hi am new to this type of installation so please instruct me to install the cadence virtuoso

    First have downloaded 5 parts of base IC 6.17.700
    and selected all and extracted using winrar (in windows10)
    got whole one folder but in that there is no iscape.sh file or installscape tar file
    without those files guess i cant install the tool

    if yes with those available fie (kits, Base_IC06.17.700_lnx86.sdx
    Base_IC06.17.700_lnx86.sdp ic_index.sdx and .kpsource) the please tell me how to install the tool

    thank you!!

    ReplyDelete
  30. This comment has been removed by the author.

    ReplyDelete
  31. Hi! May I ask the login password for Ubuntu VM with preinstalled Virtuoso IC616? Thanks in advance :)

    ReplyDelete
  32. This comment has been removed by the author.

    ReplyDelete
  33. can you send me link to download cadence virtuoso software only.

    ReplyDelete
  34. please provide access to pratik3879@gmail.com

    ReplyDelete
  35. Hello, Mr. Islam
    What is the free tsmc018 technology available?
    Thanks for the helpful answers

    ReplyDelete
  36. better create a youtube video for installation method , it would be better for every one

    ReplyDelete
  37. Some instructions about editing .bash file:
    https://stackoverflow.com/questions/19742005/bashrc-permission-denied

    ReplyDelete
  38. This comment has been removed by the author.

    ReplyDelete
  39. i have successfully installed IC6.17 in centos 6.10 but when i invoke the tool using virtuoso & command i got the warning stating that the OS in not compartible for cadence plz use sysconfig for further details

    ReplyDelete
  40. I have got a problem. The problem is when I click on start to start installation IC617 it shows me "Invalid download directory for release IC_06.17.700_lnx86. Spaces in the directory path are not allowed." on cenos 7.

    ReplyDelete
    Replies
    1. Rifat, I think the directory name in which you have stored the source files has some space characters. You must remove these spaces from the directory name and you'll be good to go.

      Delete
  41. selamun aleykum I get an error *WARNING* ddUpdateLibList: Did not find any 'cds.lib' file.
    what can i do please help me i am a student

    ReplyDelete
    Replies
    1. From library manager choose Edit >> Library path >> file >> save as "cds.lib"

      Delete
    2. hiiii sir, is it possible for you provide Assura for IC617 please???? I require it for physical design verification
      thank you very much

      Delete
  42. selamun aleykum again Mr. İslam abdo i used rhel6 pre installed cadence thanks to you but i havent any transistor library. I hanent any working transistor. how can i please this my last question

    ReplyDelete
  43. hiiii sir, is it possible for you provide Assura for IC617 please???? I require it for physical design verification
    thank you very much

    ReplyDelete
  44. Hi Islam!

    I am an postgraduate Engineering Student. I only have fluency in accessing the Cadence tool. I don't have much idea on the installation process. I download Cadence_Virtuoso_IC6.1.7_ISR22 and i extract the hole things into /opt/cadence but i unable to install and run the exe and patch file in my RHEL 6.5 - 64bit system.
    Can you provide a step by step installation procedure. Please mail me (rpkece07@gmail.com) and it very useful for my PG project work.
    Thank you Islam. I hope you consider this.

    ReplyDelete
  45. سلام علیک اسلام
    how can i setup assura ?

    ReplyDelete
  46. This comment has been removed by the author.

    ReplyDelete
  47. Hi
    after running this code, "sudo chown usr ./*" I encounter with this error, " chown: invalid user: 'usr'", plz help me.

    ReplyDelete
  48. This comment has been removed by the author.

    ReplyDelete
  49. This comment has been removed by the author.

    ReplyDelete
  50. Hi Islam,

    Do you have any AMS simulator - INCISIVE or XCelium? Or want to suggest any otherway to run AMS simulation?

    ReplyDelete
  51. Thank you very much for uploading all the required tools related to IC design.
    We would be grateful please upload all PDK files (NCSU,TSMC,UMC etc.)

    Thank you very much once again..

    ReplyDelete
  52. This comment has been removed by the author.

    ReplyDelete
  53. Can you tell me how to add bsimcmg in cadence?

    ReplyDelete
  54. Can you tell me how to add bsimcmg in cadence?

    ReplyDelete
  55. The download link for IC616/617 and MMSIM has been denied for access. Could you allow me to access the link please?
    Thank you very much.

    ReplyDelete
  56. This comment has been removed by a blog administrator.

    ReplyDelete
  57. i hope you are aware of virtuoso 6.18 is released would you please create a virtual machine 🥺. Thanks for the generous distribution ❤️

    ReplyDelete
  58. titanium ring for men, how to play, how to play
    I'm a man winnerwell titanium stove who is titanium knife willing to make choices titanium quartz crystal and titanium bolts make the right decision, titanium steel a gold mine

    ReplyDelete