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.
 
 
 
 
 
 

29 lines
654 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 NUMD2s in the circuit.
*/
#include "ngspice.h"
#include "const.h"
#include "ifsim.h"
#include "numd2def.h"
#include "sperror.h"
#include "suffix.h"
int
NUMD2mParam(int param, IFvalue *value, GENmodel *inModel)
{
switch (param) {
case NUMD2_MOD_NUMD:
/* no action - already know it is a 2d-numerical diode, but this */
/* makes life easier for spice-2 like parsers */
break;
default:
return (E_BADPARM);
}
return (OK);
}