hisim2, remove register class

This commit is contained in:
dwarning 2014-05-21 20:42:02 +02:00 committed by rlar
parent a646a5f78f
commit 27cb51afca
8 changed files with 27 additions and 27 deletions

View File

@ -24,10 +24,10 @@
int HSM2acLoad(
GENmodel *inModel,
register CKTcircuit *ckt)
CKTcircuit *ckt)
{
register HSM2model *model = (HSM2model*)inModel;
register HSM2instance *here;
HSM2model *model = (HSM2model*)inModel;
HSM2instance *here;
double xcggb_r, xcgdb_r, xcgsb_r, xcgbb_r, xcggb_i, xcgdb_i, xcgsb_i, xcgbb_i;
double xcbgb_r, xcbdb_r, xcbsb_r, xcbbb_r, xcbgb_i, xcbdb_i, xcbsb_i, xcbbb_i;
double xcdgb_r, xcddb_r, xcdsb_r, xcdbb_r, xcdgb_i, xcddb_i, xcdsb_i, xcdbb_i;

View File

@ -26,10 +26,10 @@
int HSM2convTest(
GENmodel *inModel,
register CKTcircuit *ckt)
CKTcircuit *ckt)
{
register HSM2model *model = (HSM2model*)inModel;
register HSM2instance *here;
HSM2model *model = (HSM2model*)inModel;
HSM2instance *here;
double delvbd, delvbs, delvds, delvgd, delvgs, vbd, vbs, vds;
double cd, cdhat, tol0, tol1, tol2, tol3, tol4, vgd, vgdo, vgs;
double Ibtot, cbhat, Igstot, cgshat, Igdtot, cgdhat, Igbtot, cgbhat;

View File

@ -174,13 +174,13 @@ static void ShowPhysVals
int HSM2load(
GENmodel *inModel,
register CKTcircuit *ckt)
CKTcircuit *ckt)
/* actually load the current value into the
* sparse matrix previously provided
*/
{
register HSM2model *model = (HSM2model*)inModel;
register HSM2instance *here;
HSM2model *model = (HSM2model*)inModel;
HSM2instance *here;
/* HSM2binningParam *pParam;*/
double cbhat=0.0, cdrain=0.0, cdhat=0.0, cdreq=0.0, cgbhat=0.0, cgshat=0.0, cgdhat=0.0 ;
double Ibtot=0.0, Idtot=0.0, Igbtot=0.0, Igstot=0.0, Igdtot=0.0 ;

View File

@ -36,17 +36,17 @@ int HSM2noise (
int mode, int operation,
GENmodel *inModel,
CKTcircuit *ckt,
register Ndata *data,
Ndata *data,
double *OnDens)
{
register HSM2model *model = (HSM2model *)inModel;
register HSM2instance *here;
HSM2model *model = (HSM2model *)inModel;
HSM2instance *here;
char name[N_MXVLNTH];
double tempOnoise;
double tempInoise;
double noizDens[HSM2NSRCS];
double lnNdens[HSM2NSRCS];
register int i;
int i;
double G = 0.0 ;
double TTEMP = 0.0 ;

View File

@ -24,11 +24,11 @@
int HSM2pzLoad(
GENmodel *inModel,
register CKTcircuit *ckt,
register SPcomplex *s)
CKTcircuit *ckt,
SPcomplex *s)
{
register HSM2model *model = (HSM2model*)inModel;
register HSM2instance *here;
HSM2model *model = (HSM2model*)inModel;
HSM2instance *here;
double xcggb, xcgdb, xcgsb, xcgbb, xcbgb, xcbdb = 0.0, xcbsb, xcbbb;
double xcdgb, xcddb, xcdsb, xcdbb, xcsgb, xcsdb = 0.0, xcssb, xcsbb;
double xcdbdb = 0.0, xcsbsb = 0.0;

View File

@ -53,16 +53,16 @@
int HSM2setup(
register SMPmatrix *matrix,
register GENmodel *inModel,
register CKTcircuit *ckt,
SMPmatrix *matrix,
GENmodel *inModel,
CKTcircuit *ckt,
int *states)
/* load the HSM2 device structure with those pointers needed later
* for fast matrix loading
*/
{
register HSM2model *model = (HSM2model*)inModel;
register HSM2instance *here;
HSM2model *model = (HSM2model*)inModel;
HSM2instance *here;
int error;
CKTnode *tmp;
HSM2binningParam *pParam ;

View File

@ -64,8 +64,8 @@ int HSM2temp(
GENmodel *inModel,
CKTcircuit *ckt)
{
register HSM2model *model = (HSM2model *)inModel ;
register HSM2instance *here ;
HSM2model *model = (HSM2model *)inModel ;
HSM2instance *here ;
HSM2binningParam *pParam ;
HSM2modelMKSParam *modelMKS ;
HSM2hereMKSParam *hereMKS ;

View File

@ -23,12 +23,12 @@
int HSM2trunc(
GENmodel *inModel,
register CKTcircuit *ckt,
CKTcircuit *ckt,
double *timeStep)
{
register HSM2model *model = (HSM2model*)inModel;
register HSM2instance *here;
HSM2model *model = (HSM2model*)inModel;
HSM2instance *here;
#ifdef STEPDEBUG
double debugtemp;
#endif /* STEPDEBUG */