https://open-source-silicon.dev logo
s

Slackbot

06/01/2021, 11:00 AM
This message was deleted.
t

Tim Edwards

06/01/2021, 12:52 PM
Why would you use altermod for a corner simulation? Just use the
.lib
command and select the corner you want.
a

Amro Tork

06/01/2021, 1:51 PM
@Tim Edwards we are trying to automate the corner simulation. The idea is to switch between all different corners available.
Ultimate goal is to automate the Analog design process.
@Tim Edwards Always appreciate all the support you are giving us. Big thank you. 🙌
e

Eslam Morsie

06/01/2021, 1:53 PM
@Tim Edwards I used it but I got error of model redefinition
a

Amro Tork

06/01/2021, 1:53 PM
@Eslam Morsie As we have discussed, let's use a different methodology.
e

Eslam Morsie

06/01/2021, 1:53 PM
@Amro Tork ok
t

Tim Edwards

06/01/2021, 1:54 PM
The easiest way is just to run ngspice multiple times specifying a different corner for each run. I've done this before and have a complete system on efabless that automates analog characterization. You just create a template SPICE testbench file and put in variables like "$CORNER", and then a script goes and makes substitutions for each corner and runs ngspice, collects data, and processes it using python and/or octave and presents results with matplotlib.
a

Amro Tork

06/01/2021, 2:08 PM
@Tim Edwards That's what we are currently doing.
Thanks again for all the help you are giving us.