Conclusions

The problems of phase 1 below were due to running the

xkit -t xh018

script from a directory that already contained entries resulting from another technology.  That confused it well and good.

 

Phase 1

Research Links

If you want to customize the environment and/or the way Cadence starts, you can copy the following files to your home directory and change them accordingly (consult the Cadence online documentation for more info):

    /usr/local/cadence/local/.cdsenv – environment settings
    /usr/local/cadence/local/.cdsinit – initialization settings
    /usr/local/cadence/local/cdssetup/cds.lib – library index

The cds.lib file becomes important if you want access to additional technologies that are not part of the default Cadence installation. A technology is a collection of device parameters, models, and fabrication data that is available to Cadence for use in designs.  Using the default library list is fine, but if you need access to additional technologies, you will need to manually add them to the cds.lib file.

 

    The following environment variables should already be set by your default shell profile, but if you encounter trouble running Cadence, you can double-check to make sure they are set correctly.
    CDS_INST_DIR=/usr/local/cadence/ic50
    To verify, enter echo $CDS_INST_DIR
    To set, enter export CDS_INST_DIR=/usr/local/cadence/ic50
    PATH should include /usr/local/bin
    To verify, enter echo $PATH
    To set, enter export PATH=$PATH:/usr/local/bin

echo $CDS_INST_DIR = /usr/EDATools/cadence/ic615

echo $T_DIR = blank

echo $X_DIR = /usr/EDATools/dk/XFAB

Lines from Setup.Cadence

    9)export X_DIR=/usr/EDATools/dk/XFAB

 


Round 1 results

Diretorio de trabalho corrente: /home/fred.

    Se esse nao for o caminho correto, mude para o diretorio correto
    antes de rodar este script.

#
# Escolher o Design Kit
#

       [1] TSMC035        0.35um (2 Poly and 3 Metals)
       [2] TSMC035        0.35um (2 Poly and 4 Metals)
       [3] IBM180nm        0.18um
       [4] IBM130nm        0.13um
       [5] XFAB180nm        0.18um
       [6] ONSEMI500nm        0.50um
       [7] XFAB035        0.35um
       [8] IBM90nm        90nm
       [9] XH018 XFAB        0.18um
       [S] Sair

       Escolha o Design Kit [1]> 9

    Configuracao do Ambiente Cadence concluida!


    Digite no prompt xkit &  para iniciar a ferramenta


    A documentacao do Design Kit encontra-se na pasta doc

fred@lci-10:~> xkit -t xh018
Chosen technology xh018.

Check for PDK updates …


 Package PDK is installed in /usr/EDATools/dk/XFAB but not available in ./.xkit. Please consider to run
   xkit -u
   to update the local PDK tree.
Read .cdsinit…


ERROR: PDK xh018 is not installed at $X_DIR!
       Please install the PDK at $X_DIR,
       or use option –tdir to include the packages installed at $T_DIR,


xkit – X-FAB Cadence PDK setup script

Usage: xkit [OPTION]…
Setup or update of a project directory for Cadence IC6.1 using X-FAB's design kit packages

Mandatory arguments to long options are mandatory for short options too.
   -h|–help              : this (help) message
   -v|–version           : print xenv / xkit package version
   -t|–te|–tech technology      : specify X-FAB technology to use
   -i|–info              : only print possible PDK module combinations
   -m|–modules [module_code]      : PDK module update, use optional PDK module code if defined
   -u|–up|–update          : library version update
   -s|–setversion versionsfile   : library version update to the versions defined in versionsfile
   –useversion version           : use defined 2-digits major version for PDK library version update
   –only                         : use only the defined PDK version – only applicable with –useversion
   –allversions                  : use all installed PDK versions for package selection
   -c|–clone master          : clone project setup from master directory
   -n|–norun              : no start executable, only update init files
   -q|–quiet                     : suppress non-error messages
   –tdir              : also include tkit-compliant PDK packages installed at $T_DIR
   –getversion                   : only create versionsfile which can be used as input for -s option
   –in|–internal          : use internal DRC runset

 

Examples:
         xkit -t xp018 -n
         use technology xp018, starts xp018 module query loop, no start of virtuoso

         xkit -t xa035 –modules 1021 -n
         use technology xa035, use module code 1021, no start of virtuoso

         xkit -t xh018 –useversion 4.0
         use technology xh018, use major version 4.0 for PDK library packages

         xkit -t xh018 –info
         prints all possible PDK module combinations for technology xh018

 

Phase 2

In phase two I had a virtual machine running on a laptop that I needed to install the design kit on.  It gave me trouble seeing USB ports on the OpenSuse virtual machine.  The VirtualBox software version is:  4.3.10

Research Links

  • Installed VirtualBox Version 4.3.10
  • In order to get the VirtualBox to run with 64 Bits I had to enable VT-X in the BIOS of my computer. 
  • Installed the Extension Pack > All platforms to get the USB functionality extension
  • USB Settings
  • Getting USB 2.0 Running in VirtualBox 4.3  This did not work.  It has useful information but appears the command syntax to add a user is incorrect??
  • How to add users to vboxusers – I did this which should be the same command as the cammand that finally worked below but it did not.  Perhaps I did not reboot the computer afterwards at this point as I did with the final step that worked.
  • Try this command in the Host OS:    sudo usermod -aG vboxusers USERNAME     Reboot the machine. I interpreted this to mean "reboot the computer"
  • An NTFS external USB hard drive was never seen when I tried using it to transfer the design kit files.
  • I used an EXT3 linux external hard drive to tranfer the design kit files.  The virtual machine did not have trouble seeing it when it was connected.
  • I found that using a Windows 7 host system running the Linux virtual machine seems to be a better done piece of software.  I experimented with a newer version so that may be the reason.  Doubt remains here.

And with this I can proceed to the real design job.  Cadence inspires much cursing in this world.

Files Required

 

First Run of XFAB Script Sets up libraries

 

lci@lci-vm:~/Documents/Test_V01> source /usr/EDATools/scripts/setup.cadence


    ###################################################################
    #                                                                 #
    #        Laboratorio de Circuitos Integrados – LCI                  #
    #                                                                 #
    #               CONFIGURACAO DO AMBIENTE CADENCE                  #
    #                                                                 #
    #                                                                 #
    #                                                                 #
    ###################################################################


    Diretorio de trabalho corrente: /home/lci/Documents/Test_V01.

    Se esse nao for o caminho correto, mude para o diretorio correto
    antes de rodar este script.

#
# Escolher o Design Kit
#

       [1] TSMC035        0.35um (2 Poly and 3 Metals)
       [2] TSMC035        0.35um (2 Poly and 4 Metals)
       [3] IBM180nm        0.18um
       [4] IBM130nm        0.13um
       [5] XFAB180nm        0.18um
       [6] ONSEMI500nm        0.50um
       [7] XFAB035        0.35um
       [8] IBM90nm        90nm
       [9] XH018 XFAB        0.18um
       [S] Sair

       Escolha o Design Kit [1]> 9

    Configuracao do Ambiente Cadence concluida!


    Digite no prompt xkit -t xh018  para iniciar a ferramenta


    A documentacao do Design Kit encontra-se na pasta doc

lci@lci-vm:~/Documents/Test_V01> xkit -t xh018
Chosen technology xh018.
  Please see ./.xkit/20150516_165923.setup for details.

Create .xkit…

Done creating .xkit…
Read xkit run control variables from /home/lci/.xfabcadrc …

 XH018 query loop module …

INPUT_METALS : 3
INPUT_CORE : 1
INPUT_TOPMTLS : 1
INPUT_MOS35 : 1
FINAL_CODE : 1131

You are now prompted to select the main modules of xh018 process.

This selection defines sets of devices which can be used together in one design
without design rule violations. The specific process variant and the number of
necessary mask layers depend on the devices which are used in the design.

 Core module is  1 – LP (Low Power 1.8V)

 MOS module is  1 – MOS3 (3.3 Volt MOS)

Please select METALS module:
 3 – 3 Thin Metals
 4 – 4 Thin Metals
 5 – 5 Thin Metals
Current setting is '3'. To keep current setting, please press ENTER!
:5

 TopMETAL module is  1 – Top Metal: METTP


You have chosen following process:
 Core Module:     1 – LP (Low Power 1.8V)
 MOS Module:     1 – MOS3 (3.3 Volt MOS)
 METALS:     5 – 5 Thin Metals
 TOP METALS:     1 – Top Metal: METTP

 Final Module Code: 1151

Is the selection correct? Please enter "n" to repeat selection.
 y – Selection ok
 n – Repeat selection
 y
Read target cds.lib file…

Creating library definition file xh018.lib …
Creating library manager combine definition file xh018_combine.lib …
Creating a new .cdsinit file…
Creating a new .cdsenv file…
Creating a new .simrc file…
Creating ./data.reg …
Creating a new verilog include file xh018.inc …
Creating a assura setup …
Update local .cadence directory …
— /usr/EDATools/dk/XFAB/x_all/cadence/xenv/v1_2_10/bin/xkit_tech … will start virtuoso now —
 

 

XFab MIM Capacitor Cross Sections

 

Categories: CadenceElectronics

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *