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.
 
 
 
 
 
 

39 lines
1012 B

/**********
Permit to use it as your wish.
Author: 2007 Gong Ding, gdiso@ustc.edu
University of Science and Technology of China
**********/
#include "ngspice.h"
#include "devdefs.h"
#include "ndevdefs.h"
#include "suffix.h"
IFparm NDEVpTable[] = { /* parameters */
/* numerical-device models no longer have parameters */
/* one is left behind to keep the table from being empty */
IP("ndev", NDEV_MOD_NDEV, IF_FLAG, "Numerical Device"),
};
IFparm NDEVmPTable[] = { /* model parameters */
IP("ndev", NDEV_MOD_NDEV, IF_FLAG, "Numerical Device"),
IP("remote", NDEV_REMOTE, IF_STRING, "Remote computer run device simulation"),
IP("port", NDEV_PORT, IF_INTEGER, "Remote port")
};
char *NDEVnames[] = {
"pin1",
"pin2",
"pin3",
"pin4",
"pin5",
"pin6",
"pin7"
};
int NDEVnSize = NUMELEMS(NDEVnames);
int NDEVpTSize = NUMELEMS(NDEVpTable);
int NDEVmPTSize = NUMELEMS(NDEVmPTable);
int NDEViSize = sizeof(NDEVinstance);
int NDEVmSize = sizeof(NDEVmodel);