diff --git a/src/spicelib/devices/adms/admst/ngspiceMODULEnoise.c.xml b/src/spicelib/devices/adms/admst/ngspiceMODULEnoise.c.xml new file mode 100644 index 000000000..b19ff6429 --- /dev/null +++ b/src/spicelib/devices/adms/admst/ngspiceMODULEnoise.c.xml @@ -0,0 +1,104 @@ + + + + + + + + + + + + +#include "ngspice.h" +#include "$(module)defs.h" +#include "cktdefs.h" +#include "iferrmsg.h" +#include "noisedef.h" +#include "suffix.h" + +extern void NevalSrc(); +extern double Nintegrate(); + +static char* $(module)nNames []= { + + + +}; + +int +$(module)noise (int mode, int operation, GENmodel *genmodel, CKTcircuit *ckt, Ndata *data, double *OnDens) +{ + $(module)model *firstModel = ($(module)model *) genmodel; + $(module)model *model; + $(module)instance *inst; + for (model=firstModel; model != NULL; model=model->$(module)nextModel) + { + for (inst=model->$(module)instances; inst != NULL; inst=inst->$(module)nextInstance) + { + if (inst->$(module)owner != ARCHme) continue; + switch (operation) + { + case N_OPEN: + break; + case N_CALC: + switch (mode) + { + case N_DENS: + break; + case INT_NOIZ: + break; + } + break; + case N_CLOSE: + return (OK); + break; + } + } + } + return(OK); +} + + + + + + + + + + + +