Set a relative path to find spinit and to load the codemodels.
Installation will no longer require a fixed path C:\Spice64 etc.
This commit is contained in:
parent
0345eedf40
commit
1f91d0860e
|
|
@ -17,17 +17,14 @@ set interactive
|
|||
strcmp __flag $program "ngspice"
|
||||
if $__flag = 0
|
||||
|
||||
* For SPICE2 POLYs, edit the below line to point to the location
|
||||
* of your codemodel.
|
||||
* 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
|
||||
|
||||
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
|
||||
codemodel C:/Spice/lib/ngspice/table.cm
|
||||
|
||||
end
|
||||
unset __flag
|
||||
|
|
|
|||
|
|
@ -17,17 +17,13 @@ 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:/Spice64/lib/ngspice/spice2poly.cm
|
||||
|
||||
* The other codemodels
|
||||
codemodel C:/Spice64/lib/ngspice/analog.cm
|
||||
codemodel C:/Spice64/lib/ngspice/digital.cm
|
||||
codemodel C:/Spice64/lib/ngspice/xtradev.cm
|
||||
codemodel C:/Spice64/lib/ngspice/xtraevt.cm
|
||||
codemodel C:/Spice64/lib/ngspice/table.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
|
||||
|
|
|
|||
|
|
@ -17,17 +17,14 @@ set interactive
|
|||
strcmp __flag $program "ngspice"
|
||||
if $__flag = 0
|
||||
|
||||
* For SPICE2 POLYs, edit the below line to point to the location
|
||||
* of your codemodel.
|
||||
* 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
|
||||
|
||||
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
|
||||
codemodel C:/Spiced/lib/ngspice/table.cm
|
||||
|
||||
end
|
||||
unset __flag
|
||||
|
|
|
|||
|
|
@ -17,17 +17,14 @@ set interactive
|
|||
strcmp __flag $program "ngspice"
|
||||
if $__flag = 0
|
||||
|
||||
* For SPICE2 POLYs, edit the below line to point to the location
|
||||
* of your codemodel.
|
||||
* 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
|
||||
|
||||
codemodel C:/Spice64d/lib/ngspice/spice2poly.cm
|
||||
|
||||
* The other codemodels
|
||||
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
|
||||
|
|
|
|||
|
|
@ -434,31 +434,10 @@
|
|||
/* Do not trigger unwanted traps by default */
|
||||
/* #undef NEWTRUNC */
|
||||
|
||||
#ifdef NGDEBUG
|
||||
#ifdef CONFIG64
|
||||
/* Define the directory for executables */
|
||||
#define NGSPICEBINDIR "C:/Spice64d/bin"
|
||||
#define NGSPICEBINDIR "../bin"
|
||||
/* Define the directory for architecture independent data files */
|
||||
#define NGSPICEDATADIR "C:/Spice64d/share/ngspice"
|
||||
#else
|
||||
/* Define the directory for executables */
|
||||
#define NGSPICEBINDIR "C:/Spiced/bin"
|
||||
/* Define the directory for architecture independent data files */
|
||||
#define NGSPICEDATADIR "C:/Spiced/share/ngspice"
|
||||
#endif
|
||||
#else
|
||||
#ifdef CONFIG64
|
||||
/* Define the directory for executables */
|
||||
#define NGSPICEBINDIR "C:/Spice64/bin"
|
||||
/* Define the directory for architecture independent data files */
|
||||
#define NGSPICEDATADIR "C:/Spice64/share/ngspice"
|
||||
#else
|
||||
/* Define the directory for executables */
|
||||
#define NGSPICEBINDIR "C:/Spice/bin"
|
||||
/* Define the directory for architecture independent data files */
|
||||
#define NGSPICEDATADIR "C:/Spice/share/ngspice"
|
||||
#endif
|
||||
#endif
|
||||
#define NGSPICEDATADIR "../share/ngspice"
|
||||
|
||||
/* Define if we want NOBYPASS */
|
||||
/* #undef NOBYPASS */
|
||||
|
|
@ -476,13 +455,13 @@
|
|||
#define PACKAGE_NAME "ngspice"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "ngspice 28"
|
||||
#define PACKAGE_STRING "ngspice 29"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "ngspice"
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "28"
|
||||
#define PACKAGE_VERSION "29"
|
||||
|
||||
/* Define if we want predictor algorithm */
|
||||
/* #undef PREDICTOR */
|
||||
|
|
@ -537,7 +516,7 @@
|
|||
/* #undef TM_IN_SYS_TIME */
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "28"
|
||||
#define VERSION "29"
|
||||
|
||||
/* Define if we want spice2 sensitivity analysis */
|
||||
/* #undef WANT_SENSE2 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue