Home > Community > Forums > Custom IC SKILL > Adding corners to ADE-XL setup

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

 Adding corners to ADE-XL setup 

Last post Fri, Dec 13 2013 6:07 AM by Robertk. 2 replies.
Started by Robertk 13 Dec 2013 02:11 AM. Topic has 2 replies and 850 views
Page 1 of 1 (3 items)
Sort Posts:
  • Fri, Dec 13 2013 2:11 AM

    • Robertk
    • Not Ranked
    • Joined on Thu, Dec 12 2013
    • Posts 2
    • Points 25
    Adding corners to ADE-XL setup Reply

    Hello,

    I'm pretty new to Skill and am currently trying to add corners with variable values I read in from a .csv-file. So far I'm using axlPutCorner() to create a new one which then gives me handle to it but I wasn't able to find any following command to set the variables and values.

    I guess there is the possibility to save the .sdb-file for the corners and change that file with the script, but was wondering if there is an easier way to create a corner, like creating outputs with axlAddOutputExpr(). It seems rather difficult to change the xml-code with Skill.

    Filed under:
    • Post Points: 20
  • Fri, Dec 13 2013 4:01 AM

    Re: Adding corners to ADE-XL setup Reply

    Use axlPutVar() with the handle of the corner as the first argument. For example:

    sess=axlGetWindowSession()
    "session0"
    sdb=axlGetMainSetupDB(sess)
    1001
    corn=axlPutCorner(sdb "C3")
    1413
    axlPutVar(corn "vdd" "3")
    1415
    axlPutVar(corn "temperature" "-40 90")
    1417
    axlPutVar(corn "gain" "5")
    1419

    The bold functions are what I entered, and the values are below.

    If you need to add a model file and section, you'd do:

    model=axlPutModel(corn "myModels.scs")
    axlSetModelSection(model "typ")

    For example.

    Regards,

    Andrew.

    • Post Points: 20
  • Fri, Dec 13 2013 6:07 AM

    • Robertk
    • Not Ranked
    • Joined on Thu, Dec 12 2013
    • Posts 2
    • Points 25
    Re: Adding corners to ADE-XL setup Reply

    Thank you. Works like a charm.

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by Robertk at 13 Dec 2013 02:11 AM. Topic has 2 replies.