Home > Community > Forums > Custom IC SKILL > cadence ADE automation

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 cadence ADE automation 

Last post Tue, Jul 7 2009 7:47 AM by jtompson. 1 replies.
Started by jtompson 07 Jul 2009 07:41 AM. Topic has 1 replies and 806 views
Page 1 of 1 (2 items)
Sort Posts:
  • Tue, Jul 7 2009 7:41 AM

    • jtompson
    • Not Ranked
    • Joined on Thu, Dec 18 2008
    • Posts 5
    • Points 40
    cadence ADE automation Reply
    I am writing a helper program to automate corner simulations (since cadence corners tool has some issues with our PDK). The user sets up the corners to run, then the program runs these corners through ADE. The program works, however the interface between the GUI and ADE is unreliable for starting simulations and detecting completion. The code looks something like this: ;; ************** START CODE ***************** // pvtRunSim is called when user presses "Start" button procedure(pvtRunSim(session sev_session) ;; sevNetlistAndRun(sev_session) hiRegTimer("pvtRunSimCB(session)" 20) ); pvtRunSim ;; polling routine to check for simulation completion. procedure(pvtRunSimCB(session) prog(( ) if(asiGetStatus(session) == nil then ;; else hiRegTimer(""pvtRunSimCB(session)" 20) ); end if ); prog ;; ************** END CODE ***************** There are many problems with this implimentation: Firstly, sometimes ADE finishes but if there was an error during simulation (especially netlisting errors), asiGetStatus(session) always returns true --> I think this is a cadence bug. Because of this my code will never run the next simulation. Secondly, if ADE exits (user decides to exit ADE) the CB routine is never finished, and for some reason if you try to netlist in a new ADE window, it will always fail (with no error). I don't want to focus on trying to fix these issues, I would rather improve the implimentation. Basically, I would like to setup an ADE callback routine that is called once the simulation has completed. I would like a function like sevNetlistAndRun(session ?callback "myFunc"). Does something like this exist. I feel it must since cadence's "Parametric Analysis..." tool must do something like this. Any help would be appreciated.
    • Post Points: 5
  • Tue, Jul 7 2009 7:47 AM

    • jtompson
    • Not Ranked
    • Joined on Thu, Dec 18 2008
    • Posts 5
    • Points 40
    Re: cadence ADE automation Reply
    Sorry about the formatting. I have no idea why all my new lines are removed when I hit "post".
    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by jtompson at 07 Jul 2009 07:41 AM. Topic has 1 replies.