Product Documentation
Virtuoso Studio Design Environment User Guide
Product Version IC23.1, November 2023

Virtuoso Studio Design Environment Files

Virtuoso loads settings in the following order:

  1. .Xdefaults
  2. .cdsenv (environment settings)
    • You can load the .cdsenv file as follows:
      On the input line of the CIW, type the following command and press Return:
      envLoadFile("~/.cdsenv")
      The command and its result appear in the output area.
    • You can specify a custom search order for .cdsenv by setting the CDS_LOAD_ENV environment variable to one of the following values:.

      False

      Load neither ~/.cdsenv nor CWD/.cdsenv

      CWD

      Load currentWorkingDirectory/.cdsenv instead of ~/.cdsenv

      addCWD

      Load ~/.cdsenv, then load currentWorkingDirectory/.cdsenv

      CWDElseHome

      Load currentWorkingDirectory/.cdsenv if it exists,
      otherwise ~/.cdsenv, if it exists

      CSF

      Load .cdsenv files according to the Cadence Setup Search File mechanism

      Specifying .cdsenv in your csfLookupConfig file is equivalent to setting CDS_LOAD_ENV to CSF.

      Environment variable: csfLookupConfig


      The following rules apply:
      • The CDS_LOAD_ENV setting is not case-sensitive.
      • If CDS_LOAD_ENV is not set or is not set to one of the above values, the default search order is used.
      • The CDS_LOAD_ENV setting determines the default save directory as follows:
        Setting Default Save To File

        False

        ~/.cdsenv

        CWD

        currentWorkingDirectory/.cdsenv

        addCWD

        currentWorkingDirectory/.cdsenv

        CWDElseHome

        currentWorkingDirectory/.cdsenv if it exists, else HOME/.cdsenv

    • You can specify the colors used in the Command Interpreter Window (CIW) when displaying the following items:
      • Error and warning messages that appear in the output area
      • Parentheses-matching and command-matching highlighting on the input line

      These color specifications are loaded only during startup and cannot be changed interactively. The software uses a 24-bit TrueColor visual by default. If it cannot find it, it looks for a 16-bit TrueColor visual. If it cannot find that either, it looks for a 15-bit TrueColor visual. If it cannot find any of these, the software fails to run.
      To specify colors used in the CIW, add one of the following ciw environment variables to your .cdsenv file for each color you want to specify:
      ciwWarnColor
      ciwErrorColor
      ciwMatchParenColor
      ciwMismatchParenColor
      ciwMatchCmdColor
      You can specify a color (color) using either its X color name (such as "orange" or "red") or its encoded RGB name (such as "#dcdcdc" for light gray or "#cce8c3" for light green).
      You can change the background of the CIW to gray by setting the CDS_GRAY_BG environment variable (setenv CDS_GRAY_BG) before starting any tools which use the Cadence style. To switch the gray background off, use unsetenv CDS_GRAY_BG.
  3. .cdsinit (initialization instructions)
    Executable SKILL commands in your .cdsinit file takes precedence over settings in your .cdsenv file if you have both files in your home or workarea directory.
  4. display.drf (display resource file)
    The display resource files get loaded in the specified order:
    • The Cadence-supplied default display resource file
      your_install_dir/share/cdssetup/dfII/default.drf
      This file is used with the Virtuoso Schematic Composer.
    • A local display resource file you specify using the drfPath variable in your .cdsenv file.
      graphic drfPath string "path/display.drf"
      Use this optional file to provide required display resource definitions. Naming the file as display.drf is recommended but not required.
    • Optional site $CDS_SITE/display.drf and project $CDS_PROJECT/display.drf display resource options files. Your system administrator can place these files in the site and project directories, if those directories are set active at your site. These files must be called display.drf.
    • Personal display resource file (~/display.drf)
      This is an optional file that you can customize and place in your home directory. This file must be named as display.drf.
    • The current directory (./display.drf)
      This is an optional file that you can customize and place in the directory from which you are initiating the software. This file must be named as display.drf.

    After initialization you can also load a display.drf file using SKILL function
    drLoadDrf("/path/display.drf")

Related Topics

User Preference Options

Opening Cdsenv Editor in CIW

License Checkout Behavior in .cdsenv


Return to top
 ⠀
X