• 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. how to find the source code in virtuoso

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 143
  • Views 16968
  • 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

how to find the source code in virtuoso

acom
acom over 11 years ago

Could you help me to solve these two questions?

I want to find the source code fot the self-defined function in virtuoso, i have two clues:

(1).the function name.

(2).the popup window invoked by the function.

 do you have any idea about how to find the source code for the function?

 

Thanks 

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    If you have the "SKILL Development" license, you can do:

    virtuoso -nocdsinit

    and then after it has started, do:

    sstatus(debugMode t)
    load(".cdsinit")

    and then you can type:

    whereIs(theFunctionName)

    This will tell you the file (and line number) where the function is defined. The code has to be loaded in "debug" mode though.

    Kind Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • acom
    acom over 11 years ago

    thanks so much, Andrew.it worked.

    but i still cann't find the real source code i want.It is a popup window.when i clicked the pulldown from the virtuoso, the window would appear. when i clicked on the apply button in the popup window, some operation will be exectued.i would like to optimize the operation.But cann't find the source code.Do you have any suggestion for this?

    Thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Your question doesn't really give me anything to go on...

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • acom
    acom over 11 years ago

    I mean for a popup window.it must have a variable or callback function for it.

    i just want to find out the callback function.

    i am just inspired by you.may I use the script like below to find the callback function?

    cv=geGetCurrentCellView()

    cv~>(or ->)to find its callback function or variable?

     Please help me to finish the script if it is possible

    Sorry, i am beginner in skill.not so familiar with it.

    thanks so much for your help. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    OK, if you have a form open and you want to find out the function that is called when you OK the form, you can do the following:

    1. Click in the form to ensure that it is "current" - i.e. it is the active form.
    2. In the CIW, type:
      form=hiGetCurrentForm()
    3. Then find the callback for the form, by typing: form->_doneAction
    4. If it's a field callback you're trying to find, you can also do form->fieldList to find all the fields, and if the field name is now, you can do form->fieldname->?? and you can then see all the attributes of that field (including _callback).
    5. In addition, if you turn on the log filter settings (under Options->Log Filter) you can see the SKILL function generated when you OK the form or interact with a field.

    Regards,

    Andrew.

    • 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