Startup XFAB018

From Nanoelektronikk

Jump to: navigation, search


Setting up XFAB018 for Cadence 6.1.6 OA


A basic understanding of how Linux works and how to use it is expected and not thought in this tutorial.

The software you are about to use is a comprehensive package with endless possibilities for setting it up the way you like. Typically you can copy setup-files from the shared locations, and put them in your own folder and edit them as you want. Setup-files will in general be read in succession and your local copy will be the most significant. Doing so wrongly could likewise lead to endless problems. The following setup is meant to suit most users. If you change it and do not figure out what went wrong, your best bet will be to make a new catalog/setup and import your old libraries into this new setup.
If your disk location changes (will happen when you become a master student), some of your paths might be wrong. The fastest fix will usually be to do the setup again and import the libraries you want to keep.
A thing to think a bit about when you use this software (in particular for INF4420) is that the software helps you with things that you are supposed to learn. If you let the software automatically take care of everything, you might find yourself at a loss when things does not work as you want them. So make sure you understands what you are doing.

It is complex, keep it simple.
When your disk location changes you need to edit the paths of your own libraries.
Good luck.

To run Cadence remote, use the login cluster, and make sure you have the file .bash_profile with the following line in it in your root directory:

. $HOME/.bashrc

Instantiating the PDK the first time only


Create a directory for this instance of the design kit. Run the init script in that directory. Source a file to set up the paths. Start Virtuoso.

What to do

Using the three following commands unedited will set the system up for you:

(If you have a previous Cadence setup, you will of course have to change the folder name.)

From a RHEL7 machine:

mkdir XFAB018
cd XFAB018
source /projects/nanos/script/XFAB018/XFAB018init

Here you can of course make your own folder names and things like that without any problems.

Then run the following script in the new catalog:

/projects/nanos/design_kit/XFAB018/x_all/cadence/xenv/xkit -t xh018 -n

As the script runs through you will get questions regarding the setup you want.

Select the option 4, for 4 thin metals, and then
Select the option 3, for Two thicker metal layers at the top - giving a total of 6 metal layers.
Then log on to a RHEL6 machine and start Cadence with the command:
virtuoso -64

Starting Virtuoso with the PDK every time

If you are not in the directory you made in the previous step, go there with the cd command.

source /projects/nanos/script/XFAB018/XFAB018init
virtuoso -64 &

If the kit is updated

Running the following command in your running directory from a RHEL 7 machine should give you access to any updates that has been done to the kit.

/projects/nanos/design_kit/XFAB018/x_all/cadence/xenv/xkit -u xh018 -n
Personal tools