Corrected an error in bundle assignment that failed to make a copy

of the root name of the LHS net, and so would use the last root
name copied, which might have belonged to something entirely
different, or nothing at all.
This commit is contained in:
Tim Edwards 2020-07-01 13:11:37 -04:00
parent fb0e1d10b0
commit cca0e4b3f3
2 changed files with 3 additions and 1 deletions

View File

@ -1 +1 @@
1.5.148
1.5.149

View File

@ -1218,9 +1218,11 @@ skip_endmodule:
lhs = LookupObject(nodename, CurrentCell);
*aptr = '[';
}
else strcpy(noderoot, nexttok);
}
else {
lhs = LookupObject(nexttok, CurrentCell);
strcpy(noderoot, nexttok);
}
SkipTokComments(VLOG_DELIMITERS);
if (lhs && ((!nexttok) || (!match(nexttok, "=")))) {