• 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. Unable to execute SKILL++ package functions from menu items...

Stats

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

Unable to execute SKILL++ package functions from menu items...

ToMWUT
ToMWUT over 16 years ago

Hello,

I've got a problem with triggering events using SKILL GUI functions. There is no problem for me to execute a SKILL function using menu item created like this:

item_ekstrakcja = hiCreateMenuItem( ?name 'item_ekstrakcja ?itemText "Extract conductiong layers" ?callback "some_function()" )

But when I try to execute a function which is a part of a SKILL++ package, using code like this:

item_ekstrakcja = hiCreateMenuItem( ?name 'item_ekstrakcja ?itemText "Extract conductiong layers" ?callback "toplevel('ils) some_package->some_function()" )

I've got no results... Nothing happens...

If there is no toplevel('ils) in my callback statement I get an error informing me that “some_package” is unbound variable... What can I do to be able to execute SKILL++ package functions?

Thanks,

ToM

 
  • Cancel
  • Andrew Beckett
    Andrew Beckett over 16 years ago
    You can't use toplevel to do this; it's a bit like starting a new shell, and the statements that follow will only get executed when the toplevel returns, and are not executed within the new toplevel.

    Instead you need to use the inScheme macro.

    So do

    item_ekstrakcja =hiCreateMenuItem( ?name 'item_ekstrakcja ?itemText "Extractconductiong layers" ?callback "inScheme(some_package->some_function())" )

    Note that if the package variable was exported with importSkillVar you should also be able to directly call it from SKILL without needing the inScheme.

    Regards,

    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ToMWUT
    ToMWUT over 16 years ago

     Worked - thanks :)

    ToM

    • 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