Callback for a Pulldown menu

Discussion in 'Cadence' started by VSS, Sep 13, 2006.

  1. VSS

    VSS Guest

    Hello Everybody,

    Problem: I want to integrate my personal tool into the Analog Artist by
    adding a "pulldown menu". But, I don't know how to do this?

    I created a pulldown menu using hiCreatePulldownMenu() and placed one
    MenuItem. Now I don't know what should be the callback for the MenuItem
    in the hiCreateMenuItem() function.

    Detailed description for those who want to know why I am doing this:
    In the "Parametric analysis tool" provided by Analog Artist, I am not
    being able to access the data in the way I want, as the result of each
    simulation is being stored in one directory. So, I wrote an ocean
    script that performs all the simulations required for my parametric
    analysis in the way I want and stores the data at an appropriate
    location. This is running and working. In order for making it available
    for me all the time, without changing the values in the script each
    time, I want to integrate it into Analog Artist. But I don't know how
    to run this script from the Analog Artist.

    Thanks a lot for your time.

    Best regards,
    VSS
     
    VSS, Sep 13, 2006
    #1
  2. VSS

    Satya Guest

    The way to add menu items to Analog Artist window is to create spectre.menus
    (or spectreS.menus, hspiceD.menus, etc) in the working directory with the
    menud definitions. I think it is described in the help files, but forget
    which one.

    Satya
     
    Satya, Sep 14, 2006
    #2
  3. VSS

    VSS Guest

    Hello Satya,

    Thank you for your suggestion. I will try this and let you know.

    Best regards,
    Shyam
     
    VSS, Sep 15, 2006
    #3
  4. VSS

    VSS Guest

    Hello Satya,

    Can you please be more specific on how to create such a MENU? Or could
    you point me to the exact help source?

    I created a new pulldownmenu into Analog Artist but am not being able
    to callback a pop-up menu that I created to serve my purpose.

    Thanks in advance.

    Best regards,
    VSS
     
    VSS, Sep 17, 2006
    #4
  5. Take a look at the README file and spectre.menus file in

    <instdir>/tools/dfII/etc/tools/menus

    Andrew.
     
    Andrew Beckett, Sep 19, 2006
    #5
  6. VSS

    VSS Guest

    Thank you Andrew, I will try there and let you know.

    Best regards,
    VSS
     
    VSS, Sep 21, 2006
    #6
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.