33 lines
744 B
Plaintext
33 lines
744 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
|
||
|
|
** asking after quit **
|
||
|
|
*set askquit
|
||
|
|
** set the number of threads in openmp
|
||
|
|
** default (if compiled with --enable-openmp) is: 2
|
||
|
|
set num_threads=4
|
||
|
|
set interactive
|
||
|
|
|
||
|
|
strcmp __flag $program "ngspice"
|
||
|
|
if $__flag = 0
|
||
|
|
|
||
|
|
* For SPICE2 POLYs, edit the below line to point to the location
|
||
|
|
* of your codemodel.
|
||
|
|
|
||
|
|
codemodel C:/Spiced/lib/ngspice/spice2poly.cm
|
||
|
|
|
||
|
|
* The other codemodels
|
||
|
|
codemodel C:/Spiced/lib/ngspice/analog.cm
|
||
|
|
codemodel C:/Spiced/lib/ngspice/digital.cm
|
||
|
|
codemodel C:/Spiced/lib/ngspice/xtradev.cm
|
||
|
|
codemodel C:/Spiced/lib/ngspice/xtraevt.cm
|
||
|
|
|
||
|
|
end
|
||
|
|
unset __flag
|