summaryrefslogtreecommitdiff
path: root/Windows/spice/share/ngspice/scripts/spinit
diff options
context:
space:
mode:
authorrahulp132020-03-03 05:31:58 +0530
committerrahulp132020-03-03 05:31:58 +0530
commitdfc268e0863c913a1b8726cd54eea3b40caf7c67 (patch)
tree1cd82634684da5ae86b558d44756189e080545d4 /Windows/spice/share/ngspice/scripts/spinit
parentfd62c52150c7d1f81da8060b2f5db6b94d174ccf (diff)
downloadeSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.tar.gz
eSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.tar.bz2
eSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.zip
upgrade ngspice to v31
Diffstat (limited to 'Windows/spice/share/ngspice/scripts/spinit')
-rw-r--r--Windows/spice/share/ngspice/scripts/spinit27
1 files changed, 13 insertions, 14 deletions
diff --git a/Windows/spice/share/ngspice/scripts/spinit b/Windows/spice/share/ngspice/scripts/spinit
index ed5cd0e6..d9678dc2 100644
--- a/Windows/spice/share/ngspice/scripts/spinit
+++ b/Windows/spice/share/ngspice/scripts/spinit
@@ -4,28 +4,27 @@ alias acct rusage all
set x11lineararcs
*set rndseed=12
** ascii rawfile **
-*set filetype=ascii
+set filetype=ascii
** frontend debug output **
*set ngdebug
-** no asking after quit **
-set noaskquit
+** 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 num_threads=4
+set interactive
+set stepsizelimit
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
+* Load the codemodels
+ codemodel ../lib/ngspice/spice2poly.cm
+ codemodel ../lib/ngspice/analog.cm
+ codemodel ../lib/ngspice/digital.cm
+ codemodel ../lib/ngspice/xtradev.cm
+ codemodel ../lib/ngspice/xtraevt.cm
+ codemodel ../lib/ngspice/table.cm
end
unset __flag