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.
Use axlPutVar() with the handle of the corner as the first argument. For example:
sess=axlGetWindowSession()"session0"sdb=axlGetMainSetupDB(sess)1001corn=axlPutCorner(sdb "C3")1413axlPutVar(corn "vdd" "3")1415axlPutVar(corn "temperature" "-40 90")1417axlPutVar(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")