So "they" have buggered SPICE some.. Back in the good old DOS daze, there was a command .STEP which one could recalc with specified parameters changed in an arbitrary manner; each STEP value of a given item being set to specified values (which could be randomly chosen). *poof* cannot do that anymore. And what the heck happened to .ALTER ??
.ALTER is specific to HSpice, and re-runs the simulation with changes that can include .LIB variations. I force that capability by concatenating the .CIR file upon itself, then manually editing the changes. PITA, but it works.
Maybe Mike could add .ALTER to LTspice.
I'm almost a convert. That feature could pull me closer to being a proselytizer ;-) ...Jim Thompson
--
| James E.Thompson, CTO | mens |
| Analog Innovations, Inc. | et |
That is NOT what .STEP used to do; it is that difference that i am ranting about. Quote from old DOS SPICE manual: "old" .STEP syntax: .STEP variable value1 [value2...(up to 20)] Examples: .STEP Vdd 3V 5V 6V .SEP RLOAD 50 100 200 .STEP IBIAS 1mA 2Ma 10mA This statement causes the simulation to be repeated for all of the specified values of the parameter (similar to the .TEMP card). If there are .ALTER or .TEMP cards in the input file thei will be done for each parameter calue.
Edit the concatenated file to have the includes properly numbered.
Just occurred to me that this will only work repetitively with simulators that create separate .CIR and .NET files, like PSpice. Otherwise you'd have to redo the .CIR file every time.
In PSpice just off-name the concatenated .CIR file, then save-as the proper name after you make changes in the schematic (netlist).
A bit cumbersome, but maybe not so much... even with .ALTER you have to type out all the variations, so typing into separate files is the only issue.
Wonder why I'm posting on Christmas day? We're celebrating tomorrow so that each family can do their own thing, then drive to Oni and Opa's house for a all-family event. ...Jim Thompson
--
| James E.Thompson, CTO | mens |
| Analog Innovations, Inc. | et |
I've been using Spice for a very long time, started on a VAX780, with Spice compiled in Fortran, then on DOS (PSpice, with hand-written netlists :-) ...Jim Thompson
--
| James E.Thompson, CTO | mens |
| Analog Innovations, Inc. | et |
TopSPICE, Mixed-Mode Circuit Simulator by Penzar Development, Rev 2.6 (C) 1993, PO Box 10358, Canoga Park CA 91309 (818)594-0363. The address and phone number _might_ have changed during the intervening few days.
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.