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
680 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.h"
#include "const.h"
#include "ifsim.h"
#include "numddefs.h"
#include "sperror.h"
#include "suffix.h"
int
NUMDmParam(param, value, inModel)
int param;
IFvalue *value;
GENmodel *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);
}