• 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. what‘s the function of LDToggleDim()???

Stats

  • Replies 3
  • Subscribers 148
  • Views 352
  • Members are here 0

what‘s the function of LDToggleDim()???

YS202601303439
YS202601303439 16 days ago

I want to know the function of the command in my Bindkey settings,and I find the command "LDToggleDim()", but when i search in the cdnhelp ,I cant  find it

so i want to know if   its  a real command in cadence?

  • Cancel
  • Sign in to reply
Parents
  • Aurel B
    Aurel B 13 days ago

    Hi,

    You can try (whereIs LDToggleDim) to check if a function is built-in or custom. It should even give you the source file of the function (if loaded in debug mode).

    Here is a solution to find the source of functions which works most of the time : 

    1. Do your usual project setup but stop just before starting virtuoso.
    2. Instead of running Virtuoso as usual, run virtuoso -nocdsinit

    If you are usually running a wrapper provided by your CAD, the following should do (before running the wrapper) :
    - csh: alias virtuoso \virtuoso -nocdsinit \!*
    - bash: virtuoso() { \virtuoso -nocdsinit $* ;}
    - otherwise, you can always create <any_dir>/bin/virtuoso as a wrapper which will run the second virtuoso executable available from path and add <any_dir>/bin/virtuoso to the beginning of $PATH.

    1. Once your Virtuoso without customization is running, paste the following in the CIW :

      (sstatus debugMode t)
      (sstatus keepSrcInfo t)
      ;; The following should work out-of-the-box
      ;; Otherwise, replace `ddGetStartup` call by the hardcoded .cdsinit path
      (load (ddGetStartup ".cdsinit")) 
    2. Once this is done, this SKILL command should give you the source file : (whereIs LDToggleDim)

    This might not work in all cases, for instance if loading the .cdsinit changes the sstatus switches.
    (This is often done by CAD as debugMode uses more licences)

    Hope this helps,
    Aurel

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Aurel B
    Aurel B 13 days ago

    Hi,

    You can try (whereIs LDToggleDim) to check if a function is built-in or custom. It should even give you the source file of the function (if loaded in debug mode).

    Here is a solution to find the source of functions which works most of the time : 

    1. Do your usual project setup but stop just before starting virtuoso.
    2. Instead of running Virtuoso as usual, run virtuoso -nocdsinit

    If you are usually running a wrapper provided by your CAD, the following should do (before running the wrapper) :
    - csh: alias virtuoso \virtuoso -nocdsinit \!*
    - bash: virtuoso() { \virtuoso -nocdsinit $* ;}
    - otherwise, you can always create <any_dir>/bin/virtuoso as a wrapper which will run the second virtuoso executable available from path and add <any_dir>/bin/virtuoso to the beginning of $PATH.

    1. Once your Virtuoso without customization is running, paste the following in the CIW :

      (sstatus debugMode t)
      (sstatus keepSrcInfo t)
      ;; The following should work out-of-the-box
      ;; Otherwise, replace `ddGetStartup` call by the hardcoded .cdsinit path
      (load (ddGetStartup ".cdsinit")) 
    2. Once this is done, this SKILL command should give you the source file : (whereIs LDToggleDim)

    This might not work in all cases, for instance if loading the .cdsinit changes the sstatus switches.
    (This is often done by CAD as debugMode uses more licences)

    Hope this helps,
    Aurel

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett 13 days ago in reply to Aurel B
    Aurel B said:
    This is often done by CAD as debugMode uses more licences

    Actually, turning on the debugMode switch does not need more licenses. BTW, keepSrcInfo is usually on (I've never seen anyone turn it off, but probably a good belt-and-braces approach to ensure it's on). What checks out the SKILL Development license is using any of the debugger/IDE features or SKILL functions.

    Other than that, this is a great suggestion (I should have made it myself, as it's what I do to track down such functions!)

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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.

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

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