• 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. Skill Callback Order

Stats

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

Skill Callback Order

skillseeker
skillseeker over 13 years ago

Hello

How can i controll the skill callback order...

 

?callback list("funcA funB funcC").....

 

I want funcA to execute first and then funcB and so on,..

 

Thanks

 

  • Cancel
  • skillUser
    skillUser over 13 years ago

    Hi SKILLseeker ,

    You have the right sort of idea, though the callback probably needs to be a single string (this depends on what it is a callback for, some will accept a list, but the meaning is different, then you are supplying OK, Cancel ... callbacks). Something like this then:

     ?callback "funcA() funB() funcC()"

     I hope this helps you.

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillseeker
    skillseeker over 13 years ago

    Hi skillUser,

    This will not work for me as I am using “hiCreateButtonBoxField”. This will not accept this sort of syntax…

    Thanks

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

    Devendra,

    If there are (say) two buttons in your button box, it would be:

    ?callback list("funcA() funcB() funcC()" "funcD() funcE() funcF()")

    When the first button is pressed, it will execute funcA(), then funcB(), then funcC(), and when the second button is pressed - well, I'm sure you can guess. All that you'd done is built a sequence of functions to be executed.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillseeker
    skillseeker over 13 years ago

    Andrew,

    I only have one button which will populate three boxes and once that is populated I need the second function to execute. Is it possible to achieve this. If so could you provide me with an example..

    Thanks

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

    Devender,

    I have no idea what you mean. If you only have a single button, why are you using a button box? I think you're going to have to give some pictures and your code so far to stand any chance of understanding what you're trying to do.

    Regards,

    Andrew.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillseeker
    skillseeker over 13 years ago

    Andrew,

    Please find the attached picture… What I want is when I hit the “Browse To Select TOP Cell” to select “library cell and view” it should run a routine on the selected cell view to extract the hierarchy. I have a separate function called “Extract Hierarchy” which is part of the callback list like shown below…

        LayoutBrowse=

          hiCreateButtonBoxField(

            ?name     'LayoutBrowse

            ?choices  list( "Browse To Select TOP Cell" )

            ?callback

            list( "ddsSyncWithForm( eval(CCStabForm->tabField->page3) 'browse 'LayoutLib 'LayoutCell 'LayoutView ) ExtractHierarchy()" )

            ?prompt      " "

          ) ; hiCreateButtonBoxField


    Thanks


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

    Devender,

    I don't think it really makes sense to call the ExtractHierarchy() after ddsSyncWithForm(...). It would be better to have callbacks on the lib, cell and view name fields, where the callback would check that all three are filled out and then call the ExtractHierarchy. Otherwise the callback would be invoked when the library browser had been invoked, and not when the user had chosen a lib/cell/view. 

    The benefit of doing it as callbacks on the lib/cell/view fields would be that it also triggers if you type in the lib/cell/view names.

    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