summaryrefslogtreecommitdiff
path: root/Windows/spice/share/ngspice/scripts/spinit
blob: ed5cd0e6d598e605bfbe7b6f482fd8455554633b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
* 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 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.

 codemodel C:/Spice/lib/ngspice/spice2poly.cm

* The other codemodels
 codemodel C:/Spice/lib/ngspice/analog.cm
 codemodel C:/Spice/lib/ngspice/digital.cm
 codemodel C:/Spice/lib/ngspice/xtradev.cm
 codemodel C:/Spice/lib/ngspice/xtraevt.cm

end
unset __flag