• 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. Questions about a creating a menu from ADE

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 144
  • Views 13155
  • 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

Questions about a creating a menu from ADE

nrk1
nrk1 over 12 years ago

I want to create (skill code for) a new menu item in ADE which will help with modified circuit analysis(The analysis itself isn't modified. The circuit is modified several times, transient analysis run on it, and the results combined). I'd like pointers on where to look for the information below. I have already got the skill code working for modifying the schematic based on some information entered in the new menu form. I'm assuming that the transient analysis for the original circuit is setup correctly in ADE (from which the menu will be called) and I am hoping that I can run simulations on the modified circuit by using most of this setup and changing only the netlist. 

* If I create a menu from ADE, will it inherit the attributes(simulation setup, model setup, environment, variables etc.) of the parent session. How do I access these? I guess I'll need these to create the new netlist(in which essentially one element is replaced with another) and run the simulation. 

* I see an executable runSimulation and a skill file spectre*.ocn in psf/ directory. Which of these should I use to run the simulation?

Thanks

Nagendra 

  • Cancel
Parents
  • TaherKotb
    TaherKotb over 12 years ago

    Hello Negendra

    Here are some answers 

     I am not sure if you want to create a new menu or a new item in an existing menu so i wrote both.

     ;; Create a new pull down menu with menu items

     procedure( load_file()

             load( "/form1.il" )  ;; the file you want to link to the menu item and be loaded

             )

    ; get the menu item description 

     trMenuItemTwo = hiCreateMenuItem(?name 'trMenuItemTwo ?itemText "sensitivity analysis " ?callback "load_file()")

    ; create pull down menu adding the menu item description as an argument

     hiCreatePulldownMenu(

      'trPulldownMenu      

      "Results"       

      list( trMenuItemTwo )

    )

     ;; adding a menu item in an existing menu ( say Analyses )

    ; get the list of menus available in window of the ADE (   when you run this command ADE window should be the top window) 

     hiGetBannerMenus( hiGetCurrentWindow() )

    ->( sevSessionMenu1 sevSetupMenu1 sevAnalysesMenu1 sevVariablesMenu1

        sevOutputsMenu1 sevSimulationMenu1 sevResultsMenu1 sevToolsMenu1 sevHelpMenu1

    ) 

    add the menu item (trMenuItemTwo in the Analyses pull down menu) 

     hiInsertMenuItem( sevAnalysesMenu1 trMenuItemTwo  0 ) ; 0 is the position of the menu item in the menu (first)

    **END

    You can refer to the Skill User Interface reference (skuiref) for more info and you can create the sliding menuitem using hiCreateSliderMenuItem

     

    Best Regards

    Taher 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • TaherKotb
    TaherKotb over 12 years ago

    Hello Negendra

    Here are some answers 

     I am not sure if you want to create a new menu or a new item in an existing menu so i wrote both.

     ;; Create a new pull down menu with menu items

     procedure( load_file()

             load( "/form1.il" )  ;; the file you want to link to the menu item and be loaded

             )

    ; get the menu item description 

     trMenuItemTwo = hiCreateMenuItem(?name 'trMenuItemTwo ?itemText "sensitivity analysis " ?callback "load_file()")

    ; create pull down menu adding the menu item description as an argument

     hiCreatePulldownMenu(

      'trPulldownMenu      

      "Results"       

      list( trMenuItemTwo )

    )

     ;; adding a menu item in an existing menu ( say Analyses )

    ; get the list of menus available in window of the ADE (   when you run this command ADE window should be the top window) 

     hiGetBannerMenus( hiGetCurrentWindow() )

    ->( sevSessionMenu1 sevSetupMenu1 sevAnalysesMenu1 sevVariablesMenu1

        sevOutputsMenu1 sevSimulationMenu1 sevResultsMenu1 sevToolsMenu1 sevHelpMenu1

    ) 

    add the menu item (trMenuItemTwo in the Analyses pull down menu) 

     hiInsertMenuItem( sevAnalysesMenu1 trMenuItemTwo  0 ) ; 0 is the position of the menu item in the menu (first)

    **END

    You can refer to the Skill User Interface reference (skuiref) for more info and you can create the sliding menuitem using hiCreateSliderMenuItem

     

    Best Regards

    Taher 

    • 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