Home > Community > Forums > Custom IC Design > Detecting paramAnalysis statement...

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

 Detecting paramAnalysis statement... 

Last post Wed, Oct 21 2009 11:15 AM by markbeck. 4 replies.
Started by markbeck 14 Oct 2009 04:00 PM. Topic has 4 replies and 1261 views
Page 1 of 1 (5 items)
Sort Posts:
  • Wed, Oct 14 2009 4:00 PM

    • markbeck
    • Top 200 Contributor
    • Joined on Thu, Jun 30 2011
    • Beaverton, OR
    • Posts 45
    • Points 1,355
    Detecting paramAnalysis statement... Reply

    Is there a way to detect whether a paramAnalysis() statement has been issued prior to issuing the paramRun statement?

    Mark

    • Post Points: 20
  • Thu, Oct 15 2009 12:06 AM

    • Ramkumar M
    • Not Ranked
    • Joined on Wed, Oct 14 2009
    • Bangalore, Karnataka
    • Posts 14
    • Points 220
    Re: Detecting paramAnalysis statement... Reply

    Hi Mark,

    Could you please let me know why you would want to do this check? paramRun will error out if there are no paramAnalysis specified in the Ocean script.

    Regards,

    Ramkumar

    • Post Points: 20
  • Thu, Oct 15 2009 8:05 AM

    • markbeck
    • Top 200 Contributor
    • Joined on Thu, Jun 30 2011
    • Beaverton, OR
    • Posts 45
    • Points 1,355
    Re: Detecting paramAnalysis statement... Reply

     You are correct in that it errors out. 

    The reason I want to dectect it is that I'm writing an auto-lanching script for ocean scripts.  I'm handling the run command so that the ocean simulation code is more compact.  But I ran into the issue that I can't figure out how to detect whether a paramAnalysis statement has been issued or not.  

     

    • Post Points: 20
  • Thu, Oct 15 2009 8:48 AM

    Re: Detecting paramAnalysis statement... Reply

    The info appears to be in a private variable (and it's hidden within a SKILL++ environment, so you really can't access it), and there doesn't appear to be a way to check.

    I'd wondered whether ocnDisplay('param) might help, but that doesn't appear to actually do anything.

    So you should contact customer support and request an enhancement. Right now you might just need to do:

    unless(errset(paramRun()) run())

    Regards,

    Andrew.

     

    • Post Points: 20
  • Wed, Oct 21 2009 11:15 AM

    • markbeck
    • Top 200 Contributor
    • Joined on Thu, Jun 30 2011
    • Beaverton, OR
    • Posts 45
    • Points 1,355
    Re: Detecting paramAnalysis statement... Reply

    Created new CR:  41813920

    Thanks for your help

    Mark

    • Post Points: 5
Page 1 of 1 (5 items)
Sort Posts:
Started by markbeck at 14 Oct 2009 04:00 PM. Topic has 4 replies.