Hi Mike,
Is there a way we can input .csv file that contains different combinations of parameters (corners) and run batch simulations in QSpice?
For example, If we have an CKT that has 4-parameters and would like to run 16 sims with different combination of parameters in batch mode. How can be this accomplished ?. {similar to the concept of corners and corner analysis in cadence spectra }
Regards,
Kumar Modepalli
You can use a .step param of a dummy variable and pluck values out of a table. Below runs 4
simulations with MYVAR equaling 3.14, .75, .122 and .99 respectively. You can add more tables for
the other parameters.
.step param dummy list 1 2 3 4
.param MYVAR=table(dummy, 1, pi, 2, 3/4, 3, .122, 4,.99)
This would do 16 sim:
.step param dummy1 list 1 2 3 4
.step param dummy2 list 1 2 3 4
.param MYVAR=table(dummy, 1, pi, 2, 3/4, 3, .122, 4,.99)
Where you would need tables of dummy2, too.
Once you have it all programed as you like, you can put this commands in an ASCII file(of any file name extension) and .inc that file.
–Mike
1 Like
Thanks Mike, will try it out