indentation
This commit is contained in:
parent
713091ea22
commit
2516a118a3
|
|
@ -46,8 +46,8 @@ CKTfndDev(CKTcircuit *ckt, int *type, GENinstance **fast, IFuid name, GENmodel *
|
||||||
/* have device type, need to find model & device */
|
/* have device type, need to find model & device */
|
||||||
/* look through all models */
|
/* look through all models */
|
||||||
for (mods = ckt->CKThead[*type];
|
for (mods = ckt->CKThead[*type];
|
||||||
mods != NULL ;
|
mods != NULL ;
|
||||||
mods = mods->GENnextModel)
|
mods = mods->GENnextModel)
|
||||||
{
|
{
|
||||||
/* and all instances */
|
/* and all instances */
|
||||||
if (modname == NULL || mods->GENmodName == modname) {
|
if (modname == NULL || mods->GENmodName == modname) {
|
||||||
|
|
|
||||||
|
|
@ -228,13 +228,13 @@ INPgetModBin( CKTcircuit* ckt, char* name, INPmodel** model, INPtables* tab, cha
|
||||||
&& modtmp->INPmodType != INPtypelook ("HiSIMHV")
|
&& modtmp->INPmodType != INPtypelook ("HiSIMHV")
|
||||||
) continue; /* We left the loop if the model is not in the list */
|
) continue; /* We left the loop if the model is not in the list */
|
||||||
|
|
||||||
if (modtmp->INPmodType < 0) { /* First check for illegal model type */
|
if (modtmp->INPmodType < 0) { /* First check for illegal model type */
|
||||||
/* illegal device type, so can't handle */
|
/* illegal device type, so can't handle */
|
||||||
*model = NULL;
|
*model = NULL;
|
||||||
err = TMALLOC(char, 35 + strlen(name));
|
err = TMALLOC(char, 35 + strlen(name));
|
||||||
(void) sprintf(err,"Unknown device type for model %s \n", name);
|
(void) sprintf(err,"Unknown device type for model %s \n", name);
|
||||||
return (err);
|
return (err);
|
||||||
} /* end of checking for illegal model */
|
} /* end of checking for illegal model */
|
||||||
|
|
||||||
if ( parse_line( modtmp->INPmodLine->line, model_tokens, 4, parse_values, parse_found ) != TRUE )
|
if ( parse_line( modtmp->INPmodLine->line, model_tokens, 4, parse_values, parse_found ) != TRUE )
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue