Home > Community > Forums > Custom IC SKILL > set compileExcludeLibs for amsDesigner with skill

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

 set compileExcludeLibs for amsDesigner with skill 

Last post Thu, Aug 1 2013 1:02 AM by YannickM. 2 replies.
Started by YannickM 31 Jul 2013 05:24 AM. Topic has 2 replies and 315 views
Page 1 of 1 (3 items)
Sort Posts:
  • Wed, Jul 31 2013 5:24 AM

    • YannickM
    • Not Ranked
    • Joined on Tue, Jul 16 2013
    • Posts 2
    • Points 25
    set compileExcludeLibs for amsDesigner with skill Reply

    Hi everybody,

    I am facing following issue. I have a skill replay file to generate a netlist and runSimulation for an ADE-L state with amsdesigner. I need to delete the content of the field "exclude these library names from compilation" in the form Simulation->Options->AMS simulator...

    I have already found a solution:

    currentSession = sevSession(car(setof(x hiGetWindowList() x->sevSession)))
    sevSetEngineOptions(currentSession 'simOptions)
    hiiSetCurrentForm('_asii_ams1_AMSsimulator_form)
    _asii_ams1_AMSsimulator_form->page->page1->scroll1->compileExcludeLibs->value=""
    hiFormDone(_asii_ams1_AMSsimulator_form)

    The issue I see with this implementation is that some strange variable _asii_ams1_AMSsimulator_form is used. I would prefer to use some asi function but I didn't find anything to set compileExcludeLibs. I have tried also with the env as:

    ams.compilerOpts compileExcludeLibs string ""

    but it works only for new state. It doesn't overwrite the field of an existing state.

    If someone has a better idea how to do it, I would appreciate any tip.

    Thanks,

    Yannick

    • Post Points: 20
  • Wed, Jul 31 2013 5:49 AM

    Re: set compileExcludeLibs for amsDesigner with skill Reply

    Hi Yannick,

    asiSess=sevEnvironment(currentSession)
    asiEnvSetVal(asiSess 'compilerOpts 'compileExcludeLibs "")

    Regards,

    Andrew.

     

    • Post Points: 20
  • Thu, Aug 1 2013 1:02 AM

    • YannickM
    • Not Ranked
    • Joined on Tue, Jul 16 2013
    • Posts 2
    • Points 25
    Re: set compileExcludeLibs for amsDesigner with skill Reply

    Hi Andrew,

    thanks a lot. It is exactly what I was searching.

    Thanks for your fast answer.

    Regards,

    Yannick

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by YannickM at 31 Jul 2013 05:24 AM. Topic has 2 replies.