From 703769e4942f3fa937118756182868dc47383ba1 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 26 Mar 2022 09:43:51 +0100 Subject: [PATCH] Properly mark modules imported --- 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 2ed4967ba..185b02e48 100644 --- a/frontends/verific/verific.cc +++ b/frontends/verific/verific.cc @@ -2233,10 +2233,10 @@ void verific_import(Design *design, const std::map &par Netlist *nl = it->second; if (nl_done.count(it->first) == 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() == top); } nl_todo.erase(it); - nl_done[it->first] = it->second; } veri_file::Reset(); @@ -3242,10 +3242,10 @@ struct VerificPass : public Pass { if (nl_done.count(it->first) == 0) { 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())); } nl_todo.erase(it); - nl_done[it->first] = it->second; } veri_file::Reset(); -- 2.30.2