mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-29 17:19:52 +02:00
However not all examples will do without, thus the variable 'stepsizelimit' is set in spinit. Unset it in .spiceinit to get the new behavior. Of course then you might add the limit by setting TMAX in the tran command.
32 lines
728 B
Plaintext
32 lines
728 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
|
|
set stepsizelimit
|
|
|
|
strcmp __flag $program "ngspice"
|
|
if $__flag = 0
|
|
|
|
* Load the codemodels
|
|
codemodel C:/Spice64d/lib/ngspice/spice2poly.cm
|
|
codemodel C:/Spice64d/lib/ngspice/analog.cm
|
|
codemodel C:/Spice64d/lib/ngspice/digital.cm
|
|
codemodel C:/Spice64d/lib/ngspice/xtradev.cm
|
|
codemodel C:/Spice64d/lib/ngspice/xtraevt.cm
|
|
codemodel C:/Spice64d/lib/ngspice/table.cm
|
|
|
|
|
|
end
|
|
unset __flag
|