From dbd9c212b883ffdd4ecdac4b56b7c74fa977429b Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Tue, 10 Oct 2023 11:41:33 +0200 Subject: [PATCH] verific: Use CellBaseName to identify top modules --- frontends/verific/verific.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontends/verific/verific.cc b/frontends/verific/verific.cc index 804b6676b6b..c3bf8d44e03 100644 --- a/frontends/verific/verific.cc +++ b/frontends/verific/verific.cc @@ -2595,7 +2595,7 @@ std::string verific_import(Design *design, const std::mapfirst) == 0) { VerificImporter importer(false, false, false, false, false, false, false); nl_done[it->first] = it->second; - importer.import_netlist(design, nl, nl_todo, nl->Owner()->Name() == cell_name); + importer.import_netlist(design, nl, nl_todo, nl->CellBaseName() == cell_name); } nl_todo.erase(it); } @@ -3801,7 +3801,7 @@ struct VerificPass : public Pass { VerificImporter importer(mode_gates, mode_keep, mode_nosva, mode_names, mode_verific, mode_autocover, mode_fullinit); nl_done[it->first] = it->second; - importer.import_netlist(design, nl, nl_todo, top_mod_names.count(nl->Owner()->Name())); + importer.import_netlist(design, nl, nl_todo, top_mod_names.count(nl->CellBaseName())); } nl_todo.erase(it); }