You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
734 B

/**********
Copyright 1992 Regents of the University of California. All rights reserved.
Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
**********/
/*
* This routine sets model parameters for NUMDs in the circuit.
*/
#include "ngspice/ngspice.h"
#include "ngspice/const.h"
#include "ngspice/ifsim.h"
#include "numddefs.h"
#include "ngspice/sperror.h"
#include "ngspice/suffix.h"
int
NUMDmParam(int param, IFvalue *value, GENmodel *inModel)
{
NG_IGNORE(value);
NG_IGNORE(inModel);
switch (param) {
case NUMD_MOD_NUMD:
/* no action - already know it is a 1d-numerical diode, but this */
/* makes life easier for spice-2 like parsers */
break;
default:
return (E_BADPARM);
}
return (OK);
}