2025年6月8日 星期日

Install TSMC N16 ADFP PDK






1. Extract TSMC N16 ADFP tar file

   TSMC N16 ADFP (Academic Design Foster Package) is an advance process
   design kit provided by TSMC. It is used for academic only, and only
   some universities is licensed to use it. NSYSU is one of them.

   In order to use TSMC N16 ADFP in virtuoso ICADVM, we need to extract
   it to our home directory. Please use your account to run

   $ tar xfva N16ADFP_iPDK.tar -C ~/

   It will extract all files to your ~/N16ADFP_iPDK

2. Create a new library

$ cd ~/N16ADFP_iPDK
~/N16ADFP_iPDK$ source /opt/EDA/bashrc_icadvm
~/N16ADFP_iPDK$ virtuoso 

We can create a new ADFP library using "Attach to an existing technology 
library", and attach it to tsmcN16. Then you can create you own new library.


3. Test run

Now, we can create a new inv layout view to see whether it has calibre
on it or not. There is no calibre in the menu list.

We need to add calibre to the menu list. Before we continue, we need to exit
ICADVM first.


4. Integrate calibre into virtuoso ICADVM

4.1 check CALIBRE_HOME environment variable:

$ env | grep CALI
CALIBRE_HOME=/opt/EDA/calibre/cur

You should see an environment variable called CALIBRE_HOME

4.2 edit .cdsinit

~/N16ADFP_iPDK$ vi .cdsinit
load( strcat( getShellEnvVar("CALIBRE_HOME")
"/shared/pkgs/icv/tools/queryskl/calibre.skl" ))

and save it.

*** If .cdsinit does not exists, you need to create a new one ***

After this configuration, we can run virtuoso again.


5. Test run again.

~/N16ADFP_iPDK$ virtuoso &

If your .cdsinit file is correct, you should see the following messages:

//
//  Calibre Skill Interface * (v2024.4_12.9) *
//
//                         Copyright Siemens 1996-2020     
//                             All Rights Reserved.
//         THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION
//            WHICH IS THE PROPERTY OF MENTOR GRAPHICS CORPORATION
//              OR ITS LICENSORS AND IS SUBJECT TO LICENSE TERMS.
//
//

Now, we can open an inv layout view to see the menu list.

However, if you run virtuoso from other directory. You may not be able
to use calibre inside virtuoso. Because .cdsinit file is only effective form
the directory you start virtuoso. Thus you need to create/copy .cdsinit file
form ~/N16ADFP_iPDK directory. The command is :

~$  cp  ~/N16ADFP_iPDK/.cdsinit  .

Then you can run virtuoso again.

沒有留言:

張貼留言