Home > Community > Forums > Custom IC Design > Get run mode in ADEXL prerun script

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: *

 Get run mode in ADEXL prerun script 

Last post Fri, Dec 27 2013 2:58 AM by Andrew Beckett. 2 replies.
Started by webbyguy 12 Nov 2013 02:22 PM. Topic has 2 replies and 2686 views
Page 1 of 1 (3 items)
Sort Posts:
  • Tue, Nov 12 2013 2:22 PM

    • webbyguy
    • Not Ranked
    • Joined on Mon, Jan 24 2011
    • Posts 10
    • Points 155
    Get run mode in ADEXL prerun script Reply

    I was wondering if it is possible in my ADEXL prerun script to get the run mode of the ADEXL session that started the script.  Basically, I would like to update design varibles if the current run is a Monte Carlo run (based on another Monte Carlo sim).  However, if it is a Single Run, Sweeps and Corners, then I would like to do nothing with the variables. Any ideas how to do this?

     

    Thanks

    • Post Points: 20
  • Sun, Dec 22 2013 1:09 AM

    Re: Get run mode in ADEXL prerun script Reply

    I'm not sure if this is possible using a public function, currently (it might be, but I couldn't find it). So please contact customer support as it may need an enhancement to provide a public function.

    Regards,

    Andrew.

    • Post Points: 5
  • Fri, Dec 27 2013 2:58 AM

    Re: Get run mode in ADEXL prerun script Reply

    One slightly messy solution might be to use:

    errset(ocnxlMCIterNum())

    This should return a list of the iteration number when running in monte carlo, and nil otherwise (because the function will, I think, throw an error, and the errset will catch it and just return nil).

    However, I'd really recommend contacting customer support so a clean interface can be provided.

    Kind Regards,

    Andrew.

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by webbyguy at 12 Nov 2013 02:22 PM. Topic has 2 replies.