filter only mos instances with thermal switch

This commit is contained in:
dwarning 2020-02-25 09:51:39 +01:00
parent b2e377031a
commit 25e2eb3374
1 changed files with 1 additions and 1 deletions

View File

@ -6966,7 +6966,7 @@ static int inp_vdmos_model(struct card *deck)
}
/* we have a VDMOS instance line with 'thermal' flag and thus need exactly 5 nodes
*/
else if (strstr(curr_line, "thermal")) {
else if (curr_line[0] == 'm' && strstr(curr_line, "thermal")) {
for (i = 0; i < 7; i++)
curr_line = nexttok(curr_line);
if (!ciprefix("thermal", curr_line)) {