post netlist, pre run hook?

Discussion in 'Cadence' started by danmc, Jul 27, 2006.

  1. danmc

    danmc Guest

    Is there a simple way to cause cadence to invoke a custom function at
    the end of the netlisting process? In other words in the analog design
    environment I'd like "netlist and run" to do the following:


    netlist
    run my custom skill code
    run

    and "netlist recreate" to do:

    netlist
    run my custom skill code

    I'm using the analog design environment and spectre if that makes a
    difference.

    Thanks
    -Dan
     
    danmc, Jul 27, 2006
    #1
  2. Have a look at my post 'how to customize Artist menus'
    http://www.designers-guide.org/Forum/YaBB.pl?num=1139434902/3#3

    In general you have to write a wrapper function

    myNetListAndRunWrapper {
    netlist
    run my custom skill code
    run
    }

    And implement it in the Artist menu in the way described by the link,
    the same for "netlist recreate".


    Bernd
     
    Bernd Fischer, Jul 27, 2006
    #2
  3. danmc

    danmc Guest

    This looks like it will work. My wrappers are getting called. One
    last hurdle for me though. Anyone know how I can get the netlist
    directory? For example
    /home/me/simulation/MyCell/spectre/myview/netlist ?

    Thanks
    -Dan
     
    danmc, Jul 27, 2006
    #3
  4. danmc

    danmc Guest

    duh. it was partway through the link you already posted...

    asiGetNetlistDir(asiGetCurrentSession())

    -Dan
     
    danmc, Jul 27, 2006
    #4
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.