Is there anyone here tried to make corners simulat...
# analog-design
e
Is there anyone here tried to make corners simulation using the command 'altermod' in ngspice?
t
That would be a really roundabout way of doing a corner simulation. Why do that instead of using the corner simulation models directly?
e
I want to run more than one corner in the same run, I found in the manual that altermod command do that but I didn't figure out how to do that.
t
My advice is not to do multiple corners in one run.
a
@Tim Edwards I wanted to ask you about this why not? Using such technique usually speeds up the simulation. Because it doesn't have to rebuild the circuit in memory only loading models.
@Eslam Morsie I think let's follow @Tim Edwards advise for now.
e
ok
t
@Amro Tork: Ideally, yes, but in practice it's just a pain to work with ngspice's built-in command language, and it makes everything unportable (e.g., to xyce).
Once upon a time, the tclspice version of ngspice worked really well for those kind of things, but it has been broken for years.
a
@Tim Edwards I used to do that with most of commercial tools: ELDO, Spectre, HSPICE, etc...
@Tim Edwards I understand that whatever @Eslam Morsie doing is not going to be portable to other tool like Xyce. But is there any limitations in the model cards files that I should look out for?
t
@Amro Tork: As far as I'm aware, there are no particular issues currently for running with ngspice other than the fact that a lot of the models are binned over narrow L and W ranges and are not at all well characterized outside of those ranges.
a
@Tim Edwards Thanks for all the help.