mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 05:47:42 +02:00
remove vceo= and icrating= from bjt model cards
This commit is contained in:
@@ -8349,6 +8349,28 @@ static void rem_mfg_from_models(struct card *deck)
|
|||||||
start++;
|
start++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
start = strstr(curr_line, "icrating=");
|
||||||
|
if (start) {
|
||||||
|
end = nexttok(start);
|
||||||
|
if (*end == '\0')
|
||||||
|
*start = '\0';
|
||||||
|
else
|
||||||
|
while (start < end) {
|
||||||
|
*start = ' ';
|
||||||
|
start++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
start = strstr(curr_line, "vceo=");
|
||||||
|
if (start) {
|
||||||
|
end = nexttok(start);
|
||||||
|
if (*end == '\0')
|
||||||
|
*start = '\0';
|
||||||
|
else
|
||||||
|
while (start < end) {
|
||||||
|
*start = ' ';
|
||||||
|
start++;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user