0% found this document useful (0 votes)
1K views25 pages

Installing Cadence Virtuoso PDF

Uploaded by

Ahmed Saleh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views25 pages

Installing Cadence Virtuoso PDF

Uploaded by

Ahmed Saleh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

Part1: Basic Knowledge:

https://blog.csdn.net/maxwell2ic/article/details/51991735
This blog records the process of building a research environment suitable for analog
integrated circuit design with centOS. The main content is sorted out from my OneNote
notes. One is to filter out valuable information from cluttered notes, and the other is to
help. More novices like me have less detours .

I need to attach some links or references to some background knowledge needed in the
process. If there are any errors, I would also like to correct me.

In addition, in order to get a screenshot of the installation process, reinstall the cadence
related components.

The following is the body of the blog, because there are more content, I will be divided
into a series of topics to describe.

Clear installation goals

Some necessary knowledge reserves


Cadence is the undisputed leader in the field of EDA, widely used in IC, SoC, PCB design
companies, universities. The cadence we talk about everyday does not refer to a certain
software, but a complete set of development environment. We can see the development
environment required by the cadence official website to provide complete design flow
for different application areas. According to the official website, the candence should
have five different development platforms, namely:

1. System Design and Verification;

2. Digital Design and Signoff (well, this signoff should be similar to the digital design
before the tape out confirmation phase, I don't know if it is right);

3. Custom IC / Analog / RF Design;

4. IC Package Design and Analysis (chip package);


5. PCB Design and Analysis.
Each platform contains several software to complete a complete set of processes. A more
professional explanation can be seen on eetop .

Components for analog/RF integrated circuit design


I am using the Custom IC / Analog / RF Design platform to get a relatively complete
analog / RF integrated circuit development environment, the necessary components are:

1. Cadence Virtuoso IC suite includes a schematic editor, etc.

2. MMSIM includes emulators such as spectre and spectreRF;

3. There is also Menor Graphics Calibre (cadence's verification software is ASSURA,


but it seems that the calibre is the industry standard in the verification phase).
Also from this document you can find the names and abbreviations of all of the
company's software, which can help understand the relationship between the vast
number of software from the company.

Operating system selection


Cadence tools for IC design only support the Linux platform . Here you can find the
operating system supported by the application.

Cadence maintains Red Hat's RHEL, but it doesn't mean it can only be installed on RHEL
systems. CentOS, Ubuntu and other Linux distributions can run candence.

From the Supported Platform Matrix for Cadence Applications table, the latest IC617
support for RHEL5/6/7 is available, so the corresponding Linux distribution version of
Red Hat RHEL is also supported by IC617.

The next blog I will focus on what configuration is necessary for the operating system
before installing cadence.
Part2: related configuration of operating
system
https://blog.csdn.net/maxwell2ic/article/details/52162808
The previous topic has already said that the installation of cadence with ubuntu, RHEL, CentOS and other
distributions can be, but cadence officially maintains RHEL, so the operating system environment is
recommended to use RHEL or CentOS.

Prerequisites
1. The computer can be connected to the network
2. The commonly used yum source has been added, please see this

Install the appropriate support package


These libraries are all environment configurations required for cadence installation. (The following
commands are all under root privileges)

yum install ksh -y


yum install libXext.so.6 -y
yum install libXtst.so.6 –y
yum install libXt.so.6 -y
yum install libGLU.so.1 --setopt=protected_multilib=false
yum install libelf.so.1 -y
yum install libXrender.so.1 -y
yum install libXp.so.6 -y
yum install libXrandr.so.2 –y
yum install *xorg* -y
yum install libXp -y
yum install ld-linux.so.2 -y
yum install openmotif -y
yum install libstdc++.so.5 -y
yum install -y xterm

The following libraries are required for MMSIM

yum install -y gcc gcc-c++ ksh csh libXp *xorg-X11-fonts* compat-libstdc++-33.i686


yum install -y alliance-libs alliance glibc-2.12-1.107.el6.i686 glibc-devel.i686
glibc
yum install -y compat-readline5-5.2-17.1.el6.i686
Yum install -y xterm-253-1

Several of the alliance and so on will prompt No package available, ignoring the prompt.

Establish a link
ln -s /usr/bin/awk /bin/awk
ln -s /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so /usr/lib/libstdc++-libc6.1-1.so.2
ln -s /bin/gunzip /bin/uncompress
cd /lib64
ln -s libreadline.so.6 libreadline.so.5
cd /usr/lib64
ln -s libhistory.so.6 libhistory.so.5

Tmp file permission modification


chmod 755 /usr/tmp

chmodSet /usr/tmpthe property, this line means set /usr/tmpto the file owner readable and writable
executable, the same user group permissions are readable executable, other user permissions are readable
executable

Join the return address and let your host do the


cadence server
In the /etc/hostslast line in the file add:

127.0.0.1 username

E.g

127.0.0.1 Simon-CentOS

Where to uname –aview the host name, IC617 does not support the default hostname localhost. The
specific modification method of CentOS 7 can be found here .

The modification method of CentOS 6 is to modify the change /etc/sysconfig/network, specify the
host name in it HOSTNAME=Simon-CentOS, and then execute the command.

hostname Simon-centOS

Update restart
yum update
reboot
Part3: Prepare to install the image
https://blog.csdn.net/maxwell2ic/article/details/52162827

Thanks to the method provided by the eetop forum, we can download the latest installation package
directly from the cadence official website. The original text is here.

The main task of this paper is to carry some information, and at the same time to supplement some of the
problems I encountered during the installation process, as well as solutions.

Download the installation package


Download from the official website
First register an account on the cadence website . Then go to the download center to download the
software you need.

But the blogger pro test, this method should have expired. Because cadence updated its account system in
September 2015, accounts that did not purchase their products could not access the Download Center
page.

After this step, you will continue to register on this page, and then go back and you will see such an
interface.

Powerful Baidu cloud


I posted my share link.

IC617
MMSIM151
InstallScape
Calibre2015

I will post the corresponding link to the next blog about the download link for lincense and patch.

Description of the version


The following describes the relationship between the base version and the hotfix version.

 The Base version is the complete initial version of the software, which has all the software running
features;
 The Update version is an enhanced version of the various improvements after the Base version,
which can completely replace the Base version;
 The Hotfix version is a patch for the timed publication (divided into monthly or quarterly versions)
of the Base or Update version. It does not have the full functionality of the software, and the latest
Hotfix usually contains the previously published Hotfix content.
 If the Cadence software has an Update version, just download the Update version without
downloading the Base version.
 The Hotfix version simply downloads the latest version without wasting time downloading each of
the previous Hotfix versions;
 The installation order is to install Base or Update first (if there is Update), then install Hotfix on
Base (or Update) (single installation of Hotfix will not work). When the hotfix is installed, the
subroutines that need to be replaced in the Base or Update version are removed before the
corresponding new subroutine is installed.

In the link I shared, IC617 is the base version, MMSIM151 is the hotfix version (this is only used to
install the hotfix
Part4: IC617, MMSIM151, calibre2015 installation
process step by step:
https://blog.csdn.net/maxwell2ic/article/details/52162886

The following operations are performed under root privileges.

Create an installation directory


It is recommended to install this large software in the /opt directory.

mkdir -p /opt/cadence/installscape
mkdir -p /opt/mentor/Calibre2015

The –p parameter is to directly create the parent directory. Because IC617 and MMISM151 will create
their own installation directory, there is no related directory built here. Calibre is installed by default in the
directory where the installation package is located, so it needs to be established in advance.

Unzip the installation package


Unzip the previously downloaded installation package to the appropriate directory, where IC617 and
MMSIM151 can be placed anywhere, and calibre is recommended to extract it to the
/opt/mentor/Calibre2015 directory.

Pay attention to the integrity of the installation package you downloaded.

IC617

MMSIM151

Calibre

Install and start InstallScape


Copy installscape compressed packet to /opt/cadence/installscapethe

Then go cdto this path and execute the command


zcat IScape04.23-s010lnx86.t.Z | tar -xvf-

This will generate the installed installscape in the directory, and then start the installscape

sh /opt/cadence/installscape/iscape/bin/iscape.sh

Note: If this step to say what javaVM the question of what is the operating system environment is
not configured, follow my blog series of this one configuration.

Set the default installation directory

install software
IC617
Find the directory you extracted to before,
Then basically it's all sorts of next steps, all kinds y.

At this point in time, candidate 2 will do.

When making settings oa, choose the default oa path. I have forgotten the screenshots in such an
important place here. I found a map on the Internet that I installed IC616.
MMSIM151
The steps for installing MMSIM 151 are basically the same as IC617.
The difference is that the oa directory must be set to the oa directory of the previous IC617.
My oa directory is as follows, the version version of the different versions will be different.

For the oa directory, please see this for specific explanation .

Calibre
Calibre is a back-end verification software that has become an industry standard, and cadence is not a
company. Please see here for details .

Because Mentor's software was found to be installed by default in the directory where the source files are
located, I want to copy them where I want to go. I have previously
aoi_cal_2015.2_36.27_mib.exeextracted this file into the /opt/mentor/Calibre2015directory, then
enter the directory and execute the command in the terminal:

./aoi_cal_2015.2_36.27_mib.exe

If you encounter permission problems, just go straight chmod 777.


If you encounter uudecodeproblems, sharutils-4.6.1-2.i386.rpmpack it.

Then follow the prompts in the middle to complete the installation.

Patch
Patch download link
Cadence_patch
calibre_patch

Patch IC617 and MMSIM151


In fact, the patch method isreadme里面写的很清楚

The only patchand sfkthe two documents placed in the cadence installation directory (which are in fact
put the line), cdinto the working directory, and then execute the command

./cadence_patch.sh /opt/cadence/IC617
./cadence_patch.sh /opt/cadence/MMSIM151

There will be some errors in the middle, it doesn't matter.


Patch calibre

In fact, this can also be read by readme.

Will patch_calibreand sfkthese two files in the


/opt/mentor/Calibre2015/aoi_cal_2015.2_36.27directory, then execute the command

chmod a+x patch_calibre sfk


./patch_calibre aoi_cal_2015.2_36.27

Install license
Some background on licensing can be found here , and here .

License download link

Cadence_license
calibre_license

Generate license.dat file

According to the readme, it can be generated under the Linux platform or under license.datthe
Windows platform license.dat.

The key point is that this is a new version of the license. There is no more server, deamon, etc. in the
file. The correct license file should only contain the FEATURE field, so you need to generate the
first 4 lines of the license.dat file (before the FEATURE field). delete
Calibre_license
Cadence_license

Put these two license files in the corresponding directory, for example

/opt/cadence/IC617/share/license/
/opt/mentor/license/

Bashrc environment variable configuration


This is the most important step. Please see here for a more detailed explanation .

Download link here: bashrc


After opening it, I can probably guess what it means inside, and the main thing to change is

export CADHOME=/opt/cadence
export CDS_LIC_FILE=$CADHOME/share/license/license.dat
export MGC_HOME=/opt/mentor
export CALIBRE_HOME=$MGC_HOME/Calibre2015/aoi_cal_2015.2_36.27
export MGC_LICENSE_FILE=$MGC_HOME/license/license.dat
export MGC_CALIBRE_SCHEMATIC_SERVER=Simon-CentOS
export MGC_CALIBRE_LAYOUT_SERVER=Simon-CentOS

Probably only need to change the list of these, in short, it is necessary to change to your corresponding
installation directory, and the location of the license, you can change it according to your own situation.
There are a lot of other software inside, we don't have it, no matter what.
Start virtuoso
Put this bashrc in your project file and rename it .bashrc, for example, I put it in
/home/Projects/Test1/, then execute the command with terminal in the directory.

. .bashrc
virtuoso &

One of the two points in the first command has a space in between, and the second
command is to start virtuoso

Duang! CIW has started up!


Integrated calibre development environment
Download these two files

The first one is the configuration instructions, you can also put the second one directly .cdsinitunder the
project file (that is, the folder you just put bashrc), and then re-execute

. .bashrc
virtuoso &
You can see that calibre is already integrated into CIW! But when you first start, you will get an error.

Calibre DRC error: RVE socket server number has not been initialized

Use -1 for automatic socket and don't fill in the host name. But in most cases socket 9189 should work.
Fill 9189 in the socket and your hostname in the localhost

Then you can use calibre.

 2018.01.31 update
Problem resolution for calibre port update: You can add the following statement to bashrc
export MGC_CALIBRE_LAYOUT_SERVER=localhost:1989
or
export MGC_CALIBRE_LAYOUT_SERVER=127.0.0.1:1989

 2018.01.31 update
About the calibre installation package: calibre has two file formats, aoi for RHEL 6, ixl for RHEL
5, so the installation needs to choose according to their own linux version.

Part5: ncsu-cdk installation


https://blog.csdn.net/maxwell2ic/article/details/52219705

The following steps are recommended to be performed under root, and then copy the entire project file to
a user after configuration.

See baker's personal homepage for more detailed text .

Create a directory
mkdir -p /opt/PDKs
mkdir -p /home/Projects/CMOSedu

The first one is the directory of pdk, and the pdk of other processes will be put in it later. The second is the
project directory.

Download PDK
It can be downloaded from the official website of NCSU or downloaded from my Baidu cloud .

Extract the ncsu-cdk-1.6.0.beta file and copy it to the /opt/PDKsdirectory.

Configuration project directory


opt/PDKs/ncsu-cdk-1.6.0.beta/cdssetupCopy all the files in the directory to the project directory
$HOME/CMOSeduthat was originally created .
Then cdsinit, simrc, cdsenvthese documents into .cdsinit, .simrc, .cdsenv. (I just added a dot in
front and turned it into a hidden file. Note that you want to make sure your system is set to be hidden and
visible, which is convenient for later work)

At the same time we want to integrate calibre as before, and still add the code snippet in the calibre_config
document .cdsinit.
Or you can directly replace my cdsinit into your project file, and add some useful settings, please see here
.

Then cds.libadd the bottom three lines to this file.

DEFINE analogLib /opt/cadence/IC617/tools.lnx86/dfII/etc/cdslib/artist/analogLib


DEFINE functional /opt/cadence/IC617/tools.lnx86/dfII/etc/cdslib/artist/functional
DEFINE sbaLib /opt/cadence/IC617/tools.lnx86/dfII/etc/cdslib/artist/sbaLib
This directory you change according to your actual situation, such as the IC615 you use.

Modify files such as DRC with bugs.


To $HOME/ncsu-cdk-1.6.0.beta/lib/NCSU_TechLib_ami06this directory divaDRC.rul , divaEXT.rul
, and divaLVS.rul three deleted files, download new diva_rule_files.zip replace inside.

Bashrc
Download link here: bashrc

According to the previous blog , you can change it.

Copy to a user
If a user needs this process library, just copy the entire working directory to him, for example.

cp -R /root/Projects/CMOSedu /home/someuser/Projects/
chown -R someuser /home/someuser/Projects/CMOSedu

It’s like this after startup.

You might also like