Next: Script file use
Up: Suggested Practice
Previous: Order of input records
Contents
The following convention is suggested only, it is not required.
- [Extension] Contents
- [.INP] Files which are specified as input files on the command
line.
- [.OUT] Files which are specified as output files on the command
line.
- [.MDL] Model description files to be INCluded from .INP files.
- [.CTL] Control record files, to be INCluded from .INP files.
- [.CKT] Circuit description files, starting with .CKT and ending
with .END records, to be INCluded from .INP files.
- [.ALT] Alternate element value files, starting with one or more
.ALTEL records and ending with a .ALTGO or .GO record, to be INCluded
from .INP files.
Using the above approach, the contents of a .INP file could have this
structure:
* file circuit.inp - 04/10/97 - mas
.TITLE Test circuit for CCICAP
.INC circuit.ctl * add the run control records.
.INC /ccicap/models/opamp.mdl * add required model
* from models directory.
.INC circuit.ckt * add the circuit description.
' and run ...
.go
.INC circuit.alt * alter the circuit and rerun.
.STOP
The above example could be run from the following command line if
the output file was to go to the current directory:
$ ccicap circuit.inp circuit.out
Next: Script file use
Up: Suggested Practice
Previous: Order of input records
Contents
Bob Smither
2008-11-19