Browse Source

fix typos

reported by Carsten Schoenert
pre-master-46
Holger Vogt 7 years ago
parent
commit
ebc39c941e
  1. 4
      src/spicelib/devices/bsim3soi_pd/b3soipd.c
  2. 4
      src/spicelib/devices/bsimsoi/b4soi.c
  3. 10
      src/spicelib/devices/hisim2/hsm2set.c
  4. 6
      src/spicelib/devices/hisimhv2/hsmhv2set.c
  5. 4
      src/spicelib/parser/inpdomod.c

4
src/spicelib/devices/bsim3soi_pd/b3soipd.c

@ -279,8 +279,8 @@ IOP( "ntox", B3SOIPD_MOD_NTOX, IF_REAL, "power term of gate current"),
IOP( "toxref", B3SOIPD_MOD_TOXREF, IF_REAL, "target oxide thickness"),
IOP( "ebg", B3SOIPD_MOD_EBG, IF_REAL, "effective bandgap in gate current calcula."),
IOP( "vevb", B3SOIPD_MOD_VEVB, IF_REAL, "Vaux parameter for valence-band electron tunneling"),
IOP( "alphagb1", B3SOIPD_MOD_ALPHAGB1, IF_REAL, "First Vox dependent parameter for gate curent in inversion"),
IOP( "betagb1", B3SOIPD_MOD_BETAGB1, IF_REAL, "Second Vox dependent parameter for gate currnt in inversion"),
IOP( "alphagb1", B3SOIPD_MOD_ALPHAGB1, IF_REAL, "First Vox dependent parameter for gate current in inversion"),
IOP( "betagb1", B3SOIPD_MOD_BETAGB1, IF_REAL, "Second Vox dependent parameter for gate current in inversion"),
IOP( "vgb1", B3SOIPD_MOD_VGB1, IF_REAL, "Third Vox dependent parameter for gate current in inversion"),
IOP( "vecb", B3SOIPD_MOD_VECB, IF_REAL, "Vaux parameter for conduction-band electron tunneling"),
IOP( "alphagb2", B3SOIPD_MOD_ALPHAGB2, IF_REAL, "First Vox dependent parameter for gate current in accumulation"),

4
src/spicelib/devices/bsimsoi/b4soi.c

@ -489,8 +489,8 @@ IOP( "ntox", B4SOI_MOD_NTOX, IF_REAL, "power term of gate current"),
IOP( "toxref", B4SOI_MOD_TOXREF, IF_REAL, "target oxide thickness"),
IOP( "ebg", B4SOI_MOD_EBG, IF_REAL, "effective bandgap in gate current calcula."),
IOP( "vevb", B4SOI_MOD_VEVB, IF_REAL, "Vaux parameter for valence-band electron tunneling"),
IOP( "alphagb1", B4SOI_MOD_ALPHAGB1, IF_REAL, "First Vox dependent parameter for gate curent in inversion"),
IOP( "betagb1", B4SOI_MOD_BETAGB1, IF_REAL, "Second Vox dependent parameter for gate currnt in inversion"),
IOP( "alphagb1", B4SOI_MOD_ALPHAGB1, IF_REAL, "First Vox dependent parameter for gate current in inversion"),
IOP( "betagb1", B4SOI_MOD_BETAGB1, IF_REAL, "Second Vox dependent parameter for gate current in inversion"),
IOP( "vgb1", B4SOI_MOD_VGB1, IF_REAL, "Third Vox dependent parameter for gate current in inversion"),
IOP( "vecb", B4SOI_MOD_VECB, IF_REAL, "Vaux parameter for conduction-band electron tunneling"),
IOP( "alphagb2", B4SOI_MOD_ALPHAGB2, IF_REAL, "First Vox dependent parameter for gate current in accumulation"),

10
src/spicelib/devices/hisim2/hsm2set.c

@ -172,13 +172,13 @@ int HSM2setup(
if ( model->HSM2_codep_Given ) {
if( model->HSM2_codep != 0 && model->HSM2_codep != 1 ) {
printf("warning(HiSIM): Invalid CODEP (%d) was specified, resetted to 0.\n",model->HSM2_codep);
printf("warning(HiSIM): Invalid CODEP (%d) was specified, reset to 0.\n",model->HSM2_codep);
model->HSM2_codep = 0 ;
}
}
if ( model->HSM2_coddlt_Given ) {
if( model->HSM2_coddlt != 0 && model->HSM2_coddlt != 1 ) {
printf("warning(HiSIM): Invalid CODDLT (%d) was specified, resetted to 0.\n",model->HSM2_coddlt);
printf("warning(HiSIM): Invalid CODDLT (%d) was specified, reset to 0.\n",model->HSM2_coddlt);
model->HSM2_coddlt = 0 ;
}
}
@ -777,15 +777,15 @@ int HSM2setup(
RANGECHECK(model->HSM2_depleak, 0.0, 10.0, "DEPLEAK" ) ;
if( model->HSM2_corecip ) {
printf("warning(HiSIM): CORECIP is not supported yet in depletion mode MOSFET, resetted to 0.\n");
printf("warning(HiSIM): CORECIP is not supported yet in depletion mode MOSFET, reset to 0.\n");
model->HSM2_corecip = 0;
}
if( model->HSM2_copprv ) {
printf("warning(HiSIM): COPPRV is not supported yet in depletion mode MOSFET, resetted to 0.\n");
printf("warning(HiSIM): COPPRV is not supported yet in depletion mode MOSFET, reset to 0.\n");
model->HSM2_copprv = 0;
}
if( model->HSM2_corsrd == 1 ) {
printf("warning(HiSIM): CORSRD=1 is not supported yet in depletion mode MOSFET, resetted to -1.\n");
printf("warning(HiSIM): CORSRD=1 is not supported yet in depletion mode MOSFET, reset to -1.\n");
model->HSM2_corsrd = -1;
}
if( model->HSM2_coisti ) {

6
src/spicelib/devices/hisimhv2/hsmhv2set.c

@ -188,7 +188,7 @@ int HSMHV2setup(
if ( !model->HSMHV2_codep_Given ) model->HSMHV2_codep = 0 ;
if ( model->HSMHV2_codep_Given ) {
if( model->HSMHV2_codep != 0 && model->HSMHV2_codep != 1 ) {
printf("warning(HiSIM_HV(%s)): Invalid model parameter CODEP (= %d) was specified, resetted to 0.\n",model->HSMHV2modName,model->HSMHV2_codep);
printf("warning(HiSIM_HV(%s)): Invalid model parameter CODEP (= %d) was specified, reset to 0.\n",model->HSMHV2modName,model->HSMHV2_codep);
model->HSMHV2_codep = 0 ;
}
}
@ -196,7 +196,7 @@ int HSMHV2setup(
if ( !model->HSMHV2_coddlt_Given ) model->HSMHV2_coddlt = 1 ;
if ( model->HSMHV2_coddlt_Given ) {
if( model->HSMHV2_coddlt != 0 && model->HSMHV2_coddlt != 1 ) {
printf("warning(HiSIM_HV(%s)): Invalid model parameter CODDLT (= %d) was specified, resetted to 1.\n",model->HSMHV2modName,model->HSMHV2_coddlt);
printf("warning(HiSIM_HV(%s)): Invalid model parameter CODDLT (= %d) was specified, reset to 1.\n",model->HSMHV2modName,model->HSMHV2_coddlt);
model->HSMHV2_coddlt = 1 ;
}
}
@ -1649,7 +1649,7 @@ do { if((here->ptr = SMPmakeElt(matrix,here->first,here->second))==NULL){\
if( model->HSMHV2_codep == 1 && model->HSMHV2_coerrrep ) {
if( model->HSMHV2_copprv == 1 ) {
printf("warning(HiSIM_HV(%s)): COPPRV is not supported yet in Depletion mode mode, resetted to 0.\n",model->HSMHV2modName);
printf("warning(HiSIM_HV(%s)): COPPRV is not supported yet in Depletion mode mode, reset to 0.\n",model->HSMHV2modName);
}
if( model->HSMHV2_coisti == 1 ) {
printf("warning(HiSIM_HV(%s)): STI leak model is not supported yet in Depletion mode model, skipped\n",model->HSMHV2modName);

4
src/spicelib/parser/inpdomod.c

@ -162,14 +162,14 @@ char *INPdomodel(CKTcircuit *ckt, struct card *image, INPtables * tab)
type = INPtypelook("MESA");
if (type < 0)
{
err = INPmkTemp("Device type MESA not availabe\n");
err = INPmkTemp("Device type MESA not available\n");
}
break;
case 3:
type = INPtypelook("MESA");
if (type < 0)
{
err = INPmkTemp("Device type MESA not availabe\n");
err = INPmkTemp("Device type MESA not available\n");
}
break;
case 4:

Loading…
Cancel
Save