Customizing the Virtuoso Environment

Parent Previous Next

Sonnet supplies a list of environmental variables for the Cadence Virtuoso Interface with your installation which you may use to customize your Virtuoso environment. The file “sonnet.cdsenv” is included in your release at the following location:

< Sonnet Directory>/sonnet_virtuoso_dk/cdsenv/sonnet.cdsenv

where < Sonnet Directory > is the directory in which your Sonnet software was installed. You edit the contents of this file; for details on the variables and settings please refer to the readme file:

 < Sonnet Directory>/sonnet_virtuoso_dk/cdsenv/sonnet_cdsenv_readme.txt

in the same folder.

Local Variables

If you wish to use the environmental variables only for yourself, you will copy the file “sonnet.cdsenv” into your $HOME directory.

Global Variables

If you wish to have the variables affect the settings of everyone using the Cadence Virtuoso Interface, do the following:

  1. At the command prompt, enter:

    cd <Cadence Directory>/tools/dfII/etc/Tools

where <Cadence Directory> is the directory in which the Cadence Virtuoso software is installed.

  1. If the directory “sonnet” does not yet exist, create it by entering:

    mkdir sonnet
  2. Copy the edited version of “sonnet.cdsenv” into the “sonnet” directory as .cdsenv.

    Alternately, you can edit the setup.loc file in <Cadence Directory>/share/cdssetup to include <Sonnet Directory>/data where <Sonnet Directory> is the directory in which Sonnet is installed. An example of this is included in <Sonnet Directory>/sonnet_virtuoso_dk/cdsenv/setup.loc.

Using the Cadence Setup Search File Mechanism

You may also use the Cadence Setup Search File mechanism to load your environmental variable file. Cadence software searches for environmental variables files (.cdsenv) in a particular search order; the search order is provided in the setup.loc file. The values from each file that is read overwrite those from the files read previously. You can control the search order with the CDS_LOAD_ENV shell environment variable. Setting this value to CSF uses the Cadence Setup Search File mechanism to find the .cdsenv files to load. For more details on the CDS_LOAD_ENV variable or the Cadence Setup Search File mechanism, please refer to your Cadence documentation.

To use your Sonnet file, do the following:

  1. Type “CDS_LOAD_ENV=CSF; export CDS_LOAD_ENV” at the command prompt.

    Setting this variable to CSF will cause the Cadence software to use the Cadence Setup Search File mechanism to find the .cdsenv files to load.
  2. Copy the sonnet.cdsenv file from the Sonnet Directory to your $HOME directory under the file name sonnet.cdsenv.

    This uses the Sonnet environmental variables no matter which Cadence version you invoke. You may also edit the setup.loc file.