From cca0e4b3f3885f3896e0fcc797418170a2ddbe7c Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Wed, 1 Jul 2020 13:11:37 -0400 Subject: [PATCH] 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. --- VERSION | 2 +- base/verilog.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index bc47a65..3059829 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.5.148 +1.5.149 diff --git a/base/verilog.c b/base/verilog.c index 8fa0453..0acce53 100644 --- a/base/verilog.c +++ b/base/verilog.c @@ -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, "=")))) {