filter only mos instances with thermal switch
This commit is contained in:
parent
b2e377031a
commit
25e2eb3374
|
|
@ -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
|
/* 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++)
|
for (i = 0; i < 7; i++)
|
||||||
curr_line = nexttok(curr_line);
|
curr_line = nexttok(curr_line);
|
||||||
if (!ciprefix("thermal", curr_line)) {
|
if (!ciprefix("thermal", curr_line)) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue