• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. List of environment variables for defaults in virtuoso

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 143
  • Views 18198
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

List of environment variables for defaults in virtuoso

venkmanbuster
venkmanbuster over 4 years ago

Hi,

I am wondering if there is a document that lists all environment variables used in virtuoso.

For example, I don't want Spec/Weight and Min/Max displayed for every result in ADE XL/Maestro. I want them disabled by default. Do you know if there is a way?

Thanks!

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    It's this:

    envGetVal("adexl.gui" "detailViewShowDefault")

    envSetVal("adexl.gui" "detailViewShowDefault" 'string "\"Test\"  \"Corners\" \"Scalar Expressions\" \"Waveform Expressions\" \"Signals\" \"Corner Expressions\" \"Post Run Results\" \"Device Checks\" \"User-Defined Columns\" \"Run Statistics\"")

    in IC6.1.8 you can use Options->cdsenv editor and search for "column" for example. It found this (more by luck than judgement, as "Column" is in the list of values)

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • venkmanbuster
    venkmanbuster over 4 years ago in reply to Andrew Beckett

    Hi Andrew,

    Thanks for the reply. I appreciate it. The skill code worked. However, I can't find cdsenv editor in Options menu. I am using ICADVM181.090. 

    I am also interested to know if there is a way to open config in edit mode by default (generally it opens in read only mode and I have to manually change it to edit mode) when I right click a test on Assembler and select Design option. Please let me know if there is a way. Thanks for your time! 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to venkmanbuster

    That's odd. The menu is definitely there in ICADVM18.1-64b.500.9 :

    Maybe you have an outdated or site-customised "ciw.menus" file which doesn't contain this entry. You can check that by typing in the CIW:

    ddGetStartup("ciw.menus")

    If so, you probably need to get that updated or synchronised with the version in <ICinstDir>/tools/dfII/etc/tools/menus/ciw.menus

    You can invoke it by calling startCdsenvEditor() in the CIW.

    For opening in editable mode, there's a cdsenv for this too covered in this article:  Open Design in Tab from Data View opens schematic and configuration in read only mode (hint: search in the cdsenv editor for "openDesign" and you'll find the way to change the access mode to "a").

    Andrew.

    • Cancel
    • Vote Up +2 Vote Down
    • Cancel
  • venkmanbuster
    venkmanbuster over 4 years ago in reply to Andrew Beckett

    startCdsenvEditor() in the CIW worked! Thanks so much Andrew! I appreciate it.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • venkmanbuster
    venkmanbuster over 4 years ago in reply to venkmanbuster

    Also, do you know the env variable so that I can have @cellName rather than @partName when creating symbol by default? I tried to search for this on cdsenv list, but couldn't.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to venkmanbuster

    This is defined by the "tsg" template you're using. The definitions are defined by a SKILL variable tsgTemplateMasters which can be redefined in your .cdsinit - here's the default definition from <ICinstDir>/tools/dfII/samples/local/schConfig.il : 

    tsgTemplateMasters = list(
    	list("digital" (prependInstallPath "samples/symbolGen/default.tsg"))
    	list("analog"  (prependInstallPath "samples/symbolGen/artist.tsg"))
    	list("artist"  (prependInstallPath "samples/symbolGen/artist.tsg"))
    	list("PCB"     (prependInstallPath "samples/symbolGen/package.tsg"))
    	list("metric"  (prependInstallPath "samples/symbolGen/metric.tsg"))
    )
    

    If you copy the default.tsg from <ICinstDir>/tools/dfII/samples/symbolGen/default.tsg to your own location somewhere, and edit this to replace [@partName] with [@cellName], then add the new file to the tsgTemplateMasters variable:

    tsgTemplateMasters = list(
    	list("digital" (prependInstallPath "samples/symbolGen/default.tsg"))
    	list("analog"  (prependInstallPath "samples/symbolGen/artist.tsg"))
    	list("artist"  (prependInstallPath "samples/symbolGen/artist.tsg"))
    	list("PCB"     (prependInstallPath "samples/symbolGen/package.tsg"))
    	list("metric"  (prependInstallPath "samples/symbolGen/metric.tsg"))
    	list("mydigital" "/path/to/your/own/default.tsg")
    )

    Finally set this env var in your .cdsinit to pick your own to be used by default:

    envSetVal("schematic" "tsgTemplateType" 'string "mydigital")

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • venkmanbuster
    venkmanbuster over 4 years ago in reply to Andrew Beckett

    Hi Andrew, Thanks so much! Do you know the env variable to show just the Used layers by default when I open layout xl suite on virtuoso? 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • venkmanbuster
    venkmanbuster over 4 years ago in reply to Andrew Beckett

    Hi Andrew, Thanks so much! Do you know the env variable to show just the Used layers by default when I open layout xl suite on virtuoso? 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to venkmanbuster

    envSetVal("layout" "pteUsedOnlyScope" 'boolean t)

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information