Fix nasty bug in Verific bindings
authorClifford Wolf <clifford@clifford.at>
Wed, 4 Oct 2017 15:23:42 +0000 (17:23 +0200)
committerClifford Wolf <clifford@clifford.at>
Wed, 4 Oct 2017 15:23:42 +0000 (17:23 +0200)
frontends/verific/verific.cc

index 83fe61c181a0852bbb034b36680aa04f867277b0..71e07f670bf4e641164deb84d5ded5e41b4287d4 100644 (file)
@@ -912,7 +912,7 @@ struct VerificImporter
 
                        if (found_new_net)
                        {
-                               RTLIL::IdString wire_name = module->uniquify(mode_names || netbus->IsUserDeclared() ? RTLIL::escape_id(net->Name()) : NEW_ID);
+                               RTLIL::IdString wire_name = module->uniquify(mode_names || netbus->IsUserDeclared() ? RTLIL::escape_id(netbus->Name()) : NEW_ID);
 
                                if (verbose)
                                        log("  importing netbus %s as %s.\n", netbus->Name(), log_id(wire_name));