ngspice/src/spinit.in

34 lines
891 B
Plaintext

* Standard ngspice init file
alias exit quit
alias acct rusage all
set x11lineararcs
*set rndseed=12
** ascii rawfile **
*set filetype=ascii
** frontend debug output **
*set ngdebug
** no asking after quit **
set noaskquit
** set the compatibility mode to allow some hspice constructs
set ngbehavior=all
** set the number of threads in openmp
** default (if compiled with --enable-openmp) is: 2
*set num_threads=4
strcmp __flag $program "ngspice"
if $__flag = 0
* For SPICE2 POLYs, edit the below line to point to the location
* of your codemodel.
@XSPICEINIT@ codemodel @prefix@/@libname@/spice/spice2poly.cm
* The other codemodels
@XSPICEINIT@ codemodel @prefix@/@libname@/spice/analog.cm
@XSPICEINIT@ codemodel @prefix@/@libname@/spice/digital.cm
@XSPICEINIT@ codemodel @prefix@/@libname@/spice/xtradev.cm
@XSPICEINIT@ codemodel @prefix@/@libname@/spice/xtraevt.cm
end
unset __flag