• 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 add a menu item to the export in CIW

Stats

  • Locked Locked
  • Replies 12
  • Subscribers 143
  • Views 17755
  • 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 add a menu item to the export in CIW

venuuuuu
venuuuuu over 13 years ago

 hi all,

I need to add a menu item "Run GDS to Library" (Which writes out GDS files for all layout views in a library) to export in CIW.

Let me know how to do it .

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

    OK, starting from this last question. You need to call ciwMenuInit() in the .cdsinit before you try to insert the banner menu.

    For the previous question, several issues:

    1. The gds() function is checking for the existence of a variable called CCSgdsForm, yet the function CCScreategdsForm() is creating a form called CCScelltoGdsForm. So it checks for the existence of it, and then creates a different form.
    2. Rather bizarrely gds() is calling enterString(). Why? Surely you want to use hiDisplayForm() instead? That will avoid having to have the function CCSgdsDoneProc at all.
    3. If you do that, you will need to create the form as a 'nonoptions form rather than an 'options form.
    4. The CCSchangeDirectory() function is also referring to the wrong form name.
    5. CCSchangeDirectory() is calling applyEnterFun() which wouldn't be necessary if this is done properly (i.e. without an enter function)
    6. When you create the form, you'll probably want to use ?callback to specify a function which is called when the OK/Apply button is pressed.

    I've not followed through or tried to debug the entire code - but it's a bit messed up, so I suggest you try to unravel things using the suggestions above first.

    Regards,

    Andrew.

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

    OK, starting from this last question. You need to call ciwMenuInit() in the .cdsinit before you try to insert the banner menu.

    For the previous question, several issues:

    1. The gds() function is checking for the existence of a variable called CCSgdsForm, yet the function CCScreategdsForm() is creating a form called CCScelltoGdsForm. So it checks for the existence of it, and then creates a different form.
    2. Rather bizarrely gds() is calling enterString(). Why? Surely you want to use hiDisplayForm() instead? That will avoid having to have the function CCSgdsDoneProc at all.
    3. If you do that, you will need to create the form as a 'nonoptions form rather than an 'options form.
    4. The CCSchangeDirectory() function is also referring to the wrong form name.
    5. CCSchangeDirectory() is calling applyEnterFun() which wouldn't be necessary if this is done properly (i.e. without an enter function)
    6. When you create the form, you'll probably want to use ?callback to specify a function which is called when the OK/Apply button is pressed.

    I've not followed through or tried to debug the entire code - but it's a bit messed up, so I suggest you try to unravel things using the suggestions above first.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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