• 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 Design
  3. How to create a new window having button associating with...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 126
  • Views 13231
  • 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 create a new window having button associating with MPP templates?

frogconsultant
frogconsultant over 15 years ago

Dear All,

 I am starting using the 6.x virtuoso and I would like to improve my setup by having my custom MPP templates directly access through a separate window instead of accessing through the pull down menu. Is it possible to do it? Can someone point me to a starting script to create this new window?

Thanks in advance for your help. 

  • Cancel
  • frogconsultant
    frogconsultant over 15 years ago

     I figure out I was not clear enough in my request.

      After creating a few handy MPP, I would to create a separate window where I could have access to these custom MPP directly through this window. This window will have mulitple button with the names of the MPP functions in order to directly select the MPP of interest without passing through the pull down menu.

    Let me know if you have any idea or suggestion.

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

    That's not actually that easy. You could have something which built a form using techGetMPPTemplateNames() to find out the available templates  and presented this as a choice on a form. Then used an enter function to allow you to digitize the points (although you wouldn't be able to get it to rubberband quite the same way as the Create MPP form would), and finally use something like my CCSdrawMPPUsingTemplate function (or abDrawMPPUsingTemplate if you have that!) as described in http://support.cadence.com/wps/mypoc/cos?uri=deeplinkmin:ViewSolution;solutionNumber=11323850 to actually create the MPP.

    This seems to me as if all it is doing is exactly duplicating the functionality of the Create MPP form. Wouldn't it be simpler just to create a bindkey for leHiCreateMPP() ? Then you wouldn't have to access the menu. Or you could just use Alt-c-t to do this already (in IC61).

    Regards,

    Andrew.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AmitBiswas
    AmitBiswas over 14 years ago
    Hi Frogconsultant What I understood from your question is basically it is a duplicate form of existing MPP form without a pull down menu and having only the MPP that you have created.There are several ways to do it, One suggestion I can give you If you have already created few MPP , then put them in .cdsinit file so that when cadence will be starting up those will be loaded. Now Create a form with multiple buttons having the proper MPP name as you want. For each button's callback you can write a function like this procedure(function(Multipartpath_Name) hiiSetCurrentForm('leRodMppForm) ; to select the MPP form in the background leRodMppForm->rodMPPTemplate->value = Multipartpath_Name ; to select the MPP from the list leHiCreateMPP() ; to draw the MPP );procedure Here Multipartpath_Name is a string variable which is the name of MPP mentioned during creation of the MPP Example: For each MPP button you can write callbacks like this function("MPP_M1_M2") function("MPP_M2_M3") , Please do remember that MPP_M1_M2 or MPP_M2_M3 , these names should be same as you have mentioned the MPP name during the creation of them because this name will choose the correct MPP template from the list. Hope It will solve your problem, if I have understood the question. If you have any more doubt in this please let me know. Thanks Amit
    • 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