bugfix no. 2859013, comments
This commit is contained in:
parent
881908ec47
commit
2eba12d518
|
|
@ -1,3 +1,8 @@
|
||||||
|
2009-09-20 Holger Vogt
|
||||||
|
* inpmkmod.c: fix bug no. 2859013
|
||||||
|
* INSTALL corrected
|
||||||
|
* xspice/mif/mifgetmod.c: comments
|
||||||
|
|
||||||
2009-09-19 Holger Vogt
|
2009-09-19 Holger Vogt
|
||||||
* fteext.h, inpcom.c, inp.c, options.c, winmain.c:
|
* fteext.h, inpcom.c, inp.c, options.c, winmain.c:
|
||||||
variable ngdebug added, sets ft_ngdebug,
|
variable ngdebug added, sets ft_ngdebug,
|
||||||
|
|
|
||||||
12
INSTALL
12
INSTALL
|
|
@ -497,7 +497,8 @@ This file describes the procedures to install ngspice from sources.
|
||||||
the ngspice binary distribution.
|
the ngspice binary distribution.
|
||||||
|
|
||||||
There is currently no installation procedure provided, you may
|
There is currently no installation procedure provided, you may
|
||||||
however install the executable manually as described below:
|
however install the executable manually as described in the
|
||||||
|
installation tree below.
|
||||||
|
|
||||||
The directory (visualc) with its files
|
The directory (visualc) with its files
|
||||||
vngspice.sln (project starter) and
|
vngspice.sln (project starter) and
|
||||||
|
|
@ -505,15 +506,6 @@ This file describes the procedures to install ngspice from sources.
|
||||||
allows to compile and link ngspice with MS Visual Studio 2008.
|
allows to compile and link ngspice with MS Visual Studio 2008.
|
||||||
The project is probably not compatible with Visual Studio 2005.
|
The project is probably not compatible with Visual Studio 2005.
|
||||||
|
|
||||||
CIDER and XSPICE are included, but the code models for XSPICE
|
|
||||||
(*.cm) are not (yet) made. You may however use the code models
|
|
||||||
created with MINGW (which in fact are dlls), as e.g. found in
|
|
||||||
the ngspice binary distribution.
|
|
||||||
|
|
||||||
There is currently no installation procedure provided, you may
|
|
||||||
however install the executable manually as described in the
|
|
||||||
installation tree below.
|
|
||||||
|
|
||||||
/visualc/include contains a dedicated config.h file. It contains the
|
/visualc/include contains a dedicated config.h file. It contains the
|
||||||
preprocessor definitions required to properly compile the code.
|
preprocessor definitions required to properly compile the code.
|
||||||
strings.h has been necessary during setting up the project.
|
strings.h has been necessary during setting up the project.
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ Author: 1985 Thomas L. Quarles
|
||||||
#include "inp.h"
|
#include "inp.h"
|
||||||
|
|
||||||
/* global input model table. */
|
/* global input model table. */
|
||||||
INPmodel *modtab;
|
INPmodel *modtab = NULL;
|
||||||
|
|
||||||
/*--------------------------------------------------------------
|
/*--------------------------------------------------------------
|
||||||
* This fcn takes the model name and looks to see if it is already
|
* This fcn takes the model name and looks to see if it is already
|
||||||
|
|
@ -32,7 +32,7 @@ int INPmakeMod(char *token, int type, card * line)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Model name was not already in model table. Therefore stick
|
/* Model name was not already in model table. Therefore stick
|
||||||
it in the model table. Then reutrn. */
|
it in the model table. Then return. */
|
||||||
|
|
||||||
#ifdef TRACE
|
#ifdef TRACE
|
||||||
/* debug statement */
|
/* debug statement */
|
||||||
|
|
|
||||||
|
|
@ -45,18 +45,14 @@ NON-STANDARD FEATURES
|
||||||
|
|
||||||
============================================================================*/
|
============================================================================*/
|
||||||
|
|
||||||
/* #include "prefix.h" */
|
|
||||||
|
|
||||||
#include "ngspice.h"
|
#include "ngspice.h"
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "inpdefs.h" /* maschmann : kleinbuchstaben */
|
#include "inpdefs.h"
|
||||||
#include "devdefs.h" /* maschmann : kleinbuchstaben */
|
#include "devdefs.h"
|
||||||
//#include "util.h"
|
#include "ifsim.h"
|
||||||
#include "ifsim.h" /* maschmann : kleinbuchstaben */
|
#include "cpstd.h"
|
||||||
#include "cpstd.h" /* maschmann : kleinbuchstaben */
|
#include "fteext.h"
|
||||||
#include "fteext.h" /* maschmann : kleinbuchstaben */
|
|
||||||
|
|
||||||
#include "mifproto.h"
|
#include "mifproto.h"
|
||||||
#include "mifdefs.h"
|
#include "mifdefs.h"
|
||||||
|
|
@ -64,8 +60,8 @@ NON-STANDARD FEATURES
|
||||||
|
|
||||||
#include "suffix.h"
|
#include "suffix.h"
|
||||||
|
|
||||||
/* This is the table of all models known to the program. */
|
/* This is the table of all models known to the program.
|
||||||
/* It is now defined in inpdefs.h 6.19.2003 -- SDB. */
|
It is now defined in inpmkmod.c. */
|
||||||
extern INPmodel *modtab;
|
extern INPmodel *modtab;
|
||||||
|
|
||||||
extern SPICEdev **DEVices; /* info about all device types */
|
extern SPICEdev **DEVices; /* info about all device types */
|
||||||
|
|
@ -86,8 +82,6 @@ defaulted later by MIFsetup(). The function returns NULL when
|
||||||
successful, and an error string on failure.
|
successful, and an error string on failure.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* char *MIFgetMod(ckt,name,model,tab) */ /* former buggy calling method */
|
|
||||||
|
|
||||||
char *MIFgetMod(
|
char *MIFgetMod(
|
||||||
void *ckt, /* The circuit structure */
|
void *ckt, /* The circuit structure */
|
||||||
char *name, /* The name of the model to look for */
|
char *name, /* The name of the model to look for */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue